Home
last modified time | relevance | path

Searched refs:displayDevice (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1563 for (const auto& [token, displayDevice] : mDisplays) { in updateVrFlinger()
1564 displayDevice->getCompositionDisplay()->setOutputLayersOrderedByZ( in updateVrFlinger()
1777 for (const auto& [token, displayDevice] : mDisplays) { in handleMessageRefresh()
1778 auto display = displayDevice->getCompositionDisplay(); in handleMessageRefresh()
1822 for (const auto& [token, displayDevice] : mDisplays) { in calculateWorkingSet()
1823 auto display = displayDevice->getCompositionDisplay(); in calculateWorkingSet()
1853 for (const auto& [token, displayDevice] : mDisplays) { in calculateWorkingSet()
1854 auto display = displayDevice->getCompositionDisplay(); in calculateWorkingSet()
1868 pickColorMode(displayDevice, &colorMode, &targetDataspace, &renderIntent); in calculateWorkingSet()
1878 for (auto& layer : displayDevice->getVisibleLayersSortedByZ()) { in calculateWorkingSet()
[all …]
DBufferLayer.cpp263 void BufferLayer::setPerFrameData(const sp<const DisplayDevice>& displayDevice, in setPerFrameData() argument
267 RETURN_IF_NO_HWC_LAYER(displayDevice); in setPerFrameData()
273 const auto outputLayer = findOutputLayerForDisplay(displayDevice); in setPerFrameData()
297 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::SIDEBAND); in setPerFrameData()
312 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::CURSOR); in setPerFrameData()
315 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::DEVICE); in setPerFrameData()
337 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::CLIENT); in setPerFrameData()
346 setHwcLayerBuffer(displayDevice); in setPerFrameData()
649 bool BufferLayer::needsFiltering(const sp<const DisplayDevice>& displayDevice) const { in needsFiltering()
652 if (displayDevice == nullptr) { in needsFiltering()
[all …]
DBufferLayer.h149 virtual void setHwcLayerBuffer(const sp<const DisplayDevice>& displayDevice) = 0;
175 bool needsFiltering(const sp<const DisplayDevice>& displayDevice) const;
DLayer.h448 void writeToProtoCompositionState(LayerProto* layerInfo, const sp<DisplayDevice>& displayDevice,
623 bool hasHwcLayer(const sp<const DisplayDevice>& displayDevice);
624 HWC2::Layer* getHwcLayer(const sp<const DisplayDevice>& displayDevice);
965 #define RETURN_IF_NO_HWC_LAYER(displayDevice, ...) \ argument
967 if (!hasHwcLayer(displayDevice)) { \
969 __FUNCTION__, displayDevice->getDebugName().c_str()); \
DBufferQueueLayer.h96 void setHwcLayerBuffer(const sp<const DisplayDevice>& displayDevice) override;
DLayer.cpp244 bool Layer::hasHwcLayer(const sp<const DisplayDevice>& displayDevice) { in hasHwcLayer() argument
245 auto outputLayer = findOutputLayerForDisplay(displayDevice); in hasHwcLayer()
250 HWC2::Layer* Layer::getHwcLayer(const sp<const DisplayDevice>& displayDevice) { in getHwcLayer() argument
251 auto outputLayer = findOutputLayerForDisplay(displayDevice); in getHwcLayer()
1341 void Layer::miniDump(std::string& result, const sp<DisplayDevice>& displayDevice) const { in miniDump()
1342 auto outputLayer = findOutputLayerForDisplay(displayDevice); in miniDump()
1369 StringAppendF(&result, "%10s | ", toString(getCompositionType(displayDevice)).c_str()); in miniDump()
2007 const sp<DisplayDevice>& displayDevice, in writeToProtoCompositionState() argument
2009 auto outputLayer = findOutputLayerForDisplay(displayDevice); in writeToProtoCompositionState()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1220 auto displayDevice = mInjector.inject(); in getBestColorMode() local
1222 displayDevice->getCompositionDisplay() in getBestColorMode()
2748 auto displayDevice = primaryDisplay.mutableDisplayDevice(); in TEST_F() local
2749 EXPECT_EQ(HWC_POWER_MODE_NORMAL, displayDevice->getPowerMode()); in TEST_F()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1608 DisplayDevice displayDevice = display.getPrimaryDisplayDeviceLocked(); in getDisplayDeviceInfoInternal() local
1609 return displayDevice.getDisplayDeviceInfoLocked(); in getDisplayDeviceInfoInternal()