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

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

Issue 1144523003: Rename cc::ResourceProvider::ResourceId to cc::ResourceId and move it to its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/layers/painted_scrollbar_layer_impl.cc ('k') | cc/layers/picture_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 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_LAYERS_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 void UpdateRasterSource(scoped_refptr<RasterSource> raster_source, 71 void UpdateRasterSource(scoped_refptr<RasterSource> raster_source,
72 Region* new_invalidation, 72 Region* new_invalidation,
73 const PictureLayerTilingSet* pending_set); 73 const PictureLayerTilingSet* pending_set);
74 bool UpdateTiles(bool resourceless_software_draw); 74 bool UpdateTiles(bool resourceless_software_draw);
75 void UpdateCanUseLCDTextAfterCommit(); 75 void UpdateCanUseLCDTextAfterCommit();
76 bool RasterSourceUsesLCDText() const; 76 bool RasterSourceUsesLCDText() const;
77 WhichTree GetTree() const; 77 WhichTree GetTree() const;
78 78
79 // Mask-related functions. 79 // Mask-related functions.
80 void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, 80 void GetContentsResourceId(ResourceId* resource_id,
81 gfx::Size* resource_size) const override; 81 gfx::Size* resource_size) const override;
82 82
83 void SetNearestNeighbor(bool nearest_neighbor); 83 void SetNearestNeighbor(bool nearest_neighbor);
84 84
85 size_t GPUMemoryUsageInBytes() const override; 85 size_t GPUMemoryUsageInBytes() const override;
86 86
87 void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) override; 87 void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) override;
88 88
89 bool CanHaveTilings() const; 89 bool CanHaveTilings() const;
90 90
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // of comparing pointers, since objects pointed to are not guaranteed to 173 // of comparing pointers, since objects pointed to are not guaranteed to
174 // exist. 174 // exist.
175 std::vector<PictureLayerTiling*> last_append_quads_tilings_; 175 std::vector<PictureLayerTiling*> last_append_quads_tilings_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 177 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
178 }; 178 };
179 179
180 } // namespace cc 180 } // namespace cc
181 181
182 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 182 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/painted_scrollbar_layer_impl.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698