[PATCH] glamor: Make glamor_purge_fbo static

Alex Deucher alexdeucher at gmail.com
Tue Dec 30 19:53:50 PST 2014


On Tue, Dec 23, 2014 at 9:46 PM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Only called from glamor_fbo.c now.
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  glamor/glamor_fbo.c  | 2 +-
>  glamor/glamor_priv.h | 1 -
>  2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
> index d2aabb2..8d73e47 100644
> --- a/glamor/glamor_fbo.c
> +++ b/glamor/glamor_fbo.c
> @@ -126,7 +126,7 @@ glamor_pixmap_fbo_cache_get(glamor_screen_private *glamor_priv,
>  #endif
>  }
>
> -void
> +static void
>  glamor_purge_fbo(glamor_pixmap_fbo *fbo)
>  {
>      glamor_make_current(fbo->glamor_priv);
> diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
> index ffd327e..f699497 100644
> --- a/glamor/glamor_priv.h
> +++ b/glamor/glamor_priv.h
> @@ -653,7 +653,6 @@ glamor_pixmap_fbo *glamor_create_fbo(glamor_screen_private *glamor_priv, int w,
>                                       int h, GLenum format, int flag);
>  void glamor_destroy_fbo(glamor_pixmap_fbo *fbo);
>  void glamor_pixmap_destroy_fbo(glamor_pixmap_private *priv);
> -void glamor_purge_fbo(glamor_pixmap_fbo *fbo);
>
>  void glamor_init_pixmap_fbo(ScreenPtr screen);
>  void glamor_fini_pixmap_fbo(ScreenPtr screen);
> --
> 2.1.3
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list