Support screen rotation in OpenGL compositor
Open, HighPublic

graesslin moved this task from Plasma 5.13 to Postponed on the KWin board.Dec 22 2017, 1:09 PM
romangg moved this task from Postponed to Backlog on the KWin board.Oct 17 2019, 11:03 AM
bshah added a subscriber: bshah.Oct 21 2019, 11:58 AM
romangg added a subscriber: romangg.EditedDec 11 2019, 2:19 AM

Two ways of Gl based rotation are imaginable:

  • Do it in the Scene via model-view-projection (MVP) matrix and adapt all effects interacting with the MVP as well. This is the approach in D19860. The issue is of course with our current effects system that all current and future effects have to respect what is an implementation detail dependent on the backend.
  • Do it in a post-processing step after Scene rendering has finished. For that render in a separate framebuffer and sample the rotated texture to the screen framebuffer. Patch is WIP. See D25907.
romangg triaged this task as High priority.Dec 11 2019, 12:47 PM