aboutsummaryrefslogtreecommitdiff
path: root/render/pass.c
AgeCommit message (Collapse)Author
2023-11-22render: drop legacy render passSimon Ser
All built-in renderers now implement the new API.
2023-09-21render/pass: Remove empty box early returnAlexander Orzechowski
2023-09-21render/pass: Introduce wlr_render_rect_options_get_boxAlexander Orzechowski
2023-08-24render/pass: ensure rect has positive sizeSimon Ser
Ported from wlr_render_rect().
2023-08-23render: ensure wlr_render_rect_options->box is nonemptyManuel Stoeckl
This optimization also fixes an validation error with the Vulkan renderer by ensuring vkCmdClearAttachments does not receive empty regions.
2023-08-14renderer: Sanity check texture source boundsAlexander Orzechowski
2023-07-07Use struct initializers instead of memset()Simon Ser
This is a bit more type-safe.
2023-06-19render: Introduce wlr_render_texture_options.blend_modeAlexander Orzechowski
2023-05-02render: introduce blend modeSimon Ser
Allow callers to pick the blend mode when rendering a rect. The "none" mode can be used to disable blending and clear rects.
2023-04-25render/pass: add legacy render pass implementationSimon Ser
Add a render pass implementation which leverages the legacy rendering API. This is helpful during the migration.
2023-04-25render: add render pass helpersSimon Ser
2023-04-25Add a new renderer APISimon Ser
Goals: - Extensibility: we need to be able to add new params to the calls to render a texture/rect. For instance we'll need to add fences to the render texture operation for explicit sync purposes. - No implicit state: no more bind_buffer, begin, end. - No matrices: these hurt Pixman and we don't need them. - Clip regions for optimized damage repainting. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3188