diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-07-01 01:16:56 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-07-01 01:20:04 +0200 |
commit | 64849d1236e33b3325e00167c97119af52990ad8 (patch) | |
tree | 86822bf884ba54a5f1f4bab6949a764442c54448 /src/gallium/drivers/i915simple/i915_winsys.h | |
parent | 119eb4094256742013224afb7c5704b6254b6296 (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_winsys.h')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_winsys.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915simple/i915_winsys.h b/src/gallium/drivers/i915simple/i915_winsys.h index 58599daa80..ff5b34f193 100644 --- a/src/gallium/drivers/i915simple/i915_winsys.h +++ b/src/gallium/drivers/i915simple/i915_winsys.h @@ -61,7 +61,6 @@ struct pipe_buffer; struct pipe_fence_handle; struct pipe_winsys; struct pipe_screen; -struct drm_api; /** @@ -133,8 +132,7 @@ struct pipe_context *i915_create_context( struct pipe_screen *screen, * * This is needed for example kms. */ -boolean i915_get_texture_buffer( struct drm_api *api, - struct pipe_texture *texture, +boolean i915_get_texture_buffer( struct pipe_texture *texture, struct pipe_buffer **buf, unsigned *stride ); |