diff options
Diffstat (limited to 'chromium/gpu')
-rw-r--r-- | chromium/gpu/command_buffer/service/gles2_cmd_decoder.cc | 4 | ||||
-rw-r--r-- | chromium/gpu/config/gpu_driver_bug_list.json | 14 | ||||
-rw-r--r-- | chromium/gpu/config/gpu_driver_bug_workaround_type.h | 2 |
3 files changed, 19 insertions, 1 deletions
diff --git a/chromium/gpu/command_buffer/service/gles2_cmd_decoder.cc b/chromium/gpu/command_buffer/service/gles2_cmd_decoder.cc index 7c982457667..5c881c3d205 100644 --- a/chromium/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/chromium/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -3155,6 +3155,10 @@ bool GLES2DecoderImpl::Initialize( context_ = context; surface_ = surface; + // Set workarounds for the surface. + if (workarounds().rely_on_implicit_sync_for_swap_buffers) + surface_->SetRelyOnImplicitSync(); + // Create GPU Tracer for timing values. gpu_tracer_.reset(new GPUTracer(this)); diff --git a/chromium/gpu/config/gpu_driver_bug_list.json b/chromium/gpu/config/gpu_driver_bug_list.json index 33e8a6e9753..b8f5489ce08 100644 --- a/chromium/gpu/config/gpu_driver_bug_list.json +++ b/chromium/gpu/config/gpu_driver_bug_list.json @@ -1,6 +1,6 @@ { "name": "gpu driver bug list", - "version": "10.92", + "version": "10.93", "entries": [ { "id": 1, @@ -2530,6 +2530,18 @@ "features": [ "disable_chromium_framebuffer_multisample" ] + }, + { + "id": 235, + "description": "Avoid waiting on a egl fence before pageflipping and rely on implicit sync.", + "cr_bugs": [721463], + "os": { + "type": "chromeos" + }, + "gl_vendor": "Intel.*", + "features": [ + "rely_on_implicit_sync_for_swap_buffers" + ] } ], "comment": [ diff --git a/chromium/gpu/config/gpu_driver_bug_workaround_type.h b/chromium/gpu/config/gpu_driver_bug_workaround_type.h index bcf07fcf2c7..090093813ae 100644 --- a/chromium/gpu/config/gpu_driver_bug_workaround_type.h +++ b/chromium/gpu/config/gpu_driver_bug_workaround_type.h @@ -221,6 +221,8 @@ disable_non_empty_post_sub_buffers_for_onscreen_surfaces) \ GPU_OP(AVOID_STENCIL_BUFFERS, \ avoid_stencil_buffers) \ + GPU_OP(RELY_ON_IMPLICIT_SYNC_FOR_SWAP_BUFFERS, \ + rely_on_implicit_sync_for_swap_buffers) \ // clang-format on namespace gpu { |