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

Unified Diff: ui/gl/gl_context_cgl.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_context.cc ('k') | ui/gl/gl_context_cgl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_cgl.h
diff --git a/ui/gl/gl_context_cgl.h b/ui/gl/gl_context_cgl.h
index bb7a2415c76702631738170f8e565e02388fe0a3..1a1016268f3294979bc725c2474f23b21fafe0df 100644
--- a/ui/gl/gl_context_cgl.h
+++ b/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_;
« no previous file with comments | « ui/gl/gl_context.cc ('k') | ui/gl/gl_context_cgl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698