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

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

Issue 12079065: cc: Flush after context switch (Qualcomm WAR) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snowclamp_simple
Patch Set: remove extraneous whitespace change Created 7 years, 11 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/command_buffer/service/feature_info.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.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 8d7320d3dbf4803eb474ef04a2781f4dfc2fc74c..d48912a1323a9a17c279586c7610d02d39395c87 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -92,6 +92,7 @@ FeatureInfo::Workarounds::Workarounds()
set_texture_filter_before_generating_mipmap(false),
use_current_program_after_successful_link(false),
restore_scissor_on_fbo_change(false),
+ flush_on_context_switch(false),
max_texture_size(0),
max_cube_map_texture_size(0) {
}
@@ -601,6 +602,7 @@ void FeatureInfo::AddFeatures() {
if (is_qualcomm) {
workarounds_.restore_scissor_on_fbo_change = true;
+ workarounds_.flush_on_context_switch = true;
}
#if defined(OS_MACOSX)
« no previous file with comments | « gpu/command_buffer/service/feature_info.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698