Home
last modified time | relevance | path

Searched refs:newConfig (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp1293 auto newConfig = std::make_shared<Config>(*this); in populatePrimaryConfigs() local
1295 newConfig->setAttribute(Attribute::VsyncPeriod, mVsyncPeriod); in populatePrimaryConfigs()
1296 newConfig->setAttribute(Attribute::Width, width); in populatePrimaryConfigs()
1297 newConfig->setAttribute(Attribute::Height, height); in populatePrimaryConfigs()
1298 newConfig->setAttribute(Attribute::DpiX, dpiX * 1000); in populatePrimaryConfigs()
1299 newConfig->setAttribute(Attribute::DpiY, dpiY * 1000); in populatePrimaryConfigs()
1301 newConfig->setId(static_cast<hwc2_config_t>(mConfigs.size())); in populatePrimaryConfigs()
1302 ALOGV("Found new config %d: %s", (uint32_t)newConfig->getId(), in populatePrimaryConfigs()
1303 newConfig->toString().c_str()); in populatePrimaryConfigs()
1304 mConfigs.emplace_back(std::move(newConfig)); in populatePrimaryConfigs()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp1285 auto newConfig = std::make_shared<Config>(*this); in populateConfigs() local
1301 newConfig->setAttribute(Attribute::VsyncPeriod, in populateConfigs()
1303 newConfig->setAttribute(Attribute::Width, in populateConfigs()
1305 newConfig->setAttribute(Attribute::Height, in populateConfigs()
1307 newConfig->setAttribute(Attribute::DpiX, in populateConfigs()
1309 newConfig->setAttribute(Attribute::DpiY, in populateConfigs()
1315 newConfig->setAttribute(ColorMode, in populateConfigs()
1320 newConfig->setHwc1Id(hwc1ConfigId); in populateConfigs()
1323 if (existingConfig->merge(*newConfig)) { in populateConfigs()
1327 newConfig.reset(); in populateConfigs()
[all …]