]> git.sesse.net Git - movit/blobdiff - glow_effect_test.cpp
Add proper formats for sRGB without alpha.
[movit] / glow_effect_test.cpp
index 77c9d12db75b17f3b3895ccb46ffcf7cf1d7ee2b..174937be5fae6fb47f8c488a4dbef9bcf29bd606 100644 (file)
@@ -1,10 +1,15 @@
 // Unit tests for GlowEffect.
 
+#include <epoxy/gl.h>
 #include <math.h>
 
-#include "test_util.h"
-#include "gtest/gtest.h"
+#include "effect_chain.h"
 #include "glow_effect.h"
+#include "gtest/gtest.h"
+#include "image_format.h"
+#include "test_util.h"
+
+namespace movit {
 
 TEST(GlowEffectTest, NoAmountDoesNothing) {
        const int size = 4;
@@ -105,3 +110,5 @@ TEST(GlowEffectTest, GlowsOntoZeroAlpha) {
 
        expect_equal(expected_data, out_data, 4, size);
 }
+
+}  // namespace movit