diff options
Diffstat (limited to 'chromium/ui/gl/gl_context_cgl.h')
| -rw-r--r-- | chromium/ui/gl/gl_context_cgl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/ui/gl/gl_context_cgl.h b/chromium/ui/gl/gl_context_cgl.h index bb7a2415c76..1a1016268f3 100644 --- a/chromium/ui/gl/gl_context_cgl.h +++ b/chromium/ui/gl/gl_context_cgl.h @@ -8,6 +8,7 @@ #include <OpenGL/CGLTypes.h> #include "base/macros.h" +#include "base/memory/scoped_ptr.h" #include "ui/gl/gl_context.h" namespace gfx { @@ -29,6 +30,7 @@ class GLContextCGL : public GLContextReal { void OnSetSwapInterval(int interval) override; void SetSafeToForceGpuSwitch() override; bool ForceGpuSwitchIfNeeded() override; + gl::YUVToRGBConverter* GetYUVToRGBConverter() override; protected: ~GLContextCGL() override; @@ -39,6 +41,7 @@ class GLContextCGL : public GLContextReal { void* context_; GpuPreference gpu_preference_; + scoped_ptr<gl::YUVToRGBConverter> yuv_to_rgb_converter_; CGLPixelFormatObj discrete_pixelformat_; |
