summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2023-02-19 17:56:53 -0500
committerSimon Ser <contact@emersion.fr>2024-04-29 17:18:13 +0200
commitcde38d5e876e2f6192e83073eedcca4348141a09 (patch)
tree640031ec01be390d81058708ccddbc6c2901eb7d /meson.build
parenta48604c871e197423969059cb233428de79a9fbb (diff)
downloadswaybg-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 '')
0 files changed, 0 insertions, 0 deletions