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

Unified Diff: cc/trees/draw_property_utils.cc

Issue 918633003: Add a telemetry measurement for property tree performance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index c9ead984cb713f6c5d5b0600881370d6fbad8d0c..5d3b4a2fe61207624a8f51b71adaa2f73e4b10ca 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -158,7 +158,6 @@ void FindLayersThatNeedVisibleRects(Layer* layer,
bool subtree_is_visible_from_ancestor,
std::vector<Layer*>* layers_to_update) {
const bool subtree_is_invisble =
- layer->opacity() == 0.0f ||
Ian Vollick 2015/02/15 06:27:18 Is it bogus to calculate visible content rects for
enne (OOO) 2015/02/17 17:40:14 I don't think this function goes away. Where was
Ian Vollick 2015/02/18 05:22:43 Sorry, I didn't mean to imply that it was going aw
Ian Vollick 2015/02/19 07:07:44 Stepping through this example, it looks like the p
(layer->has_render_surface() && !layer->double_sided() &&
IsSurfaceBackFaceExposed(layer, tree));

Powered by Google App Engine
This is Rietveld 408576698