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

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

Issue 14069008: GPU: Reduce MakeCurrent calls to fix Orange San Diego (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reduce scope. Cleanup IsCurrent. Created 7 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
« no previous file with comments | « content/gpu/gpu_info_collector_android.cc ('k') | gpu/command_buffer/service/gl_context_virtual.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 0c1813916f9b40cb55941997f73df8b751ae851e..4fcab22accfed798d226d8a3b0f53b1d1587174e 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -230,6 +230,9 @@ void FeatureInfo::AddFeatures(const CommandLine& command_line) {
if (is_vivante) {
workarounds_.unbind_fbo_on_context_switch = true;
}
+ if (is_imagination) {
greggman 2013/05/03 18:28:09 I'd prefer to only set the switch once (merge this
+ workarounds_.unbind_fbo_on_context_switch = true;
+ }
#if defined(OS_MACOSX)
workarounds_.needs_offscreen_buffer_workaround = is_nvidia;
workarounds_.needs_glsl_built_in_function_emulation = is_amd;
« no previous file with comments | « content/gpu/gpu_info_collector_android.cc ('k') | gpu/command_buffer/service/gl_context_virtual.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698