mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Damage tracking for transformed outputs
This commit is contained in:
parent
a98ece68d3
commit
ece2c1e4e2
12 changed files with 185 additions and 154 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue