glamor: Make glamor_purge_fbo static
Only called from glamor_fbo.c now. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
8323d2e901
commit
11b85ab2fc
|
@ -126,7 +126,7 @@ glamor_pixmap_fbo_cache_get(glamor_screen_private *glamor_priv,
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
glamor_purge_fbo(glamor_pixmap_fbo *fbo)
|
glamor_purge_fbo(glamor_pixmap_fbo *fbo)
|
||||||
{
|
{
|
||||||
glamor_make_current(fbo->glamor_priv);
|
glamor_make_current(fbo->glamor_priv);
|
||||||
|
|
|
@ -653,7 +653,6 @@ glamor_pixmap_fbo *glamor_create_fbo(glamor_screen_private *glamor_priv, int w,
|
||||||
int h, GLenum format, int flag);
|
int h, GLenum format, int flag);
|
||||||
void glamor_destroy_fbo(glamor_pixmap_fbo *fbo);
|
void glamor_destroy_fbo(glamor_pixmap_fbo *fbo);
|
||||||
void glamor_pixmap_destroy_fbo(glamor_pixmap_private *priv);
|
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_init_pixmap_fbo(ScreenPtr screen);
|
||||||
void glamor_fini_pixmap_fbo(ScreenPtr screen);
|
void glamor_fini_pixmap_fbo(ScreenPtr screen);
|
||||||
|
|
Loading…
Reference in New Issue