Lines Matching full:scheduler
5 #include "cc/scheduler/scheduler.h"
17 Scheduler::Scheduler(SchedulerClient* client,
32 Scheduler::~Scheduler() {}
34 void Scheduler::SetCanStart() {
39 void Scheduler::SetVisible(bool visible) {
44 void Scheduler::SetCanDraw(bool can_draw) {
49 void Scheduler::NotifyReadyToActivate() {
54 void Scheduler::ActivatePendingTree() {
58 void Scheduler::SetNeedsCommit() {
63 void Scheduler::SetNeedsForcedCommitForReadback() {
69 void Scheduler::SetNeedsRedraw() {
74 void Scheduler::SetNeedsManageTiles() {
80 void Scheduler::SetSwapUsedIncompleteTile(bool used_incomplete_tile) {
85 void Scheduler::SetSmoothnessTakesPriority(bool smoothness_takes_priority) {
90 void Scheduler::SetMainThreadNeedsLayerTextures() {
95 void Scheduler::FinishCommit() {
96 TRACE_EVENT0("cc", "Scheduler::FinishCommit");
101 void Scheduler::BeginMainFrameAborted(bool did_handle) {
102 TRACE_EVENT0("cc", "Scheduler::BeginMainFrameAborted");
107 void Scheduler::DidManageTiles() {
111 void Scheduler::DidLoseOutputSurface() {
112 TRACE_EVENT0("cc", "Scheduler::DidLoseOutputSurface");
119 void Scheduler::DidCreateAndInitializeOutputSurface() {
120 TRACE_EVENT0("cc", "Scheduler::DidCreateAndInitializeOutputSurface");
127 base::TimeTicks Scheduler::AnticipatedDrawTime() {
128 TRACE_EVENT0("cc", "Scheduler::AnticipatedDrawTime");
142 base::TimeTicks Scheduler::LastBeginImplFrameTime() {
146 void Scheduler::SetupNextBeginImplFrameIfNeeded() {
175 base::Bind(&Scheduler::PollForAnticipatedDrawTriggers,
203 base::Bind(&Scheduler::ProcessScheduledActions,
211 void Scheduler::BeginImplFrame(const BeginFrameArgs& args) {
212 TRACE_EVENT0("cc", "Scheduler::BeginImplFrame");
241 // We emulate the old non-deadline scheduler here by posting the
264 void Scheduler::PostBeginImplFrameDeadline(base::TimeTicks deadline) {
267 base::Bind(&Scheduler::OnBeginImplFrameDeadline,
273 void Scheduler::OnBeginImplFrameDeadline() {
274 TRACE_EVENT0("cc", "Scheduler::OnBeginImplFrameDeadline");
292 void Scheduler::PollForAnticipatedDrawTriggers() {
293 TRACE_EVENT0("cc", "Scheduler::PollForAnticipatedDrawTriggers");
300 void Scheduler::DrawAndSwapIfPossible() {
306 void Scheduler::DrawAndSwapForced() {
310 void Scheduler::DrawAndReadback() {
315 void Scheduler::ProcessScheduledActions() {
327 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("cc.debug.scheduler"),
381 bool Scheduler::WillDrawIfNeeded() const {
385 bool Scheduler::CanCommitAndActivateBeforeDeadline() const {