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

Side by Side Diff: cc/trees/clip_node.h

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 unified diff | Download patch
« no previous file with comments | « cc/output/bsp_tree_perftest.cc ('k') | cc/trees/clip_node.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_CLIP_NODE_H_ 5 #ifndef CC_TREES_CLIP_NODE_H_
6 #define CC_TREES_CLIP_NODE_H_ 6 #define CC_TREES_CLIP_NODE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // different target. Target information shall be removed from here. 85 // different target. Target information shall be removed from here.
86 int target_effect_id; 86 int target_effect_id;
87 87
88 // When true, |clip_in_target_space| does not include clips from ancestor 88 // When true, |clip_in_target_space| does not include clips from ancestor
89 // nodes. 89 // nodes.
90 bool layer_clipping_uses_only_local_clip : 1; 90 bool layer_clipping_uses_only_local_clip : 1;
91 91
92 // True if layers with this clip tree node need to be drawn with a clip 92 // True if layers with this clip tree node need to be drawn with a clip
93 // applied. 93 // applied.
94 bool layers_are_clipped : 1; 94 bool layers_are_clipped : 1;
95 bool layers_are_clipped_when_surfaces_disabled : 1;
96 95
97 // Nodes that correspond to unclipped surfaces disregard ancestor clips. 96 // Nodes that correspond to unclipped surfaces disregard ancestor clips.
98 bool resets_clip : 1; 97 bool resets_clip : 1;
99 98
100 bool operator==(const ClipNode& other) const; 99 bool operator==(const ClipNode& other) const;
101 100
102 void AsValueInto(base::trace_event::TracedValue* value) const; 101 void AsValueInto(base::trace_event::TracedValue* value) const;
103 }; 102 };
104 103
105 } // namespace cc 104 } // namespace cc
106 105
107 #endif // CC_TREES_CLIP_NODE_H_ 106 #endif // CC_TREES_CLIP_NODE_H_
OLDNEW
« no previous file with comments | « cc/output/bsp_tree_perftest.cc ('k') | cc/trees/clip_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698