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

Side by Side Diff: cc/layers/layer_impl.h

Issue 1132443003: cc: Move raster_source from Tile to PrioritizedTile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename var Created 5 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
« no previous file with comments | « cc/debug/rasterize_and_record_benchmark_impl.cc ('k') | cc/layers/layer_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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 namespace cc { 54 namespace cc {
55 55
56 class LayerTreeHostImpl; 56 class LayerTreeHostImpl;
57 class LayerTreeImpl; 57 class LayerTreeImpl;
58 class MicroBenchmarkImpl; 58 class MicroBenchmarkImpl;
59 class Occlusion; 59 class Occlusion;
60 template <typename LayerType> 60 template <typename LayerType>
61 class OcclusionTracker; 61 class OcclusionTracker;
62 class OpacityTree; 62 class OpacityTree;
63 class PrioritizedTile;
63 class RenderPass; 64 class RenderPass;
64 class RenderPassId; 65 class RenderPassId;
65 class Renderer; 66 class Renderer;
66 class ScrollbarAnimationController; 67 class ScrollbarAnimationController;
67 class ScrollbarLayerImplBase; 68 class ScrollbarLayerImplBase;
68 class SimpleEnclosedRegion; 69 class SimpleEnclosedRegion;
69 class Tile; 70 class Tile;
70 class TransformTree; 71 class TransformTree;
71 72
72 struct AppendQuadsData; 73 struct AppendQuadsData;
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 return scroll_clip_layer_ ? scroll_clip_layer_->bounds().height() : 0; 598 return scroll_clip_layer_ ? scroll_clip_layer_->bounds().height() : 0;
598 } 599 }
599 600
600 gfx::Rect LayerRectToContentRect(const gfx::RectF& layer_rect) const; 601 gfx::Rect LayerRectToContentRect(const gfx::RectF& layer_rect) const;
601 602
602 virtual skia::RefPtr<SkPicture> GetPicture(); 603 virtual skia::RefPtr<SkPicture> GetPicture();
603 604
604 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl); 605 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl);
605 virtual void PushPropertiesTo(LayerImpl* layer); 606 virtual void PushPropertiesTo(LayerImpl* layer);
606 607
607 virtual void GetAllTilesAndPrioritiesForTracing( 608 virtual void GetAllPrioritizedTilesForTracing(
608 std::map<const Tile*, TilePriority>* tile_map) const; 609 std::vector<PrioritizedTile>* prioritized_tiles) const;
609 virtual void AsValueInto(base::trace_event::TracedValue* dict) const; 610 virtual void AsValueInto(base::trace_event::TracedValue* dict) const;
610 611
611 virtual size_t GPUMemoryUsageInBytes() const; 612 virtual size_t GPUMemoryUsageInBytes() const;
612 613
613 void SetNeedsPushProperties(); 614 void SetNeedsPushProperties();
614 void AddDependentNeedsPushProperties(); 615 void AddDependentNeedsPushProperties();
615 void RemoveDependentNeedsPushProperties(); 616 void RemoveDependentNeedsPushProperties();
616 bool parent_should_know_need_push_properties() const { 617 bool parent_should_know_need_push_properties() const {
617 return needs_push_properties() || descendant_needs_push_properties(); 618 return needs_push_properties() || descendant_needs_push_properties();
618 } 619 }
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 830
830 std::vector<FrameTimingRequest> frame_timing_requests_; 831 std::vector<FrameTimingRequest> frame_timing_requests_;
831 bool frame_timing_requests_dirty_; 832 bool frame_timing_requests_dirty_;
832 833
833 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 834 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
834 }; 835 };
835 836
836 } // namespace cc 837 } // namespace cc
837 838
838 #endif // CC_LAYERS_LAYER_IMPL_H_ 839 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/debug/rasterize_and_record_benchmark_impl.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698