Lines Matching refs:RP_SET
54 #define RP_SET(a, b, ...) ((a) != (b) ? ((a) = (b), ##__VA_ARGS__, true) : false) macro
55 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true)
74 if (RP_SET(mType, type)) { in setType()
81 bool setOpaque(bool opaque) { return RP_SET(mOpaque, opaque); } in setOpaque()
85 bool setAlpha(uint8_t alpha) { return RP_SET(mAlpha, alpha); } in setAlpha()
89 bool setXferMode(SkBlendMode mode) { return RP_SET(mMode, mode); } in setXferMode()
197 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
205 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards()
209 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldReceive); in setProjectionReceiver()
215 return RP_SET(mPrimitiveFields.mClipMayBeComplex, isClipMayBeComplex); in setClipMayBeComplex()
245 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
251 return RP_SET(mPrimitiveFields.mHasOverlappingRendering, hasOverlappingRendering); in setHasOverlappingRendering()
257 return RP_SET(mPrimitiveFields.mElevation, elevation); in setElevation()
276 return RP_SET(mPrimitiveFields.mTranslationZ, translationZ); in setTranslationZ()
326 if (RP_SET(mPrimitiveFields.mPivotX, pivotX) || !mPrimitiveFields.mPivotExplicitlySet) { in setPivotX()
341 if (RP_SET(mPrimitiveFields.mPivotY, pivotY) || !mPrimitiveFields.mPivotExplicitlySet) { in setPivotY()
370 if (RP_SET(mPrimitiveFields.mLeft, left)) { in setLeft()
383 if (RP_SET(mPrimitiveFields.mTop, top)) { in setTop()
396 if (RP_SET(mPrimitiveFields.mRight, right)) { in setRight()
409 if (RP_SET(mPrimitiveFields.mBottom, bottom)) { in setBottom()
536 return RP_SET(mPrimitiveFields.mSpotShadowColor, shadowColor); in setSpotShadowColor()
542 return RP_SET(mPrimitiveFields.mAmbientShadowColor, shadowColor); in setAmbientShadowColor()
564 return RP_SET(mPrimitiveFields.mAllowForceDark, allow); in setAllowForceDark()