diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-02 08:10:05 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-02 08:20:17 +0400 |
| commit | 93243d77728c3a0f7d314ed916b5f1a273861990 (patch) | |
| tree | 4426123e426f7c8424e1dade08bbe91f4693ad7b /src/utils | |
| parent | 24537ec2ba3c24e2dd969b8a78df95dbdae1ac6d (diff) | |
| download | niri-93243d77728c3a0f7d314ed916b5f1a273861990.tar.gz niri-93243d77728c3a0f7d314ed916b5f1a273861990.tar.bz2 niri-93243d77728c3a0f7d314ed916b5f1a273861990.zip | |
Disentangle frame callback sequence from real DRM sequence
It can currently happen that the estimated VBlank timer fires right
before a real VBlank, which can cause some sequence collisions, which
might cause frame callbacks to never be sent. To prevent this, just
track the frame callback sequence fully separately. There isn't really
any harm in this, and if we accidentally increment it more frequently
than necessary then nothing terrible will happen.
Diffstat (limited to 'src/utils')
0 files changed, 0 insertions, 0 deletions
