aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/output.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-26 22:11:09 +0100
committeremersion <contact@emersion.fr>2018-01-26 22:11:09 +0100
commitece2c1e4e200192bde19a2590b5a31f244e09524 (patch)
treed8b2bb12b076bf73b70c21b2283ded34fedaee86 /include/rootston/output.h
parenta98ece68d32031dbd81b0064fad659515fc09f76 (diff)
Damage tracking for transformed outputs
Diffstat (limited to 'include/rootston/output.h')
-rw-r--r--include/rootston/output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h
index 81f20788..11f53d83 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -7,7 +7,7 @@
/**
* Damage tracking requires to keep track of previous frames' damage. To allow
- * damage tracking to work with triple buffering, an history of two frames is
+ * damage tracking to work with triple buffering, a history of two frames is
* required.
*/
#define ROOTS_OUTPUT_PREVIOUS_DAMAGE_LEN 2
@@ -22,7 +22,7 @@ struct roots_output {
struct roots_view *fullscreen_view;
struct timespec last_frame;
- pixman_region32_t damage;
+ pixman_region32_t damage; // in ouput-local coordinates
bool frame_pending;
// circular queue for previous damage