diff options
Diffstat (limited to 'tests/GLInterfaceValidation.cpp')
-rwxr-xr-x | tests/GLInterfaceValidation.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/GLInterfaceValidation.cpp b/tests/GLInterfaceValidation.cpp index 5cee0e4b62..9ca2cc27ba 100755 --- a/tests/GLInterfaceValidation.cpp +++ b/tests/GLInterfaceValidation.cpp @@ -7,8 +7,13 @@ */ #include "Test.h" +#if SK_ANGLE +#include "gl/SkANGLEGLContext.h" +#endif #include "gl/SkNativeGLContext.h" +#if SK_MESA #include "gl/SkMesaGLContext.h" +#endif static void GLInterfaceValidationTest(skiatest::Reporter* reporter) { typedef const GrGLInterface* (*interfaceFactory)(); @@ -16,10 +21,14 @@ static void GLInterfaceValidationTest(skiatest::Reporter* reporter) { interfaceFactory fFactory; const char* fName; } interfaceFactories[] = { +#if SK_ANGLE + {GrGLCreateANGLEInterface, "ANGLE"}, +#endif {GrGLCreateNativeInterface, "Native"}, #if SK_MESA {GrGLCreateMesaInterface, "Mesa"}, #endif + {GrGLCreateDebugInterface, "Debug"}, {GrGLCreateNullInterface, "Null"}, }; |