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

Issue 1674313002: Reland of Separate out resource mailbox creation and fix synchronization issue. (Closed)

Created:
4 years, 10 months ago by David Yen
Modified:
4 years, 10 months ago
Reviewers:
vmpstr, piman
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Separate out resource mailbox creation and fix synchronization issue. (patchset #1 id:1 of https://codereview.chromium.org/1678613002/ ) Reason for revert: Trying to reland patch with fixes. Original issue's description: > Revert of Separate out resource mailbox creation and fix synchronization issue. (patchset #3 id:40001 of https://codereview.chromium.org/1666203003/ ) > > Reason for revert: > Causing renderer synchronization issues > > Original issue's description: > > Separate out resource mailbox creation and fix synchronization issue. > > > > The resource transfer function has been split up so it does the lazy > > resource mailbox creation in a separate pass. This allows us to setup > > the sync token directly on the resource itself before the transfer. > > > > The texture binding code is also done on the first pass, this fixes > > a subtle synchronization issue where previously the bound textures > > could potentially not have a sync token attached to it if no mailboxes > > were lazily created. > > > > BUG=584381 > > CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel > > > > Committed: https://crrev.com/d5650cab68401bcd2bb89e1a98c65378d493f785 > > Cr-Commit-Position: refs/heads/master@{#373847} > > TBR=reveman@chromium.org,piman@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=584381, 584780 > > Committed: https://crrev.com/a14747b0409da6ca3700c03a0a4e5cb28de9f3b0 > Cr-Commit-Position: refs/heads/master@{#373974} R=piman@chromium.org BUG=584381 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/38e7e941648b23d1eb34602d63022884c3552e2d Cr-Commit-Position: refs/heads/master@{#374280}

Patch Set 1 #

Patch Set 2 : Fixed some style issues and inserted fix + TODO #

Patch Set 3 : Moved sync token reset to a post process. #

Patch Set 4 : force reset/rebase #

Total comments: 2

Patch Set 5 : Reapplied patch #3 #

Total comments: 15

Patch Set 6 : Applied fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -56 lines) Patch
M cc/resources/resource_provider.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 5 4 chunks +78 lines, -55 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/resources/texture_mailbox.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
David Yen
Created Reland of Separate out resource mailbox creation and fix synchronization issue.
4 years, 10 months ago (2016-02-08 18:28:31 UTC) #1
piman
On 2016/02/08 18:28:31, David Yen wrote: > Created Reland of Separate out resource mailbox creation ...
4 years, 10 months ago (2016-02-08 18:48:27 UTC) #4
David Yen
On 2016/02/08 18:48:27, piman wrote: > On 2016/02/08 18:28:31, David Yen wrote: > > Created ...
4 years, 10 months ago (2016-02-08 18:50:00 UTC) #5
David Yen
On 2016/02/08 18:50:00, David Yen wrote: > On 2016/02/08 18:48:27, piman wrote: > > On ...
4 years, 10 months ago (2016-02-08 19:18:36 UTC) #7
David Yen
Ok this looks much better, just look at the diff between #4 and #5. https://codereview.chromium.org/1674313002/diff/180001/cc/resources/resource_provider.cc ...
4 years, 10 months ago (2016-02-08 19:24:17 UTC) #8
vmpstr
https://codereview.chromium.org/1674313002/diff/160001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1674313002/diff/160001/cc/resources/resource_provider.cc#newcode1156 cc/resources/resource_provider.cc:1156: std::vector<ResourceIdArray::const_iterator> need_synchronization_indexes; Was something invalidating these iterators or is ...
4 years, 10 months ago (2016-02-08 20:02:56 UTC) #10
piman
LGTM modulo nits https://codereview.chromium.org/1674313002/diff/180001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1674313002/diff/180001/cc/resources/resource_provider.cc#newcode1194 cc/resources/resource_provider.cc:1194: for (const ResourceId it : resources) ...
4 years, 10 months ago (2016-02-08 21:09:24 UTC) #11
David Yen
https://codereview.chromium.org/1674313002/diff/160001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1674313002/diff/160001/cc/resources/resource_provider.cc#newcode1156 cc/resources/resource_provider.cc:1156: std::vector<ResourceIdArray::const_iterator> need_synchronization_indexes; On 2016/02/08 20:02:55, vmpstr wrote: > Was ...
4 years, 10 months ago (2016-02-08 21:49:24 UTC) #12
vmpstr
lgtm https://codereview.chromium.org/1674313002/diff/180001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1674313002/diff/180001/cc/resources/resource_provider.cc#newcode1202 cc/resources/resource_provider.cc:1202: ++resources_.find(it)->second.exported_count; On 2016/02/08 21:49:24, David Yen wrote: > ...
4 years, 10 months ago (2016-02-08 23:36:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1674313002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1674313002/200001
4 years, 10 months ago (2016-02-09 00:09:15 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 10 months ago (2016-02-09 02:47:00 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 02:48:14 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/38e7e941648b23d1eb34602d63022884c3552e2d
Cr-Commit-Position: refs/heads/master@{#374280}

Powered by Google App Engine
This is Rietveld 408576698