Add support for EGLImage to GrGLInterface
BUG=skia:
Review URL: https://codereview.chromium.org/1434813002
diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h
index 808a3be..ec27ace 100644
--- a/include/gpu/gl/GrGLInterface.h
+++ b/include/gpu/gl/GrGLInterface.h
@@ -128,8 +128,6 @@
typedef SkRefCnt INHERITED;
public:
-
-
GrGLInterface();
static GrGLInterface* NewClone(const GrGLInterface*);
@@ -498,6 +496,10 @@
GLPtr<GrGLPushDebugGroupProc> fPushDebugGroup;
GLPtr<GrGLPopDebugGroupProc> fPopDebugGroup;
GLPtr<GrGLObjectLabelProc> fObjectLabel;
+
+ /* EGL functions */
+ GLPtr<GrEGLCreateImageProc> fCreateImage;
+ GLPtr<GrEGLDestroyImageProc> fDestroyImage;
} fFunctions;
// Per-GL func callback