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

Unified Diff: cc/scheduler.h

Issue 11830040: cc: Do not request redraw on commit when impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_draw3
Patch Set: Keep needsRedraw decision in the commit state Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/scheduler.cc » ('j') | cc/scheduler_state_machine.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler.h
diff --git a/cc/scheduler.h b/cc/scheduler.h
index eee40efd94924d02850f94c26e7c401e8ec77077..f84f955fe4481aae3e43c7e40292a10926ba2918 100644
--- a/cc/scheduler.h
+++ b/cc/scheduler.h
@@ -49,9 +49,9 @@ protected:
class CC_EXPORT Scheduler : FrameRateControllerClient {
public:
- static scoped_ptr<Scheduler> create(SchedulerClient* client, scoped_ptr<FrameRateController> frameRateController)
+ static scoped_ptr<Scheduler> create(SchedulerClient* client, scoped_ptr<FrameRateController> frameRateController, bool implSidePaintingEnabled)
nduca 2013/01/11 04:07:31 How about passing in the Settings object?
brianderson 2013/01/12 00:38:34 Done.
{
- return make_scoped_ptr(new Scheduler(client, frameRateController.Pass()));
+ return make_scoped_ptr(new Scheduler(client, frameRateController.Pass(), implSidePaintingEnabled));
}
virtual ~Scheduler();
@@ -95,7 +95,7 @@ public:
virtual void vsyncTick(bool throttled) OVERRIDE;
private:
- Scheduler(SchedulerClient*, scoped_ptr<FrameRateController>);
+ Scheduler(SchedulerClient*, scoped_ptr<FrameRateController>, bool implSidePaintingEnabled);
void processScheduledActions();
« no previous file with comments | « no previous file | cc/scheduler.cc » ('j') | cc/scheduler_state_machine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698