aboutsummaryrefslogtreecommitdiff
path: root/tinywl/tinywl.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-09-21 10:34:04 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-09-22 18:01:52 +0000
commitc153ae3c5d0e330d5fe90d4db0114e2e5d792bf2 (patch)
tree593b051fdd669cd803fc5e16ab0a39a4c25e3d46 /tinywl/tinywl.c
parentf03da4849197363b8ab5de0ee2e205c2d44e1634 (diff)
screencopy-v1: use wlr_buffer APIs
Instead of using low-level wl_shm_buffer and wlr_dmabuf_v1_buffer APIs, use the unified wlr_buffer APIs. That way it doesn't matter what the exact wlr_buffer implementation is used, any which provides the necessary capabilities (data_ptr or dmabuf) would work. Simplifies the logic a bit, and will make the transition to wlr_shm easier.
Diffstat (limited to 'tinywl/tinywl.c')
0 files changed, 0 insertions, 0 deletions