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

Unified Diff: cc/resources/tile_manager.cc

Issue 12388095: cc: Merge GatherPixelRefs and AnalyzeInRect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compiler errors Created 7 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/resources/picture_pile_impl.cc ('k') | skia/ext/analysis_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.cc
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc
index d45560682e6e7987b454341125f159a2849205b5..d0b810a60745637324733a995e3e47ffcd3334ef 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -721,6 +721,9 @@ void TileManager::AnalyzeTile(Tile* tile) {
managed_tile_state.picture_pile_analysis.is_transparent &=
use_color_estimator_;
managed_tile_state.picture_pile_analyzed = true;
+ managed_tile_state.need_to_gather_pixel_refs = false;
+ managed_tile_state.pending_pixel_refs.swap(
+ managed_tile_state.picture_pile_analysis.lazy_pixel_refs);
if (managed_tile_state.picture_pile_analysis.is_solid_color) {
tile->drawing_info().set_solid_color(
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | skia/ext/analysis_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698