| Index: content/public/gpu/gpu_video_decode_accelerator_factory.h
|
| diff --git a/content/public/gpu/gpu_video_decode_accelerator_factory.h b/content/public/gpu/gpu_video_decode_accelerator_factory.h
|
| index b02ceeabfed731bb67c4a10565c7a7eddcbca761..f64eb5e94cc5186f55d184f81a64a6f7ec90c32e 100644
|
| --- a/content/public/gpu/gpu_video_decode_accelerator_factory.h
|
| +++ b/content/public/gpu/gpu_video_decode_accelerator_factory.h
|
| @@ -70,6 +70,13 @@ class CONTENT_EXPORT GpuVideoDecodeAcceleratorFactory {
|
| const BindGLImageCallback& bind_image_cb,
|
| const GetGLES2DecoderCallback& get_gles2_decoder_cb);
|
|
|
| + // Create a factory capable of producing VDA instances for current platform
|
| + // with no GL support.
|
| + // A factory created with this method will only be able to produce VDAs with
|
| + // no ability to call GL functions/access GL state. This also implies no
|
| + // ability to decode into textures provided by the client.
|
| + static scoped_ptr<GpuVideoDecodeAcceleratorFactory> CreateWithNoGL();
|
| +
|
| // Return decoder capabilities supported on the current platform.
|
| static gpu::VideoDecodeAcceleratorCapabilities GetDecoderCapabilities(
|
| const gpu::GpuPreferences& gpu_preferences);
|
|
|