https://bugs.kde.org/show_bug.cgi?id=389665

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/8180662233b92f58c28523d17
                   |                            |8030b6f007b84f5
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |5.18

--- Comment #34 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 8180662233b92f58c28523d178030b6f007b84f5 by David Edmundson, on
behalf of Roman Gilg.
Committed on 28/02/2020 at 12:22.
Pushed by davidedmundson into branch 'master'.

[platforms/drm] Introduce Gl post-process output rotations

Summary:
In case the hardware is not able to rotate the output for the configured
rotation value do this rotation in a post-process step.

For that rendering the current view into a separate framebuffer bound to a
texture that then gets sampled to the default framebuffer in an additional
rendering pass through a simple shader rotating it.

This allows us to leave the Effects system and internal model-view-projection
matrix untouched. The rotation in the post-processing step is isolated.
FIXED-IN: 5.18

Test Plan: With KScreen all rotations work.

Reviewers: #kwin

Subscribers: davidedmundson, PureTryOut, z3ntu, zzag, univerz, kwin

Tags: #kwin

Maniphest Tasks: T6106

Differential Revision: https://phabricator.kde.org/D25907

M  +7    -4    plugins/platforms/drm/drm_output.cpp
M  +160  -3    plugins/platforms/drm/egl_gbm_backend.cpp
M  +16   -1    plugins/platforms/drm/egl_gbm_backend.h

https://commits.kde.org/kwin/8180662233b92f58c28523d178030b6f007b84f5

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to