Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderProperties.h49 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true)
162 return setFlag(CLIP_TO_BOUNDS, clipToBounds, &mPrimitiveFields.mClippingFlags); in setClipToBounds()
166 bool ret = setFlag(CLIP_TO_CLIP_BOUNDS, true, &mPrimitiveFields.mClippingFlags); in setClipBounds()
167 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
171 return setFlag(CLIP_TO_CLIP_BOUNDS, false, &mPrimitiveFields.mClippingFlags); in setClipBoundsEmpty()
175 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards()
179 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldRecieve); in setProjectionReceiver()
183 return mPrimitiveFields.mProjectionReceiver; in isProjectionReceiver()
213 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
217 return mPrimitiveFields.mAlpha; in getAlpha()
[all …]
DRenderProperties.cpp114 mPrimitiveFields = other.mPrimitiveFields; in operator =()
121 mPrimitiveFields.mMatrixOrPivotDirty = true; in operator =()
128 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties()
129 …ALOGD("%*sTranslate (left, top) %d, %d", level * 2, "", mPrimitiveFields.mLeft, mPrimitiveFields.m… in debugOutputProperties()
151 if (mPrimitiveFields.mAlpha < 1) { in debugOutputProperties()
155 ALOGD("%*sSetOverrideLayerAlpha %.2f", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties()
156 } else if (!mPrimitiveFields.mHasOverlappingRendering) { in debugOutputProperties()
157 ALOGD("%*sScaleAlpha %.2f", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties()
169 (int)(mPrimitiveFields.mAlpha * 255), saveFlags); in debugOutputProperties()
181 if (mPrimitiveFields.mMatrixOrPivotDirty) { in updateMatrix()
[all …]