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

Issue 763383002: GPU: Flush in glBind* to avoid being executed after future glDelete* (Closed)

Created:
6 years ago by Peng
Modified:
6 years ago
Reviewers:
Nike, bajones, piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

GPU: Flush in glBind* to avoid being executed after future glDelete* In Pepper, glBind*() may generate resource in GPU process, so we have to flush command buffer to make sure the Bind* command is executed by GPU before any future Delete* commands. BUG=437432 Committed: https://crrev.com/68b55cd3b2f4bb22b5ad4beb3a543d71269fde4a Cr-Commit-Position: refs/heads/master@{#307101}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review issues #

Total comments: 3

Patch Set 3 : Address review issues #

Total comments: 2

Patch Set 4 : Address a review issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -67 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 2 1 chunk +13 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 8 chunks +76 lines, -29 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 7 chunks +7 lines, -21 lines 0 comments Download
M gpu/command_buffer/client/share_group.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M gpu/command_buffer/client/share_group.cc View 1 2 3 3 chunks +19 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
Peng
On 2014/11/28 21:04:58, Peng wrote: > mailto:penghuang@chromium.org changed reviewers: > + mailto:bajones@chromium.org, mailto:piman@chromium.org PTAL, Thanks.
6 years ago (2014-11-28 21:05:17 UTC) #2
Nike
https://codereview.chromium.org/763383002/diff/1/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/763383002/diff/1/gpu/command_buffer/client/gles2_implementation.cc#newcode2329 gpu/command_buffer/client/gles2_implementation.cc:2329: // TODO(penghuang): Get ride of the Flush(). Get rid ...
6 years ago (2014-12-01 12:09:17 UTC) #4
Peng
https://codereview.chromium.org/763383002/diff/1/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/763383002/diff/1/gpu/command_buffer/client/gles2_implementation.cc#newcode2329 gpu/command_buffer/client/gles2_implementation.cc:2329: // TODO(penghuang): Get ride of the Flush(). On 2014/12/01 ...
6 years ago (2014-12-01 14:38:12 UTC) #5
bajones
lgtm
6 years ago (2014-12-01 21:28:27 UTC) #6
piman
https://codereview.chromium.org/763383002/diff/20001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/763383002/diff/20001/gpu/command_buffer/client/gles2_implementation.cc#newcode2456 gpu/command_buffer/client/gles2_implementation.cc:2456: helper_->CommandBufferHelper::Flush(); This is racy, it needs to be done ...
6 years ago (2014-12-01 21:41:53 UTC) #7
Peng
https://codereview.chromium.org/763383002/diff/20001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/763383002/diff/20001/gpu/command_buffer/client/gles2_implementation.cc#newcode2456 gpu/command_buffer/client/gles2_implementation.cc:2456: helper_->CommandBufferHelper::Flush(); On 2014/12/01 21:41:53, piman (Very slow to review) ...
6 years ago (2014-12-02 19:32:36 UTC) #8
piman
On Tue, Dec 2, 2014 at 11:32 AM, <penghuang@chromium.org> wrote: > > https://codereview.chromium.org/763383002/diff/20001/gpu/ > command_buffer/client/gles2_implementation.cc ...
6 years ago (2014-12-02 21:24:52 UTC) #9
Peng
https://codereview.chromium.org/763383002/diff/20001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/763383002/diff/20001/gpu/command_buffer/client/gles2_implementation.cc#newcode2456 gpu/command_buffer/client/gles2_implementation.cc:2456: helper_->CommandBufferHelper::Flush(); On 2014/12/01 21:41:53, piman (Very slow to review) ...
6 years ago (2014-12-04 17:45:01 UTC) #10
piman
https://codereview.chromium.org/763383002/diff/40001/gpu/command_buffer/client/share_group.cc File gpu/command_buffer/client/share_group.cc (right): https://codereview.chromium.org/763383002/diff/40001/gpu/command_buffer/client/share_group.cc#newcode157 gpu/command_buffer/client/share_group.cc:157: base::AutoLock auto_lock(lock_); You don't need to take the lock ...
6 years ago (2014-12-05 20:31:13 UTC) #11
Peng
https://codereview.chromium.org/763383002/diff/40001/gpu/command_buffer/client/share_group.cc File gpu/command_buffer/client/share_group.cc (right): https://codereview.chromium.org/763383002/diff/40001/gpu/command_buffer/client/share_group.cc#newcode157 gpu/command_buffer/client/share_group.cc:157: base::AutoLock auto_lock(lock_); On 2014/12/05 20:31:13, piman (Very slow to ...
6 years ago (2014-12-05 21:04:39 UTC) #13
piman
lgtm
6 years ago (2014-12-05 21:14:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/763383002/80001
6 years ago (2014-12-05 21:20:35 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
6 years ago (2014-12-05 23:03:24 UTC) #17
commit-bot: I haz the power
6 years ago (2014-12-05 23:04:57 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/68b55cd3b2f4bb22b5ad4beb3a543d71269fde4a
Cr-Commit-Position: refs/heads/master@{#307101}

Powered by Google App Engine
This is Rietveld 408576698