diff options
author | Chia-I Wu <[email protected]> | 2010-01-02 22:06:42 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-12 10:55:36 +0800 |
commit | 6dafd61ab278f23ecfebac7ef647610875abd2db (patch) | |
tree | 6b443e2f562847c826d0839b34ae178d59bd650a /src/gallium/winsys/drm/vmware | |
parent | 39790cab1349fbf69b61711c46eeef7ded6ae13a (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/winsys/drm/vmware')
-rw-r--r-- | src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c b/src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c index 5995eee34ba..4f5ccea4677 100644 --- a/src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c +++ b/src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c @@ -358,6 +358,7 @@ static struct dri1_api dri1_api_hooks = { }; static struct drm_api vmw_drm_api_hooks = { + .name = "vmwgfx", .create_screen = vmw_drm_create_screen, .create_context = vmw_drm_create_context, .texture_from_shared_handle = vmw_drm_texture_from_handle, |