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

Unified Diff: ui/gl/gl_context_cgl.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_cgl.h
diff --git a/ui/gl/gl_context_cgl.h b/ui/gl/gl_context_cgl.h
index bb7a2415c76702631738170f8e565e02388fe0a3..2c4f40805066fe5c5d3dc4591467285ce0039121 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;
+ YUV420RGBConverter* GetYUV420RGBConverter() override;
protected:
~GLContextCGL() override;
@@ -39,6 +41,7 @@ class GLContextCGL : public GLContextReal {
void* context_;
GpuPreference gpu_preference_;
+ scoped_ptr<YUV420RGBConverter> yuv420_rgb_converter_;
CGLPixelFormatObj discrete_pixelformat_;
« no previous file with comments | « ui/gl/gl_context.cc ('k') | ui/gl/gl_context_cgl.cc » ('j') | ui/gl/gl_image_io_surface.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698