From 64849d1236e33b3325e00167c97119af52990ad8 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 1 Jul 2009 01:16:56 +0200 Subject: drm/st: Remove drm_api struct from drivers Remove the drm_api from the functions in the softpipe and i915simple drivers. Create wrapper functions in the backends instead. --- src/gallium/drivers/softpipe/sp_winsys.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/softpipe/sp_winsys.h') diff --git a/src/gallium/drivers/softpipe/sp_winsys.h b/src/gallium/drivers/softpipe/sp_winsys.h index 3edcbeb558..9e571862b7 100644 --- a/src/gallium/drivers/softpipe/sp_winsys.h +++ b/src/gallium/drivers/softpipe/sp_winsys.h @@ -39,7 +39,7 @@ extern "C" { #endif -struct drm_api; + struct pipe_screen; struct pipe_winsys; struct pipe_context; @@ -53,8 +53,7 @@ softpipe_create_screen(struct pipe_winsys *); boolean -softpipe_get_texture_buffer( struct drm_api *api, - struct pipe_texture *texture, +softpipe_get_texture_buffer( struct pipe_texture *texture, struct pipe_buffer **buf, unsigned *stride ); -- cgit v1.2.3