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

Issue 11412043: cc: Add asynchronous setPixel interface. (Closed)

Created:
8 years, 1 month ago by reveman
Modified:
8 years ago
Reviewers:
danakj, jamesr, epenner, piman
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Add asynchronous setPixel interface. Implements asynchronous texture uploads using CHROMIUM_async_pixel_transfers extension. BUG=155209 TEST=cc_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171657

Patch Set 1 #

Patch Set 2 : Add software renderer support and remove unnecessary changes to PrioritizedResource class. #

Total comments: 11

Patch Set 3 : scheduleSetPixels -> beginSetPixels #

Patch Set 4 : Lock for write until asynchronous setPixels complete. #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : Add abortSetPixels. #

Total comments: 2

Patch Set 7 : rebase #

Total comments: 5

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : Rebase #

Patch Set 11 : Rebase and upload the correct patch. This is rebased version of patch set 9 without abortSetPixels. #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -0 lines) Patch
M cc/resource_provider.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -0 lines 0 comments Download
M cc/resource_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +80 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
reveman
This implements compositor side support for CHROMIUM_async_texture_uploads. Requires GPU process side changes to land first.
8 years, 1 month ago (2012-11-16 18:53:42 UTC) #1
nduca
looks neat. get one quick review from danakj or apatrick sanity check? https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc File cc/resource_provider.cc ...
8 years, 1 month ago (2012-11-17 17:10:30 UTC) #2
danakj
https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc#newcode813 cc/resource_provider.cc:813: context3d->bindTexture(GL_TEXTURE_2D, resource->glId); Should this be locking for write? https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc#newcode858 ...
8 years, 1 month ago (2012-11-17 17:47:25 UTC) #3
reveman
https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc#newcode813 cc/resource_provider.cc:813: context3d->bindTexture(GL_TEXTURE_2D, resource->glId); On 2012/11/17 17:47:25, danakj wrote: > Should ...
8 years, 1 month ago (2012-11-18 18:15:59 UTC) #4
danakj
https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc#newcode813 cc/resource_provider.cc:813: context3d->bindTexture(GL_TEXTURE_2D, resource->glId); On 2012/11/18 18:15:59, David Reveman wrote: > ...
8 years, 1 month ago (2012-11-18 18:22:49 UTC) #5
reveman
https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc#newcode813 cc/resource_provider.cc:813: context3d->bindTexture(GL_TEXTURE_2D, resource->glId); On 2012/11/18 18:22:49, danakj wrote: > On ...
8 years, 1 month ago (2012-11-18 19:04:41 UTC) #6
reveman
On 2012/11/18 19:04:41, David Reveman wrote: > https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc > File cc/resource_provider.cc (right): > > https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc#newcode813 ...
8 years, 1 month ago (2012-11-18 19:22:26 UTC) #7
danakj
LGTM with one question about the DCHECK https://codereview.chromium.org/11412043/diff/7001/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/7001/cc/resource_provider.cc#newcode857 cc/resource_provider.cc:857: DCHECK(!resource->lockedForWrite); This ...
8 years, 1 month ago (2012-11-18 22:16:57 UTC) #8
reveman
https://codereview.chromium.org/11412043/diff/7001/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/7001/cc/resource_provider.cc#newcode857 cc/resource_provider.cc:857: DCHECK(!resource->lockedForWrite); On 2012/11/18 22:16:57, danakj wrote: > This is ...
8 years, 1 month ago (2012-11-20 17:00:36 UTC) #9
reveman
Added abortSetPixels to the API. I'm going to split this CL into two changes, one ...
8 years, 1 month ago (2012-11-23 16:04:26 UTC) #10
nduca
https://codereview.chromium.org/11412043/diff/11002/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/11002/cc/resource_provider.cc#newcode906 cc/resource_provider.cc:906: resource->size, if we land this, should we file a ...
8 years, 1 month ago (2012-11-23 22:16:42 UTC) #11
reveman
https://codereview.chromium.org/11412043/diff/11002/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/11002/cc/resource_provider.cc#newcode906 cc/resource_provider.cc:906: resource->size, On 2012/11/23 22:16:42, nduca wrote: > if we ...
8 years, 1 month ago (2012-11-23 22:52:28 UTC) #12
nduca
I feel like there's a semantic disconnect here about how wer'e defining abort. Does unmapPixelBuffer ...
8 years ago (2012-11-26 12:36:49 UTC) #13
reveman
On 2012/11/26 12:36:49, nduca wrote: > I feel like there's a semantic disconnect here about ...
8 years ago (2012-11-26 17:17:27 UTC) #14
nduca
Ok I think I follow.... the thing that I dont quite get is that abort||stopSet ...
8 years ago (2012-11-26 17:51:52 UTC) #15
reveman
On 2012/11/26 17:51:52, nduca wrote: > Ok I think I follow.... the thing that I ...
8 years ago (2012-11-26 18:12:38 UTC) #16
piman
https://codereview.chromium.org/11412043/diff/3006/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11412043/diff/3006/cc/resource_provider.cc#newcode877 cc/resource_provider.cc:877: lockForWrite(id); We should do this for both software and ...
8 years ago (2012-11-27 00:40:01 UTC) #17
piman
On 2012/11/18 18:15:59, David Reveman wrote: > https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc > File cc/resource_provider.cc (right): > > https://codereview.chromium.org/11412043/diff/2001/cc/resource_provider.cc#newcode813 ...
8 years ago (2012-11-27 00:45:24 UTC) #18
reveman
Thanks for the feedback. I see the value in locking as a sanity check and ...
8 years ago (2012-11-27 03:22:48 UTC) #19
piman
lgtm
8 years ago (2012-11-27 03:28:23 UTC) #20
epenner
lgtm Is this unblocked now that the API is in?
8 years ago (2012-12-04 16:17:17 UTC) #21
reveman
On 2012/12/04 16:17:17, epenner wrote: > lgtm > > Is this unblocked now that the ...
8 years ago (2012-12-04 17:03:20 UTC) #22
epennerAtGoogle
On 2012/12/04 17:03:20, David Reveman wrote: > On 2012/12/04 16:17:17, epenner wrote: > > lgtm ...
8 years ago (2012-12-04 17:49:22 UTC) #23
reveman
james, is there a good reason we don't cast to chromium context in the compositor?
8 years ago (2012-12-04 18:00:39 UTC) #24
jamesr
On 2012/12/04 18:00:39, David Reveman wrote: > james, is there a good reason we don't ...
8 years ago (2012-12-04 20:29:46 UTC) #25
reveman
FYI, patch 10 was bad. I accidentally rebased and uploaded an old version of this ...
8 years ago (2012-12-04 21:06:52 UTC) #26
epennerAtGoogle
On 2012/12/04 20:29:46, jamesr wrote: > On 2012/12/04 18:00:39, David Reveman wrote: > > james, ...
8 years ago (2012-12-04 21:12:25 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/11412043/21001
8 years ago (2012-12-06 22:04:43 UTC) #28
commit-bot: I haz the power
8 years ago (2012-12-07 00:40:45 UTC) #29
Message was sent while issue was closed.
Change committed as 171657

Powered by Google App Engine
This is Rietveld 408576698