2017-10-05 15:32 GMT+08:00 T.C 吳天健 <
tcwu...@gmail.com>:
> I am not very sure about level of GLES but I have experience most game
> cannot run in qemu VM for the emulated VGA is too old. Also software render
> is useful if Android run on multiple core CPU but no GPU (i.e. server). How
> do I configure to use software renderer?
If no supported GPU is detected,
software renderer will be used automatically.
See /system/etc/init.sh for more details.
One example is VirtualBox.
QEMU is more subtle.
It can emulated several GPUs.
With -vga std or -vga vmware the
software renderer will be used.
With -vga virtio the mesa virgl driver
will be used (host emulated GPU)
But it's not stable in 7.1-rc1.
If you want to use virgl, build the image
from the latest nougat-x86 branch
which has better support of virgl.
Others like cirrus may not work at all.
In any case, check Settings -> About -> OpenGL
to see what renderer is used exactly.
In 7.1-rc1 the software renderer is
"Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)".
But in the coming 7.1-rc2 it's replaced by
Google's SwiftShader.