Update virglrenderer to use GLES instead of GL
... when running with --gpu_mode=drm_virgl to test out running on
chromebooks which do not have GL libs.
Bug: b/147316364
Test: m && launch_cvd
Test: m && launch_cvd --gpu_mode=drm_virgl
Change-Id: I8f470fc5c00ab9f29631997c6cceed0e78ca22f2
diff --git a/host/libs/vm_manager/crosvm_manager.cpp b/host/libs/vm_manager/crosvm_manager.cpp
index 7cc1f14..6c8912e 100644
--- a/host/libs/vm_manager/crosvm_manager.cpp
+++ b/host/libs/vm_manager/crosvm_manager.cpp
@@ -125,7 +125,7 @@
"--gpu=gfxstream," : "--gpu=",
"width=", config_->x_res(), ",",
"height=", config_->y_res(), ",",
- "egl=true,surfaceless=true,glx=false,gles=false");
+ "egl=true,surfaceless=true,glx=false,gles=true");
crosvm_cmd.AddParameter("--wayland-sock=", instance.frames_socket_path());
}
if (!config_->final_ramdisk_path().empty()) {