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

Unified Diff: cc/trees/property_tree.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Created 3 years, 7 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/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index 76298ec50ac5c90e109c15f8c6392af819de17f9..84cb7ce950cdeb48b7339b7aae431c7283e68810 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -799,7 +799,7 @@ void EffectTree::UpdateIsDrawn(EffectNode* node, EffectNode* parent_node) {
// 2) Nodes that have a background filter.
// 3) Nodes with animating screen space opacity are drawn if their parent is
// drawn irrespective of their opacity.
- if (node->has_copy_request)
+ if (node->has_copy_request || node->force_render_surface)
reveman 2017/05/10 13:06:17 I don't think we need this. Do we?
wutao 2017/05/11 19:36:35 Ok.
node->is_drawn = true;
else if (EffectiveOpacity(node) == 0.f &&
!node->has_potential_opacity_animation &&

Powered by Google App Engine
This is Rietveld 408576698