/frameworks/native/services/surfaceflinger/ |
H A D | ColorLayer.cpp | 68 auto hwcId = displayDevice->getHwcDisplayId(); local 69 auto& hwcInfo = getBE().mHwcLayers[hwcId]; 78 setCompositionType(hwcId, HWC2::Composition::SolidColor);
|
H A D | Layer.h | 369 void writeToProto(LayerProto* layerInfo, int32_t hwcId); 384 void forceClientComposition(int32_t hwcId); 385 bool getForceClientComposition(int32_t hwcId); 390 void setCompositionType(int32_t hwcId, HWC2::Composition type, bool callIntoHwc = true); 391 HWC2::Composition getCompositionType(int32_t hwcId) const; 392 void setClearClientTarget(int32_t hwcId, bool clear); 393 bool getClearClientTarget(int32_t hwcId) const; 510 bool createHwcLayer(HWComposer* hwc, int32_t hwcId); 511 bool destroyHwcLayer(int32_t hwcId); 514 bool hasHwcLayer(int32_t hwcId) { argument 518 getHwcLayer(int32_t hwcId) argument [all...] |
H A D | Layer.cpp | 222 bool Layer::createHwcLayer(HWComposer* hwc, int32_t hwcId) { argument 223 LOG_ALWAYS_FATAL_IF(getBE().mHwcLayers.count(hwcId) != 0, 224 "Already have a layer for hwcId %d", hwcId); local 225 HWC2::Layer* layer = hwc->createLayer(hwcId); 229 LayerBE::HWCInfo& hwcInfo = getBE().mHwcLayers[hwcId]; 233 [this, hwcId](HWC2::Layer* /*layer*/) { getBE().mHwcLayers.erase(hwcId); }); 237 bool Layer::destroyHwcLayer(int32_t hwcId) { argument 238 if (getBE().mHwcLayers.count(hwcId) 488 const auto hwcId = displayDevice->getHwcDisplayId(); local 649 forceClientComposition(int32_t hwcId) argument 658 getForceClientComposition(int32_t hwcId) argument 668 auto hwcId = displayDevice->getHwcDisplayId(); local 730 setCompositionType(int32_t hwcId, HWC2::Composition type, bool callIntoHwc) argument 766 setClearClientTarget(int32_t hwcId, bool clear) argument 1979 writeToProto(LayerProto* layerInfo, int32_t hwcId) argument [all...] |
H A D | SurfaceFlinger.cpp | 1614 int32_t hwcId = -1; local 1618 hwcId = displayDevice->getHwcDisplayId(); 1622 if (hwcId < 0) { 1626 mLayerStats.logLayerStats(dumpVisibleLayersProtoInfo(hwcId)); 1997 const auto hwcId = displayDevice->getHwcDisplayId(); local 1998 if (hwcId >= 0) { 2003 if (!layer->hasHwcLayer(hwcId)) { 2004 if (!layer->createHwcLayer(getBE().mHwc.get(), hwcId)) { 2005 layer->forceClientComposition(hwcId); 2012 layer->forceClientComposition(hwcId); 2022 const auto hwcId = displayDevice->getHwcDisplayId(); local 2112 const auto hwcId = displayDevice->getHwcDisplayId(); local 2265 setupNewDisplayDeviceInternal( const wp<IBinder>& display, int hwcId, const DisplayDeviceState& state, const sp<DisplaySurface>& dispSurface, const sp<IGraphicBufferProducer>& producer) argument 2428 int32_t hwcId = -1; local 2895 const auto hwcId = displayDevice->getHwcDisplayId(); local 4112 int32_t hwcId = displayDevice->getHwcDisplayId(); local 4302 int32_t hwcId = displayDevice->getHwcDisplayId(); local [all...] |
H A D | BufferLayer.cpp | 624 auto hwcId = displayDevice->getHwcDisplayId(); local 625 auto& hwcInfo = getBE().mHwcLayers[hwcId]; 643 setCompositionType(hwcId, HWC2::Composition::Sideband); 657 setCompositionType(hwcId, HWC2::Composition::Cursor); 660 setCompositionType(hwcId, HWC2::Composition::Device);
|
H A D | DisplayDevice.h | 83 int32_t hwcId,
|
H A D | DisplayDevice.cpp | 219 int32_t hwcId, 235 mHwcDisplayId(hwcId), 664 result.appendFormat(" type=%x, hwcId=%d, layerStack=%u, (%4dx%4d), ANativeWindow=%p " 216 DisplayDevice( const sp<SurfaceFlinger>& flinger, DisplayType type, int32_t hwcId, bool isSecure, const wp<IBinder>& displayToken, const sp<ANativeWindow>& nativeWindow, const sp<DisplaySurface>& displaySurface, std::unique_ptr<RE::Surface> renderSurface, int displayWidth, int displayHeight, bool hasWideColorGamut, const HdrCapabilities& hdrCapabilities, const int32_t supportedPerFrameMetadata, const std::unordered_map<ColorMode, std::vector<RenderIntent>>& hwcColorModes, int initialPowerMode) argument
|
H A D | SurfaceFlinger.h | 689 sp<DisplayDevice> setupNewDisplayDeviceInternal(const wp<IBinder>& display, int hwcId, 741 LayersProto dumpVisibleLayersProtoInfo(int32_t hwcId) const;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | TestableSurfaceFlinger.h | 71 auto setupNewDisplayDeviceInternal(const wp<IBinder>& display, int hwcId, argument 75 return mFlinger->setupNewDisplayDeviceInternal(display, hwcId, state, dispSurface, 256 int hwcId) 257 : mFlinger(flinger), mType(type), mHwcId(hwcId) {} 255 FakeDisplayDeviceInjector(TestableSurfaceFlinger& flinger, DisplayDevice::DisplayType type, int hwcId) argument
|
H A D | DisplayTransactionTest.cpp | 237 template <DisplayDevice::DisplayType type, DisplayDevice::DisplayType hwcId, int width, int height, 248 static constexpr DisplayDevice::DisplayType HWCOMPOSER_ID = hwcId;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 698 auto hwcId = displayData.hwcDisplay->getId(); local 699 mHwcDisplaySlots.erase(hwcId); 702 mHwcDevice->destroyDisplay(hwcId);
|