Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayDevice_SetProjectionTest.cpp89 const auto& compositionState = mDisplayDevice->getCompositionDisplay()->getState(); in expectDefaultState() local
92 compositionState.transform); in expectDefaultState()
93 EXPECT_EQ(mPhysicalOrientation, compositionState.displaySpace.getOrientation()); in expectDefaultState()
94 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.displaySpace.getContent()); in expectDefaultState()
95 EXPECT_EQ(mHardwareDisplaySize, compositionState.displaySpace.getBounds()); in expectDefaultState()
96 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.framebufferSpace.getContent()); in expectDefaultState()
97 EXPECT_EQ(mHardwareDisplaySize, compositionState.framebufferSpace.getBounds()); in expectDefaultState()
104 EXPECT_EQ(Rect(expectedLogicalSize), compositionState.orientedDisplaySpace.getContent()); in expectDefaultState()
105 EXPECT_EQ(expectedLogicalSize, compositionState.orientedDisplaySpace.getBounds()); in expectDefaultState()
106 EXPECT_EQ(Rect(expectedLogicalSize), compositionState.layerStackSpace.getContent()); in expectDefaultState()
[all …]
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp293 auto* compositionState = editCompositionState(); in preparePerFrameCompositionState() local
294 if (compositionState->sidebandStream.get() && !compositionState->sidebandStreamHasFrame) { in preparePerFrameCompositionState()
295 compositionState->compositionType = in preparePerFrameCompositionState()
299 compositionState->compositionType = in preparePerFrameCompositionState()
303 compositionState->hdrMetadata = mBufferInfo.mHdrMetadata; in preparePerFrameCompositionState()
304 compositionState->compositionType = mPotentialCursor in preparePerFrameCompositionState()
309 compositionState->buffer = getBuffer(); in preparePerFrameCompositionState()
310 compositionState->bufferSlot = (mBufferInfo.mBufferSlot == BufferQueue::INVALID_BUFFER_SLOT) in preparePerFrameCompositionState()
313 compositionState->acquireFence = mBufferInfo.mFence; in preparePerFrameCompositionState()
314 compositionState->frameNumber = mBufferInfo.mFrameNumber; in preparePerFrameCompositionState()
[all …]
DLayer.cpp417 auto* compositionState = editCompositionState(); in prepareBasicGeometryCompositionState() local
418 compositionState->outputFilter = getOutputFilter(); in prepareBasicGeometryCompositionState()
419 compositionState->isVisible = isVisible(); in prepareBasicGeometryCompositionState()
420 compositionState->isOpaque = opaque && !usesRoundedCorners && alpha == 1.f; in prepareBasicGeometryCompositionState()
421 compositionState->shadowRadius = mEffectiveShadowRadius; in prepareBasicGeometryCompositionState()
423 compositionState->contentDirty = contentDirty; in prepareBasicGeometryCompositionState()
426 compositionState->geomLayerBounds = mBounds; in prepareBasicGeometryCompositionState()
427 compositionState->geomLayerTransform = getTransform(); in prepareBasicGeometryCompositionState()
428 compositionState->geomInverseLayerTransform = compositionState->geomLayerTransform.inverse(); in prepareBasicGeometryCompositionState()
429 compositionState->transparentRegionHint = getActiveTransparentRegion(drawingState); in prepareBasicGeometryCompositionState()
[all …]
DEffectLayer.cpp110 auto* compositionState = editCompositionState(); in preparePerFrameCompositionState() local
111 compositionState->color = getColor(); in preparePerFrameCompositionState()
112 compositionState->compositionType = in preparePerFrameCompositionState()
DSurfaceFlinger.cpp5023 auto* compositionState = layer->getCompositionState(); in doDump() local
5024 if (!compositionState || !compositionState->isVisible) return; in doDump()
5029 compositionState->dump(compositionLayers); in doDump()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp316 const auto* compositionState = layerFE.getCompositionState(); in requiresHolePunch() local
317 if (compositionState->forceClientComposition) { in requiresHolePunch()
321 if (compositionState->blendMode != hal::BlendMode::NONE) { in requiresHolePunch()