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

Unified Diff: ui/gl/gl_context_cgl.cc

Issue 2170293002: Use GLVersionInfo instead of gl::GetGLImplementation() to decide GL paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 4 years, 5 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 | « gpu/perftests/texture_upload_perftest.cc ('k') | ui/gl/gl_fence.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_cgl.cc
diff --git a/ui/gl/gl_context_cgl.cc b/ui/gl/gl_context_cgl.cc
index ece1b8e5759015d7fb955348767b9c3abcee2087..fb9eb78d97ecafa6c88cf6722a38327ffdc4033f 100644
--- a/ui/gl/gl_context_cgl.cc
+++ b/ui/gl/gl_context_cgl.cc
@@ -206,7 +206,7 @@ bool GLContextCGL::ForceGpuSwitchIfNeeded() {
YUVToRGBConverter* GLContextCGL::GetYUVToRGBConverter() {
if (!yuv_to_rgb_converter_)
- yuv_to_rgb_converter_.reset(new YUVToRGBConverter);
+ yuv_to_rgb_converter_.reset(new YUVToRGBConverter(*GetVersionInfo()));
return yuv_to_rgb_converter_.get();
}
« no previous file with comments | « gpu/perftests/texture_upload_perftest.cc ('k') | ui/gl/gl_fence.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698