Searched refs:currentFlags (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/ |
D | LayerBuilder.cpp | 88 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, in checkSide() argument 90 bool currentClipExists = currentFlags & side; in checkSide() 153 const int currentFlags = mClipSideFlags; in canMergeWith() local 155 if (currentFlags != OpClipSideFlags::None || newFlags != OpClipSideFlags::None) { in canMergeWith() 158 … if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Left, boundsDelta)) return false; in canMergeWith() 160 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Top, boundsDelta)) return false; in canMergeWith() 164 … if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Right, boundsDelta)) return false; in canMergeWith() 166 … if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Bottom, boundsDelta)) return false; in canMergeWith()
|
D | DeferredDisplayList.cpp | 158 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, in checkSide() argument 160 bool currentClipExists = currentFlags & side; in checkSide() 206 const int currentFlags = mClipSideFlags; in canMergeWith() local 208 if (currentFlags != kClipSide_None || newFlags != kClipSide_None) { in canMergeWith() 211 if (!checkSide(currentFlags, newFlags, kClipSide_Left, boundsDelta)) return false; in canMergeWith() 213 if (!checkSide(currentFlags, newFlags, kClipSide_Top, boundsDelta)) return false; in canMergeWith() 217 if (!checkSide(currentFlags, newFlags, kClipSide_Right, boundsDelta)) return false; in canMergeWith() 219 if (!checkSide(currentFlags, newFlags, kClipSide_Bottom, boundsDelta)) return false; in canMergeWith()
|
D | CanvasState.h | 158 inline int currentFlags() const { return currentSnapshot()->flags; } in currentFlags() function
|
D | LayerRenderer.cpp | 120 if (mState.currentFlags() & Snapshot::kFlagFboTarget) { in getRegion()
|
D | OpenGLRenderer.h | 431 return (mState.currentFlags() & Snapshot::kFlagFboTarget) && mState.currentRegion(); in hasLayer()
|