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

Issue 2673473002: Rename SwapBuffersWithDamage to SwapBuffersWithBounds (Closed)

Created:
3 years, 10 months ago by halliwell
Modified:
3 years, 10 months ago
Reviewers:
danakj, jbauman, meacer
CC:
chromium-reviews, piman+watch_chromium.org, cc-bugs_chromium.org, ozone-reviews_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename SwapBuffersWithDamage to SwapBuffersWithBounds SwapBuffersWithDamage was added for power savings on Chromecast (see bug), but there is a semantic mismatch: we actually want to pass non-overlay content bounds through to graphics driver, not damage rect. This renames the API to SwapBuffersWithBounds and hides the misuse of 'swap with damage' API inside GLSurfaceCast. Will fix that separately when we have a different EGL extension name for the API. BUG=687690 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2673473002 Cr-Commit-Position: refs/heads/master@{#448269} Committed: https://chromium.googlesource.com/chromium/src/+/53242f17bf9b441c048511dfd2352e38326ef193

Patch Set 1 #

Patch Set 2 : Fix Cast compile error + autogen test logic #

Total comments: 6

Patch Set 3 : nits #

Patch Set 4 : fix windows compile warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -233 lines) Patch
M cc/test/test_context_support.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/test_context_support.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 7 chunks +11 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/context_support.h View 2 chunks +2 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 2 chunks +5 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 chunk +7 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 2 chunks +26 lines, -12 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 chunk +1 line, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 chunk +2 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 chunk +1 line, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 chunk +3 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 chunk +1 line, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 chunk +5 lines, -6 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/common/capabilities.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/common/capabilities.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 chunk +31 lines, -32 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 chunk +20 lines, -12 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 7 chunks +21 lines, -18 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 chunk +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h View 1 chunk +2 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 2 1 chunk +10 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_4_autogen.h View 1 chunk +12 lines, -0 lines 0 comments Download
M gpu/ipc/common/gpu_command_buffer_traits_multi.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/ipc/service/pass_through_image_transport_surface.h View 1 chunk +2 lines, -4 lines 0 comments Download
M gpu/ipc/service/pass_through_image_transport_surface.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M ui/gl/gl_surface.h View 4 chunks +8 lines, -12 lines 0 comments Download
M ui/gl/gl_surface.cc View 4 chunks +8 lines, -12 lines 0 comments Download
M ui/gl/gl_surface_egl.h View 2 chunks +1 line, -5 lines 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 3 3 chunks +6 lines, -19 lines 0 comments Download
M ui/gl/gl_switches.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_switches.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/ozone/platform/cast/gl_surface_cast.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ui/ozone/platform/cast/gl_surface_cast.cc View 1 2 2 chunks +22 lines, -7 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
halliwell
3 years, 10 months ago (2017-02-01 20:33:30 UTC) #5
jbauman
lgtm
3 years, 10 months ago (2017-02-01 22:15:04 UTC) #6
halliwell
+ danakj for cc/test + meacer for gpu/ipc
3 years, 10 months ago (2017-02-01 23:55:00 UTC) #8
danakj
cc/test/ LGTM
3 years, 10 months ago (2017-02-02 16:23:39 UTC) #13
meacer
gpu/ipc lgtm https://codereview.chromium.org/2673473002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2673473002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode916 gpu/command_buffer/service/gles2_cmd_decoder.cc:916: // Wrapper for SwapBuffersWithBoundsCHROMIUM nit: missing period ...
3 years, 10 months ago (2017-02-02 21:42:33 UTC) #14
halliwell
https://codereview.chromium.org/2673473002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2673473002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode916 gpu/command_buffer/service/gles2_cmd_decoder.cc:916: // Wrapper for SwapBuffersWithBoundsCHROMIUM On 2017/02/02 21:42:33, Mustafa Emre ...
3 years, 10 months ago (2017-02-03 20:17:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673473002/40001
3 years, 10 months ago (2017-02-03 20:19:27 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/341979)
3 years, 10 months ago (2017-02-03 21:00:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673473002/60001
3 years, 10 months ago (2017-02-06 15:29:10 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 16:27:38 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/53242f17bf9b441c048511dfd235...

Powered by Google App Engine
This is Rietveld 408576698