Home | History | Annotate | Download | only in graphics

Lines Matching refs:reasons

16 // Intrinsic reasons that can be known right away by the layer
33 // Overlap reasons that require knowing what's behind you in paint-order before knowing the answer
47 // Subtree reasons that require knowing what the status of your subtree is before knowing the answer
64 // CompositedLayerMapping internal hierarchy reasons
81 // Various combinations of compositing reasons are defined here also, for more intutive and faster bitwise logic.
136 // Any reasons other than overlap or assumed overlap will require the layer to be separately compositing.
137 inline bool requiresCompositing(CompositingReasons reasons)
139 return reasons & ~CompositingReasonComboSquashableReasons;
142 // If the layer has overlap or assumed overlap, but no other reasons, then it should be squashed.
143 inline bool requiresSquashing(CompositingReasons reasons)
145 return !requiresCompositing(reasons) && (reasons & CompositingReasonComboSquashableReasons);