Home
last modified time | relevance | path

Searched refs:RP_SET (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
DRenderProperties.h52 #define RP_SET(a, b, ...) ((a) != (b) ? ((a) = (b), ##__VA_ARGS__, true) : false) macro
53 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true)
72 if (RP_SET(mType, type)) { in setType()
79 bool setOpaque(bool opaque) { return RP_SET(mOpaque, opaque); } in setOpaque()
83 bool setAlpha(uint8_t alpha) { return RP_SET(mAlpha, alpha); } in setAlpha()
87 bool setXferMode(SkBlendMode mode) { return RP_SET(mMode, mode); } in setXferMode()
180 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
188 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards()
192 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldReceive); in setProjectionReceiver()
198 return RP_SET(mPrimitiveFields.mClipMayBeComplex, isClipMayBeComplex); in setClipMayBeComplex()
[all …]