From 9601a2abf024fb8ac400c0df178bb41ec9e5d215 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 4 Mar 2021 13:22:28 -0500 Subject: 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. --- include/render/gles2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/render') diff --git a/include/render/gles2.h b/include/render/gles2.h index c152b944..8b4de5a2 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -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; -- cgit v1.2.3