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

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

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/picture_layer.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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 PictureLayerTiling* GetRecycledTwinTiling( 72 PictureLayerTiling* GetRecycledTwinTiling(
73 const PictureLayerTiling* tiling) override; 73 const PictureLayerTiling* tiling) override;
74 TilePriority::PriorityBin GetMaxTilePriorityBin() const override; 74 TilePriority::PriorityBin GetMaxTilePriorityBin() const override;
75 WhichTree GetTree() const override; 75 WhichTree GetTree() const override;
76 bool RequiresHighResToDraw() const override; 76 bool RequiresHighResToDraw() const override;
77 77
78 void UpdateRasterSource(scoped_refptr<RasterSource> raster_source, 78 void UpdateRasterSource(scoped_refptr<RasterSource> raster_source,
79 Region* new_invalidation, 79 Region* new_invalidation,
80 const PictureLayerTilingSet* pending_set); 80 const PictureLayerTilingSet* pending_set);
81 bool UpdateTiles(bool resourceless_software_draw); 81 bool UpdateTiles(bool resourceless_software_draw);
82 void UpdateCanUseLCDTextAfterCommit();
83 bool RasterSourceUsesLCDText() const;
84 82
85 // Mask-related functions. 83 // Mask-related functions.
86 void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, 84 void GetContentsResourceId(ResourceProvider::ResourceId* resource_id,
87 gfx::Size* resource_size) const override; 85 gfx::Size* resource_size) const override;
88 86
89 void SetNearestNeighbor(bool nearest_neighbor); 87 void SetNearestNeighbor(bool nearest_neighbor);
90 88
91 size_t GPUMemoryUsageInBytes() const override; 89 size_t GPUMemoryUsageInBytes() const override;
92 90
93 void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) override; 91 void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) override;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // of comparing pointers, since objects pointed to are not guaranteed to 174 // of comparing pointers, since objects pointed to are not guaranteed to
177 // exist. 175 // exist.
178 std::vector<PictureLayerTiling*> last_append_quads_tilings_; 176 std::vector<PictureLayerTiling*> last_append_quads_tilings_;
179 177
180 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 178 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
181 }; 179 };
182 180
183 } // namespace cc 181 } // namespace cc
184 182
185 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 183 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698