Commits on Source (30)
-
Manuel Stoeckl authoredc4cc0bfc
-
Manuel Stoeckl authored
This change fixes a crash with recent wl_pointer version 7, where the file descriptor sent in a wl_keyboard.keymap event is sealed to disallow writes. Before this change, calling mmap on the file descriptor with read/write permissions and MAP_SHARED would fail; this commit adds a fallback path.
3d67676d -
Manuel Stoeckl authored
The damage requests for the wl_surface interface only indicate the region of the surface which has changed since the last commit. This commit computes the net change to a given buffer used by a surface by accumulating all the surface damage since the last time the buffer was presented.
70723a55 -
Manuel Stoeckl authored
Waypipe doesn't need any special logic for this; the wl_surface+wl_buffer handling system abstracts the fd handling rules well enough.
1a977c58 -
Manuel Stoeckl authored1d50997b
-
Manuel Stoeckl authoreda53007d9
-
Manuel Stoeckl authoreda1ca38c6
-
Manuel Stoeckl authored72e548cd
-
Manuel Stoeckl authoredcd705dc8
-
Manuel Stoeckl authored6df3d504
-
Manuel Stoeckl authored
This reduces the amount of garbage in the full printed backtrace.
93ebdcb1 -
Manuel Stoeckl authoredd9f22b98
-
Manuel Stoeckl authored9a23fe48
-
Manuel Stoeckl authored99629196
-
Manuel Stoeckl authored8acc90e6
-
Manuel Stoeckl authored9be5cbce
-
Manuel Stoeckl authored
Specifically, stop using the lseek-based method of estimating a DMABUF size -- it may disagree with size of the linear view of the DMABUF that gbm_bo_map provides, causing a crash on e.g. nouveau. This change may break multiplanar format handling, but the common case is more important.
6a63ddcf -
Manuel Stoeckl authored
Alignment restrictions mean that directly copying the local frame to the dmabuf is impossible, so it is now simpler to allocate the local AVFrame object's data with av_image_alloc.
75687723 -
Manuel Stoeckl authored
As per the linux-dmabuf-unstable protocol, DRM_FORMAT_MOD_INVALID indicates that the modifier is not specified.
dc387533 -
Manuel Stoeckl authoreda47880a8
-
Manuel Stoeckl authored
Specifically, the optional argument for --video now is a comma separated list of keywords, indicating video codec ('h264'), bits per frame ('bpf=%f'), and hardware/software ('hw'.'sw').
3038164c -
Manuel Stoeckl authored
Hardware encoding/decoding remains untested, and this feature has not been documented.
cefddeaf -
Manuel Stoeckl authored9beedf26
-
Manuel Stoeckl authoredcfa45e7f
-
Manuel Stoeckl authoreddfe38bc3
-
Manuel Stoeckl authored
This ensures that the file descriptor leak check at the end of the program does not warn when the process calling Waypipe inherited a file descriptor unto it.
f708d485 -
Manuel Stoeckl authored447cf674
-
Aisha Tammy authored
Signed-off-by: Aisha Tammy <floss@bsd.ac>
13e5f4f9 -
Manuel Stoeckl authored
Also rearrange the description and synopsis to place the "waypipe ssh" mode first.
7aa8ecf6 -
Manuel Stoeckl authored