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

Issue 11888010: Cosmetic cleanup to texture_layer mailboxes. (Closed)

Created:
7 years, 11 months ago by alexst (slow to review)
Modified:
7 years, 11 months ago
Reviewers:
danakj, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Cosmetic cleanup to texture_layer mailboxes. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177954

Patch Set 1 #

Total comments: 8

Patch Set 2 : Comments #

Total comments: 2

Patch Set 3 : Using Mailbox struct #

Total comments: 4

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 5

Patch Set 6 : Nits #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -99 lines) Patch
M cc/cc.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resource_provider.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/resource_provider.cc View 1 2 3 4 5 8 chunks +15 lines, -18 lines 0 comments Download
M cc/texture_layer.h View 1 2 3 4 5 6 5 chunks +3 lines, -5 lines 0 comments Download
M cc/texture_layer.cc View 1 2 3 4 5 6 5 chunks +14 lines, -13 lines 0 comments Download
M cc/texture_layer_impl.h View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M cc/texture_layer_impl.cc View 1 2 3 4 5 6 2 chunks +9 lines, -10 lines 0 comments Download
M cc/texture_layer_unittest.cc View 1 8 chunks +36 lines, -44 lines 0 comments Download
A cc/texture_mailbox.h View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A cc/texture_mailbox.cc View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_compositing_helper.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
alexst (slow to review)
Dana, it's followup to the mailbox changes to clean up the interface a bit. This ...
7 years, 11 months ago (2013-01-14 19:20:51 UTC) #1
danakj
I like this! +piman We should maybe rename the current Mailbox to TransferrableMailbox to denote ...
7 years, 11 months ago (2013-01-16 01:59:03 UTC) #2
danakj
https://codereview.chromium.org/11888010/diff/1/cc/texture_mailbox.h File cc/texture_mailbox.h (right): https://codereview.chromium.org/11888010/diff/1/cc/texture_mailbox.h#newcode25 cc/texture_mailbox.h:25: void runCallback(unsigned sync_point); On 2013/01/16 01:59:03, danakj wrote: > ...
7 years, 11 months ago (2013-01-16 16:11:55 UTC) #3
alexst (slow to review)
New patch.
7 years, 11 months ago (2013-01-16 20:03:20 UTC) #4
danakj
https://codereview.chromium.org/11888010/diff/8001/cc/texture_mailbox.h File cc/texture_mailbox.h (right): https://codereview.chromium.org/11888010/diff/8001/cc/texture_mailbox.h#newcode25 cc/texture_mailbox.h:25: const int8* Data() const; I'd name this data() and ...
7 years, 11 months ago (2013-01-16 22:22:13 UTC) #5
piman
Should we make cc::TextureMailbox a struct with a cc::Mailbox and the callback? Among others, I'd ...
7 years, 11 months ago (2013-01-16 22:22:35 UTC) #6
alexst (slow to review)
On 2013/01/16 22:22:35, piman wrote: > Should we make cc::TextureMailbox a struct with a cc::Mailbox ...
7 years, 11 months ago (2013-01-16 22:59:40 UTC) #7
piman
On Wed, Jan 16, 2013 at 2:59 PM, <alexst@chromium.org> wrote: > On 2013/01/16 22:22:35, piman ...
7 years, 11 months ago (2013-01-16 23:39:21 UTC) #8
alexst (slow to review)
> If needed, validation needs to happen close to the IPC layer so that it ...
7 years, 11 months ago (2013-01-17 20:52:52 UTC) #9
piman
Just couple of things left. https://codereview.chromium.org/11888010/diff/17001/cc/texture_mailbox.cc File cc/texture_mailbox.cc (right): https://codereview.chromium.org/11888010/diff/17001/cc/texture_mailbox.cc#newcode19 cc/texture_mailbox.cc:19: DCHECK(mailbox_name.size() == sizeof(name_.name)); nit: ...
7 years, 11 months ago (2013-01-17 21:30:01 UTC) #10
alexst (slow to review)
New patch https://codereview.chromium.org/11888010/diff/17001/cc/texture_mailbox.cc File cc/texture_mailbox.cc (right): https://codereview.chromium.org/11888010/diff/17001/cc/texture_mailbox.cc#newcode19 cc/texture_mailbox.cc:19: DCHECK(mailbox_name.size() == sizeof(name_.name)); On 2013/01/17 21:30:01, piman ...
7 years, 11 months ago (2013-01-17 22:10:11 UTC) #11
piman
LGTM+nit https://codereview.chromium.org/11888010/diff/21002/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11888010/diff/21002/cc/resource_provider.cc#newcode749 cc/resource_provider.cc:749: resource->mailbox.setName(name); nit: I think you can simplify the ...
7 years, 11 months ago (2013-01-17 22:20:42 UTC) #12
alexst (slow to review)
Patch https://codereview.chromium.org/11888010/diff/21002/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11888010/diff/21002/cc/resource_provider.cc#newcode749 cc/resource_provider.cc:749: resource->mailbox.setName(name); On 2013/01/17 22:20:42, piman wrote: > nit: ...
7 years, 11 months ago (2013-01-17 23:50:38 UTC) #13
piman
lgtm
7 years, 11 months ago (2013-01-17 23:57:43 UTC) #14
danakj
https://codereview.chromium.org/11888010/diff/25001/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11888010/diff/25001/cc/resource_provider.cc#newcode695 cc/resource_provider.cc:695: resource.mailbox.SetName(it->mailbox); would it be safer to do resource.mailbox = ...
7 years, 11 months ago (2013-01-18 00:13:08 UTC) #15
no sievers
Cool stuff! Would be nice if there was also a sync point the layer could ...
7 years, 11 months ago (2013-01-18 01:27:40 UTC) #16
alexst (slow to review)
On 2013/01/18 01:27:40, Daniel Sievers wrote: > Cool stuff! Would be nice if there was ...
7 years, 11 months ago (2013-01-18 15:16:50 UTC) #17
alexst (slow to review)
And to clarify my comment to Daniel, it's easy to add, but probably in a ...
7 years, 11 months ago (2013-01-18 16:12:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/11888010/31001
7 years, 11 months ago (2013-01-21 17:59:42 UTC) #19
commit-bot: I haz the power
7 years, 11 months ago (2013-01-21 20:18:56 UTC) #20
Message was sent while issue was closed.
Change committed as 177954

Powered by Google App Engine
This is Rietveld 408576698