aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl/angle
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-11-20 19:34:37 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-20 19:34:37 -0800
commit27a048700778d4cebfc23301d1780649791b0e03 (patch)
tree93c88e37327c6519baaabb1faff0acef4bbb15c3 /include/gpu/gl/angle
parentac8cabd729c75fdf774c0701b6ea7fd3ea5b9382 (diff)
Initial version of external_oes texture support and unit test
Diffstat (limited to 'include/gpu/gl/angle')
-rw-r--r--include/gpu/gl/angle/SkANGLEGLContext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gpu/gl/angle/SkANGLEGLContext.h b/include/gpu/gl/angle/SkANGLEGLContext.h
index 8d5f83041a..7858fff964 100644
--- a/include/gpu/gl/angle/SkANGLEGLContext.h
+++ b/include/gpu/gl/angle/SkANGLEGLContext.h
@@ -27,6 +27,10 @@ public:
}
return ctx;
}
+ GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
+ void destroyEGLImage(GrEGLImage) const override;
+ GrGLuint eglImageToExternalTexture(GrEGLImage) const override;
+ SkGLContext* createNew() const override;
// The param is an EGLNativeDisplayType and the return is an EGLDispay.
static void* GetD3DEGLDisplay(void* nativeDisplay, bool useGLBackend);
@@ -42,6 +46,7 @@ private:
void* fContext;
void* fDisplay;
void* fSurface;
+ bool fIsGLBackend;
};
#endif