| Index: webkit/media/webmediaplayer_impl.h
|
| diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
|
| index 2b4faa3f966e4f6f079c2bb88a2781b306d3a6ef..b3ba28a92ebeeb60f4fb855ec11049d2ba282cc0 100644
|
| --- a/webkit/media/webmediaplayer_impl.h
|
| +++ b/webkit/media/webmediaplayer_impl.h
|
| @@ -32,6 +32,7 @@
|
| #include "media/base/pipeline.h"
|
| #include "media/filters/skcanvas_video_renderer.h"
|
| #include "skia/ext/platform_canvas.h"
|
| +#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioSourceProvider.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayer.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient.h"
|
| @@ -140,6 +141,12 @@ class WebMediaPlayerImpl
|
| virtual WebKit::WebVideoFrame* getCurrentFrame();
|
| virtual void putCurrentFrame(WebKit::WebVideoFrame* web_video_frame);
|
|
|
| + // Query if GPU-accelerated video decode is in use to check if it is possible to use video texture at GPU side
|
| + // without readback to system memory.
|
| + virtual bool videoDecodeAcceleratedByGpu();
|
| + // Do the GPU-GPU texture copy using CHROMIUM_copy_texture extension
|
| + virtual bool copyVideoTextureToPlatformTexture(WebKit::WebGraphicsContext3D* webGraphicsContext, unsigned int texture, unsigned int internalFormat);
|
| +
|
| virtual WebKit::WebAudioSourceProvider* audioSourceProvider();
|
|
|
| virtual AddIdStatus sourceAddId(
|
|
|