Searched refs:gpu_mode (Results 1 – 9 of 9) sorted by relevance
71 if (instance.gpu_mode() == kGpuModeGuestSwiftshader) { in ConfigureGraphics()83 } else if (instance.gpu_mode() == kGpuModeDrmVirgl) { in ConfigureGraphics()96 } else if (instance.gpu_mode() == kGpuModeGfxstream || in ConfigureGraphics()97 instance.gpu_mode() == kGpuModeGfxstreamGuestAngle || in ConfigureGraphics()98 instance.gpu_mode() == in ConfigureGraphics()101 instance.gpu_mode() == kGpuModeGfxstreamGuestAngle || in ConfigureGraphics()102 instance.gpu_mode() == kGpuModeGfxstreamGuestAngleHostSwiftShader; in ConfigureGraphics()124 } else if (instance.gpu_mode() == kGpuModeCustom) { in ConfigureGraphics()137 } else if (instance.gpu_mode() == kGpuModeNone) { in ConfigureGraphics()140 return CF_ERR("Unknown GPU mode " << instance.gpu_mode()); in ConfigureGraphics()[all …]
126 auto gpu_mode = instance.gpu_mode(); in ConfigureGraphics() local127 if (gpu_mode == kGpuModeGuestSwiftshader) { in ConfigureGraphics()140 } else if (gpu_mode == kGpuModeDrmVirgl) { in ConfigureGraphics()154 } else if (gpu_mode == kGpuModeGfxstream || in ConfigureGraphics()155 gpu_mode == kGpuModeGfxstreamGuestAngle || in ConfigureGraphics()156 gpu_mode == kGpuModeGfxstreamGuestAngleHostSwiftShader) { in ConfigureGraphics()158 gpu_mode == kGpuModeGfxstreamGuestAngle || in ConfigureGraphics()159 gpu_mode == kGpuModeGfxstreamGuestAngleHostSwiftShader; in ConfigureGraphics()176 } else if (instance.gpu_mode() == kGpuModeNone) { in ConfigureGraphics()179 return CF_ERR("Unhandled GPU mode: " << instance.gpu_mode()); in ConfigureGraphics()[all …]
224 if (instance.gpu_mode() == kGpuModeGuestSwiftshader) { in ConfigureGraphics()238 } else if (instance.gpu_mode() == kGpuModeGfxstream) { in ConfigureGraphics()252 } else if (instance.gpu_mode() == kGpuModeNone) { in ConfigureGraphics()255 return CF_ERR("Unknown GPU mode " << instance.gpu_mode()); in ConfigureGraphics()
301 Result<bool> SelectGpuVhostUserMode(const std::string& gpu_mode, in SelectGpuVhostUserMode() argument308 if (gpu_mode == kGpuModeGuestSwiftshader || in SelectGpuVhostUserMode()309 gpu_mode == kGpuModeGfxstreamGuestAngleHostSwiftShader) { in SelectGpuVhostUserMode()311 << gpu_mode << ". Not enabling vhost user gpu."; in SelectGpuVhostUserMode()436 const std::string& gpu_mode, const std::string& gpu_renderer_features_arg, in SetGfxstreamFlags() argument455 CF_EXPECT(gpu_mode != kGpuModeGfxstreamGuestAngle, in SetGfxstreamFlags()461 if (gpu_mode == kGpuModeGfxstreamGuestAngleHostSwiftShader) { in SetGfxstreamFlags()502 std::string gpu_mode = gpu_mode_arg; in ConfigureGpuSettings() local503 if (gpu_mode == kGpuModeAuto) { in ConfigureGpuSettings()504 gpu_mode = kGpuModeGuestSwiftshader; in ConfigureGpuSettings()[all …]
137 DEFINE_vec(gpu_mode, CF_DEFAULTS_GPU_MODE,1178 CF_EXPECT(GET_FLAG_STR_VALUE(gpu_mode)); in InitializeCuttlefishConfiguration()1590 const std::string gpu_mode = CF_EXPECT(ConfigureGpuSettings( in InitializeCuttlefishConfiguration() local1600 CF_EXPECT(gpu_mode == kGpuModeGfxstream || in InitializeCuttlefishConfiguration()1601 gpu_mode == kGpuModeGfxstreamGuestAngle, in InitializeCuttlefishConfiguration()1613 CF_EXPECT(gpu_mode != kGpuModeDrmVirgl, in InitializeCuttlefishConfiguration()1619 if (gpu_mode == kGpuModeDrmVirgl) { in InitializeCuttlefishConfiguration()1621 } else if (gpu_mode == kGpuModeNone) { in InitializeCuttlefishConfiguration()1652 if (gpu_mode != kGpuModeGuestSwiftshader) { in InitializeCuttlefishConfiguration()1889 CF_EXPECT(GET_FLAG_STR_VALUE(gpu_mode)); in SetDefaultFlagsForQemu()
243 if (instance.gpu_mode() == cuttlefish::kGpuModeGuestSwiftshader) { in main()245 } else if (instance.gpu_mode() == cuttlefish::kGpuModeDrmVirgl) { in main()248 } else if (instance.gpu_mode() == cuttlefish::kGpuModeGfxstream) { in main()251 } else if (instance.gpu_mode() == cuttlefish::kGpuModeGfxstreamGuestAngle) { in main()255 user_friendly_gpu_mode = instance.gpu_mode(); in main()
130 bool is_accelerated = instance_.gpu_mode() != kGpuModeGuestSwiftshader; in Enabled()
620 std::string gpu_mode() const;
724 std::string CuttlefishConfig::InstanceSpecific::gpu_mode() const { in gpu_mode() function in cuttlefish::CuttlefishConfig::InstanceSpecific