Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1571 for (const auto& [token, displayDevice] : mDisplays) { in updateVrFlinger()
1572 displayDevice->getCompositionDisplay()->setOutputLayersOrderedByZ( in updateVrFlinger()
1751 for (const auto& [token, displayDevice] : mDisplays) { in handleMessageRefresh()
1752 auto display = displayDevice->getCompositionDisplay(); in handleMessageRefresh()
1793 for (const auto& [token, displayDevice] : mDisplays) { in calculateWorkingSet()
1794 auto display = displayDevice->getCompositionDisplay(); in calculateWorkingSet()
1824 for (const auto& [token, displayDevice] : mDisplays) { in calculateWorkingSet()
1825 auto display = displayDevice->getCompositionDisplay(); in calculateWorkingSet()
1839 pickColorMode(displayDevice, &colorMode, &targetDataspace, &renderIntent); in calculateWorkingSet()
1842 for (auto& layer : displayDevice->getVisibleLayersSortedByZ()) { in calculateWorkingSet()
[all …]
DBufferLayer.cpp256 void BufferLayer::setPerFrameData(const sp<const DisplayDevice>& displayDevice, in setPerFrameData() argument
260 RETURN_IF_NO_HWC_LAYER(displayDevice); in setPerFrameData()
266 const auto outputLayer = findOutputLayerForDisplay(displayDevice); in setPerFrameData()
290 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::SIDEBAND); in setPerFrameData()
305 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::CURSOR); in setPerFrameData()
308 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::DEVICE); in setPerFrameData()
330 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::CLIENT); in setPerFrameData()
339 setHwcLayerBuffer(displayDevice); in setPerFrameData()
642 bool BufferLayer::needsFiltering(const sp<const DisplayDevice>& displayDevice) const { in needsFiltering()
645 if (displayDevice == nullptr) { in needsFiltering()
[all …]
DBufferLayer.h150 virtual void setHwcLayerBuffer(const sp<const DisplayDevice>& displayDevice) = 0;
176 bool needsFiltering(const sp<const DisplayDevice>& displayDevice) const;
DLayer.h444 void writeToProto(LayerProto* layerInfo, const sp<DisplayDevice>& displayDevice,
614 bool hasHwcLayer(const sp<const DisplayDevice>& displayDevice);
615 HWC2::Layer* getHwcLayer(const sp<const DisplayDevice>& displayDevice);
954 #define RETURN_IF_NO_HWC_LAYER(displayDevice, ...) \ argument
956 if (!hasHwcLayer(displayDevice)) { \
958 __FUNCTION__, displayDevice->getDebugName().c_str()); \
DBufferQueueLayer.h97 void setHwcLayerBuffer(const sp<const DisplayDevice>& displayDevice) override;
DLayer.cpp245 bool Layer::hasHwcLayer(const sp<const DisplayDevice>& displayDevice) { in hasHwcLayer() argument
246 auto outputLayer = findOutputLayerForDisplay(displayDevice); in hasHwcLayer()
251 HWC2::Layer* Layer::getHwcLayer(const sp<const DisplayDevice>& displayDevice) { in getHwcLayer() argument
252 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()
2002 void Layer::writeToProto(LayerProto* layerInfo, const sp<DisplayDevice>& displayDevice, in writeToProto() argument
2004 auto outputLayer = findOutputLayerForDisplay(displayDevice); in writeToProto()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1210 auto displayDevice = mInjector.inject(); in getBestColorMode() local
1212 displayDevice->getCompositionDisplay() in getBestColorMode()
2738 auto displayDevice = primaryDisplay.mutableDisplayDevice(); in TEST_F() local
2739 EXPECT_EQ(HWC_POWER_MODE_NORMAL, displayDevice->getPowerMode()); in TEST_F()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1606 DisplayDevice displayDevice = display.getPrimaryDisplayDeviceLocked(); in getDisplayDeviceInfoInternal() local
1607 return displayDevice.getDisplayDeviceInfoLocked(); in getDisplayDeviceInfoInternal()