mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/vulkan: constrain blend to output subpass to redrawn region
This commit only applies to the render pass API.
This commit is contained in:
parent
d180f4d9b3
commit
e0adaaffb6
2 changed files with 57 additions and 4 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include <wlr/render/drm_format_set.h>
|
||||
#include <wlr/render/interface.h>
|
||||
#include <wlr/util/addon.h>
|
||||
#include "util/rect_union.h"
|
||||
|
||||
struct wlr_vk_descriptor_pool;
|
||||
struct wlr_vk_texture;
|
||||
|
|
@ -334,6 +335,7 @@ struct wlr_vk_render_pass {
|
|||
struct wlr_vk_renderer *renderer;
|
||||
struct wlr_vk_render_buffer *render_buffer;
|
||||
struct wlr_vk_command_buffer *command_buffer;
|
||||
struct rect_union updated_region;
|
||||
VkPipeline bound_pipeline;
|
||||
float projection[9];
|
||||
bool failed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue