]> git.sesse.net Git - movit/blobdiff - resource_pool.h
Reduce the amount of arithmetic in the BlurEffect shader a bit.
[movit] / resource_pool.h
index 50e0da2c1207755c29c8eee56ec373d141c3275a..ea56d0184fd6f1a49d4238034d526acfd3672185 100644 (file)
 // safely called from multiple threads at the same time, provided they have
 // separate (but sharing) OpenGL contexts.
 
+#include <GL/glew.h>
+#include <pthread.h>
+#include <stddef.h>
 #include <list>
 #include <map>
 #include <string>
 #include <utility>
-#include <GL/glew.h>
-#include <pthread.h>
+
+namespace movit {
 
 class ResourcePool {
 public:
@@ -105,4 +108,6 @@ private:
        static size_t estimate_texture_size(const Texture2D &texture_format);
 };
 
+}  // namespace movit
+
 #endif  // !defined(_MOVIT_RESOURCE_POOL_H)