Index: third_party/WebKit/Source/core/html/HTMLVideoElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.h b/third_party/WebKit/Source/core/html/HTMLVideoElement.h |
index f6c45f29827b8f278dc04bfb2ff2518925a8485b..a746916944f68b760f7ae3d7f77b9bc1c7ba35ae 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h |
@@ -72,6 +72,9 @@ public: |
// Used by WebGL to do GPU-GPU textures copy if possible. |
bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, GLuint texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flipY); |
+ // Used by WebGL to do CPU-GPU texture upload if possible. |
+ bool texImageImpl(const char* functionID, GLenum target, gpu::gles2::GLES2Interface*, GLint level, GLint internalformat, GLenum format, GLenum type, GLint xoffset, GLint yoffset, GLint zoffset, bool flipY, bool premultiplyAlpha); |
+ |
bool shouldDisplayPosterImage() const { return getDisplayMode() == Poster; } |
bool hasAvailableVideoFrame() const; |