From a6aaa51752f301de24abce264976ba3c3a50863c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 21 Mar 2014 14:55:47 -0700 Subject: [PATCH] glamor: Remove stubbed-out glamor_stipple function This function isn't used anymore. Signed-off-by: Keith Packard Reviewed-by: Eric Anholt --- glamor/glamor_core.c | 11 ----------- glamor/glamor_priv.h | 5 ----- 2 files changed, 16 deletions(-) diff --git a/glamor/glamor_core.c b/glamor/glamor_core.c index bafc42052..737b2744b 100644 --- a/glamor/glamor_core.c +++ b/glamor/glamor_core.c @@ -292,17 +292,6 @@ glamor_fini_finish_access_shaders(ScreenPtr screen) glDeleteProgram(glamor_priv->finish_access_prog[1]); } -Bool -glamor_stipple(PixmapPtr pixmap, PixmapPtr stipple, - int x, int y, int width, int height, - unsigned char alu, unsigned long planemask, - unsigned long fg_pixel, unsigned long bg_pixel, - int stipple_x, int stipple_y) -{ - glamor_fallback("stubbed out stipple depth %d\n", pixmap->drawable.depth); - return FALSE; -} - GCOps glamor_gc_ops = { .FillSpans = glamor_fill_spans, .SetSpans = glamor_set_spans, diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index 6cb074ef2..f2e92600e 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -648,11 +648,6 @@ void glamor_fini_finish_access_shaders(ScreenPtr screen); const Bool glamor_get_drawable_location(const DrawablePtr drawable); void glamor_get_drawable_deltas(DrawablePtr drawable, PixmapPtr pixmap, int *x, int *y); -Bool glamor_stipple(PixmapPtr pixmap, PixmapPtr stipple, - int x, int y, int width, int height, - unsigned char alu, unsigned long planemask, - unsigned long fg_pixel, unsigned long bg_pixel, - int stipple_x, int stipple_y); GLint glamor_compile_glsl_prog(GLenum type, const char *source); void glamor_link_glsl_prog(ScreenPtr screen, GLint prog, const char *format, ...) _X_ATTRIBUTE_PRINTF(3,4);