diff options
author | Dudemanguy <random342@airmail.cc> | 2020-10-05 10:28:37 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-10-15 13:43:45 +0000 |
commit | b60545bdc6a820112b04dbe8b54d93816efa5a05 (patch) | |
tree | bf329898ca19ee573a934b57378c3fe122120fa5 /video/out/bitmap_packer.h | |
parent | aacefa4ae5c6112ee7e98535e377c3806bcec85a (diff) | |
download | mpv-b60545bdc6a820112b04dbe8b54d93816efa5a05.tar.bz2 mpv-b60545bdc6a820112b04dbe8b54d93816efa5a05.tar.xz |
wayland: update opaque region on runtime
Made possible with 00b9c81. 34b8adc let the wayland surface set an
opaque region depending on if alpha was set by the user or not. However,
there was no attempted detection for runtime changes and it is possible
(at least in wayland vulkan) to toggle the alpha on and off. So this
meant, we could be incorrectly signalling an opaque region if the user
happened to change the alpha. Additionally, add a helper function for
this and use it everywhere we want to set the opaque region.
Diffstat (limited to 'video/out/bitmap_packer.h')
0 files changed, 0 insertions, 0 deletions