diff options
author | Eric Anholt <eric@anholt.net> | 2015-10-18 21:28:19 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-11-18 10:02:15 -0800 |
commit | 3dd202933fd94615aeeaec7e4cfd05a68954a3f3 (patch) | |
tree | ab27c3d56c81cfa266b415119e0e6dd53c0a7328 /glamor | |
parent | 9d2b76652f0bca5680b9e3ae2aacd508d5525684 (diff) |
glamor: Remove glamor_egl_destroy_textured_pixmap().
The DestroyPixmap chain and CloseScreen chain all do pixmap teardown
already, and calling it manually would be redundant.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'glamor')
-rw-r--r-- | glamor/glamor.h | 1 | ||||
-rw-r--r-- | glamor/glamor_egl.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/glamor/glamor.h b/glamor/glamor.h index 4be880058..54fec1d26 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -324,7 +324,6 @@ extern _X_EXPORT Bool extern _X_EXPORT void glamor_egl_screen_init(ScreenPtr screen, struct glamor_context *glamor_ctx); -extern _X_EXPORT void glamor_egl_destroy_textured_pixmap(PixmapPtr pixmap); extern _X_EXPORT int glamor_create_gc(GCPtr gc); diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c index cc16b0a75..24d55862b 100644 --- a/glamor/glamor_egl.c +++ b/glamor/glamor_egl.c @@ -633,12 +633,6 @@ glamor_egl_exchange_buffers(PixmapPtr front, PixmapPtr back) glamor_set_pixmap_type(back, GLAMOR_TEXTURE_DRM); } -void -glamor_egl_destroy_textured_pixmap(PixmapPtr pixmap) -{ - glamor_destroy_textured_pixmap(pixmap); -} - static Bool glamor_egl_close_screen(ScreenPtr screen) { |