| Index: content/common/gpu/media/vaapi_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.h b/content/common/gpu/media/vaapi_video_decode_accelerator.h
|
| index 1755b98f3d5e37749b36bd36ee5f2b84644c118d..a5b796924f8753e32141fd846f7cd4b170d103c3 100644
|
| --- a/content/common/gpu/media/vaapi_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/vaapi_video_decode_accelerator.h
|
| @@ -48,6 +48,10 @@ class CONTENT_EXPORT VaapiVideoDecodeAccelerator
|
| Display* x_display, GLXContext glx_context,
|
| Client* client,
|
| const base::Callback<bool(void)>& make_context_current);
|
| + VaapiVideoDecodeAccelerator(
|
| + EGLDisplay egl_display, EGLContext egl_context,
|
| + Client* client,
|
| + const base::Callback<bool(void)>& make_context_current);
|
| virtual ~VaapiVideoDecodeAccelerator();
|
|
|
| // media::VideoDecodeAccelerator implementation.
|
| @@ -153,6 +157,8 @@ private:
|
|
|
| // Client-provided X/GLX state.
|
| Display* x_display_;
|
| + EGLDisplay egl_display_;
|
| + EGLContext egl_context_;
|
| GLXContext glx_context_;
|
| base::Callback<bool(void)> make_context_current_;
|
| GLXFBConfig fb_config_;
|
|
|