Searched refs:RP_SET (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/ |
D | RenderProperties.h | 50 #define RP_SET(a, b, ...) (a != b ? (a = b, ##__VA_ARGS__, true) : false) macro 51 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true) 71 if (RP_SET(mType, type)) { in setType() 79 return RP_SET(mOpaque, opaque); in setOpaque() 87 return RP_SET(mAlpha, alpha); in setAlpha() 95 return RP_SET(mMode, mode); in setXferMode() 196 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds() 204 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards() 208 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldReceive); in setProjectionReceiver() 242 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha() [all …]
|