mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-12 08:21:33 -04:00
render: introduce wlr_render_texture_pass
Split texture rendering out of wlr_render_pass and introduce a dedicated wlr_render_texture_pass interface. Remove the add_texture hook from wlr_render_pass_impl and route texture rendering through renderer->texture_pass instead.
This commit is contained in:
parent
33a27b055c
commit
fee962af36
11 changed files with 222 additions and 8 deletions
|
|
@ -600,4 +600,12 @@ bool wlr_render_rect_pass_is_vk(const struct wlr_render_rect_pass *rect_pass);
|
|||
struct wlr_vk_render_rect_pass *wlr_vk_render_rect_pass_from_pass(
|
||||
struct wlr_render_rect_pass *rect_pass);
|
||||
|
||||
struct wlr_vk_render_texture_pass {
|
||||
struct wlr_render_texture_pass base;
|
||||
};
|
||||
|
||||
bool wlr_render_texture_pass_is_vk(const struct wlr_render_texture_pass *texture_pass);
|
||||
struct wlr_vk_render_texture_pass *wlr_vk_render_texture_pass_from_pass(
|
||||
const struct wlr_render_texture_pass *texture_pass);
|
||||
|
||||
#endif // RENDER_VULKAN_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue