glamor: Reinstate glamor_(egl_)destroy_textured_pixmap
They are part of the ABI. 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
c1455f76c6
commit
91651e7c15
|
@ -216,8 +216,8 @@ glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth,
|
||||||
return pixmap;
|
return pixmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
void
|
||||||
glamor_destroy_pixmap(PixmapPtr pixmap)
|
glamor_destroy_textured_pixmap(PixmapPtr pixmap)
|
||||||
{
|
{
|
||||||
if (pixmap->refcnt == 1) {
|
if (pixmap->refcnt == 1) {
|
||||||
glamor_pixmap_private *pixmap_priv = glamor_get_pixmap_private(pixmap);
|
glamor_pixmap_private *pixmap_priv = glamor_get_pixmap_private(pixmap);
|
||||||
|
@ -227,6 +227,12 @@ glamor_destroy_pixmap(PixmapPtr pixmap)
|
||||||
glamor_egl_destroy_pixmap_image(pixmap);
|
glamor_egl_destroy_pixmap_image(pixmap);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Bool
|
||||||
|
glamor_destroy_pixmap(PixmapPtr pixmap)
|
||||||
|
{
|
||||||
|
glamor_destroy_textured_pixmap(pixmap);
|
||||||
return fbDestroyPixmap(pixmap);
|
return fbDestroyPixmap(pixmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -132,6 +132,7 @@ extern _X_EXPORT void glamor_set_pixmap_texture(PixmapPtr pixmap,
|
||||||
|
|
||||||
extern _X_EXPORT void glamor_set_pixmap_type(PixmapPtr pixmap,
|
extern _X_EXPORT void glamor_set_pixmap_type(PixmapPtr pixmap,
|
||||||
glamor_pixmap_type_t type);
|
glamor_pixmap_type_t type);
|
||||||
|
extern _X_EXPORT void glamor_destroy_textured_pixmap(PixmapPtr pixmap);
|
||||||
extern _X_EXPORT void glamor_block_handler(ScreenPtr screen);
|
extern _X_EXPORT void glamor_block_handler(ScreenPtr screen);
|
||||||
|
|
||||||
extern _X_EXPORT PixmapPtr glamor_create_pixmap(ScreenPtr screen, int w, int h,
|
extern _X_EXPORT PixmapPtr glamor_create_pixmap(ScreenPtr screen, int w, int h,
|
||||||
|
|
|
@ -558,6 +558,12 @@ glamor_egl_exchange_buffers(PixmapPtr front, PixmapPtr back)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
glamor_egl_destroy_textured_pixmap(PixmapPtr pixmap)
|
||||||
|
{
|
||||||
|
glamor_destroy_textured_pixmap(pixmap);
|
||||||
|
}
|
||||||
|
|
||||||
static Bool
|
static Bool
|
||||||
glamor_egl_close_screen(ScreenPtr screen)
|
glamor_egl_close_screen(ScreenPtr screen)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user