Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/scene_graph/SceneHash.h
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | public: | ||||
| } | } | ||||
| inline void reset() | inline void reset() | ||||
| { | { | ||||
| _sum = 1; | _sum = 1; | ||||
| } | } | ||||
| private: | private: | ||||
| void adler32(unsigned char *data, int size); | void adler32(const unsigned char *data, int size); | ||||
| uint32_t _sum; | uint32_t _sum; | ||||
| uint32_t _prevSum; | uint32_t _prevSum; | ||||
| #ifdef WITH_CXX_GUARDEDALLOC | #ifdef WITH_CXX_GUARDEDALLOC | ||||
| MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:SceneHash") | MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:SceneHash") | ||||
| #endif | #endif | ||||
| }; | }; | ||||
| } /* namespace Freestyle */ | } /* namespace Freestyle */ | ||||
| #endif // __FREESTYLE_SCENE_HASH_H__ | #endif // __FREESTYLE_SCENE_HASH_H__ | ||||