diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-03-04 13:22:28 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-03-10 15:33:36 +0100 |
commit | 9601a2abf024fb8ac400c0df178bb41ec9e5d215 (patch) | |
tree | 76b3e9d8f816333b85ddb86c7bc2a897713c30c6 /include | |
parent | 52e40025c46c8f3cb8666e9f501312c284beaff3 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/render/gles2.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |