Commit 2f80c779 authored by Keith Packard's avatar Keith Packard Committed by Eric Anholt

glamor: Eliminate GLAMOR_SEPARATE_TEXTURE pixmap type

This was only used to signal when we couldn't ask the DDX to draw to a
pixmap; now that we have no DDX-based fallbacks, we don't need to have
this type.
Signed-off-by: Keith Packard's avatarKeith Packard <>
Signed-off-by: Eric Anholt's avatarEric Anholt <>
Reviewed-by: Eric Anholt's avatarEric Anholt <>
parent c6ab1356
......@@ -54,7 +54,6 @@ struct glamor_context;
typedef enum glamor_pixmap_type {
......@@ -69,16 +69,6 @@ glamor_create_picture(PicturePtr picture)
glamor_set_pixmap_type(pixmap, GLAMOR_MEMORY);
pixmap_priv = glamor_get_pixmap_private(pixmap);
else {
if (GLAMOR_PIXMAP_PRIV_HAS_FBO(pixmap_priv)) {
/* If the picture format is not compatible with glamor fbo format,
* we have to mark this pixmap as a separated texture, and don't
* fallback to DDX layer. */
if (pixmap_priv->type == GLAMOR_TEXTURE_DRM
&& !glamor_pict_format_is_compatible(picture))
glamor_set_pixmap_type(pixmap, GLAMOR_SEPARATE_TEXTURE);
pixmap_priv->base.is_picture = 1;
pixmap_priv->base.picture = picture;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment