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 7b99a2c0d17e171599927e5f6372bcfbe24d3bb8..17dee8a1cba9172eb1650a95d9bf5f7efb7d44bd 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; |