diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 06:06:12 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 06:06:12 +0000 |
commit | f7438e0d4acc7644c6298fdd6e22fa72ff468bb9 (patch) | |
tree | d469e453a6818000c3635c4ee6d6e8fd8872fd04 /gpu | |
parent | a4982d218e27a44be5ee4cc8ef1e78105d0d8d25 (diff) | |
download | chromium_src-f7438e0d4acc7644c6298fdd6e22fa72ff468bb9.zip chromium_src-f7438e0d4acc7644c6298fdd6e22fa72ff468bb9.tar.gz chromium_src-f7438e0d4acc7644c6298fdd6e22fa72ff468bb9.tar.bz2 |
gpu: Remove flush_on_context_switch workaround
The original bug is no longer reproducible, and the
workaround negatively impacts performance.
TBR=apatrick@chromium.org for gles2_cmd_decoder.cc
BUG=
Review URL: https://chromiumcodereview.appspot.com/19647017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.cc | 2 | ||||
-rw-r--r-- | gpu/config/gpu_driver_bug_list_json.cc | 1 | ||||
-rw-r--r-- | gpu/config/gpu_driver_bug_workaround_type.h | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index 71bf1e0..cfe1879 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -2828,8 +2828,6 @@ bool GLES2DecoderImpl::MakeCurrent() { } ProcessFinishedAsyncTransfers(); - if (workarounds().flush_on_context_switch) - glFlush(); // Rebind the FBO if it was unbound by the context. if (workarounds().unbind_fbo_on_context_switch) diff --git a/gpu/config/gpu_driver_bug_list_json.cc b/gpu/config/gpu_driver_bug_list_json.cc index 76ea7d2..626c5c1 100644 --- a/gpu/config/gpu_driver_bug_list_json.cc +++ b/gpu/config/gpu_driver_bug_list_json.cc @@ -146,7 +146,6 @@ const char kGpuDriverBugListJson[] = LONG_STRING_CONST( }, "features": [ "restore_scissor_on_fbo_change", - "flush_on_context_switch", "delete_instead_of_resize_fbo" // Only need this on the ICS driver. ] }, diff --git a/gpu/config/gpu_driver_bug_workaround_type.h b/gpu/config/gpu_driver_bug_workaround_type.h index 990c6ae..8b733ea 100644 --- a/gpu/config/gpu_driver_bug_workaround_type.h +++ b/gpu/config/gpu_driver_bug_workaround_type.h @@ -30,8 +30,6 @@ enable_chromium_fast_npot_mo8_textures) \ GPU_OP(EXIT_ON_CONTEXT_LOST, \ exit_on_context_lost) \ - GPU_OP(FLUSH_ON_CONTEXT_SWITCH, \ - flush_on_context_switch) \ GPU_OP(MAX_CUBE_MAP_TEXTURE_SIZE_LIMIT_1024, \ max_cube_map_texture_size_limit_1024) \ GPU_OP(MAX_CUBE_MAP_TEXTURE_SIZE_LIMIT_4096, \ |