mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
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:
parent
52e40025c4
commit
9601a2abf0
7 changed files with 50 additions and 18 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue