dri/nouveau: add GLX_MESA_query_renderer support
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Feb 2014 23:34:47 +0000 (23:34 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Aug 2014 16:35:37 +0000 (17:35 +0100)
commit76f07362ea411fd6ef29b34df3885def5137bcba
treee88e92db3db79fe6b4417d236507783111564b22
parent87d3ae0b45b6b6bb50b583dafa55eb109449a005
dri/nouveau: add GLX_MESA_query_renderer support

 - Create nouveau_{vendor,get_renderer}_string helpers.
 - Set correct max_gl*version.
 - Query the device PCIID via libdrm_nouveau/nouveau_getparam.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/drivers/dri/nouveau/nouveau_driver.c
src/mesa/drivers/dri/nouveau/nouveau_driver.h
src/mesa/drivers/dri/nouveau/nouveau_screen.c