Home
last modified time | relevance | path

Searched refs:gpu_mode (Results 1 – 9 of 9) sorted by relevance

/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_manager.cpp71 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 …]
Dqemu_manager.cpp126 auto gpu_mode = instance.gpu_mode(); in ConfigureGraphics() local
127 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 …]
Dgem5_manager.cpp224 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()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dgraphics_flags.cc301 Result<bool> SelectGpuVhostUserMode(const std::string& gpu_mode, in SelectGpuVhostUserMode() argument
308 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() argument
455 CF_EXPECT(gpu_mode != kGpuModeGfxstreamGuestAngle, in SetGfxstreamFlags()
461 if (gpu_mode == kGpuModeGfxstreamGuestAngleHostSwiftShader) { in SetGfxstreamFlags()
502 std::string gpu_mode = gpu_mode_arg; in ConfigureGpuSettings() local
503 if (gpu_mode == kGpuModeAuto) { in ConfigureGpuSettings()
504 gpu_mode = kGpuModeGuestSwiftshader; in ConfigureGpuSettings()
[all …]
Dflags.cc137 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() local
1600 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()
/device/google/cuttlefish/host/frontend/webrtc/
Dmain.cpp243 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()
/device/google/cuttlefish/host/commands/run_cvd/launch/
Dstreamer.cpp130 bool is_accelerated = instance_.gpu_mode() != kGpuModeGuestSwiftshader; in Enabled()
/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.h620 std::string gpu_mode() const;
Dcuttlefish_config_instance.cpp724 std::string CuttlefishConfig::InstanceSpecific::gpu_mode() const { in gpu_mode() function in cuttlefish::CuttlefishConfig::InstanceSpecific