summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-10-29 20:44:31 -0700
committerEric Anholt <eric@anholt.net>2015-03-24 12:01:39 -0700
commitc6ab13566798c7adff23a609575a7ac2d1ce2df6 (patch)
tree59cfcc0ba40adc479d51da49f722dc238600f75b /glamor
parent90d326fcc687e6d6d4b308f6272ededcf8145a17 (diff)
glamor: Remove ddx fallback check functions
With no DDX-based fallback support, we can remove these functions as they are no longer called. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'glamor')
-rw-r--r--glamor/glamor_utils.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h
index c15d17ca3..795425770 100644
--- a/glamor/glamor_utils.h
+++ b/glamor/glamor_utils.h
@@ -939,40 +939,6 @@ glamor_pict_format_is_compatible(PicturePtr picture)
}
}
-/* return TRUE if we can access this pixmap at DDX driver. */
-inline static Bool
-glamor_ddx_fallback_check_pixmap(DrawablePtr drawable)
-{
- PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable);
- glamor_pixmap_private *pixmap_priv = glamor_get_pixmap_private(pixmap);
-
- return (!pixmap_priv
- || (pixmap_priv->type == GLAMOR_TEXTURE_DRM
- || pixmap_priv->type == GLAMOR_MEMORY
- || pixmap_priv->type == GLAMOR_DRM_ONLY));
-}
-
-inline static Bool
-glamor_ddx_fallback_check_gc(GCPtr gc)
-{
- PixmapPtr pixmap;
-
- if (!gc)
- return TRUE;
- switch (gc->fillStyle) {
- case FillStippled:
- case FillOpaqueStippled:
- pixmap = gc->stipple;
- break;
- case FillTiled:
- pixmap = gc->tile.pixmap;
- break;
- default:
- pixmap = NULL;
- }
- return (!pixmap || glamor_ddx_fallback_check_pixmap(&pixmap->drawable));
-}
-
inline static Bool
glamor_is_large_pixmap(PixmapPtr pixmap)
{