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

Issue 2315313003: Add a base class of Texture for interfacing with the mailbox manager. (Closed)

Created:
4 years, 3 months ago by Geoff Lang
Modified:
4 years, 3 months ago
Reviewers:
Zhenyao Mo, piman
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a base class of Texture for interfacing with the mailbox manager. The basic mailbox manager, MailboxManagerImpl doesn't need the full state tracking that the Texture class provides and the Passthrough command buffer will be unable to provide. MailboxManagerSync will be addressed later but in the meantime it will downcast TextureBase to Texture. BUG=602688 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/5a3b3eea85250012dfa753b5223af6ba292256a0 Cr-Commit-Position: refs/heads/master@{#417046}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address piman's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -67 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 3 chunks +8 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager.h View 3 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_impl.h View 3 chunks +6 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_impl.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_sync.h View 1 3 chunks +4 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_sync.cc View 1 3 chunks +14 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_unittest.cc View 1 9 chunks +14 lines, -16 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 1 6 chunks +26 lines, -14 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 3 chunks +21 lines, -9 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Geoff Lang
PTAL, let me know what you think of tackling the issue this way. I think ...
4 years, 3 months ago (2016-09-07 14:53:07 UTC) #5
piman
This sounds fine in principle. A couple of issues. https://codereview.chromium.org/2315313003/diff/1/gpu/command_buffer/service/mailbox_manager_sync.cc File gpu/command_buffer/service/mailbox_manager_sync.cc (right): https://codereview.chromium.org/2315313003/diff/1/gpu/command_buffer/service/mailbox_manager_sync.cc#newcode194 gpu/command_buffer/service/mailbox_manager_sync.cc:194: ...
4 years, 3 months ago (2016-09-07 17:38:31 UTC) #8
Geoff Lang
https://codereview.chromium.org/2315313003/diff/1/gpu/command_buffer/service/mailbox_manager_sync.cc File gpu/command_buffer/service/mailbox_manager_sync.cc (right): https://codereview.chromium.org/2315313003/diff/1/gpu/command_buffer/service/mailbox_manager_sync.cc#newcode194 gpu/command_buffer/service/mailbox_manager_sync.cc:194: TextureBase* MailboxManagerSync::ConsumeTexture(const Mailbox& mailbox) { On 2016/09/07 17:38:31, piman ...
4 years, 3 months ago (2016-09-07 18:14:49 UTC) #11
piman
LGTM, thanks. I think the static_cast is ok, but maybe worth adding a comment somewhere ...
4 years, 3 months ago (2016-09-07 19:06:58 UTC) #12
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/2315313003/20001
4 years, 3 months ago (2016-09-07 21:07:14 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-07 21:37:54 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 21:40:11 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5a3b3eea85250012dfa753b5223af6ba292256a0
Cr-Commit-Position: refs/heads/master@{#417046}

Powered by Google App Engine
This is Rietveld 408576698