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 12315046: cc: Make ResourceProvider correctly handle transferring mailbox-created resources (Closed)

Created:
7 years, 10 months ago by piman
Modified:
7 years, 10 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Make ResourceProvider correctly handle transferring mailbox-created resources For mailbox-created resources, the texture ID is created lazily, in lockForRead. If we use a delegating renderer, we won't lock it, so at the time we transfer it to the parent and back, we don't have a texture ID, and we shouldn't be producing/consuming. We still need to correctly handle the synchronization logic. This change implements all this, and adds tests. BUG=164095 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184089

Patch Set 1 #

Total comments: 11

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -5 lines) Patch
M cc/resource_provider.cc View 2 chunks +13 lines, -4 lines 0 comments Download
M cc/resource_provider_unittest.cc View 1 3 chunks +112 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
piman
7 years, 10 months ago (2013-02-22 03:19:26 UTC) #1
danakj
Can you describe the problem/solution in the description area please?
7 years, 10 months ago (2013-02-22 03:21:26 UTC) #2
danakj
https://codereview.chromium.org/12315046/diff/1/cc/resource_provider_unittest.cc File cc/resource_provider_unittest.cc (right): https://codereview.chromium.org/12315046/diff/1/cc/resource_provider_unittest.cc#newcode588 cc/resource_provider_unittest.cc:588: TextureMailbox::ReleaseCallback callback = base::Bind(ReleaseTextureMailbox, &releaseSyncPoint); i love Bind() so ...
7 years, 10 months ago (2013-02-22 03:50:43 UTC) #3
danakj
LGTM with the nittyness resolved!
7 years, 10 months ago (2013-02-22 04:09:49 UTC) #4
piman
https://codereview.chromium.org/12315046/diff/1/cc/resource_provider_unittest.cc File cc/resource_provider_unittest.cc (right): https://codereview.chromium.org/12315046/diff/1/cc/resource_provider_unittest.cc#newcode599 cc/resource_provider_unittest.cc:599: EXPECT_LE(syncPoint, list.sync_point); On 2013/02/22 03:50:43, danakj wrote: > if ...
7 years, 10 months ago (2013-02-22 05:12:08 UTC) #5
piman
On Thu, Feb 21, 2013 at 7:21 PM, <danakj@chromium.org> wrote: > Can you describe the ...
7 years, 10 months ago (2013-02-22 05:12:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/12315046/1016
7 years, 10 months ago (2013-02-22 05:12:50 UTC) #7
commit-bot: I haz the power
7 years, 10 months ago (2013-02-22 11:17:41 UTC) #8
Message was sent while issue was closed.
Change committed as 184089

Powered by Google App Engine
This is Rietveld 408576698