X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resource_pool.h;h=d8d8ceca3ca1deb2b50dfd2b45fa256af908beeb;hp=ae89d9f517e5c09a36bd0ea0eba99777990b0c56;hb=a5f32397f9c23fa8644fe195865d6c36685cf866;hpb=9651a4eaae012cdc49c1aa38197861e04f62e91e diff --git a/resource_pool.h b/resource_pool.h index ae89d9f..d8d8cec 100644 --- a/resource_pool.h +++ b/resource_pool.h @@ -16,7 +16,7 @@ // safely called from multiple threads at the same time, provided they have // separate (but sharing) OpenGL contexts. -#include +#include #include #include #include @@ -24,6 +24,8 @@ #include #include +namespace movit { + class ResourcePool { public: // program_freelist_max_length is how many compiled programs that are unused to keep @@ -106,4 +108,6 @@ private: static size_t estimate_texture_size(const Texture2D &texture_format); }; +} // namespace movit + #endif // !defined(_MOVIT_RESOURCE_POOL_H)