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

Issue 2264253003: Command buffers: ensure we only read immediate data once (Closed)

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

Description

Command buffers: ensure we only read immediate data once Fizes various issues where we may be reading some immediate data twice: - Gen*, Delete* - InvalidateFramebuffer and friends - DrawBuffersEXT - Some Uniform* and VertexAttrib* - Mailbox functions BUG=597625, 597636 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/a17d2bcbccfda0480ed429897f243ca908dd6c15 Cr-Commit-Position: refs/heads/master@{#413962}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : fixes #

Total comments: 2

Patch Set 4 : Keep track of the correct draw buffer #

Messages

Total messages: 24 (13 generated)
piman
sievers, zmo: please review. Worth getting 2 pairs of eyes. I have a follow up ...
4 years, 4 months ago (2016-08-23 05:55:04 UTC) #5
Zhenyao Mo
On 2016/08/23 05:55:04, piman wrote: > sievers, zmo: please review. Worth getting 2 pairs of ...
4 years, 4 months ago (2016-08-23 16:18:01 UTC) #8
no sievers
lgtm https://codereview.chromium.org/2264253003/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/2264253003/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode6147 gpu/command_buffer/build_gles2_cmd_buffer.py:6147: " %(name)s_safe[i] = %(name)s[i];\n" maybe std::copy here?
4 years, 4 months ago (2016-08-23 21:09:04 UTC) #9
piman
PTAL, fixed the failures (see DoUniform1iv) and added a unit test to cover it. https://codereview.chromium.org/2264253003/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py ...
4 years, 4 months ago (2016-08-23 23:27:50 UTC) #12
Zhenyao Mo
lgtm with one nit https://codereview.chromium.org/2264253003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2264253003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode16164 gpu/command_buffer/service/gles2_cmd_decoder.cc:16164: back_buffer_draw_buffer_ = buf; Here we ...
4 years, 4 months ago (2016-08-23 23:53:06 UTC) #13
piman
https://codereview.chromium.org/2264253003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2264253003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode16164 gpu/command_buffer/service/gles2_cmd_decoder.cc:16164: back_buffer_draw_buffer_ = buf; On 2016/08/23 23:53:06, Zhenyao Mo wrote: ...
4 years, 4 months ago (2016-08-24 00:10:33 UTC) #14
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/2264253003/60001
4 years, 4 months ago (2016-08-24 00:11:35 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_optional_gpu_tests_rel on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_optional_gpu_tests_rel/builds/3168)
4 years, 4 months ago (2016-08-24 02:17:37 UTC) #19
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/2264253003/60001
4 years, 4 months ago (2016-08-24 02:29:37 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-24 03:05:48 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 03:07:22 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a17d2bcbccfda0480ed429897f243ca908dd6c15
Cr-Commit-Position: refs/heads/master@{#413962}

Powered by Google App Engine
This is Rietveld 408576698