| Index: content/renderer/render_thread_impl.h
|
| diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
|
| index 6508fc9e610b8d3e79702ff8205d2841840e0fa8..0495c1c5afc1c56f13c3de86e1b9f21647bf2804 100644
|
| --- a/content/renderer/render_thread_impl.h
|
| +++ b/content/renderer/render_thread_impl.h
|
| @@ -19,6 +19,7 @@
|
| #include "content/common/gpu/gpu_process_launch_causes.h"
|
| #include "content/public/renderer/render_thread.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
| +#include "media/filters/gpu_video_decoder.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| class GrContext;
|
| @@ -252,6 +253,10 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
|
| // not sent for at least one notification delay.
|
| void PostponeIdleNotification();
|
|
|
| + // Gets gpu factories. Returns NULL if VDA is disabled or a graphics context
|
| + // cannot be obtained.
|
| + scoped_refptr<media::GpuVideoDecoder::Factories> GetGpuFactories();
|
| +
|
| // Returns a graphics context shared among all
|
| // RendererGpuVideoDecoderFactories, or NULL on error. Context remains owned
|
| // by this class and must be null-tested before each use to detect context
|
|
|