Searched refs:CanDraw (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/cc/trees/
H A Dlayer_tree_host_impl.cc344 bool LayerTreeHostImpl::CanDraw() const { function in class:cc::LayerTreeHostImpl
346 // affect the result of CanDraw, make sure to call
351 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw no renderer",
362 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw no root layer",
371 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw empty viewport",
377 "cc", "LayerTreeHostImpl::CanDraw viewport size recently changed",
383 "cc", "LayerTreeHostImpl::CanDraw contents textures purged",
389 "cc", "LayerTreeHostImpl::CanDraw UI resources evicted not recreated",
700 if (!CanDraw() || !active_tree_->root_layer())
1144 client_->OnCanDrawStateChanged(CanDraw());
[all...]
H A Dlayer_tree_host_unittest_context.cc1823 EXPECT_FALSE(impl->CanDraw());
1840 EXPECT_TRUE(impl->CanDraw());
1847 EXPECT_FALSE(impl->CanDraw());
1855 EXPECT_TRUE(impl->CanDraw());
1864 EXPECT_TRUE(impl->CanDraw());
H A Dsingle_thread_proxy.cc485 layer_tree_host_impl_->CanDraw();
512 // We guard PrepareToDraw() with CanDraw() because it always returns a valid
515 // CanDraw() as well.
H A Dlayer_tree_host_impl.h243 bool CanDraw() const;
H A Dlayer_tree_host_unittest_animation.cc280 EXPECT_TRUE(host_impl->CanDraw());
768 // Make sure the main thread can still execute animations when CanDraw() is not
H A Dlayer_tree_host_impl_unittest.cc278 EXPECT_FALSE(host_impl_->CanDraw());
283 EXPECT_TRUE(host_impl_->CanDraw());
289 EXPECT_FALSE(host_impl_->CanDraw());
294 EXPECT_TRUE(host_impl_->CanDraw());
301 EXPECT_TRUE(host_impl_->CanDraw());
303 EXPECT_FALSE(host_impl_->CanDraw());
309 EXPECT_TRUE(host_impl_->CanDraw());
318 EXPECT_TRUE(host_impl_->CanDraw());
327 EXPECT_TRUE(host_impl_->CanDraw());
329 EXPECT_FALSE(host_impl_->CanDraw());
[all...]
H A Dthread_proxy.cc1127 // request completes, and we signal completion here. If CanDraw() is false, we
1131 // We guard PrepareToDraw() with CanDraw() because it always returns a valid
1134 // CanDraw() as well.
1143 if (layer_tree_host_impl_->CanDraw() &&
H A Dlayer_tree_host_unittest.cc841 EXPECT_TRUE(impl->CanDraw());
850 EXPECT_FALSE(impl->CanDraw());
4212 EXPECT_FALSE(impl->CanDraw());
/external/chromium_org/cc/scheduler/
H A Dscheduler_state_machine_unittest.cc104 bool CanDraw() const { return can_draw_; } function in class:cc::__anon4235::StateMachine

Completed in 913 milliseconds