mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 04:45:41 +02:00
This is trivial in the Wayland backend; just instantiate a pixman pointing to the same mmapped memory as the wayland buffer. In the XCB backend, we change the implementation slightly; instead of rendering via a cairo XCB surface backend (to a server side pixmap), which is then blitted to the window in commit(), we now render to a client-side pixman pixmap, and blit it using xcb_put_image() in commit(). |
||
---|---|---|
.. | ||
backend.h | ||
bar.c | ||
bar.h | ||
meson.build | ||
private.h | ||
wayland.c | ||
wayland.h | ||
xcb.c | ||
xcb.h |