]> git.sesse.net Git - movit/blobdiff - diffusion_effect_test.cpp
Have separate FBOs per resolution and format.
[movit] / diffusion_effect_test.cpp
index 446a51f11c5265d41f411f472c5319f510079074..7e50a04d8bcc7071167b026aae8dcfcf84c30da6 100644 (file)
@@ -1,8 +1,14 @@
 // Unit tests for DiffusionEffect.
 
-#include "test_util.h"
-#include "gtest/gtest.h"
+#include <GL/glew.h>
+
 #include "diffusion_effect.h"
+#include "effect_chain.h"
+#include "gtest/gtest.h"
+#include "image_format.h"
+#include "test_util.h"
+
+namespace movit {
 
 TEST(DiffusionEffectTest, IdentityTransformDoesNothing) {
        const int size = 4;
@@ -58,3 +64,5 @@ TEST(DiffusionEffectTest, FlattensOutWhitePyramid) {
 
        expect_equal(expected_data, out_data, size, size, 0.05f, 0.002);
 }
+
+}  // namespace movit