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

Unified Diff: cc/trees/clip_node.cc

Issue 2693703010: cc: Remove support for disabling non-root render surfaces. (Closed)
Patch Set: softwaredraw-remove-no-surfaces: rebase Created 3 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
« no previous file with comments | « cc/trees/clip_node.h ('k') | cc/trees/draw_property_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/clip_node.cc
diff --git a/cc/trees/clip_node.cc b/cc/trees/clip_node.cc
index d3c1863d4482247acccae0ab4e2fc76a680e262d..33aefc604ae0e62ba36a4f5149f93e8606f283b2 100644
--- a/cc/trees/clip_node.cc
+++ b/cc/trees/clip_node.cc
@@ -21,7 +21,6 @@ ClipNode::ClipNode()
target_effect_id(EffectTree::kInvalidNodeId),
layer_clipping_uses_only_local_clip(false),
layers_are_clipped(false),
- layers_are_clipped_when_surfaces_disabled(false),
resets_clip(false) {}
ClipNode::ClipNode(const ClipNode& other)
@@ -38,8 +37,6 @@ ClipNode::ClipNode(const ClipNode& other)
layer_clipping_uses_only_local_clip(
other.layer_clipping_uses_only_local_clip),
layers_are_clipped(other.layers_are_clipped),
- layers_are_clipped_when_surfaces_disabled(
- other.layers_are_clipped_when_surfaces_disabled),
resets_clip(other.resets_clip) {
if (other.clip_expander) {
DCHECK_EQ(clip_type, ClipType::EXPANDS_CLIP);
@@ -61,8 +58,6 @@ ClipNode& ClipNode::operator=(const ClipNode& other) {
layer_clipping_uses_only_local_clip =
other.layer_clipping_uses_only_local_clip;
layers_are_clipped = other.layers_are_clipped;
- layers_are_clipped_when_surfaces_disabled =
- other.layers_are_clipped_when_surfaces_disabled;
resets_clip = other.resets_clip;
if (other.clip_expander) {
@@ -95,8 +90,6 @@ bool ClipNode::operator==(const ClipNode& other) const {
layer_clipping_uses_only_local_clip ==
other.layer_clipping_uses_only_local_clip &&
layers_are_clipped == other.layers_are_clipped &&
- layers_are_clipped_when_surfaces_disabled ==
- other.layers_are_clipped_when_surfaces_disabled &&
resets_clip == other.resets_clip;
}
@@ -112,8 +105,6 @@ void ClipNode::AsValueInto(base::trace_event::TracedValue* value) const {
value->SetBoolean("layer_clipping_uses_only_local_clip",
layer_clipping_uses_only_local_clip);
value->SetBoolean("layers_are_clipped", layers_are_clipped);
- value->SetBoolean("layers_are_clipped_when_surfaces_disabled",
- layers_are_clipped_when_surfaces_disabled);
value->SetBoolean("resets_clip", resets_clip);
}
« no previous file with comments | « cc/trees/clip_node.h ('k') | cc/trees/draw_property_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698