diff options
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/state_tracker/drm_api.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gallium/include/state_tracker/drm_api.h b/src/gallium/include/state_tracker/drm_api.h index 8fd0995444d..4572c7e0423 100644 --- a/src/gallium/include/state_tracker/drm_api.h +++ b/src/gallium/include/state_tracker/drm_api.h @@ -9,13 +9,6 @@ struct pipe_winsys; struct pipe_context; struct pipe_resource; -enum drm_create_screen_mode { - DRM_CREATE_NORMAL = 0, - DRM_CREATE_DRI1, - DRM_CREATE_DRIVER = 1024, - DRM_CREATE_MAX -}; - #define DRM_API_HANDLE_TYPE_SHARED 0 #define DRM_API_HANDLE_TYPE_KMS 1 @@ -42,15 +35,6 @@ struct winsys_handle unsigned stride; }; -/** - * Modes other than DRM_CREATE_NORMAL derive from this struct. - */ -/*@{*/ -struct drm_create_screen_arg { - enum drm_create_screen_mode mode; -}; -/*@}*/ - struct drm_api { void (*destroy)(struct drm_api *api); @@ -65,8 +49,7 @@ struct drm_api /** * Create a pipe srcreen. */ - struct pipe_screen* (*create_screen)(struct drm_api *api, int drm_fd, - struct drm_create_screen_arg *arg); + struct pipe_screen* (*create_screen)(struct drm_api *api, int drm_fd); }; extern struct drm_api * drm_api_create(void); |