diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-07 18:20:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-12 18:06:15 +0000 |
| commit | 434c9c3a347e3afc96a6f2e1e8f2dae9379efcc3 (patch) | |
| tree | be85587df45bb396c8ff6aaadb2914fac9ddcbfb /shm.h | |
| parent | shm: track busy buffers’ age, and add compile-time option to force double buffering (diff) | |
shm: add damage tracking to buffer
Diffstat (limited to 'shm.h')
| -rw-r--r-- | shm.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,8 @@ #include <pixman.h> #include <wayland-client.h> +#include "terminal.h" + struct buffer { unsigned long cookie; @@ -34,6 +36,8 @@ struct buffer { bool purge; /* True if this buffer should be destroyed */ int age; + tll (struct damage) scroll_damage; + pixman_region32_t dirty; }; struct buffer *shm_get_buffer( |
