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

Unified Diff: gpu/command_buffer/service/feature_info.cc

Issue 301243005: gpu: Add disable_arb_sync workaround and blacklist some MacOSX drivers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index cfbee736f65eadea561c9c61bd60aca1c6501744..46f4d2ecf4e565530dc8911e107b2e7f16160233 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -802,8 +802,10 @@ void FeatureInfo::InitializeFeatures() {
}
egl_khr_fence_sync = gfx::g_driver_egl.ext.b_EGL_KHR_fence_sync;
#endif
+ if (workarounds_.disable_arb_sync)
+ gfx::g_driver_gl.ext.b_GL_ARB_sync = false;
bool ui_gl_fence_works = is_es3 || extensions.Contains("GL_NV_fence") ||
- extensions.Contains("GL_ARB_sync") ||
+ gfx::g_driver_gl.ext.b_GL_ARB_sync ||
egl_khr_fence_sync;
UMA_HISTOGRAM_BOOLEAN("GPU.FenceSupport", ui_gl_fence_works);
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698