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

Unified Diff: cc/tiles/picture_layer_tiling_set.h

Issue 1837263005: cc: Rename DisplayListRasterSource to just RasterSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/tiles/picture_layer_tiling_perftest.cc ('k') | cc/tiles/picture_layer_tiling_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/picture_layer_tiling_set.h
diff --git a/cc/tiles/picture_layer_tiling_set.h b/cc/tiles/picture_layer_tiling_set.h
index 06aa3a9300b2696c80213a9b74161d1f4969c817..41a2dad07e9c830708c0baa1670fa0e9420dd1ad 100644
--- a/cc/tiles/picture_layer_tiling_set.h
+++ b/cc/tiles/picture_layer_tiling_set.h
@@ -58,7 +58,7 @@ class CC_EXPORT PictureLayerTilingSet {
// This function is called on the active tree during activation.
void UpdateTilingsToCurrentRasterSourceForActivation(
- scoped_refptr<DisplayListRasterSource> raster_source,
+ scoped_refptr<RasterSource> raster_source,
const PictureLayerTilingSet* pending_twin_set,
const Region& layer_invalidation,
float minimum_contents_scale,
@@ -66,19 +66,18 @@ class CC_EXPORT PictureLayerTilingSet {
// This function is called on the sync tree during commit.
void UpdateTilingsToCurrentRasterSourceForCommit(
- scoped_refptr<DisplayListRasterSource> raster_source,
+ scoped_refptr<RasterSource> raster_source,
const Region& layer_invalidation,
float minimum_contents_scale,
float maximum_contents_scale);
// This function is called on the sync tree right after commit.
void UpdateRasterSourceDueToLCDChange(
- scoped_refptr<DisplayListRasterSource> raster_source,
+ scoped_refptr<RasterSource> raster_source,
const Region& layer_invalidation);
- PictureLayerTiling* AddTiling(
- float contents_scale,
- scoped_refptr<DisplayListRasterSource> raster_source);
+ PictureLayerTiling* AddTiling(float contents_scale,
+ scoped_refptr<RasterSource> raster_source);
size_t num_tilings() const { return tilings_.size(); }
int NumHighResTilings() const;
PictureLayerTiling* tiling_at(size_t idx) { return tilings_[idx].get(); }
@@ -183,7 +182,7 @@ class CC_EXPORT PictureLayerTilingSet {
void CopyTilingsAndPropertiesFromPendingTwin(
const PictureLayerTilingSet* pending_twin_set,
- scoped_refptr<DisplayListRasterSource> raster_source,
+ scoped_refptr<RasterSource> raster_source,
const Region& layer_invalidation);
// Remove one tiling.
« no previous file with comments | « cc/tiles/picture_layer_tiling_perftest.cc ('k') | cc/tiles/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698