Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp294 auto* compositionState = editCompositionState(); in preparePerFrameCompositionState() local
295 if (compositionState->sidebandStream.get()) { in preparePerFrameCompositionState()
296 compositionState->compositionType = Hwc2::IComposerClient::Composition::SIDEBAND; in preparePerFrameCompositionState()
300 compositionState->hdrMetadata = mBufferInfo.mHdrMetadata; in preparePerFrameCompositionState()
301 compositionState->compositionType = mPotentialCursor in preparePerFrameCompositionState()
306 compositionState->buffer = mBufferInfo.mBuffer; in preparePerFrameCompositionState()
307 compositionState->bufferSlot = (mBufferInfo.mBufferSlot == BufferQueue::INVALID_BUFFER_SLOT) in preparePerFrameCompositionState()
310 compositionState->acquireFence = mBufferInfo.mFence; in preparePerFrameCompositionState()
613 const auto& compositionState = outputLayer->getState(); in needsFiltering() local
614 const auto displayFrame = compositionState.displayFrame; in needsFiltering()
[all …]
DLayer.cpp448 auto* compositionState = editCompositionState(); in prepareBasicGeometryCompositionState() local
449 compositionState->layerStackId = in prepareBasicGeometryCompositionState()
451 compositionState->internalOnly = getPrimaryDisplayOnly(); in prepareBasicGeometryCompositionState()
452 compositionState->isVisible = isVisible(); in prepareBasicGeometryCompositionState()
453 compositionState->isOpaque = opaque && !usesRoundedCorners && alpha == 1.f; in prepareBasicGeometryCompositionState()
454 compositionState->shadowRadius = mEffectiveShadowRadius; in prepareBasicGeometryCompositionState()
456 compositionState->contentDirty = contentDirty; in prepareBasicGeometryCompositionState()
459 compositionState->geomLayerBounds = mBounds; in prepareBasicGeometryCompositionState()
460 compositionState->geomLayerTransform = getTransform(); in prepareBasicGeometryCompositionState()
461 compositionState->geomInverseLayerTransform = compositionState->geomLayerTransform.inverse(); in prepareBasicGeometryCompositionState()
[all …]
DEffectLayer.cpp113 auto* compositionState = editCompositionState(); in preparePerFrameCompositionState() local
114 compositionState->color = getColor(); in preparePerFrameCompositionState()
115 compositionState->compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in preparePerFrameCompositionState()
DSurfaceFlinger.cpp4734 auto* compositionState = layer->getCompositionState(); in dumpAllLocked() local
4735 if (!compositionState) return; in dumpAllLocked()
4740 compositionState->dump(result); in dumpAllLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1493 const auto& compositionState = mDisplayDevice->getCompositionDisplay()->getState(); in expectStateForHardwareTransform0() local
1496 compositionState.transform); in expectStateForHardwareTransform0()
1497 EXPECT_EQ(TRANSFORM_FLAGS_ROT_0, compositionState.orientation); in expectStateForHardwareTransform0()
1498 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.sourceClip); in expectStateForHardwareTransform0()
1499 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.destinationClip); in expectStateForHardwareTransform0()
1500 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.frame); in expectStateForHardwareTransform0()
1501 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.viewport); in expectStateForHardwareTransform0()
1502 EXPECT_EQ(false, compositionState.needsFiltering); in expectStateForHardwareTransform0()
1506 const auto& compositionState = mDisplayDevice->getCompositionDisplay()->getState(); in expectStateForHardwareTransform90() local
1509 compositionState.transform); in expectStateForHardwareTransform90()
[all …]