[PATCH 15/16] glamor: Remove stubbed-out glamor_stipple function

Keith Packard keithp at keithp.com
Tue Apr 1 21:15:55 PDT 2014


This function isn't used anymore.

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 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 6dc9f49..27bffed 100644
--- a/glamor/glamor_core.c
+++ b/glamor/glamor_core.c
@@ -294,17 +294,6 @@ glamor_fini_finish_access_shaders(ScreenPtr screen)
     glamor_put_context(glamor_priv);
 }
 
-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 8b7e2d5..e213a11 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -631,11 +631,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);
-- 
1.9.0



More information about the xorg-devel mailing list