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

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..082c2214b1bdff438ffe381f45b422a292ca535e 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -802,8 +802,13 @@ void FeatureInfo::InitializeFeatures() {
}
egl_khr_fence_sync = gfx::g_driver_egl.ext.b_EGL_KHR_fence_sync;
#endif
+ bool arb_sync = false;
+ if (workarounds_.disable_arb_sync) {
+ gfx::g_driver_gl.ext.b_GL_ARB_sync = false;
+ }
+ arb_sync = gfx::g_driver_gl.ext.b_GL_ARB_sync;
no sievers 2014/05/30 18:05:20 ultra-nit: I guess you could remove line 805 and d
reveman 2014/05/30 19:16:17 Cleaned this up a bit in latest patch by not using
bool ui_gl_fence_works = is_es3 || extensions.Contains("GL_NV_fence") ||
- extensions.Contains("GL_ARB_sync") ||
+ 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