diff options
author | Emil Velikov <[email protected]> | 2014-02-14 23:34:47 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-08-15 17:35:37 +0100 |
commit | 76f07362ea411fd6ef29b34df3885def5137bcba (patch) | |
tree | e88e92db3db79fe6b4417d236507783111564b22 /src/mesa/drivers/dri/nouveau/nouveau_driver.h | |
parent | 87d3ae0b45b6b6bb50b583dafa55eb109449a005 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_driver.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_driver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_driver.h b/src/mesa/drivers/dri/nouveau/nouveau_driver.h index 8b46e51cbaf..a4273a554bd 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_driver.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.h @@ -69,6 +69,11 @@ struct nouveau_driver { #define nouveau_error(format, ...) \ fprintf(stderr, "%s: " format, __func__, ## __VA_ARGS__) +extern const char const *nouveau_vendor_string; + +const char * +nouveau_get_renderer_string(unsigned chipset); + void nouveau_clear(struct gl_context *ctx, GLbitfield buffers); |