Skip to content

plugins/screencast: Simplify y inverted handling

Vlad Zahorodnii requested to merge work/zzag/simplify-y-inverted-handling into master

dmabuf buffers have the origin in the top left corner, so a texture with attached dmabuf must have y inverted.

By correctly specifying the y inverted flag, we could leverage existing infrastructure in kwin to handle vertically mirrored textures and make simpler some projection matrix code in screencasting.

Merge request reports

Loading