wlroots/render/pixman
David Turner 21cc647816 render/pixman: Improve transform performance
The old code to render transformed textures with pixman would run
composite over the whole output regardless of the texture size.  When
rendering something small this caused a huge performance hit.

Rewrite the transform branch of render_pass_add_texture to:
- Only composite over the rectangle we're drawing to
- Generally try to make things a lot clearer and some comments

Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3832

(cherry picked from commit e08d52bbc6)
2024-06-11 13:13:09 +00:00
..
meson.build render/pixman: implement render pass API 2023-04-25 17:26:35 +02:00
pass.c render/pixman: Improve transform performance 2024-06-11 13:13:09 +00:00
pixel_format.c render/pixman/pixel_format: add more formats 2021-08-03 02:53:03 -04:00
renderer.c treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00