[PATCH 5/7] glamor: Drop dead GLAMOR_FBO_DOWNLOADED flag.

Eric Anholt eric at anholt.net
Tue Mar 24 13:25:54 PDT 2015


Signed-off-by: Eric Anholt <eric at anholt.net>
---
 glamor/glamor_priv.h  | 5 -----
 glamor/glamor_utils.h | 1 -
 2 files changed, 6 deletions(-)

diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
index 0960055..b9bd1ba 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -334,11 +334,6 @@ enum glamor_fbo_state {
      * point at anything.
      */
     GLAMOR_FBO_NORMAL,
-    /**
-     * The FBO is present and can be accessed as a linear memory
-     * mapping through devPrivate.ptr.
-     */
-    GLAMOR_FBO_DOWNLOADED,
 };
 
 typedef struct glamor_pixmap_fbo {
diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h
index 0927ffb..82cf7b4 100644
--- a/glamor/glamor_utils.h
+++ b/glamor/glamor_utils.h
@@ -758,7 +758,6 @@ glamor_translate_boxes(BoxPtr boxes, int nbox, int dx, int dy)
 
 #define GLAMOR_PIXMAP_PRIV_IS_PICTURE(pixmap_priv) (pixmap_priv && pixmap_priv->is_picture == 1)
 #define GLAMOR_PIXMAP_PRIV_HAS_FBO(pixmap_priv)    (pixmap_priv && pixmap_priv->gl_fbo == GLAMOR_FBO_NORMAL)
-#define GLAMOR_PIXMAP_PRIV_HAS_FBO_DOWNLOADED(pixmap_priv)    (pixmap_priv && (pixmap_priv->gl_fbo == GLAMOR_FBO_DOWNLOADED))
 
 /**
  * Borrow from uxa.
-- 
2.1.4



More information about the xorg-devel mailing list