diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2023-02-19 17:56:53 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-04-29 17:18:13 +0200 |
commit | cde38d5e876e2f6192e83073eedcca4348141a09 (patch) | |
tree | 640031ec01be390d81058708ccddbc6c2901eb7d /meson.build | |
parent | a48604c871e197423969059cb233428de79a9fbb (diff) | |
download | swaybg-cde38d5e876e2f6192e83073eedcca4348141a09.tar.gz swaybg-cde38d5e876e2f6192e83073eedcca4348141a09.tar.bz2 |
Decouple wl_buffer creation and wl_surface config
This commit introduces a new `draw_buffer` function which handles both
the creation of single-pixel and wl_shm buffers, and a `get_buffer_size`
to give the required buffer size in both cases. This reorganization
will it easier in the future to support shm buffers in conjunction
with wp_viewport, for use with wp_fractional_scale_v1.
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions