output: improve transform matrix calculation

Compute only the transform matrix in the output. The projection matrix
will be calculated inside the gles2 renderer when we start rendering.

The goal is to help the pixman rendering process.
This commit is contained in:
Simon Zeni 2021-03-04 13:22:28 -05:00 committed by Simon Ser
parent 52e40025c4
commit 9601a2abf0
7 changed files with 50 additions and 18 deletions

View file

@ -34,6 +34,7 @@ struct wlr_gles2_tex_shader {
struct wlr_gles2_renderer {
struct wlr_renderer wlr_renderer;
float projection[9];
struct wlr_egl *egl;
int drm_fd;