diff options
author | 2015-11-20 19:34:37 -0800 | |
---|---|---|
committer | 2015-11-20 19:34:37 -0800 | |
commit | 27a048700778d4cebfc23301d1780649791b0e03 (patch) | |
tree | 93c88e37327c6519baaabb1faff0acef4bbb15c3 /include/gpu/gl/angle | |
parent | ac8cabd729c75fdf774c0701b6ea7fd3ea5b9382 (diff) |
Initial version of external_oes texture support and unit test
Review URL: https://codereview.chromium.org/1451683002
Diffstat (limited to 'include/gpu/gl/angle')
-rw-r--r-- | include/gpu/gl/angle/SkANGLEGLContext.h | 5 |
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 |