[Mesa-dev] [PATCH] gallium: remove forward declarations of non-existent objects

Keith Whitwell keithw at vmware.com
Fri May 14 10:19:20 PDT 2010


Looks good to me...

Keith

On Fri, 2010-05-14 at 10:04 -0700, Marek Olšák wrote:
> ---
>  src/gallium/drivers/svga/svga_swtnl.h        |    1 -
>  src/gallium/drivers/trace/tr_dump.h          |    1 -
>  src/gallium/include/pipe/p_screen.h          |    1 -
>  src/gallium/include/state_tracker/dri1_api.h |    1 -
>  src/gallium/include/state_tracker/drm_api.h  |    1 -
>  5 files changed, 0 insertions(+), 5 deletions(-)
> 
> diff --git a/src/gallium/drivers/svga/svga_swtnl.h b/src/gallium/drivers/svga/svga_swtnl.h
> index 8724690..65c675f 100644
> --- a/src/gallium/drivers/svga/svga_swtnl.h
> +++ b/src/gallium/drivers/svga/svga_swtnl.h
> @@ -30,7 +30,6 @@
>  
>  struct svga_context;
>  struct pipe_context;
> -struct pipe_buffer;
>  struct vbuf_render;
>  
> 
> diff --git a/src/gallium/drivers/trace/tr_dump.h b/src/gallium/drivers/trace/tr_dump.h
> index f21f72b..74c5e83 100644
> --- a/src/gallium/drivers/trace/tr_dump.h
> +++ b/src/gallium/drivers/trace/tr_dump.h
> @@ -37,7 +37,6 @@
>  #include "pipe/p_compiler.h"
>  #include "pipe/p_format.h"
>  
> -struct pipe_buffer;
>  struct pipe_resource;
>  struct pipe_surface;
>  struct pipe_transfer;
> diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
> index 7195dc0..0d9de48 100644
> --- a/src/gallium/include/pipe/p_screen.h
> +++ b/src/gallium/include/pipe/p_screen.h
> @@ -54,7 +54,6 @@ struct winsys_handle;
>  /** Opaque type */
>  struct pipe_fence_handle;
>  struct pipe_winsys;
> -struct pipe_texture;
>  struct pipe_resource;
>  struct pipe_surface;
>  struct pipe_transfer;
> diff --git a/src/gallium/include/state_tracker/dri1_api.h b/src/gallium/include/state_tracker/dri1_api.h
> index a48c5de..0d702d9 100644
> --- a/src/gallium/include/state_tracker/dri1_api.h
> +++ b/src/gallium/include/state_tracker/dri1_api.h
> @@ -9,7 +9,6 @@
>  
>  struct pipe_screen;
>  struct pipe_winsys;
> -struct pipe_buffer;
>  struct pipe_context;
>  struct pipe_resource;
>  
> diff --git a/src/gallium/include/state_tracker/drm_api.h b/src/gallium/include/state_tracker/drm_api.h
> index 3d8fdd8..8fd0995 100644
> --- a/src/gallium/include/state_tracker/drm_api.h
> +++ b/src/gallium/include/state_tracker/drm_api.h
> @@ -6,7 +6,6 @@
>  
>  struct pipe_screen;
>  struct pipe_winsys;
> -struct pipe_buffer;
>  struct pipe_context;
>  struct pipe_resource;
>  




More information about the mesa-dev mailing list