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

Unified Diff: cc/resources/tile_manager.h

Issue 219963005: cc: Add support for partial swaps when using impl-side painting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | cc/resources/tile_manager.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index a4eddb9becc5e51f0aa22687499111f45c5560e3..5983212bcbcb90be740302d1e05cf68fe30db55a 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -131,6 +131,10 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient,
}
}
+ void ResetDamagedRect();
+
+ gfx::Rect GetDamagedRect();
+
protected:
TileManager(TileManagerClient* client,
base::SequencedTaskRunner* task_runner,
@@ -250,6 +254,7 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient,
std::vector<scoped_refptr<internal::Task> > orphan_raster_tasks_;
std::vector<PictureLayerImpl*> layers_;
+ gfx::Rect damage_rect_;
DISALLOW_COPY_AND_ASSIGN(TileManager);
};
« no previous file with comments | « no previous file | cc/resources/tile_manager.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698