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
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