diff options
author | Marek Olšák <[email protected]> | 2012-02-17 01:49:49 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-21 21:09:16 +0100 |
commit | 96d882939d612fcc8332f107befec470ed4359de (patch) | |
tree | 1cb90df7f1fbd22a44e466a8b0f6d4d25ba04c34 /src/gallium/include | |
parent | f33d100fa71cecfb163dd91cd56b9a2788a43c22 (diff) |
gallium: remove unused winsys pointers in pipe_screen and pipe_context
A winsys is already a private object of a driver.
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 1 | ||||
-rw-r--r-- | src/gallium/include/pipe/p_screen.h | 3 | ||||
-rw-r--r-- | src/gallium/include/state_tracker/drm_driver.h | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 4c58ed049e9..aaeeb81851b 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -72,7 +72,6 @@ union pipe_color_union; * - surface functions */ struct pipe_context { - struct pipe_winsys *winsys; struct pipe_screen *screen; void *priv; /**< context private data (for DRI for example) */ diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index 70d41357898..45c441b2fcf 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -54,7 +54,6 @@ extern "C" { struct winsys_handle; /** Opaque type */ struct pipe_fence_handle; -struct pipe_winsys; struct pipe_resource; struct pipe_surface; struct pipe_transfer; @@ -66,8 +65,6 @@ struct pipe_transfer; * context. */ struct pipe_screen { - struct pipe_winsys *winsys; - void (*destroy)( struct pipe_screen * ); diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h index 2df28599fe8..f9bd2220e98 100644 --- a/src/gallium/include/state_tracker/drm_driver.h +++ b/src/gallium/include/state_tracker/drm_driver.h @@ -5,7 +5,6 @@ #include "pipe/p_compiler.h" struct pipe_screen; -struct pipe_winsys; struct pipe_context; struct pipe_resource; |