Home
last modified time | relevance | path

Searched refs:mHwcLayers (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayer.cpp223 LOG_ALWAYS_FATAL_IF(getBE().mHwcLayers.count(hwcId) != 0, in createHwcLayer()
229 LayerBE::HWCInfo& hwcInfo = getBE().mHwcLayers[hwcId]; in createHwcLayer()
233 [this, hwcId](HWC2::Layer* /*layer*/) { getBE().mHwcLayers.erase(hwcId); }); in createHwcLayer()
238 if (getBE().mHwcLayers.count(hwcId) == 0) { in destroyHwcLayer()
241 auto& hwcInfo = getBE().mHwcLayers[hwcId]; in destroyHwcLayer()
247 LOG_ALWAYS_FATAL_IF(getBE().mHwcLayers.count(hwcId) != 0, in destroyHwcLayer()
253 size_t numLayers = getBE().mHwcLayers.size(); in destroyAllHwcLayers()
255 LOG_ALWAYS_FATAL_IF(getBE().mHwcLayers.empty(), "destroyAllHwcLayers failed"); in destroyAllHwcLayers()
256 destroyHwcLayer(getBE().mHwcLayers.begin()->first); in destroyAllHwcLayers()
258 LOG_ALWAYS_FATAL_IF(!getBE().mHwcLayers.empty(), in destroyAllHwcLayers()
[all …]
DLayer.h136 std::unordered_map<int32_t, HWCInfo> mHwcLayers; variable
515 return getBE().mHwcLayers.count(hwcId) > 0; in hasHwcLayer()
519 if (getBE().mHwcLayers.count(hwcId) == 0) { in getHwcLayer()
522 return getBE().mHwcLayers[hwcId].layer; in getHwcLayer()
DColorLayer.cpp69 auto& hwcInfo = getBE().mHwcLayers[hwcId]; in setPerFrameData()
DBufferLayer.cpp80 if (!getBE().mHwcLayers.empty()) { in ~BufferLayer()
625 auto& hwcInfo = getBE().mHwcLayers[hwcId]; in setPerFrameData()
DSurfaceFlinger.cpp4156 if (!layer->visibleRegion.isEmpty() && layer->getBE().mHwcLayers.count(hwcId)) { in dumpVisibleLayersProtoInfo()