virgl: Add a fallback to query total video memory
On hosts that support the NVX_GPU_MEMORY_INFO extension, we can query the total GPU memory through GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX.
Signed-off-by: Rohan Garg rohan.garg@collabora.com
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
On hosts that support the NVX_GPU_MEMORY_INFO extension, we can query the total GPU memory through GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX.
Signed-off-by: Rohan Garg rohan.garg@collabora.com