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 e8575f0962012044658d564ccb810f2a0f010330..87ab532f270775ff8abb99847f5dbd25242e4295 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h |
@@ -80,6 +80,20 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, |
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; |