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

/frameworks/native/services/surfaceflinger/
H A DLayer.h321 void forceClientComposition(int32_t hwcId);
326 void setCompositionType(int32_t hwcId, HWC2::Composition type,
328 HWC2::Composition getCompositionType(int32_t hwcId) const;
330 void setClearClientTarget(int32_t hwcId, bool clear);
331 bool getClearClientTarget(int32_t hwcId) const;
453 bool createHwcLayer(HWComposer* hwc, int32_t hwcId);
454 void destroyHwcLayer(int32_t hwcId);
457 bool hasHwcLayer(int32_t hwcId) { argument
458 return mHwcLayers.count(hwcId) > 0;
461 HWC2::Layer* getHwcLayer(int32_t hwcId) { argument
[all...]
H A DLayer.cpp382 bool Layer::createHwcLayer(HWComposer* hwc, int32_t hwcId) { argument
383 LOG_ALWAYS_FATAL_IF(mHwcLayers.count(hwcId) != 0,
384 "Already have a layer for hwcId %d", hwcId);
385 HWC2::Layer* layer = hwc->createLayer(hwcId);
389 HWCInfo& hwcInfo = mHwcLayers[hwcId];
393 [this, hwcId] (HWC2::Layer* /*layer*/){mHwcLayers.erase(hwcId);});
397 void Layer::destroyHwcLayer(int32_t hwcId) { argument
398 if (mHwcLayers.count(hwcId)
649 const auto hwcId = displayDevice->getHwcDisplayId(); local
849 forceClientComposition(int32_t hwcId) argument
864 auto hwcId = displayDevice->getHwcDisplayId(); local
981 auto hwcId = displayDevice->getHwcDisplayId(); local
1265 setCompositionType(int32_t hwcId, HWC2::Composition type, bool callIntoHwc) argument
1301 setClearClientTarget(int32_t hwcId, bool clear) argument
[all...]
H A DSurfaceFlinger.cpp1867 const auto hwcId = displayDevice->getHwcDisplayId(); local
1868 if (hwcId >= 0) {
1873 if (!layer->hasHwcLayer(hwcId)) {
1874 if (!layer->createHwcLayer(mHwc.get(), hwcId)) {
1875 layer->forceClientComposition(hwcId);
1882 layer->forceClientComposition(hwcId);
1895 const auto hwcId = displayDevice->getHwcDisplayId(); local
1897 if (hwcId < 0) {
1901 status_t result = mHwc->setColorTransform(hwcId, colorMatrix);
1974 const auto hwcId local
2147 int32_t hwcId = -1; local
2610 const auto hwcId = displayDevice->getHwcDisplayId(); local
3675 int32_t hwcId = displayDevice->getHwcDisplayId(); local
3830 int32_t hwcId = displayDevice->getHwcDisplayId(); local
[all...]
H A DDisplayDevice.h90 int32_t hwcId,
H A DDisplayDevice.cpp87 int32_t hwcId,
100 mHwcDisplayId(hwcId),
626 result.appendFormat(" type=%x, hwcId=%d, layerStack=%u, (%4dx%4d), ANativeWindow=%p "
84 DisplayDevice( const sp<SurfaceFlinger>& flinger, DisplayType type, int32_t hwcId, int format, bool isSecure, const wp<IBinder>& displayToken, const sp<DisplaySurface>& displaySurface, const sp<IGraphicBufferProducer>& producer, EGLConfig config, bool supportWideColor) argument
H A DSurfaceFlinger_hwc1.cpp566 int32_t hwcId = allocateHwcDisplayId(type); local
568 type, hwcId, mHwc->getFormat(hwcId), isSecure, token,
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp770 auto hwcId = displayData.hwcDisplay->getId(); local
771 mHwcDisplaySlots.erase(hwcId);
774 mHwcDevice->destroyDisplay(hwcId);

Completed in 434 milliseconds