• Home
  • Raw
  • Download

Lines Matching refs:mCurrentState

51     mCurrentState.dataspace = ui::Dataspace::V0_SRGB;  in BufferStateLayer()
111 (mCurrentState.modified && in willPresentCurrentTransaction()
112 (mCurrentState.buffer != nullptr || mCurrentState.bgColorLayer != nullptr)); in willPresentCurrentTransaction()
116 return mCurrentState.transformToDisplayInverse; in getTransformToDisplayInverse()
120 if (!mCurrentState.modified) { in pushPendingState()
123 mPendingStates.push_back(mCurrentState); in pushPendingState()
132 mCurrentStateModified = stateUpdateAvailable && mCurrentState.modified; in applyPendingStates()
133 mCurrentState.modified = false; in applyPendingStates()
143 if (mCurrentState.transform == transform) return false; in setTransform()
144 mCurrentState.transform = transform; in setTransform()
145 mCurrentState.modified = true; in setTransform()
151 if (mCurrentState.transformToDisplayInverse == transformToDisplayInverse) return false; in setTransformToDisplayInverse()
152 mCurrentState.sequence++; in setTransformToDisplayInverse()
153 mCurrentState.transformToDisplayInverse = transformToDisplayInverse; in setTransformToDisplayInverse()
154 mCurrentState.modified = true; in setTransformToDisplayInverse()
173 if (mCurrentState.crop == c) return false; in setCrop()
174 mCurrentState.crop = c; in setCrop()
175 mCurrentState.modified = true; in setCrop()
196 if (mCurrentState.active.transform.tx() == x && mCurrentState.active.transform.ty() == y && in setFrame()
197 mCurrentState.active.w == w && mCurrentState.active.h == h) { in setFrame()
204 mCurrentState.active.transform.set(x, y); in setFrame()
205 mCurrentState.active.w = w; in setFrame()
206 mCurrentState.active.h = h; in setFrame()
208 mCurrentState.sequence++; in setFrame()
209 mCurrentState.modified = true; in setFrame()
216 if (mCurrentState.buffer) { in setBuffer()
220 mCurrentState.buffer = buffer; in setBuffer()
221 mCurrentState.clientCacheId = clientCacheId; in setBuffer()
222 mCurrentState.modified = true; in setBuffer()
231 mCurrentState.hdrMetadata.validTypes != 0); in setBuffer()
241 mCurrentState.acquireFence = fence; in setAcquireFence()
242 mCurrentState.modified = true; in setAcquireFence()
248 if (mCurrentState.dataspace == dataspace) return false; in setDataspace()
249 mCurrentState.dataspace = dataspace; in setDataspace()
250 mCurrentState.modified = true; in setDataspace()
256 if (mCurrentState.hdrMetadata == hdrMetadata) return false; in setHdrMetadata()
257 mCurrentState.hdrMetadata = hdrMetadata; in setHdrMetadata()
258 mCurrentState.modified = true; in setHdrMetadata()
264 mCurrentState.surfaceDamageRegion = surfaceDamage; in setSurfaceDamageRegion()
265 mCurrentState.modified = true; in setSurfaceDamageRegion()
271 if (mCurrentState.api == api) return false; in setApi()
272 mCurrentState.api = api; in setApi()
273 mCurrentState.modified = true; in setApi()
279 if (mCurrentState.sidebandStream == sidebandStream) return false; in setSidebandStream()
280 mCurrentState.sidebandStream = sidebandStream; in setSidebandStream()
281 mCurrentState.modified = true; in setSidebandStream()
315 mCurrentState.callbackHandles.push_back(handle); in setTransactionCompletedListeners()
330 mCurrentState.transparentRegionHint = transparent; in setTransparentRegionHint()
331 mCurrentState.modified = true; in setTransparentRegionHint()