kwin/src/plugins/platforms/x11
Aleix Pol fffd41b32e Only create the viewport as needed
So far, we were creating a model view with the complete scene rendered
(even if we didn't render the windows themselves). This required us to
have a big glPerspective spanning the entire scene and we were just
cropping it as we rendered it into a smaller texture.

This changes our scenes so we have the correct matrix set up at all
times.

Specifically in the case of the Pinephone, this solves the following
issue where we were unable to connect external displays because it
exceeded GL_MAX_VIEWPORT_DIMS:
https://invent.kde.org/teams/plasma-mobile/issues/-/issues/11
2021-06-10 10:06:35 +02:00
..
common Decouple window pixmaps from scene windows 2021-05-18 09:11:24 +00:00
standalone Remove Xrender backend 2021-06-09 11:21:57 +03:00
windowed Only create the viewport as needed 2021-06-10 10:06:35 +02:00
CMakeLists.txt