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

Issue 2221173002: Implementing FlushMappedBufferRange in GPU command buffer. (Closed)

Created:
4 years, 4 months ago by Zhenyao Mo
Modified:
4 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org, vmiura, Kai Ninomiya, bsalomon_chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implementing FlushMappedBufferRange in GPU command buffer. Also adding some missing validation for MapBufferRange. BUG=429053, 651843 TEST=gpu_unittests R=piman@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/1f5a5a2f766dbaeb047e4a39e647be420f3530e9 Cr-Commit-Position: refs/heads/master@{#423035}

Patch Set 1 : working #

Total comments: 1

Patch Set 2 : pure rebase #

Patch Set 3 : update #

Total comments: 4

Patch Set 4 : Address vmiura's review comments #

Patch Set 5 : attempt to fix win build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+496 lines, -109 lines) Patch
M gpu/GLES2/gl2chromium_autogen.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 1 chunk +19 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 1 chunk +41 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 1 chunk +15 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 1 chunk +70 lines, -69 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 7 chunks +127 lines, -40 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 1 chunk +25 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_buffers.cc View 1 2 2 chunks +114 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 33 (23 generated)
Zhenyao Mo
piman: PTAL Can't believe I missed a command at this point
4 years, 4 months ago (2016-08-08 21:18:56 UTC) #8
piman
https://codereview.chromium.org/2221173002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2221173002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode16589 gpu/command_buffer/service/gles2_cmd_decoder.cc:16589: glFlushMappedBufferRange(target, offset, size); This in itself won't do anything ...
4 years, 4 months ago (2016-08-08 22:55:23 UTC) #11
Zhenyao Mo
kbr: Can you review since piman is out of office? vmiura, kainino, bsalomon: FYI (feel ...
4 years, 2 months ago (2016-10-04 21:33:56 UTC) #16
vmiura
https://codereview.chromium.org/2221173002/diff/120001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2221173002/diff/120001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode16864 gpu/command_buffer/service/gles2_cmd_decoder.cc:16864: if (size == 0) { I think size == ...
4 years, 2 months ago (2016-10-04 22:18:53 UTC) #18
Zhenyao Mo
vmiura: revised. please take another look. https://codereview.chromium.org/2221173002/diff/120001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2221173002/diff/120001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode16864 gpu/command_buffer/service/gles2_cmd_decoder.cc:16864: if (size == ...
4 years, 2 months ago (2016-10-04 22:30:28 UTC) #19
vmiura
LGTM
4 years, 2 months ago (2016-10-04 22:34:53 UTC) #20
Ken Russell (switch to Gerrit)
I defer to vmiura's review.
4 years, 2 months ago (2016-10-04 23:41:32 UTC) #26
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/2221173002/150001
4 years, 2 months ago (2016-10-05 00:24:08 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:150001)
4 years, 2 months ago (2016-10-05 01:20:22 UTC) #31
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 01:23:45 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1f5a5a2f766dbaeb047e4a39e647be420f3530e9
Cr-Commit-Position: refs/heads/master@{#423035}

Powered by Google App Engine
This is Rietveld 408576698