diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-08-17 21:58:52 -0700 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-08-17 21:58:52 -0700 |
| commit | 127799c004aefeed155687f1e32ccd129a7f5e19 (patch) | |
| tree | c080b5ae61829b6d967f328e76c178e2190b85d9 | |
| parent | 29f37c38246711b22052cee9cde1fc48769fe82a (diff) | |
render: set surface as sampled for presentation
| -rw-r--r-- | sway/desktop/render.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 86d40d3e..7d620bd4 100644 --- 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 } /** |
