Commit graph

8 commits

Author SHA1 Message Date
Alexander Orzechowski
0bdcb22f66 Merge branch 'gles2-simplify-matrix' into 'master'
util/matrix: Simplify the interface

See merge request wlroots/wlroots!4975
2025-06-17 12:37:57 -04:00
Simon Ser
420b60f203 util/matrix: add matrix_invert() 2025-03-30 16:21:26 +02:00
Alexander Orzechowski
97b01d9b9b util/matrix: Drop wlr_ prefix 2025-02-22 17:06:46 -05:00
Alexander Orzechowski
99b6084fcd util/matrix: Inline wlr_matrix_{identity, scale, translate} 2025-02-22 17:06:46 -05:00
Alexander Orzechowski
088b7c98c5 util/matrix: Introduce wlr_matrix_project_fbox
Same as wlr_matrix_project_box but takes an fbox

And use it with gles2
2025-02-22 17:06:46 -05:00
Alexander Orzechowski
51c07a662a util/matrix: Simplify matrix_projection
The transform argument is always passed WL_OUTPUT_TRANSFORM_FLIPPED_180
2025-02-22 17:06:46 -05:00
Alexander Orzechowski
b6fec1b101 util/matrix: Simplify wlr_matrix_project_box
Remove the transform and projection arguments.
2025-02-22 17:06:46 -05:00
Simon Ser
639ca05d35 matrix: move to util/
wlr_matrix is not a standalone type like other headers in types/,
it's more of an internal utility. Move it to the appropriate place.
2025-01-27 17:48:18 +01:00
Renamed from include/types/wlr_matrix.h (Browse further)