Home
last modified time | relevance | path

Searched refs:hwcId (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayer.h234 void forceClientComposition(int32_t hwcId);
239 void setCompositionType(int32_t hwcId, HWC2::Composition type,
241 HWC2::Composition getCompositionType(int32_t hwcId) const;
243 void setClearClientTarget(int32_t hwcId, bool clear);
244 bool getClearClientTarget(int32_t hwcId) const;
356 bool hasHwcLayer(int32_t hwcId) { in hasHwcLayer() argument
357 if (mHwcLayers.count(hwcId) == 0) { in hasHwcLayer()
360 if (mHwcLayers[hwcId].layer->isAbandoned()) { in hasHwcLayer()
361 ALOGI("Erasing abandoned layer %s on %d", mName.string(), hwcId); in hasHwcLayer()
362 mHwcLayers.erase(hwcId); in hasHwcLayer()
[all …]
DLayer.cpp504 const auto hwcId = displayDevice->getHwcDisplayId(); local
505 auto& hwcInfo = mHwcLayers[hwcId];
675 void Layer::forceClientComposition(int32_t hwcId) { argument
676 if (mHwcLayers.count(hwcId) == 0) {
677 ALOGE("forceClientComposition: no HWC layer found (%d)", hwcId);
681 mHwcLayers[hwcId].forceClientComposition = true;
692 auto hwcId = displayDevice->getHwcDisplayId(); local
693 auto& hwcLayer = mHwcLayers[hwcId].layer;
710 setCompositionType(hwcId, HWC2::Composition::Sideband);
723 mHwcLayers[hwcId].forceClientComposition) {
[all …]
DSurfaceFlinger.cpp1198 const auto hwcId = displayDevice->getHwcDisplayId(); in setUpHWComposer() local
1199 if (hwcId >= 0) { in setUpHWComposer()
1204 if (!layer->hasHwcLayer(hwcId)) { in setUpHWComposer()
1205 auto hwcLayer = mHwc->createLayer(hwcId); in setUpHWComposer()
1207 layer->setHwcLayer(hwcId, std::move(hwcLayer)); in setUpHWComposer()
1209 layer->forceClientComposition(hwcId); in setUpHWComposer()
1218 layer->forceClientComposition(hwcId); in setUpHWComposer()
1228 const auto hwcId = displayDevice->getHwcDisplayId(); in setUpHWComposer() local
1229 if (hwcId < 0) { in setUpHWComposer()
1276 const auto hwcId = displayDevice->getHwcDisplayId(); in postFramebuffer() local
[all …]
DDisplayDevice.h89 int32_t hwcId,
DDisplayDevice.cpp76 int32_t hwcId, in DisplayDevice() argument
88 mHwcDisplayId(hwcId), in DisplayDevice()
DSurfaceFlinger_hwc1.cpp496 int32_t hwcId = allocateHwcDisplayId(type); in init() local
498 type, hwcId, mHwc->getFormat(hwcId), isSecure, token, in init()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp693 auto hwcId = displayData.hwcDisplay->getId(); in disconnectDisplay() local
694 mHwcDisplaySlots.erase(hwcId); in disconnectDisplay()