| Index: third_party/WebKit/public/platform/WebMediaPlayer.h
|
| diff --git a/third_party/WebKit/public/platform/WebMediaPlayer.h b/third_party/WebKit/public/platform/WebMediaPlayer.h
|
| index 9a5eb43c8da476e4056dc820a44ce3d983061faa..5faa011de7dfd67c9e03a43394fe3e1e0a8ecaf8 100644
|
| --- a/third_party/WebKit/public/platform/WebMediaPlayer.h
|
| +++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
|
| @@ -40,6 +40,12 @@
|
| #include "WebTimeRange.h"
|
| #include "third_party/skia/include/core/SkXfermode.h"
|
|
|
| +namespace gpu {
|
| +namespace gles2 {
|
| +class GLES2Interface;
|
| +}
|
| +}
|
| +
|
| namespace blink {
|
|
|
| class WebAudioSourceProvider;
|
| @@ -49,7 +55,6 @@ class WebString;
|
| class WebURL;
|
| struct WebRect;
|
| struct WebSize;
|
| -class WebGraphicsContext3D;
|
|
|
| class WebMediaPlayer {
|
| public:
|
| @@ -162,14 +167,14 @@ public:
|
| virtual void paint(WebCanvas*, const WebRect&, unsigned char alpha, SkXfermode::Mode) = 0;
|
|
|
| // TODO(dshwang): remove non-|target| version. crbug.com/349871
|
| - virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned texture, unsigned internalFormat, unsigned type, bool premultiplyAlpha, bool flipY) { return false; }
|
| + virtual bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, unsigned texture, unsigned internalFormat, unsigned type, bool premultiplyAlpha, bool flipY) { return false; }
|
|
|
| // Do a GPU-GPU textures copy. If the copy is impossible or fails, it returns false.
|
| - virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned target,
|
| + virtual bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, unsigned target,
|
| unsigned texture, unsigned internalFormat, unsigned type, int level,
|
| bool premultiplyAlpha, bool flipY) { return false; }
|
| // Copy sub video frame texture to |texture|. If the copy is impossible or fails, it returns false.
|
| - virtual bool copyVideoSubTextureToPlatformTexture(WebGraphicsContext3D*, unsigned target,
|
| + virtual bool copyVideoSubTextureToPlatformTexture(gpu::gles2::GLES2Interface*, unsigned target,
|
| unsigned texture, int level, int xoffset, int yoffset, bool premultiplyAlpha,
|
| bool flipY) { return false; }
|
|
|
|
|