aboutsummaryrefslogtreecommitdiff
path: root/src/protocols
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-03-02 08:10:05 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-03-02 08:20:17 +0400
commit93243d77728c3a0f7d314ed916b5f1a273861990 (patch)
tree4426123e426f7c8424e1dade08bbe91f4693ad7b /src/protocols
parent24537ec2ba3c24e2dd969b8a78df95dbdae1ac6d (diff)
downloadniri-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/protocols')
0 files changed, 0 insertions, 0 deletions