mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
output: allow tearing with atomic mode setting
Additionally, track errors and abandon the tearing allowance when it cannot be set for two-seconds' worth of consecutive frames.
This commit is contained in:
parent
14d9bbab90
commit
d033a2fbf6
4 changed files with 42 additions and 15 deletions
|
|
@ -389,6 +389,8 @@ struct output {
|
|||
|
||||
bool leased;
|
||||
bool gamma_lut_changed;
|
||||
|
||||
uint32_t nr_tearing_failures;
|
||||
};
|
||||
|
||||
#undef LAB_NR_LAYERS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue