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

Unified Diff: ui/gl/gl_context.h

Issue 1882953006: Attach YUV420 to RGB converter to GLContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: ui/gl/gl_context.h
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
index 1b4c0406a9a48780681bf910d5b4f67fb04f509e..dfcad5fb2a57ea1da8491d5d9bdd31f15ddc43c6 100644
--- a/ui/gl/gl_context.h
+++ b/ui/gl/gl_context.h
@@ -27,9 +27,9 @@ class GLSurface;
class GPUTiming;
class GPUTimingClient;
class VirtualGLApi;
+class YUV420RGBConverter;
struct GLVersionInfo;
-
// Encapsulates an OpenGL context, hiding platform specific management.
class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
public:
@@ -127,6 +127,10 @@ 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 biplanar YUV 420 IOSurface to RGB
+ // textures.
+ virtual YUV420RGBConverter* GetYUV420RGBConverter();
+
protected:
virtual ~GLContext();
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_context.cc » ('j') | ui/gl/gl_image_io_surface.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698