Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderProperties.h48 #define RP_SET(a, b, ...) (a != b ? (a = b, ##__VA_ARGS__, true) : false) macro
49 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true)
69 if (RP_SET(mType, type)) { in setType()
81 return RP_SET(mOpaque, opaque); in setOpaque()
89 return RP_SET(mAlpha, alpha); in setAlpha()
97 return RP_SET(mMode, mode); in setXferMode()
167 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
175 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards()
179 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldRecieve); in setProjectionReceiver()
213 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
[all …]