summaryrefslogtreecommitdiff
path: root/exa/exa_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'exa/exa_priv.h')
-rw-r--r--exa/exa_priv.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h
index db83d1b32..c28e269ab 100644
--- a/exa/exa_priv.h
+++ b/exa/exa_priv.h
@@ -119,8 +119,12 @@ typedef struct {
int devKind;
DevUnion devPrivate;
- /* True if the in-screen copy has been modified compared to the
- * system-memory copy.
+ /* If area is NULL, then dirty == TRUE means that the pixmap has been
+ * modified, so the contents are defined. Used to avoid uploads of
+ * undefined data.
+ * If area is non-NULL, then dirty == TRUE means that the in-framebuffer
+ * copy has been changed from the system-memory copy. Used to avoid
+ * downloads of unmodified data.
*/
Bool dirty;
unsigned int size;