Index: include/gpu/gl/SkGLContext.h |
diff --git a/include/gpu/gl/SkGLContext.h b/include/gpu/gl/SkGLContext.h |
index 7edfa730aa746ac33e3366e327645df9f38aeea7..77fd325dd853e9eac8d061316134474258135071 100644 |
--- a/include/gpu/gl/SkGLContext.h |
+++ b/include/gpu/gl/SkGLContext.h |
@@ -41,6 +41,11 @@ public: |
virtual GrEGLImage texture2DToEGLImage(GrGLuint /*texID*/) const { return 0; } |
virtual void destroyEGLImage(GrEGLImage) const {} |
+ /** Used for testing GL_TEXTURE_RECTANGLE integration. */ |
+ GrGLint createTextureRectangle(int width, int height, GrGLenum internalFormat, |
+ GrGLenum externalFormat, GrGLenum externalType, |
+ GrGLvoid* data); |
+ |
/** |
* Used for testing EGLImage integration. Takes a EGLImage and wraps it in a |
* GL_TEXTURE_EXTERNAL_OES. |