| 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 1f91b29aa9319642c9e85a9f0b68c7a54bfa6e2c..8d340367e133ff04bea47e9eea36e3193d052ee6 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| @@ -79,6 +79,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(WebMediaPlayer::TexImageFunctionID,
|
| + 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;
|
|
|