Lines Matching refs:hwc1Id
818 uint32_t hwc1Id = 0; in setActiveConfig() local
819 auto error = config->getHwc1IdForColorMode(mActiveColorMode, &hwc1Id); in setActiveConfig()
825 mHwc1Id, static_cast<int>(hwc1Id)); in setActiveConfig()
1251 for (size_t hwc1Id = 0; hwc1Id < numLayers; ++hwc1Id) { in generateChanges() local
1252 const auto& receivedLayer = mHwc1RequestedContents->hwLayers[hwc1Id]; in generateChanges()
1253 if (mHwc1LayerMap.count(hwc1Id) == 0) { in generateChanges()
1257 hwc1Id); in generateChanges()
1261 Layer& layer = *mHwc1LayerMap[hwc1Id]; in generateChanges()
1318 for (size_t hwc1Id = 0; hwc1Id < numLayers; ++hwc1Id) { in addReleaseFences() local
1319 const auto& receivedLayer = hwcContents.hwLayers[hwc1Id]; in addReleaseFences()
1320 if (mHwc1LayerMap.count(hwc1Id) == 0) { in addReleaseFences()
1324 " target", hwc1Id); in addReleaseFences()
1334 Layer& layer = *mHwc1LayerMap[hwc1Id]; in addReleaseFences()
1703 uint32_t hwc1Id = id.second; in toString() local
1706 writtenBytes = snprintf(buffer, BUFFER_SIZE, " [%u/%d]", hwc1Id, in toString()
1709 writtenBytes = snprintf(buffer, BUFFER_SIZE, " %u/%d", hwc1Id, in toString()
2392 for (size_t hwc1Id = 0; hwc1Id < mHwc1Contents.size(); ++hwc1Id) { in prepareAllDisplays() local
2393 if (mHwc1Contents[hwc1Id] == nullptr) { in prepareAllDisplays()
2397 auto displayId = mHwc1DisplayMap[hwc1Id]; in prepareAllDisplays()
2488 for (size_t hwc1Id = 0; hwc1Id < mHwc1Contents.size(); ++hwc1Id) { in setAllDisplays() local
2489 if (mHwc1Contents[hwc1Id] == nullptr) { in setAllDisplays()
2493 auto displayId = mHwc1DisplayMap[hwc1Id]; in setAllDisplays()
2495 Error error = display->set(*mHwc1Contents[hwc1Id]); in setAllDisplays()
2497 ALOGE("setAllDisplays: Failed to set display %zd: %s", hwc1Id, in setAllDisplays()
2512 for (size_t hwc1Id = 0; hwc1Id < mHwc1Contents.size(); ++hwc1Id) { in setAllDisplays() local
2513 if (mHwc1Contents[hwc1Id] == nullptr) { in setAllDisplays()
2517 auto displayId = mHwc1DisplayMap[hwc1Id]; in setAllDisplays()
2519 auto retireFenceFd = mHwc1Contents[hwc1Id]->retireFenceFd; in setAllDisplays()
2521 retireFenceFd, hwc1Id); in setAllDisplays()
2522 display->addRetireFence(mHwc1Contents[hwc1Id]->retireFenceFd); in setAllDisplays()
2523 display->addReleaseFences(*mHwc1Contents[hwc1Id]); in setAllDisplays()