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

Unified Diff: content/browser/gpu/gpu_data_manager_impl_private.cc

Issue 1154463005: Add Web preferences for GL_RGB support Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DEPS file Created 5 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 | « no previous file | content/public/common/web_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index 87bad092436686a2441dc44e01ce04e6d02ff3c9..009d8645b8bdbb4526a560fffc7144dbb59de1ca 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -739,6 +739,9 @@ void GpuDataManagerImplPrivate::UpdateRendererWebPrefs(
display_count_ > 1))
prefs->gl_multisampling_enabled = false;
+ if (IsDriverBugWorkaroundActive(gpu::DISABLE_GL_RGB_FORMAT))
+ prefs->gl_rgb_support_enabled = false;
+
#if defined(USE_AURA)
if (!CanUseGpuBrowserCompositor()) {
prefs->accelerated_2d_canvas_enabled = false;
« no previous file with comments | « no previous file | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698