Tony Crisci
aebe5ba48c
Use correct pixel format enum in touch example
...
Fix a call to `wlr_surface_attach_pixels()` in the main method of the touch
example to use the correct enum for this method (wayland instead of gl).
7 years ago
Drew DeVault
f08998627f
Merge pull request #36 from acrisci/bug/supported-cursor-pixel-format
...
Use ARGB8888 pixel format for cursor bo
7 years ago
Scott Anderson
5743ea03b8
Merge pull request #37 from acrisci/bug/session-path
...
Correctly get session path
7 years ago
Tony Crisci
5eeb067838
Correctly get session path
...
The old way of getting the session path was to simply append the session id to
the path "/org/freedesktop/login1/session/". However this is not the correct
path for newer systems like Fedora 26.
Instead, get the session path directly from the session manager from the id via
a dbus call to GetSession().
fixes #35
7 years ago
Tony Crisci
d822e0768b
Use ARGB8888 pixel format for cursor bo
...
The previous pixel format (RGBA8888) is not supported on all devices for cursors.
Weston uses ARGB8888 exclusively for its cursor buffer object which leads me to
believe this pixel format is better supported.
7 years ago
Drew DeVault
b1ec0dce3a
Merge pull request #34 from acrisci/bug/fix-cleanup-pageflip-race
...
bugfix: add null check on output gbm on pageflip
7 years ago
Drew DeVault
3dd6a06df0
Merge pull request #33 from acrisci/bug/fix-software-cursor
...
bugfix: fix cursor software rendering fallback
7 years ago
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.
7 years ago
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.
7 years ago
Drew DeVault
13f3c69ec6
Fix LTO ( fixes #26 )
7 years ago
Drew DeVault
23d2301496
Oh my god Clang seriously just fuck off
7 years ago
Drew DeVault
ec0f4c2d99
Fuck off, clang
7 years ago
Drew DeVault
e92a65fee8
Remove use of missing header
7 years ago
Drew DeVault
699b364787
Merge pull request #30 from mikkeloscar/add-travis
...
Build on travis-ci.
7 years ago
Drew DeVault
73a908665d
Fix unused variables in release builds
7 years ago
Mikkel Oscar Lyderik Larsen
413bfc7fb8
Build on travis-ci.
7 years ago
Drew DeVault
b08aa9fd35
Revert "Merge pull request #27 from ascent12/meson"
...
This reverts commit 85805da021
, reversing
changes made to 8189c64d7f
.
7 years ago
Drew DeVault
7b9c330bc5
Revert "Fixed linking error"
...
This reverts commit c81324bd0b
.
7 years ago
Scott Anderson
c81324bd0b
Fixed linking error
7 years ago
Drew DeVault
85805da021
Merge pull request #27 from ascent12/meson
...
[Proposal] Use the Meson build system
7 years ago
Scott Anderson
e54b1eded4
Small linking fix
7 years ago
Scott Anderson
a2ba226ba3
Use subdir
7 years ago
Scott Anderson
924bf0f669
Changed build system to meson
7 years ago
Scott Anderson
8189c64d7f
Fixed that warnings that showed up with optimisations.
7 years ago
Drew DeVault
be064df25e
Merge pull request #25 from ascent12/forking
...
Forking session backend
8 years ago
Scott Anderson
ceef12cb5a
Exit cleanly if we cannot open Wayland socket.
8 years ago
Scott Anderson
5b8ec107b9
Session documentation.
8 years ago
Scott Anderson
3779ef802d
Stop remembering the drm fd in child.
8 years ago
Scott Anderson
2f2c8205d8
Moved IPC to its own file.
8 years ago
Scott Anderson
bd5bca5283
Added public fields to wlr_session
8 years ago
Scott Anderson
f413a67bb1
Removed KDSKBMUTE. This actually isn't supported by Linux.
8 years ago
Scott Anderson
2c27ed1393
include fixes
8 years ago
Scott Anderson
dd40a42a99
Make libcap optional.
8 years ago
Scott Anderson
5c211e6195
Added forking
8 years ago
Scott Anderson
c2b54be74a
Minor fixes
8 years ago
Scott Anderson
60955addc0
Added direct session support
8 years ago
Drew DeVault
8920b5d607
Merge branch 'wlcore'
8 years ago
Drew DeVault
486ec5953c
Add shim implementations of wl_{compositor,shell}
...
To example compositor
8 years ago
Drew DeVault
28736c5787
Move example -> examples
...
And the compositor example into its own directory
8 years ago
Drew DeVault
18e6ddc1c5
Remove wlr_compositor
8 years ago
Drew DeVault
97f6e9b69a
Remove excessive logging in wayland backend
8 years ago
Drew DeVault
ce471f3371
Merge pull request #23 from ascent12/cursor
...
Software cursor + Hardware cursor improvements
8 years ago
Drew DeVault
97213cc00e
Add new interfaces to wayland backend
8 years ago
Drew DeVault
038dfdbc85
Log max cursor size on error
8 years ago
Drew DeVault
f5b7bc033e
Add wlr_wl_compositor and remove wlr_wl_shm
8 years ago
Scott Anderson
82322d81a7
Hardware cursor improvements.
8 years ago
Scott Anderson
0cd94f0cf0
Added software cursor fallback
8 years ago
Drew DeVault
8a18cf456a
Remove endian.h
...
Fuck big endian systems anyway
8 years ago
Drew DeVault
5a2796266f
Support wl_shm pixel formats in gles2 renderer
8 years ago
Drew DeVault
2aafb5dd19
Add wlcore/wl_shm (WIP)
8 years ago