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

Issue 10933095: cc: Remove resource updates from scheduler. (Closed)

Created:
8 years, 3 months ago by reveman
Modified:
8 years, 2 months ago
Reviewers:
jamesr, nduca, brianderson
CC:
chromium-reviews
Visibility:
Public.

Description

cc: Remove resource updates from scheduler. Perform all buffered resource updates before calling CCScheduler::beginFrameComplete. Non-buffered updates are done at the same time as commit. BUG=149194 TEST=cc_unittests

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebase, remove using directive and add comment about uploader being busy to updateMoreTextures() #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Another rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -146 lines) Patch
M cc/CCTextureUpdateController.h View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download
M cc/CCTextureUpdateController.cpp View 1 2 3 4 7 chunks +10 lines, -42 lines 0 comments Download
M cc/CCTextureUpdateControllerTest.cpp View 1 2 3 4 1 chunk +32 lines, -89 lines 0 comments Download
M cc/CCThreadProxy.cpp View 1 2 3 4 3 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
reveman
Hi, this removes resource updates from scheduler. The current patch doesn't remove the old resource ...
8 years, 3 months ago (2012-09-14 15:42:51 UTC) #1
jamesr
https://codereview.chromium.org/10933095/diff/1/cc/CCTextureUpdateController.cpp File cc/CCTextureUpdateController.cpp (right): https://codereview.chromium.org/10933095/diff/1/cc/CCTextureUpdateController.cpp#newcode13 cc/CCTextureUpdateController.cpp:13: using namespace std; chromium and WebKit style is to ...
8 years, 3 months ago (2012-09-14 23:03:06 UTC) #2
reveman
https://codereview.chromium.org/10933095/diff/1/cc/CCTextureUpdateController.cpp File cc/CCTextureUpdateController.cpp (right): https://codereview.chromium.org/10933095/diff/1/cc/CCTextureUpdateController.cpp#newcode13 cc/CCTextureUpdateController.cpp:13: using namespace std; On 2012/09/14 23:03:06, jamesr wrote: > ...
8 years, 3 months ago (2012-09-14 23:38:00 UTC) #3
jamesr
https://codereview.chromium.org/10933095/diff/1/cc/CCTextureUpdateController.cpp File cc/CCTextureUpdateController.cpp (right): https://codereview.chromium.org/10933095/diff/1/cc/CCTextureUpdateController.cpp#newcode13 cc/CCTextureUpdateController.cpp:13: using namespace std; On 2012/09/14 23:38:00, David Reveman wrote: ...
8 years, 3 months ago (2012-09-17 06:57:38 UTC) #4
reveman
https://codereview.chromium.org/10933095/diff/1/cc/CCTextureUpdateController.cpp File cc/CCTextureUpdateController.cpp (right): https://codereview.chromium.org/10933095/diff/1/cc/CCTextureUpdateController.cpp#newcode13 cc/CCTextureUpdateController.cpp:13: using namespace std; On 2012/09/17 06:57:38, jamesr wrote: > ...
8 years, 3 months ago (2012-09-17 15:32:52 UTC) #5
nduca
Is this patch obsolete?
8 years, 3 months ago (2012-09-17 18:28:11 UTC) #6
reveman
On 2012/09/17 18:28:11, nduca wrote: > Is this patch obsolete? This is still valid. I ...
8 years, 3 months ago (2012-09-17 23:22:24 UTC) #7
nduca
It seems like you've removed awareness of nextFrameTime in addition to removing resource updates from ...
8 years, 3 months ago (2012-09-18 00:05:38 UTC) #8
reveman
On 2012/09/18 00:05:38, nduca wrote: > It seems like you've removed awareness of nextFrameTime in ...
8 years, 3 months ago (2012-09-18 00:32:56 UTC) #9
nduca
On 2012/09/18 00:32:56, David Reveman wrote: > On 2012/09/18 00:05:38, nduca wrote: > > It ...
8 years, 3 months ago (2012-09-18 01:08:33 UTC) #10
reveman
On 2012/09/18 01:08:33, nduca wrote: > On 2012/09/18 00:32:56, David Reveman wrote: > > On ...
8 years, 3 months ago (2012-09-18 07:46:46 UTC) #11
nduca
For the 2nd bit, how about making a ccschedulerclient::didVsyncTick() method and then route that into ...
8 years, 3 months ago (2012-09-18 08:11:37 UTC) #12
reveman
On 2012/09/18 08:11:37, nduca wrote: > For the 2nd bit, how about making a ccschedulerclient::didVsyncTick() ...
8 years, 3 months ago (2012-09-18 14:40:23 UTC) #13
nduca
Why does it need to be enabled?
8 years, 3 months ago (2012-09-18 18:38:18 UTC) #14
reveman
8 years, 3 months ago (2012-09-18 18:57:46 UTC) #15
On 2012/09/18 18:38:18, nduca wrote:
> Why does it need to be enabled?

How would we otherwise get the vsync tick independent of if we need to draw?

Powered by Google App Engine
This is Rietveld 408576698