From ff2850424c99652506d0d6bc43506b4c16bf2ad5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sun, 18 Oct 2015 19:26:14 -0700 Subject: glamor: Hook up EGL DestroyPixmap through the normal wrap chain. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One less layering violation (EGL should call glamor, if anything, not the other way around). v2: Move glamor.c's DestroyPixmap wrapping up above the glamor_egl_screen_init() call, since glamor.c's DestroyPixmap needs to be the bottom of the stack (it calls fb directly and doesn't wrap). Caught by Michel. Signed-off-by: Eric Anholt Reviewed-by: Michel Dänzer --- glamor/glamor_egl_stubs.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'glamor/glamor_egl_stubs.c') diff --git a/glamor/glamor_egl_stubs.c b/glamor/glamor_egl_stubs.c index c11e6d51b..35944c849 100644 --- a/glamor/glamor_egl_stubs.c +++ b/glamor/glamor_egl_stubs.c @@ -35,11 +35,6 @@ glamor_egl_screen_init(ScreenPtr screen, struct glamor_context *glamor_ctx) { } -void -glamor_egl_destroy_pixmap_image(PixmapPtr pixmap) -{ -} - int glamor_egl_dri3_fd_name_from_tex(ScreenPtr screen, PixmapPtr pixmap, -- cgit v1.2.3