Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(993)

Unified Diff: ui/gl/gl_context.h

Issue 2005463002: Attach YUV420 to RGB converter to GLContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698