kwin/src/plugins/platforms/x11/windowed
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
..
CMakeLists.txt
egl_x11_backend.cpp Only create the viewport as needed 2021-06-10 10:06:35 +02:00
egl_x11_backend.h Decouple window pixmaps from scene windows 2021-05-18 09:11:24 +00:00
logging.cpp
logging.h
scene_qpainter_x11_backend.cpp
scene_qpainter_x11_backend.h
x11.json
x11windowed_backend.cpp Run clazy with qt-keywords fixit 2021-06-08 10:49:42 +03:00
x11windowed_backend.h
x11windowed_output.cpp
x11windowed_output.h