Lines Matching refs:hwc1Id
865 uint32_t hwc1Id = 0; in setActiveConfig() local
866 auto error = config->getHwc1IdForColorMode(mActiveColorMode, &hwc1Id); in setActiveConfig()
872 mHwc1Id, static_cast<int>(hwc1Id)); in setActiveConfig()
1338 for (size_t hwc1Id = 0; hwc1Id < numLayers; ++hwc1Id) { in setReceivedContents() local
1339 const auto& receivedLayer = mHwc1ReceivedContents->hwLayers[hwc1Id]; in setReceivedContents()
1340 if (mHwc1LayerMap.count(hwc1Id) == 0) { in setReceivedContents()
1344 hwc1Id); in setReceivedContents()
1348 Layer& layer = *mHwc1LayerMap[hwc1Id]; in setReceivedContents()
1409 for (size_t hwc1Id = 0; hwc1Id < numLayers; ++hwc1Id) { in addReleaseFences() local
1410 const auto& receivedLayer = hwcContents.hwLayers[hwc1Id]; in addReleaseFences()
1411 if (mHwc1LayerMap.count(hwc1Id) == 0) { in addReleaseFences()
1415 " target", hwc1Id); in addReleaseFences()
1425 Layer& layer = *mHwc1LayerMap[hwc1Id]; in addReleaseFences()
1796 uint32_t hwc1Id = id.second; in toString() local
1799 writtenBytes = snprintf(buffer, BUFFER_SIZE, " [%u/%d]", hwc1Id, in toString()
1802 writtenBytes = snprintf(buffer, BUFFER_SIZE, " %u/%d", hwc1Id, in toString()
2494 for (size_t hwc1Id = 0; hwc1Id < mHwc1Contents.size(); ++hwc1Id) { in prepareAllDisplays() local
2495 if (mHwc1Contents[hwc1Id] == nullptr) { in prepareAllDisplays()
2499 auto displayId = mHwc1DisplayMap[hwc1Id]; in prepareAllDisplays()
2501 display->setReceivedContents(std::move(requestedContents[hwc1Id])); in prepareAllDisplays()
2514 for (size_t hwc1Id = 0; hwc1Id < mHwc1Contents.size(); ++hwc1Id) { in setAllDisplays() local
2515 if (mHwc1Contents[hwc1Id] == nullptr) { in setAllDisplays()
2519 auto displayId = mHwc1DisplayMap[hwc1Id]; in setAllDisplays()
2521 Error error = display->set(*mHwc1Contents[hwc1Id]); in setAllDisplays()
2523 ALOGE("setAllDisplays: Failed to set display %zd: %s", hwc1Id, in setAllDisplays()
2537 for (size_t hwc1Id = 0; hwc1Id < mHwc1Contents.size(); ++hwc1Id) { in setAllDisplays() local
2538 if (mHwc1Contents[hwc1Id] == nullptr) { in setAllDisplays()
2542 auto displayId = mHwc1DisplayMap[hwc1Id]; in setAllDisplays()
2544 auto retireFenceFd = mHwc1Contents[hwc1Id]->retireFenceFd; in setAllDisplays()
2546 retireFenceFd, hwc1Id); in setAllDisplays()
2547 display->addRetireFence(mHwc1Contents[hwc1Id]->retireFenceFd); in setAllDisplays()
2548 display->addReleaseFences(*mHwc1Contents[hwc1Id]); in setAllDisplays()