Searched refs:hwcLayer (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayerCompositionState.h | 68 explicit Hwc(std::shared_ptr<HWC2::Layer> hwcLayer) : hwcLayer(hwcLayer) {} in Hwc() 71 std::shared_ptr<HWC2::Layer> hwcLayer; member
|
/frameworks/native/services/surfaceflinger/ |
D | ColorLayer.cpp | 105 auto& hwcLayer = (*outputLayer->getState().hwc).hwcLayer; in setPerFrameData() local 107 auto error = hwcLayer->setVisibleRegion(visible); in setPerFrameData() 120 error = hwcLayer->setDataspace(dataspace); in setPerFrameData() 130 error = hwcLayer->setColor({static_cast<uint8_t>(std::round(255.0f * color.r)), in setPerFrameData() 142 error = hwcLayer->setTransform(HWC2::Transform::None); in setPerFrameData() 149 error = hwcLayer->setColorTransform(getColorTransform()); in setPerFrameData() 156 error = hwcLayer->setSurfaceDamage(surfaceDamageRegion); in setPerFrameData()
|
D | BufferLayer.cpp | 269 auto& hwcLayer = (*outputLayer->getState().hwc).hwcLayer; in setPerFrameData() local 270 auto error = hwcLayer->setVisibleRegion(visible); in setPerFrameData() 280 error = hwcLayer->setSurfaceDamage(surfaceDamageRegion); in setPerFrameData() 292 error = hwcLayer->setSidebandStream(layerCompositionState.sidebandStream->handle()); in setPerFrameData() 314 error = hwcLayer->setDataspace(dataspace); in setPerFrameData() 321 error = hwcLayer->setPerFrameMetadata(supportedPerFrameMetadata, metadata); in setPerFrameData() 327 error = hwcLayer->setColorTransform(getColorTransform()); in setPerFrameData()
|
D | BufferQueueLayer.cpp | 404 auto& hwcLayer = (*outputLayer->getState().hwc).hwcLayer; in setHwcLayerBuffer() local 416 auto error = hwcLayer->setBuffer(hwcSlot, hwcBuffer, acquireFence); in setHwcLayerBuffer()
|
D | BufferStateLayer.cpp | 598 auto& hwcLayer = hwcInfo.hwcLayer; in setHwcLayerBuffer() local 607 auto error = hwcLayer->setBuffer(hwcSlot, buffer, s.acquireFence); in setHwcLayerBuffer()
|
D | Layer.cpp | 248 return outputLayer->getState().hwc && (*outputLayer->getState().hwc).hwcLayer != nullptr; in hasHwcLayer() 256 return (*outputLayer->getState().hwc).hwcLayer.get(); in getHwcLayer() 504 (*outputLayer->getState().hwc).hwcLayer->setCursorPosition(position.left, position.top); in updateCursorPosition() 573 ALOGV("setCompositionType(%" PRIx64 ", %s, %d)", ((*compositionState.hwc).hwcLayer)->getId(), in setCompositionType() 580 .hwcLayer->setCompositionType(static_cast<HWC2::Composition>(type)); in setCompositionType()
|
D | SurfaceFlinger.cpp | 2457 getHwComposer().getLayerReleaseFence(*displayId, hwcState.hwcLayer.get()); in postFramebuffer()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 312 auto& hwcLayer = (*mState.hwc).hwcLayer; in writeStateToHWC() local 313 if (!hwcLayer) { in writeStateToHWC() 322 if (auto error = hwcLayer->setDisplayFrame(mState.displayFrame); in writeStateToHWC() 330 if (auto error = hwcLayer->setSourceCrop(mState.sourceCrop); error != HWC2::Error::None) { in writeStateToHWC() 338 if (auto error = hwcLayer->setZOrder(mState.z); error != HWC2::Error::None) { in writeStateToHWC() 344 hwcLayer->setTransform(static_cast<HWC2::Transform>(mState.bufferTransform)); in writeStateToHWC() 355 if (auto error = hwcLayer->setBlendMode( in writeStateToHWC() 363 if (auto error = hwcLayer->setPlaneAlpha(outputIndependentState.alpha); in writeStateToHWC() 371 hwcLayer->setInfo(outputIndependentState.type, outputIndependentState.appId); in writeStateToHWC()
|
D | OutputLayerCompositionState.cpp | 29 if (hwc.hwcLayer == nullptr) { in dumpHwc() 32 dumpHex(out, "layer", hwc.hwcLayer->getId()); in dumpHwc()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 91 StrictMock<HWC2::mock::Layer> hwcLayer; in TEST_F() local 94 EXPECT_CALL(hwc, createLayer(DEFAULT_DISPLAY_ID)).WillOnce(Return(&hwcLayer)); in TEST_F() 102 EXPECT_EQ(&hwcLayer, hwcState.hwcLayer.get()); in TEST_F() 104 EXPECT_CALL(hwc, destroyLayer(DEFAULT_DISPLAY_ID, &hwcLayer)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 469 auto hwcLayer = (*state.hwc).hwcLayer; in prepare() local 471 if (auto it = changedTypes.find(hwcLayer.get()); it != changedTypes.end()) { in prepare() 494 if (auto it = layerRequests.find(hwcLayer.get()); it != layerRequests.end()) { in prepare()
|