mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-16 05:34:23 -04:00
render/dmabuf: add dmabuf_import_sync_file
References: https://lore.kernel.org/dri-devel/20220506180216.2095060-1-jason@jlekstrand.net/
This commit is contained in:
parent
10f543d579
commit
aaf828d3d2
5 changed files with 120 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <unistd.h>
|
||||
#include <wlr/render/dmabuf.h>
|
||||
#include <wlr/util/log.h>
|
||||
#include "render/dmabuf.h"
|
||||
|
||||
void wlr_dmabuf_attributes_finish(struct wlr_dmabuf_attributes *attribs) {
|
||||
for (int i = 0; i < attribs->n_planes; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue