Lines Matching defs:LayerTreeHostImpl
59 void DidVisibilityChange(cc::LayerTreeHostImpl* id, bool visible) {
62 "LayerTreeHostImpl::SetVisible",
64 "LayerTreeHostImpl",
69 TRACE_EVENT_ASYNC_END0("webkit", "LayerTreeHostImpl::SetVisible", id);
79 LayerTreeHostImpl* layer_tree_host_impl,
137 LayerTreeHostImpl* layer_tree_host_impl,
144 LayerTreeHostImpl* layer_tree_host_impl_;
150 LayerTreeHostImpl::FrameData::FrameData()
153 LayerTreeHostImpl::FrameData::~FrameData() {}
155 scoped_ptr<LayerTreeHostImpl> LayerTreeHostImpl::Create(
161 new LayerTreeHostImpl(settings,
167 LayerTreeHostImpl::LayerTreeHostImpl(
223 TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeHostImpl", this);
226 LayerTreeHostImpl::~LayerTreeHostImpl() {
228 TRACE_EVENT0("cc", "LayerTreeHostImpl::~LayerTreeHostImpl()");
230 TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeHostImpl", this);
245 void LayerTreeHostImpl::BeginCommit() {}
247 void LayerTreeHostImpl::CommitComplete() {
248 TRACE_EVENT0("cc", "LayerTreeHostImpl::CommitComplete");
265 bool LayerTreeHostImpl::CanDraw() const {
272 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw no renderer",
283 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw no root layer",
292 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw empty viewport",
298 "cc", "LayerTreeHostImpl::CanDraw viewport size recently changed",
304 "cc", "LayerTreeHostImpl::CanDraw contents textures purged",
311 void LayerTreeHostImpl::Animate(base::TimeTicks monotonic_time,
321 void LayerTreeHostImpl::ManageTiles() {
340 void LayerTreeHostImpl::StartPageScaleAnimation(gfx::Vector2d target_offset,
384 void LayerTreeHostImpl::ScheduleAnimation() {
388 bool LayerTreeHostImpl::HaveTouchEventHandlersAt(gfx::Point viewport_point) {
414 void LayerTreeHostImpl::SetLatencyInfoForInputEvent(
419 void LayerTreeHostImpl::TrackDamageForAllSurfaces(
444 scoped_ptr<base::Value> LayerTreeHostImpl::FrameData::AsValue() const {
463 void LayerTreeHostImpl::FrameData::AppendRenderPass(
581 bool LayerTreeHostImpl::CalculateRenderPasses(FrameData* frame) {
602 "LayerTreeHostImpl::CalculateRenderPasses::EmptyDamageRect");
613 "LayerTreeHostImpl::CalculateRenderPasses",
825 void LayerTreeHostImpl::MainThreadHasStoppedFlinging() {
830 void LayerTreeHostImpl::UpdateBackgroundAnimateTicking(
851 void LayerTreeHostImpl::SetViewportDamage(gfx::Rect damage_rect) {
857 const LayerTreeHostImpl::FrameData& frame) {
864 LayerTreeHostImpl::FrameData* frame) {
899 bool LayerTreeHostImpl::CullRenderPassesWithCachedTextures::
917 bool LayerTreeHostImpl::CullRenderPassesWithNoQuads::ShouldRemoveRenderPass(
944 template CC_EXPORT void LayerTreeHostImpl::RemoveRenderPasses<
945 LayerTreeHostImpl::CullRenderPassesWithCachedTextures>(
947 template CC_EXPORT void LayerTreeHostImpl::RemoveRenderPasses<
948 LayerTreeHostImpl::CullRenderPassesWithNoQuads>(
953 void LayerTreeHostImpl::RemoveRenderPasses(RenderPassCuller culler,
988 bool LayerTreeHostImpl::PrepareToDraw(FrameData* frame,
991 "LayerTreeHostImpl::PrepareToDraw",
1029 void LayerTreeHostImpl::EvictTexturesForTesting() {
1033 void LayerTreeHostImpl::EnforceManagedMemoryPolicy(
1055 void LayerTreeHostImpl::UpdateTileManagerMemoryPolicy(
1079 bool LayerTreeHostImpl::HasImplThread() const {
1083 void LayerTreeHostImpl::DidInitializeVisibleTile() {
1091 void LayerTreeHostImpl::NotifyReadyToActivate() {
1098 bool LayerTreeHostImpl::ShouldClearRootRenderPass() const {
1102 void LayerTreeHostImpl::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
1106 void LayerTreeHostImpl::SetDiscardBackBufferWhenNotVisible(bool discard) {
1111 void LayerTreeHostImpl::SetTreeActivationCallback(
1118 void LayerTreeHostImpl::SetManagedMemoryPolicy(
1159 void LayerTreeHostImpl::SetExternalDrawConstraints(
1170 void LayerTreeHostImpl::SetExternalStencilTest(bool enabled) {
1174 void LayerTreeHostImpl::SetNeedsRedrawRect(gfx::Rect damage_rect) {
1178 void LayerTreeHostImpl::BeginFrame(const BeginFrameArgs& args) {
1182 void LayerTreeHostImpl::OnSwapBuffersComplete(
1192 void LayerTreeHostImpl::OnCanDrawStateChangedForTree() {
1196 CompositorFrameMetadata LayerTreeHostImpl::MakeCompositorFrameMetadata() const {
1221 bool LayerTreeHostImpl::AllowPartialSwap() const {
1228 bool LayerTreeHostImpl::ExternalStencilTestEnabled() const {
1236 void LayerTreeHostImpl::DrawLayers(FrameData* frame,
1238 TRACE_EVENT0("cc", "LayerTreeHostImpl::DrawLayers");
1292 TRACE_DISABLED_BY_DEFAULT("cc.debug.quads"), "cc::LayerTreeHostImpl",
1326 void LayerTreeHostImpl::DidDrawAllLayers(const FrameData& frame) {
1335 void LayerTreeHostImpl::FinishAllRendering() {
1340 bool LayerTreeHostImpl::IsContextLost() {
1345 const RendererCapabilities& LayerTreeHostImpl::GetRendererCapabilities() const {
1349 bool LayerTreeHostImpl::SwapBuffers(const LayerTreeHostImpl::FrameData& frame) {
1357 void LayerTreeHostImpl::SetNeedsBeginFrame(bool enable) {
1362 float LayerTreeHostImpl::DeviceScaleFactor() const {
1366 gfx::SizeF LayerTreeHostImpl::UnscaledScrollableViewportSize() const {
1385 const LayerTreeSettings& LayerTreeHostImpl::Settings() const {
1389 void LayerTreeHostImpl::DidLoseOutputSurface() {
1397 void LayerTreeHostImpl::Readback(void* pixels,
1403 bool LayerTreeHostImpl::HaveRootScrollLayer() const {
1407 LayerImpl* LayerTreeHostImpl::RootLayer() const {
1411 LayerImpl* LayerTreeHostImpl::RootScrollLayer() const {
1415 LayerImpl* LayerTreeHostImpl::CurrentlyScrollingLayer() const {
1419 bool LayerTreeHostImpl::IsCurrentlyScrolling() const {
1442 void LayerTreeHostImpl::CreatePendingTree() {
1455 void LayerTreeHostImpl::UpdateVisibleTiles() {
1465 void LayerTreeHostImpl::ActivatePendingTreeIfNeeded() {
1488 void LayerTreeHostImpl::ActivatePendingTree() {
1542 void LayerTreeHostImpl::SetVisible(bool visible) {
1562 ManagedMemoryPolicy LayerTreeHostImpl::ActualManagedMemoryPolicy() const {
1579 size_t LayerTreeHostImpl::memory_allocation_limit_bytes() const {
1583 void LayerTreeHostImpl::ReleaseTreeResources() {
1595 void LayerTreeHostImpl::CreateAndSetRenderer(
1627 void LayerTreeHostImpl::CreateAndSetTileManager(
1641 void LayerTreeHostImpl::EnforceZeroBudget(bool zero_budget) {
1645 bool LayerTreeHostImpl::InitializeRenderer(
1710 bool LayerTreeHostImpl::DeferredInitialize(
1734 void LayerTreeHostImpl::ReleaseGL() {
1761 void LayerTreeHostImpl::SetViewportSize(gfx::Size device_viewport_size) {
1779 void LayerTreeHostImpl::SetOverdrawBottomHeight(float overdraw_bottom_height) {
1788 void LayerTreeHostImpl::SetDeviceScaleFactor(float device_scale_factor) {
1800 gfx::Rect LayerTreeHostImpl::DeviceViewport() const {
1807 gfx::Rect LayerTreeHostImpl::DeviceClip() const {
1811 const gfx::Transform& LayerTreeHostImpl::DeviceTransform() const {
1815 void LayerTreeHostImpl::UpdateMaxScrollOffset() {
1819 void LayerTreeHostImpl::DidChangeTopControlsPosition() {
1825 bool LayerTreeHostImpl::EnsureRenderSurfaceLayerList() {
1830 void LayerTreeHostImpl::BindToClient(InputHandlerClient* client) {
1835 InputHandler::ScrollStatus LayerTreeHostImpl::ScrollBegin(
1837 TRACE_EVENT0("cc", "LayerTreeHostImpl::ScrollBegin");
1911 gfx::Vector2dF LayerTreeHostImpl::ScrollLayerWithViewportSpaceDelta(
1994 bool LayerTreeHostImpl::ScrollBy(gfx::Point viewport_point,
1996 TRACE_EVENT0("cc", "LayerTreeHostImpl::ScrollBy");
2109 bool LayerTreeHostImpl::ScrollVerticallyByPage(gfx::Point viewport_point,
2147 void LayerTreeHostImpl::SetRootLayerScrollOffsetDelegate(
2154 void LayerTreeHostImpl::OnRootLayerDelegatedScrollOffsetChanged() {
2159 void LayerTreeHostImpl::ClearCurrentlyScrollingLayer() {
2166 void LayerTreeHostImpl::ScrollEnd() {
2173 InputHandler::ScrollStatus LayerTreeHostImpl::FlingScrollBegin() {
2187 void LayerTreeHostImpl::NotifyCurrentFlingVelocity(gfx::Vector2dF velocity) {
2191 void LayerTreeHostImpl::PinchGestureBegin() {
2198 void LayerTreeHostImpl::PinchGestureUpdate(float magnify_delta,
2200 TRACE_EVENT0("cc", "LayerTreeHostImpl::PinchGestureUpdate");
2227 void LayerTreeHostImpl::PinchGestureEnd() {
2251 scoped_ptr<ScrollAndScaleSet> LayerTreeHostImpl::ProcessScrollDeltas() {
2261 void LayerTreeHostImpl::SetFullRootLayerDamage() {
2265 void LayerTreeHostImpl::AnimatePageScale(base::TimeTicks time) {
2289 void LayerTreeHostImpl::AnimateTopControls(base::TimeTicks time) {
2300 void LayerTreeHostImpl::AnimateLayers(base::TimeTicks monotonic_time,
2307 TRACE_EVENT0("cc", "LayerTreeHostImpl::AnimateLayers");
2322 void LayerTreeHostImpl::UpdateAnimationState(bool start_ready_animations) {
2328 TRACE_EVENT0("cc", "LayerTreeHostImpl::UpdateAnimationState");
2344 base::TimeDelta LayerTreeHostImpl::LowFrequencyAnimationInterval() const {
2348 void LayerTreeHostImpl::SendReleaseResourcesRecursive(LayerImpl* current) {
2360 std::string LayerTreeHostImpl::LayerTreeAsJson() const {
2370 int LayerTreeHostImpl::SourceAnimationFrameNumber() const {
2374 void LayerTreeHostImpl::SendManagedMemoryStats(
2403 void LayerTreeHostImpl::AnimateScrollbars(base::TimeTicks time) {
2407 void LayerTreeHostImpl::AnimateScrollbarsRecursive(LayerImpl* layer,
2416 "cc", "LayerTreeHostImpl::SetNeedsRedraw due to AnimateScrollbars",
2425 void LayerTreeHostImpl::StartScrollbarAnimation() {
2426 TRACE_EVENT0("cc", "LayerTreeHostImpl::StartScrollbarAnimation");
2430 void LayerTreeHostImpl::StartScrollbarAnimationRecursive(LayerImpl* layer,
2449 void LayerTreeHostImpl::SetTreePriority(TreePriority priority) {
2462 void LayerTreeHostImpl::ResetCurrentFrameTimeForNextFrame() {
2467 void LayerTreeHostImpl::UpdateCurrentFrameTime(base::TimeTicks* ticks,
2476 base::TimeTicks LayerTreeHostImpl::CurrentFrameTimeTicks() {
2481 base::Time LayerTreeHostImpl::CurrentFrameTime() {
2486 base::TimeTicks LayerTreeHostImpl::CurrentPhysicalTimeTicks() const {
2490 scoped_ptr<base::Value> LayerTreeHostImpl::AsValueWithFrame(
2507 scoped_ptr<base::Value> LayerTreeHostImpl::ActivationStateAsValue() const {
2515 void LayerTreeHostImpl::SetDebugState(
2526 void LayerTreeHostImpl::CreateUIResource(
2548 void LayerTreeHostImpl::DeleteUIResource(UIResourceId uid) {
2556 ResourceProvider::ResourceId LayerTreeHostImpl::ResourceIdForUIResource(