From: Zhigang Gong <zhigang.gong at linux.intel.com> Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com> --- src/intel_glamor.c | 13 ------------- src/intel_glamor.h | 2 -- 2 files changed, 0 insertions(+), 15 deletions(-) diff --git a/src/intel_glamor.c b/src/intel_glamor.c index 8daa4b1..2b56ae5 100644 --- a/src/intel_glamor.c +++ b/src/intel_glamor.c @@ -192,19 +192,6 @@ intel_glamor_flush(intel_screen_private * intel) } Bool -intel_glamor_create_screen_image(ScreenPtr screen, int handle, int stride) -{ - ScrnInfoPtr scrn = xf86Screens[screen->myNum]; - intel_screen_private *intel; - - intel = intel_get_screen_private(scrn); - if ((intel->uxa_flags & UXA_USE_GLAMOR) == 0) - return TRUE; - - return glamor_egl_create_textured_screen(screen, handle, stride); -} - -Bool intel_glamor_close_screen(ScreenPtr screen) { ScrnInfoPtr scrn = xf86Screens[screen->myNum]; diff --git a/src/intel_glamor.h b/src/intel_glamor.h index 1374588..3065132 100644 --- a/src/intel_glamor.h +++ b/src/intel_glamor.h @@ -35,7 +35,6 @@ Bool intel_glamor_pre_init(ScrnInfoPtr scrn); Bool intel_glamor_init(ScreenPtr screen); Bool intel_glamor_create_screen_resources(ScreenPtr screen); -Bool intel_glamor_create_screen_image(ScreenPtr screen, int handle, int stride); Bool intel_glamor_close_screen(ScreenPtr screen); void intel_glamor_free_screen(int scrnIndex, int flags); @@ -51,7 +50,6 @@ PixmapPtr intel_glamor_create_pixmap(ScreenPtr screen, int w, int h, static inline Bool intel_glamor_pre_init(ScrnInfoPtr scrn) { return TRUE; } static inline Bool intel_glamor_init(ScreenPtr screen) { return TRUE; } static inline Bool intel_glamor_create_screen_resources(ScreenPtr screen) { return TRUE; } -static inline Bool intel_glamor_create_screen_image(ScreenPtr screen, int handle, int stride) { return TRUE; } static inline Bool intel_glamor_close_screen(ScreenPtr screen) { return TRUE; } static inline void intel_glamor_free_screen(int scrnIndex, int flags) { } -- 1.7.4.4