| Index: public/platform/WebMediaPlayer.h
|
| diff --git a/public/platform/WebMediaPlayer.h b/public/platform/WebMediaPlayer.h
|
| index 0410e1dc8b79050debf538e11920bcf53f0adf01..c18942a62fa8b5e4f2cb09fd4c8f45348bed0861 100644
|
| --- a/public/platform/WebMediaPlayer.h
|
| +++ b/public/platform/WebMediaPlayer.h
|
| @@ -149,6 +149,8 @@ public:
|
|
|
| virtual void paint(WebCanvas*, const WebRect&, unsigned char alpha, SkXfermode::Mode) = 0;
|
| // Do a GPU-GPU textures copy if possible.
|
| + virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned texture, unsigned internalFormat, unsigned type, bool premultiplyAlpha, bool flipY) { return false; }
|
| + // TODO(dshwang): Remove it after cleaning up in chromium side. crbug.com/443151
|
| virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned texture, unsigned level, unsigned internalFormat, unsigned type, bool premultiplyAlpha, bool flipY) { return false; }
|
|
|
| virtual WebAudioSourceProvider* audioSourceProvider() { return nullptr; }
|
|
|