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

Issue 2163493002: Break glScheduleCALayerCHROMIUM into smaller functions. (Closed)

Created:
4 years, 5 months ago by erikchen
Modified:
4 years, 5 months ago
Reviewers:
ccameron, piman
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, cc-bugs_chromium.org, piman+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@temp37_cleanup_calayeroverlay
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Break glScheduleCALayerCHROMIUM into smaller functions. This CL is a refactor and has no intended behavior changes. Consecutive CALayerOverlays frequently share a lot of state. Create a new function glScheduleCALayerSharedStateCHROMIUM to pass this shared state. BUG=581526 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel Committed: https://crrev.com/17aefc360b0f73be31b1a6dfafb87782972f8dde Cr-Commit-Position: refs/heads/master@{#406406}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Total comments: 2

Patch Set 4 : Comment from ccameron. #

Total comments: 4

Patch Set 5 : Comments from piman. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+408 lines, -204 lines) Patch
M cc/output/gl_renderer.cc View 1 2 3 2 chunks +10 lines, -4 lines 0 comments Download
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt View 1 2 3 4 2 chunks +27 lines, -14 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 1 2 3 1 chunk +12 lines, -10 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 1 chunk +12 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 2 chunks +16 lines, -8 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 1 chunk +14 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 2 chunks +24 lines, -11 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 1 chunk +14 lines, -8 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 3 chunks +81 lines, -35 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 1 chunk +27 lines, -13 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 3 1 chunk +36 lines, -35 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 7 chunks +59 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 2 3 2 chunks +10 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc View 1 2 3 1 chunk +29 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (20 generated)
erikchen
ccameron: Please review.
4 years, 5 months ago (2016-07-19 06:17:04 UTC) #14
ccameron
lg, but I'd really prefer not to have the "unschedule" -- the scheduling stuff is ...
4 years, 5 months ago (2016-07-19 20:29:51 UTC) #15
erikchen
ccameron: PTAL https://codereview.chromium.org/2163493002/diff/40001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt (right): https://codereview.chromium.org/2163493002/diff/40001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt#newcode62 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt:62: On 2016/07/19 20:29:51, ccameron wrote: > Let's ...
4 years, 5 months ago (2016-07-19 20:42:26 UTC) #18
ccameron
That was fast. lgtm Leaving checking the middle encode/decode logic to a gpu/ OWNER.
4 years, 5 months ago (2016-07-19 20:45:32 UTC) #20
erikchen
piman: Please review.
4 years, 5 months ago (2016-07-19 20:47:32 UTC) #22
piman
lgtm https://codereview.chromium.org/2163493002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2163493002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10786 gpu/command_buffer/service/gles2_cmd_decoder.cc:10786: GL_INVALID_VALUE, "glScheduleCALayerCHROMIUM", nit: commonly GL_INVALID_OPERATION is the error ...
4 years, 5 months ago (2016-07-19 20:56:46 UTC) #23
erikchen
https://codereview.chromium.org/2163493002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2163493002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10786 gpu/command_buffer/service/gles2_cmd_decoder.cc:10786: GL_INVALID_VALUE, "glScheduleCALayerCHROMIUM", On 2016/07/19 20:56:46, piman wrote: > nit: ...
4 years, 5 months ago (2016-07-19 21:40:22 UTC) #24
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/2163493002/80001
4 years, 5 months ago (2016-07-19 21:41:11 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-19 23:04:02 UTC) #28
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 23:05:52 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/17aefc360b0f73be31b1a6dfafb87782972f8dde
Cr-Commit-Position: refs/heads/master@{#406406}

Powered by Google App Engine
This is Rietveld 408576698