aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-08-15 17:36:34 +0100
committerEmil Velikov <[email protected]>2014-08-15 17:41:34 +0100
commit139751403c56d965d7c22bceddd34387759075a9 (patch)
tree30d769bdcb59faf21fb31914bd40ef471f6f4aae /src/gallium/include/pipe
parent64b1dc44495890cbc2c7c5509cb830264020998c (diff)
gallium: add GLX_MESA_query_renderer caps
Namely vendor/device id, accelerated and UMA, which will be used to describe the underlying renderer. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 53d5d4b00b5..1a31350fe31 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -563,6 +563,11 @@ enum pipe_cap {
PIPE_CAP_MAX_VERTEX_STREAMS = 100,
PIPE_CAP_DRAW_INDIRECT = 101,
PIPE_CAP_TGSI_FS_FINE_DERIVATIVE = 102,
+ PIPE_CAP_VENDOR_ID = 103,
+ PIPE_CAP_DEVICE_ID = 104,
+ PIPE_CAP_ACCELERATED = 105,
+ PIPE_CAP_VIDEO_MEMORY = 106,
+ PIPE_CAP_UMA = 107,
};
#define PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_NV50 (1 << 0)