| Index: ui/gl/gl_context.h
|
| diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
|
| index 87c3f8d76f0ca50698a791bc9dc7fc608eb34dcb..592a7beaba6301588cdd5babd35eedee80a9459d 100644
|
| --- a/ui/gl/gl_context.h
|
| +++ b/ui/gl/gl_context.h
|
| @@ -17,6 +17,10 @@
|
| #include "ui/gl/gl_state_restorer.h"
|
| #include "ui/gl/gpu_preference.h"
|
|
|
| +namespace gl {
|
| +class YUVToRGBConverter;
|
| +} // namespace gl
|
| +
|
| namespace gpu {
|
| class GLContextVirtual;
|
| } // namespace gpu
|
| @@ -29,7 +33,6 @@ class GPUTimingClient;
|
| class VirtualGLApi;
|
| struct GLVersionInfo;
|
|
|
| -
|
| // Encapsulates an OpenGL context, hiding platform specific management.
|
| class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
|
| public:
|
| @@ -127,6 +130,9 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
|
| // Returns the GL renderer string. The context must be current.
|
| virtual std::string GetGLRenderer();
|
|
|
| + // Returns a helper structure to convert YUV textures to RGB textures.
|
| + virtual gl::YUVToRGBConverter* GetYUVToRGBConverter();
|
| +
|
| protected:
|
| virtual ~GLContext();
|
|
|
|
|