]> git.sesse.net Git - movit/blobdiff - alpha_division_effect_test.cpp
Reduce the amount of arithmetic in the BlurEffect shader a bit.
[movit] / alpha_division_effect_test.cpp
index 8c297027f7fb2f49f3475e83f0ebc87322e329d4..faa8b173b99648e8376ee44bd6801878422b26e8 100644 (file)
@@ -1,7 +1,11 @@
 // Unit tests for AlphaDivisionEffect.
 
-#include "test_util.h"
+#include <GL/glew.h>
 #include "gtest/gtest.h"
+#include "image_format.h"
+#include "test_util.h"
+
+namespace movit {
 
 TEST(AlphaDivisionEffectTest, SimpleTest) {
        const int size = 2;
@@ -33,3 +37,5 @@ TEST(AlphaDivisionEffectTest, ZeroAlphaIsPreserved) {
        EXPECT_EQ(0.0f, out_data[3]);
        EXPECT_EQ(0.0f, out_data[7]);
 }
+
+}  // namespace movit