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

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

Issue 547463002: cc: Don't make tiles for mask layers that are too big for a texture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hugemasks: . Created 6 years, 3 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 FrameRateCounter* frame_rate_counter() const; 81 FrameRateCounter* frame_rate_counter() const;
82 PaintTimeCounter* paint_time_counter() const; 82 PaintTimeCounter* paint_time_counter() const;
83 MemoryHistory* memory_history() const; 83 MemoryHistory* memory_history() const;
84 gfx::Size device_viewport_size() const; 84 gfx::Size device_viewport_size() const;
85 bool IsActiveTree() const; 85 bool IsActiveTree() const;
86 bool IsPendingTree() const; 86 bool IsPendingTree() const;
87 bool IsRecycleTree() const; 87 bool IsRecycleTree() const;
88 LayerImpl* FindActiveTreeLayerById(int id); 88 LayerImpl* FindActiveTreeLayerById(int id);
89 LayerImpl* FindPendingTreeLayerById(int id); 89 LayerImpl* FindPendingTreeLayerById(int id);
90 LayerImpl* FindRecycleTreeLayerById(int id); 90 LayerImpl* FindRecycleTreeLayerById(int id);
91 int MaxTextureSize() const;
92 bool PinchGestureActive() const; 91 bool PinchGestureActive() const;
93 BeginFrameArgs CurrentBeginFrameArgs() const; 92 BeginFrameArgs CurrentBeginFrameArgs() const;
94 base::TimeDelta begin_impl_frame_interval() const; 93 base::TimeDelta begin_impl_frame_interval() const;
95 void SetNeedsCommit(); 94 void SetNeedsCommit();
96 gfx::Rect DeviceViewport() const; 95 gfx::Rect DeviceViewport() const;
97 gfx::Size DrawViewportSize() const; 96 gfx::Size DrawViewportSize() const;
98 const gfx::Rect ViewportRectForTilePriority() const; 97 const gfx::Rect ViewportRectForTilePriority() const;
99 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( 98 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController(
100 LayerImpl* scrolling_layer); 99 LayerImpl* scrolling_layer);
101 void DidAnimateScrollOffset(); 100 void DidAnimateScrollOffset();
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 351
353 int render_surface_layer_list_id_; 352 int render_surface_layer_list_id_;
354 353
355 private: 354 private:
356 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 355 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
357 }; 356 };
358 357
359 } // namespace cc 358 } // namespace cc
360 359
361 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 360 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698