summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-06-30 20:35:59 -0700
committerEric Anholt <eric@anholt.net>2015-07-10 09:42:57 -0700
commitd278c30e68d79e86a3e2207b629d1e461856f907 (patch)
treefc02deb965e73076f9bc21ce9e12f87f825d2715
parentcd608a516d2c59ebfb95fadfecf68227888c0e4e (diff)
glamor: Drop dead glamor_is_large_picture().
It died as of keithp's new glyphs code. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Keith Packard <keithp@keithp.com>
-rw-r--r--glamor/glamor_utils.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h
index cef62c52c..0a7de82ab 100644
--- a/glamor/glamor_utils.h
+++ b/glamor/glamor_utils.h
@@ -946,18 +946,6 @@ glamor_is_large_pixmap(PixmapPtr pixmap)
}
inline static Bool
-glamor_is_large_picture(PicturePtr picture)
-{
- PixmapPtr pixmap;
-
- if (picture->pDrawable) {
- pixmap = glamor_get_drawable_pixmap(picture->pDrawable);
- return glamor_is_large_pixmap(pixmap);
- }
- return FALSE;
-}
-
-inline static Bool
glamor_tex_format_is_readable(GLenum format)
{
return ((format == GL_RGBA || format == GL_RGB || format == GL_ALPHA));