Code changes for ANGLE GL interface. .gyp file changes will be delivered later.
http://codereview.appspot.com/5940046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3519 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/GLInterfaceValidation.cpp b/tests/GLInterfaceValidation.cpp
index 5cee0e4..9ca2cc2 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 @@
interfaceFactory fFactory;
const char* fName;
} interfaceFactories[] = {
+#if SK_ANGLE
+ {GrGLCreateANGLEInterface, "ANGLE"},
+#endif
{GrGLCreateNativeInterface, "Native"},
#if SK_MESA
{GrGLCreateMesaInterface, "Mesa"},
#endif
+ {GrGLCreateDebugInterface, "Debug"},
{GrGLCreateNullInterface, "Null"},
};