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

Unified Diff: cc/resources/tile.h

Issue 733773005: cc: GPU rasterize tiles synchronously in PrepareToDraw (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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/resources/gpu_rasterizer.cc ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index a35cffe86f5fa0e59c6f4ee9a5566f8eed775e4e..58cb391301511f648c09d5efbc4dfaa6b0399966 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -122,6 +122,8 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
int source_frame_number() const { return source_frame_number_; }
+ TileResolution resolution() const { return managed_state_.resolution; }
+
void set_raster_source(scoped_refptr<RasterSource> raster_source) {
DCHECK(raster_source->CoversRect(content_rect_, contents_scale_))
<< "Recording rect: "
« no previous file with comments | « cc/resources/gpu_rasterizer.cc ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698