]> git.sesse.net Git - movit/blobdiff - blur_effect_test.cpp
Emulate glReadPixels of GL_ALPHA.
[movit] / blur_effect_test.cpp
index d458e45d1fe096174ade4c8654c230cfe6edf3fc..fb4e0250ef333a0b5e4586ae88ac681d0463340b 100644 (file)
@@ -1,9 +1,15 @@
 // Unit tests for BlurEffect.
+#include <epoxy/gl.h>
 #include <math.h>
+#include <string.h>
 
-#include "test_util.h"
-#include "gtest/gtest.h"
 #include "blur_effect.h"
+#include "effect_chain.h"
+#include "gtest/gtest.h"
+#include "image_format.h"
+#include "test_util.h"
+
+namespace movit {
 
 TEST(BlurEffectTest, IdentityTransformDoesNothing) {
        const int size = 4;
@@ -95,3 +101,5 @@ TEST(BlurEffectTest, BlurTwoDotsLargeRadius) {
 
        expect_equal(expected_data, out_data, size, size, 0.1f, 1e-3);
 }
+
+}  // namespace movit