sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit fba248ed5ee3888b961e3272f7e29b9d9ecdb335
parent a085e6495c79d36c0cb578f3f7f667a73d83bfd8
Author: Ivan Molodetskikh <yalterz@gmail.com>
Date:   Sat, 17 Aug 2019 21:58:52 -0700

render: set surface as sampled for presentation

Diffstat:
Msway/desktop/render.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/sway/desktop/render.c b/sway/desktop/render.c @@ -120,6 +120,8 @@ static void render_surface_iterator(struct sway_output *output, wlr_output->transform_matrix); render_texture(wlr_output, output_damage, texture, &box, matrix, alpha); + + wlr_presentation_surface_sampled(server.presentation, surface); } static void render_layer(struct sway_output *output, @@ -267,6 +269,10 @@ static void render_saved_view(struct sway_view *view, render_texture(wlr_output, damage, view->saved_buffer->texture, &box, matrix, alpha); + + // FIXME: we should set the surface that this saved buffer originates from + // as sampled here. + // https://github.com/swaywm/sway/pull/4465#discussion_r321082059 } /**