- Mentioned In
- R108:8180662233b9: [platforms/drm] Introduce Gl post-process output rotations
T11605: Software rotation
- Mentioned Here
- D25907: [platforms/drm] Introduce Gl post-process output rotations
D19860: Software rotation: orient the screen regardless of whether drm accepted it
D8594: [platforms/drm] Rotate screen if requested from KScreen
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.