Commit Graph

11 Commits

Author SHA1 Message Date
Carsten Haitzler d96c75b8d5 e - wl - fix buffer referencing to not have junk on surface del
we were losing refs to buffers when clients quit and surface were
deleted thus causing junk and errors in binding these now deleted
buffers as fds now were invalid. keep them around longer until hide
anim is done. this is callback-hell...

@fix
2021-04-16 03:27:11 +00:00
Elyes HAOUAS 3524bc167c tree-wide: get rid of trailing whitespace (part 1)
Remove trailing white spaces.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11780
2020-05-14 12:30:31 +02:00
Carsten Haitzler 8f019a4ef7 comp wl - fix sync with dmabuf code to not have early return
coverity pointed out dead code - code wss actually wrong. it'd have
skippedlinear on older proto

fix CID 1425218
2020-04-19 00:57:43 +01:00
Christopher Michael d37ffa3599 e_comp_wl_dmabuf: Fix another formatting snafu
NB: No functional changes
2020-04-17 16:21:50 -04:00
Christopher Michael 2e14660bec e_comp_wl_dmabuf: Fix minor snafu from formatting patch 2020-04-17 16:15:14 -04:00
Christopher Michael dc013b8626 e_comp_wl_dmabuf: Format this file properly
NB: No functional changes (yet), just formatting to make this code
remotely readable.
2020-04-17 16:12:55 -04:00
Carsten Haitzler c7d0d6e6c9 e - wl dmabuf - handle versioning for modifiers
this syncs with what weston does in handling versioning for modifiers.
2019-09-30 22:07:46 +01:00
Derek Foreman 1cdbcb0d94 Resynch with weston's dmabuf implementation
Weston's dmabuf implementation continues to be modular enough that we can
pull it in with minimal change.

This updates us to version 3 of the protocol - required by recent mesa to
use dmabuf buffers instead of wl_drm ones.

Currently only contains stubs for format query.
2017-08-10 11:32:45 -05:00
Mike Blumenkrantz 989b0cd096 fix selective disabling of -Wunused-parameter under clang in copied weston code
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Derek Foreman 402c56e1f2 clean up warnings in dmabuf code 2016-05-18 12:34:23 -05:00
Derek Foreman 2d1802375d Add DMABuf support for wayland
This adds compositor handling of DMABuf buffers.  DMAbuf capabilities
are advertised for the drm back-ends, and DMAbuf buffers are handled
as native surfaces.
2016-05-18 12:05:34 -05:00