Commit graph

595 commits

Author SHA1 Message Date
Drew DeVault
3dd6a06df0 Merge pull request #33 from acrisci/bug/fix-software-cursor
bugfix: fix cursor software rendering fallback
2017-07-24 20:36:22 -04:00
Tony Crisci
8b6dc48355 bugfix: add null check on output gbm on pageflip
The gbm for the output might be null for the pageflip in the case that
the output has been disconnected. The gbm might be set to null by
wlr_drm_output_cleanup() in this case.

If the output is cleaned up before the pageflip, then a double free
will crash the compositor on the call to gbm_surface_release_buffer()
in the pageflip handler. The outputs buffer object bo[1] will point to
invalid memory.
2017-07-24 19:50:13 -04:00
Tony Crisci
a43016b8e2 bugfix: fix cursor software rendering fallback
wlr_surface_attach_pixels() expects a wl_shm_format but a GL format was
given. This caused a bug where software rendering of the cursor would
fail when no pixel format can be found.
2017-07-24 16:34:40 -04:00
Drew DeVault
13f3c69ec6 Fix LTO (fixes #26) 2017-07-18 09:48:18 -04:00
Drew DeVault
23d2301496 Oh my god Clang seriously just fuck off 2017-07-12 10:16:33 -04:00
Drew DeVault
ec0f4c2d99 Fuck off, clang 2017-07-12 09:54:58 -04:00
Drew DeVault
e92a65fee8 Remove use of missing header 2017-07-12 09:49:26 -04:00
Drew DeVault
699b364787 Merge pull request #30 from mikkeloscar/add-travis
Build on travis-ci.
2017-07-12 09:24:42 -04:00
Drew DeVault
73a908665d Fix unused variables in release builds 2017-07-12 09:24:11 -04:00
Mikkel Oscar Lyderik Larsen
413bfc7fb8
Build on travis-ci. 2017-07-12 14:31:43 +02:00
Drew DeVault
b08aa9fd35 Revert "Merge pull request #27 from ascent12/meson"
This reverts commit 85805da021, reversing
changes made to 8189c64d7f.
2017-07-11 22:16:56 -04:00
Drew DeVault
7b9c330bc5 Revert "Fixed linking error"
This reverts commit c81324bd0b.
2017-07-11 22:16:52 -04:00
Scott Anderson
c81324bd0b Fixed linking error 2017-07-12 13:46:47 +12:00
Drew DeVault
85805da021 Merge pull request #27 from ascent12/meson
[Proposal] Use the Meson build system
2017-07-11 20:15:28 -04:00
Scott Anderson
e54b1eded4 Small linking fix 2017-07-11 12:24:43 +12:00
Scott Anderson
a2ba226ba3 Use subdir 2017-07-11 09:56:54 +12:00
Scott Anderson
924bf0f669 Changed build system to meson 2017-07-11 00:28:56 +12:00
Scott Anderson
8189c64d7f Fixed that warnings that showed up with optimisations. 2017-07-11 00:14:55 +12:00
Drew DeVault
be064df25e Merge pull request #25 from ascent12/forking
Forking session backend
2017-07-09 22:28:19 -04:00
Scott Anderson
ceef12cb5a Exit cleanly if we cannot open Wayland socket. 2017-07-10 13:46:15 +12:00
Scott Anderson
5b8ec107b9 Session documentation. 2017-07-09 23:02:41 +12:00
Scott Anderson
3779ef802d Stop remembering the drm fd in child. 2017-07-09 22:23:54 +12:00
Scott Anderson
2f2c8205d8 Moved IPC to its own file. 2017-07-09 22:12:50 +12:00
Scott Anderson
bd5bca5283 Added public fields to wlr_session 2017-07-09 17:53:13 +12:00
Scott Anderson
f413a67bb1 Removed KDSKBMUTE. This actually isn't supported by Linux. 2017-07-09 13:34:33 +12:00
Scott Anderson
2c27ed1393 include fixes 2017-07-04 12:50:54 +12:00
Scott Anderson
dd40a42a99 Make libcap optional. 2017-07-04 00:29:03 +12:00
Scott Anderson
5c211e6195 Added forking 2017-07-04 00:15:09 +12:00
Scott Anderson
c2b54be74a Minor fixes 2017-07-03 19:56:14 +12:00
Scott Anderson
60955addc0 Added direct session support 2017-07-03 14:46:20 +12:00
Drew DeVault
8920b5d607 Merge branch 'wlcore' 2017-06-29 16:00:24 -04:00
Drew DeVault
486ec5953c Add shim implementations of wl_{compositor,shell}
To example compositor
2017-06-28 18:51:58 -04:00
Drew DeVault
28736c5787 Move example -> examples
And the compositor example into its own directory
2017-06-28 18:23:49 -04:00
Drew DeVault
18e6ddc1c5 Remove wlr_compositor 2017-06-28 17:25:01 -04:00
Drew DeVault
97f6e9b69a Remove excessive logging in wayland backend 2017-06-28 16:35:18 -04:00
Drew DeVault
ce471f3371 Merge pull request #23 from ascent12/cursor
Software cursor + Hardware cursor improvements
2017-06-26 18:23:52 -04:00
Drew DeVault
97213cc00e Add new interfaces to wayland backend 2017-06-26 18:23:38 -04:00
Drew DeVault
038dfdbc85 Log max cursor size on error 2017-06-26 10:34:26 -04:00
Drew DeVault
f5b7bc033e Add wlr_wl_compositor and remove wlr_wl_shm 2017-06-26 10:26:55 -04:00
Scott Anderson
82322d81a7 Hardware cursor improvements. 2017-06-26 19:32:36 +12:00
Scott Anderson
0cd94f0cf0 Added software cursor fallback 2017-06-26 17:34:15 +12:00
Drew DeVault
8a18cf456a Remove endian.h
Fuck big endian systems anyway
2017-06-23 14:46:18 -04:00
Drew DeVault
5a2796266f Support wl_shm pixel formats in gles2 renderer 2017-06-23 14:25:55 -04:00
Drew DeVault
2aafb5dd19 Add wlcore/wl_shm (WIP) 2017-06-23 13:41:07 -04:00
Drew DeVault
f252c5a792 Manually transpose matricies in shader
Since GLES2 doesn't do this for us, it seems, on all platforms.
2017-06-23 11:46:09 -04:00
Drew DeVault
b18209c904 Switch to GLES2
Closes #13
2017-06-23 11:38:45 -04:00
Drew DeVault
168f0955ab Add wl_output globals for wlr_outputs 2017-06-22 14:27:35 -04:00
Drew DeVault
5055d89955 Merge pull request #19 from nyorain/wayland-input
Basic wayland backend input
2017-06-22 12:31:35 -04:00
nyorain
a9547af358 Fix pointer example for wayland backend 2017-06-22 18:21:28 +02:00
nyorain
4ca872c914 Improve wayland backend pointer error logging 2017-06-22 18:04:13 +02:00