Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp150 return mFlinger.drawingState().displays.indexOfKey(displayToken) >= 0; in hasDrawingDisplayState()
155 return mFlinger.drawingState().displays.valueFor(displayToken); in getDrawingDisplayState()
DTestableSurfaceFlinger.h526 const auto& drawingState() const { return mFlinger->mDrawingState; } in drawingState() function
/frameworks/native/services/surfaceflinger/
DLayer.cpp406 const auto& drawingState{getDrawingState()}; in prepareBasicGeometryCompositionState() local
408 const bool opaque = isOpaque(drawingState); in prepareBasicGeometryCompositionState()
429 compositionState->transparentRegionHint = getActiveTransparentRegion(drawingState); in prepareBasicGeometryCompositionState()
433 compositionState->backgroundBlurRadius = drawingState.backgroundBlurRadius; in prepareBasicGeometryCompositionState()
434 compositionState->blurRegions = drawingState.blurRegions; in prepareBasicGeometryCompositionState()
439 const auto& drawingState{getDrawingState()}; in prepareGeometryCompositionState() local
442 compositionState->geomBufferSize = getBufferSize(drawingState); in prepareGeometryCompositionState()
444 compositionState->geomCrop = getCrop(drawingState); in prepareGeometryCompositionState()
461 auto it = drawingState.metadata.mMap.find(id); in prepareGeometryCompositionState()
462 if (it == std::end(drawingState.metadata.mMap)) { in prepareGeometryCompositionState()
[all …]
DSurfaceFlinger.cpp2672 State drawingState(mDrawingState); in commitTransactions() local
3034 const DisplayDeviceState& drawingState) { in processDisplayChanged() argument
3036 const sp<IBinder> drawingBinder = IInterface::asBinder(drawingState.surface); in processDisplayChanged()
3039 if (currentBinder != drawingBinder || currentState.sequenceId != drawingState.sequenceId) { in processDisplayChanged()
3070 if (currentState.layerStack != drawingState.layerStack) { in processDisplayChanged()
3073 if (currentState.flags != drawingState.flags) { in processDisplayChanged()
3076 if ((currentState.orientation != drawingState.orientation) || in processDisplayChanged()
3077 (currentState.layerStackSpaceRect != drawingState.layerStackSpaceRect) || in processDisplayChanged()
3078 (currentState.orientedDisplaySpaceRect != drawingState.orientedDisplaySpaceRect)) { in processDisplayChanged()
3085 if (currentState.width != drawingState.width || in processDisplayChanged()
[all …]
DSurfaceFlinger.h1003 const DisplayDeviceState& drawingState) REQUIRES(mStateLock);