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

Unified Diff: cc/overdraw_metrics.h

Issue 11028132: cc: The recent texture manager bug uncovered some unnecessary code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make haveTexturesForTilesConst Created 8 years, 2 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
Index: cc/overdraw_metrics.h
diff --git a/cc/overdraw_metrics.h b/cc/overdraw_metrics.h
index bbeba8b04587167d8458906f6271bcecc7456cda..6c5217760825237e46e28533ebaf8fe7f2540f50 100644
--- a/cc/overdraw_metrics.h
+++ b/cc/overdraw_metrics.h
@@ -26,7 +26,7 @@ public:
// Record pixels painted by WebKit into the texture updater, but does not mean the pixels were rasterized in main memory.
void didPaint(const IntRect& paintedRect);
// Records that an invalid tile was culled and did not need to be painted/uploaded, and did not contribute to other tiles needing to be painted.
- void didCullTileForUpload();
+ void didCullTilesForUpload(int count);
// Records pixels that were uploaded to texture memory.
void didUpload(const WebKit::WebTransformationMatrix& transformToTarget, const IntRect& uploadRect, const IntRect& opaqueRect);
// Record contents texture(s) behind present using the given number of bytes.
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/overdraw_metrics.cc » ('j') | cc/tiled_layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698