summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-02 22:06:42 +0800
committerChia-I Wu <[email protected]>2010-01-12 10:55:36 +0800
commit6dafd61ab278f23ecfebac7ef647610875abd2db (patch)
tree6b443e2f562847c826d0839b34ae178d59bd650a /src/gallium/include
parent39790cab1349fbf69b61711c46eeef7ded6ae13a (diff)
winsys/drm: Add name field to drm_api.
The name can be used for driver selection. It has the same name as the DRI driver does right now. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/drm_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/drm_api.h b/src/gallium/include/state_tracker/drm_api.h
index 4d1259e1ee7..bb928928c90 100644
--- a/src/gallium/include/state_tracker/drm_api.h
+++ b/src/gallium/include/state_tracker/drm_api.h
@@ -28,6 +28,8 @@ struct drm_create_screen_arg {
struct drm_api
{
+ const char *name;
+
/**
* Special buffer functions
*/