Home | History | Annotate | Download | only in trees

Lines Matching defs:LayerTreeHostImpl

74 void DidVisibilityChange(cc::LayerTreeHostImpl* id, bool visible) {
77 "LayerTreeHostImpl::SetVisible",
79 "LayerTreeHostImpl",
84 TRACE_EVENT_ASYNC_END0("webkit", "LayerTreeHostImpl::SetVisible", id);
126 LayerTreeHostImpl* layer_tree_host_impl,
181 LayerTreeHostImpl* layer_tree_host_impl,
188 LayerTreeHostImpl* layer_tree_host_impl_;
194 LayerTreeHostImpl::FrameData::FrameData()
197 LayerTreeHostImpl::FrameData::~FrameData() {}
199 scoped_ptr<LayerTreeHostImpl> LayerTreeHostImpl::Create(
206 return make_scoped_ptr(new LayerTreeHostImpl(
210 LayerTreeHostImpl::LayerTreeHostImpl(
279 TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeHostImpl", id_);
282 LayerTreeHostImpl::~LayerTreeHostImpl() {
284 TRACE_EVENT0("cc", "LayerTreeHostImpl::~LayerTreeHostImpl()");
286 TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeHostImpl", id_);
307 void LayerTreeHostImpl::BeginMainFrameAborted(bool did_handle) {
317 void LayerTreeHostImpl::BeginCommit() {
318 TRACE_EVENT0("cc", "LayerTreeHostImpl::BeginCommit");
324 void LayerTreeHostImpl::CommitComplete() {
325 TRACE_EVENT0("cc", "LayerTreeHostImpl::CommitComplete");
355 bool LayerTreeHostImpl::CanDraw() const {
362 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw no renderer",
373 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw no root layer",
382 TRACE_EVENT_INSTANT0("cc", "LayerTreeHostImpl::CanDraw empty viewport",
388 "cc", "LayerTreeHostImpl::CanDraw viewport size recently changed",
394 "cc", "LayerTreeHostImpl::CanDraw contents textures purged",
400 "cc", "LayerTreeHostImpl::CanDraw UI resources evicted not recreated",
407 void LayerTreeHostImpl::Animate(base::TimeTicks monotonic_time) {
416 void LayerTreeHostImpl::ManageTiles() {
428 void LayerTreeHostImpl::StartPageScaleAnimation(
468 bool LayerTreeHostImpl::IsCurrentlyScrollingLayerAt(
486 bool LayerTreeHostImpl::HaveTouchEventHandlersAt(
502 LayerTreeHostImpl::CreateLatencyInfoSwapPromiseMonitor(
508 void LayerTreeHostImpl::TrackDamageForAllSurfaces(
532 scoped_ptr<base::Value> LayerTreeHostImpl::FrameData::AsValue() const {
551 void LayerTreeHostImpl::FrameData::AppendRenderPass(
557 DrawMode LayerTreeHostImpl::GetDrawMode() const {
695 DrawResult LayerTreeHostImpl::CalculateRenderPasses(
720 "LayerTreeHostImpl::CalculateRenderPasses::EmptyDamageRect");
728 "LayerTreeHostImpl::CalculateRenderPasses",
932 void LayerTreeHostImpl::MainThreadHasStoppedFlinging() {
937 void LayerTreeHostImpl::UpdateBackgroundAnimateTicking(
959 void LayerTreeHostImpl::DidAnimateScrollOffset() {
964 void LayerTreeHostImpl::SetViewportDamage(const gfx::Rect& damage_rect) {
970 const LayerTreeHostImpl::FrameData& frame) {
977 LayerTreeHostImpl::FrameData* frame) {
1012 bool LayerTreeHostImpl::CullRenderPassesWithNoQuads::ShouldRemoveRenderPass(
1039 template CC_EXPORT void LayerTreeHostImpl::RemoveRenderPasses<
1040 LayerTreeHostImpl::CullRenderPassesWithNoQuads>(
1045 void LayerTreeHostImpl::RemoveRenderPasses(RenderPassCuller culler,
1080 DrawResult LayerTreeHostImpl::PrepareToDraw(FrameData* frame) {
1082 "LayerTreeHostImpl::PrepareToDraw",
1122 void LayerTreeHostImpl::EvictTexturesForTesting() {
1126 void LayerTreeHostImpl::BlockNotifyReadyToActivateForTesting(bool block) {
1130 void LayerTreeHostImpl::DidInitializeVisibleTileForTesting() {
1137 void LayerTreeHostImpl::ResetTreesForTesting() {
1149 void LayerTreeHostImpl::ResetRecycleTreeForTesting() {
1155 void LayerTreeHostImpl::EnforceManagedMemoryPolicy(
1175 void LayerTreeHostImpl::UpdateTileManagerMemoryPolicy(
1228 void LayerTreeHostImpl::DidModifyTilePriorities() {
1235 void LayerTreeHostImpl::DidInitializeVisibleTile() {
1240 const std::vector<PictureLayerImpl*>& LayerTreeHostImpl::GetPictureLayers() {
1244 void LayerTreeHostImpl::NotifyReadyToActivate() {
1248 void LayerTreeHostImpl::NotifyTileStateChanged(const Tile* tile) {
1249 TRACE_EVENT0("cc", "LayerTreeHostImpl::NotifyTileStateChanged");
1266 void LayerTreeHostImpl::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
1270 void LayerTreeHostImpl::SetTreeActivationCallback(
1277 void LayerTreeHostImpl::SetManagedMemoryPolicy(
1318 void LayerTreeHostImpl::SetExternalDrawConstraints(
1351 void LayerTreeHostImpl::SetNeedsRedrawRect(const gfx::Rect& damage_rect) {
1358 void LayerTreeHostImpl::BeginFrame(const BeginFrameArgs& args) {
1362 void LayerTreeHostImpl::DidSwapBuffers() {
1366 void LayerTreeHostImpl::DidSwapBuffersComplete() {
1370 void LayerTreeHostImpl::ReclaimResources(const CompositorFrameAck* ack) {
1391 void LayerTreeHostImpl::OnCanDrawStateChangedForTree() {
1395 CompositorFrameMetadata LayerTreeHostImpl::MakeCompositorFrameMetadata() const {
1423 void LayerTreeHostImpl::DrawLayers(FrameData* frame,
1425 TRACE_EVENT0("cc", "LayerTreeHostImpl::DrawLayers");
1481 "cc::LayerTreeHostImpl",
1534 void LayerTreeHostImpl::DidDrawAllLayers(const FrameData& frame) {
1543 void LayerTreeHostImpl::FinishAllRendering() {
1548 bool LayerTreeHostImpl::IsContextLost() {
1553 void LayerTreeHostImpl::SetUseGpuRasterization(bool use_gpu) {
1574 LayerTreeHostImpl::GetRendererCapabilities() const {
1578 bool LayerTreeHostImpl::SwapBuffers(const LayerTreeHostImpl::FrameData& frame) {
1597 void LayerTreeHostImpl::SetNeedsBeginFrame(bool enable) {
1604 void LayerTreeHostImpl::WillBeginImplFrame(const BeginFrameArgs& args) {
1612 gfx::SizeF LayerTreeHostImpl::ComputeInnerViewportContainerSize() const {
1623 void LayerTreeHostImpl::UpdateInnerViewportContainerSize() {
1634 gfx::SizeF LayerTreeHostImpl::UnscaledScrollableViewportSize() const {
1647 float LayerTreeHostImpl::VerticalAdjust() const {
1654 void LayerTreeHostImpl::DidLoseOutputSurface() {
1667 bool LayerTreeHostImpl::HaveRootScrollLayer() const {
1671 LayerImpl* LayerTreeHostImpl::RootLayer() const {
1675 LayerImpl* LayerTreeHostImpl::InnerViewportScrollLayer() const {
1679 LayerImpl* LayerTreeHostImpl::OuterViewportScrollLayer() const {
1683 LayerImpl* LayerTreeHostImpl::CurrentlyScrollingLayer() const {
1687 bool LayerTreeHostImpl::IsCurrentlyScrolling() const {
1713 void LayerTreeHostImpl::CreatePendingTree() {
1730 void LayerTreeHostImpl::UpdateVisibleTiles() {
1736 void LayerTreeHostImpl::ActivatePendingTree() {
1792 void LayerTreeHostImpl::SetVisible(bool visible) {
1819 void LayerTreeHostImpl::SetNeedsAnimate() {
1824 void LayerTreeHostImpl::SetNeedsRedraw() {
1829 ManagedMemoryPolicy LayerTreeHostImpl::ActualManagedMemoryPolicy() const {
1846 size_t LayerTreeHostImpl::memory_allocation_limit_bytes() const {
1850 int LayerTreeHostImpl::memory_allocation_priority_cutoff() const {
1855 void LayerTreeHostImpl::ReleaseTreeResources() {
1865 void LayerTreeHostImpl::CreateAndSetRenderer() {
1898 void LayerTreeHostImpl::CreateAndSetTileManager() {
1974 void LayerTreeHostImpl::DestroyTileManager() {
1981 bool LayerTreeHostImpl::UseZeroCopyTextureUpload() const {
1989 bool LayerTreeHostImpl::UseOneCopyTextureUpload() const {
1995 void LayerTreeHostImpl::EnforceZeroBudget(bool zero_budget) {
1999 bool LayerTreeHostImpl::InitializeRenderer(
2001 TRACE_EVENT0("cc", "LayerTreeHostImpl::InitializeRenderer");
2063 void LayerTreeHostImpl::CommitVSyncParameters(base::TimeTicks timebase,
2068 void LayerTreeHostImpl::DeferredInitialize() {
2086 void LayerTreeHostImpl::ReleaseGL() {
2105 void LayerTreeHostImpl::SetViewportSize(const gfx::Size& device_viewport_size) {
2120 void LayerTreeHostImpl::SetOverdrawBottomHeight(float overdraw_bottom_height) {
2129 void LayerTreeHostImpl::SetOverhangUIResource(
2136 void LayerTreeHostImpl::SetDeviceScaleFactor(float device_scale_factor) {
2145 const gfx::Rect LayerTreeHostImpl::ViewportRectForTilePriority() const {
2152 gfx::Size LayerTreeHostImpl::DrawViewportSize() const {
2156 gfx::Rect LayerTreeHostImpl::DeviceViewport() const {
2163 gfx::Rect LayerTreeHostImpl::DeviceClip() const {
2170 const gfx::Transform& LayerTreeHostImpl::DrawTransform() const {
2174 void LayerTreeHostImpl::DidChangeTopControlsPosition() {
2182 void LayerTreeHostImpl::BindToClient(InputHandlerClient* client) {
2193 LayerImpl* LayerTreeHostImpl::FindScrollLayerForDeviceViewportPoint(
2253 InputHandler::ScrollStatus LayerTreeHostImpl::ScrollBegin(
2256 TRACE_EVENT0("cc", "LayerTreeHostImpl::ScrollBegin");
2301 gfx::Vector2dF LayerTreeHostImpl::ScrollLayerWithViewportSpaceDelta(
2384 bool LayerTreeHostImpl::ScrollBy(const gfx::Point& viewport_point,
2386 TRACE_EVENT0("cc", "LayerTreeHostImpl::ScrollBy");
2525 bool LayerTreeHostImpl::ScrollVerticallyByPage(const gfx::Point& viewport_point,
2563 void LayerTreeHostImpl::SetRootLayerScrollOffsetDelegate(
2570 void LayerTreeHostImpl::OnRootLayerDelegatedScrollOffsetChanged() {
2576 void LayerTreeHostImpl::ClearCurrentlyScrollingLayer() {
2583 void LayerTreeHostImpl::ScrollEnd() {
2589 InputHandler::ScrollStatus LayerTreeHostImpl::FlingScrollBegin() {
2610 float LayerTreeHostImpl::DeviceSpaceDistanceToLayer(
2627 void LayerTreeHostImpl::MouseMoveAt(const gfx::Point& viewport_point) {
2679 bool LayerTreeHostImpl::HandleMouseOverScrollbar(LayerImpl* layer_impl,
2697 void LayerTreeHostImpl::PinchGestureBegin() {
2713 void LayerTreeHostImpl::PinchGestureUpdate(float magnify_delta,
2718 TRACE_EVENT0("cc", "LayerTreeHostImpl::PinchGestureUpdate");
2744 // implemented in LayerTreeHostImpl::ScrollBy(). Specifically:
2766 void LayerTreeHostImpl::PinchGestureEnd() {
2796 scoped_ptr<ScrollAndScaleSet> LayerTreeHostImpl::ProcessScrollDeltas() {
2806 void LayerTreeHostImpl::SetFullRootLayerDamage() {
2810 void LayerTreeHostImpl::RunOnDemandRasterTask(Task* on_demand_raster_task) {
2838 void LayerTreeHostImpl::ScrollViewportBy(gfx::Vector2dF scroll_delta) {
2850 void LayerTreeHostImpl::AnimatePageScale(base::TimeTicks monotonic_time) {
2877 void LayerTreeHostImpl::AnimateTopControls(base::TimeTicks time) {
2891 void LayerTreeHostImpl::AnimateLayers(base::TimeTicks monotonic_time) {
2897 TRACE_EVENT0("cc", "LayerTreeHostImpl::AnimateLayers");
2908 void LayerTreeHostImpl::UpdateAnimationState(bool start_ready_animations) {
2914 TRACE_EVENT0("cc", "LayerTreeHostImpl::UpdateAnimationState");
2931 void LayerTreeHostImpl::ActivateAnimations() {
2936 TRACE_EVENT0("cc", "LayerTreeHostImpl::ActivateAnimations");
2945 base::TimeDelta LayerTreeHostImpl::LowFrequencyAnimationInterval() const {
2949 std::string LayerTreeHostImpl::LayerTreeAsJson() const {
2959 int LayerTreeHostImpl::SourceAnimationFrameNumber() const {
2963 void LayerTreeHostImpl::AnimateScrollbars(base::TimeTicks time) {
2967 void LayerTreeHostImpl::AnimateScrollbarsRecursive(LayerImpl* layer,
2981 void LayerTreeHostImpl::PostDelayedScrollbarFade(
2987 void LayerTreeHostImpl::SetNeedsScrollbarAnimationFrame() {
2990 "LayerTreeHostImpl::SetNeedsRedraw due to scrollbar fade",
2995 void LayerTreeHostImpl::SetTreePriority(TreePriority priority) {
3005 void LayerTreeHostImpl::UpdateCurrentFrameTime() {
3010 void LayerTreeHostImpl::ResetCurrentFrameTimeForNextFrame() {
3014 base::TimeTicks LayerTreeHostImpl::CurrentFrameTimeTicks() {
3023 scoped_ptr<base::Value> LayerTreeHostImpl::AsValueWithFrame(
3053 scoped_ptr<base::Value> LayerTreeHostImpl::ActivationStateAsValue() const {
3061 void LayerTreeHostImpl::SetDebugState(
3073 void LayerTreeHostImpl::CreateUIResource(UIResourceId uid,
3118 void LayerTreeHostImpl::DeleteUIResource(UIResourceId uid) {
3127 void LayerTreeHostImpl::EvictAllUIResources() {
3144 ResourceProvider::ResourceId LayerTreeHostImpl::ResourceIdForUIResource(
3152 bool LayerTreeHostImpl::IsUIResourceOpaque(UIResourceId uid) const {
3158 bool LayerTreeHostImpl::EvictedUIResourcesExist() const {
3162 void LayerTreeHostImpl::MarkUIResourceNotEvicted(UIResourceId uid) {
3172 void LayerTreeHostImpl::ScheduleMicroBenchmark(
3177 void LayerTreeHostImpl::InsertSwapPromiseMonitor(SwapPromiseMonitor* monitor) {
3181 void LayerTreeHostImpl::RemoveSwapPromiseMonitor(SwapPromiseMonitor* monitor) {
3185 void LayerTreeHostImpl::NotifySwapPromiseMonitorsOfSetNeedsRedraw() {
3191 void LayerTreeHostImpl::RegisterPictureLayerImpl(PictureLayerImpl* layer) {
3197 void LayerTreeHostImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) {