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

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 270823003: cc: Move gpu rasterization flag from LayerImpl to LayerTreeImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 LayerImpl* root_draw_layer, 509 LayerImpl* root_draw_layer,
510 const LayerImplList& render_surface_layer_list); 510 const LayerImplList& render_surface_layer_list);
511 511
512 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); 512 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy);
513 513
514 // This function should only be called from PrepareToDraw, as DidDrawAllLayers 514 // This function should only be called from PrepareToDraw, as DidDrawAllLayers
515 // must be called if this helper function is called. Returns DRAW_SUCCESS if 515 // must be called if this helper function is called. Returns DRAW_SUCCESS if
516 // the frame should be drawn. 516 // the frame should be drawn.
517 DrawSwapReadbackResult::DrawResult CalculateRenderPasses(FrameData* frame); 517 DrawSwapReadbackResult::DrawResult CalculateRenderPasses(FrameData* frame);
518 518
519 void SendReleaseResourcesRecursive(LayerImpl* current);
520 bool EnsureRenderSurfaceLayerList(); 519 bool EnsureRenderSurfaceLayerList();
521 void ClearCurrentlyScrollingLayer(); 520 void ClearCurrentlyScrollingLayer();
522 521
523 bool HandleMouseOverScrollbar(LayerImpl* layer_impl, 522 bool HandleMouseOverScrollbar(LayerImpl* layer_impl,
524 const gfx::PointF& device_viewport_point); 523 const gfx::PointF& device_viewport_point);
525 524
526 void AnimateScrollbarsRecursive(LayerImpl* layer, 525 void AnimateScrollbarsRecursive(LayerImpl* layer,
527 base::TimeTicks time); 526 base::TimeTicks time);
528 527
529 LayerImpl* FindScrollLayerForDeviceViewportPoint( 528 LayerImpl* FindScrollLayerForDeviceViewportPoint(
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 680 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
682 681
683 size_t transfer_buffer_memory_limit_; 682 size_t transfer_buffer_memory_limit_;
684 683
685 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 684 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
686 }; 685 };
687 686
688 } // namespace cc 687 } // namespace cc
689 688
690 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 689 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698