Scott Anderson
aedfa27d3a
Clean up resources when plane is reassigned
7 years ago
Scott Anderson
2f8b5c4448
More cleanups
7 years ago
Scott Anderson
dd7a349295
Various cleanups
7 years ago
Scott Anderson
d1ca1ec16e
Split off some functions into drm-util
7 years ago
Scott Anderson
c46605d605
Use plane for rendering
7 years ago
Scott Anderson
e16c5504cd
Add planes.
7 years ago
Scott Anderson
67b51f0922
Upgraded CRTC and Encoder matching
7 years ago
Scott Anderson
31867a1b2e
Various changes/cleanups
7 years ago
Scott Anderson
7b772e1a4b
DRM resource initalisation
7 years ago
Scott Anderson
601bbad5d8
Added DRM property infrastructure
7 years ago
Drew DeVault
5bf61ca7ed
Check for multi backend before using it
7 years ago
Drew DeVault
f1a069d50d
Log that the X11 backend is unimplemented
7 years ago
Scott Anderson
4d4da18437
Fixed VT switching
7 years ago
Scott Anderson
3373ec5fc8
Update build files
7 years ago
Scott Anderson
cb4d50e22c
Changed header paths.
7 years ago
Scott Anderson
2ae5cd6539
Moved session/ into backend/
7 years ago
Scott Anderson
ae4478e17f
Changed ownership of wlr_session to the multi backend.
...
Currently breaks VT switching for examples.
7 years ago
nyorain
fdab81e1c9
Use meson build system
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
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
Drew DeVault
b08aa9fd35
Revert "Merge pull request #27 from ascent12/meson"
...
This reverts commit 85805da021
, reversing
changes made to 8189c64d7f
.
7 years ago
Scott Anderson
a2ba226ba3
Use subdir
7 years ago
Scott Anderson
924bf0f669
Changed build system to meson
7 years ago
Drew DeVault
97f6e9b69a
Remove excessive logging in wayland backend
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
Scott Anderson
82322d81a7
Hardware cursor improvements.
8 years ago
Scott Anderson
0cd94f0cf0
Added software cursor fallback
8 years ago
Drew DeVault
b18209c904
Switch to GLES2
...
Closes #13
8 years ago
Drew DeVault
168f0955ab
Add wl_output globals for wlr_outputs
8 years ago
nyorain
4ca872c914
Improve wayland backend pointer error logging
8 years ago
nyorain
dbde1f7340
Store wayland backend axis source
8 years ago
nyorain
272030652a
Implement absolute motion events for wayland
8 years ago
nyorain
d26a9ba968
Fix pointer motion coords
8 years ago
nyorain
c1520077b6
Implement wayland backend input events
8 years ago
nyorain
0b8e6cccc8
Add wayland input listener skeletons
8 years ago
Drew DeVault
3d71969b2a
Make event names consistent
8 years ago
Drew DeVault
f4453d104d
Reorganize wlr-common
8 years ago
Drew DeVault
fd91244e83
Update everyone to use new headers
8 years ago
Scott Anderson
55854565dc
Fixed VT switching
8 years ago
Scott Anderson
091de12bf4
Changed session signal to only emit on DRM changes
8 years ago
Drew DeVault
c2d0090ad7
Support multiple wl backend outputs
8 years ago
Drew DeVault
b2bf5b23b9
Implement output_transform for wl backend
8 years ago
Drew DeVault
b9d36c8149
Add dynamic output resizing for Wayland backend
...
This allows outputs to:
- Not support modesetting
- Resize themselves
8 years ago
Drew DeVault
c9d5a0b2fb
Clean up Wayland backend GL context and such
8 years ago
nyorain
51f35e7af0
Cleanup some leaks/incorrect destructions
8 years ago
nyorain
500e9184f1
Fix egl workaround; Test with weston
8 years ago
nyorain
50ce35e9da
Implement wayland backend output
8 years ago
nyorain
62b1421635
Make egl_error function part of the egl interface
...
The function may be useful for backends using egl.
8 years ago
nyorain
e22626ef6a
Adapt codestyle
8 years ago
nyorain
792d535225
Rework wayland backend output implementation
8 years ago
nyorain
e65ca967f9
Merge branch 'master' into wayland-backend
8 years ago
Drew DeVault
632a04f1b7
Implement keyboard LEDs
8 years ago
Drew DeVault
ecb04afcad
Implement tablet pads
8 years ago
Drew DeVault
e9609e9adf
Allocate framebuffers for hardware cursors
...
Still doesn't fix cursors though
8 years ago
nyorain
10526de444
Fix furhter wayland backend issues
8 years ago
nyorain
8fbf1ca3ff
Continue wayland backend update
...
Update wayland backend to new api.
Start to use the input interfaces.
Compiling now, not tested.
8 years ago
nyorain
41a477375c
Merge branch 'libinput' into wayland-backend
8 years ago
nyorain
904739c405
Start to fix wayland backend
...
Starts to update the wayland backend to the new backend api.
Not yet updated to libinput branch (not yet compiling).
8 years ago
Drew DeVault
7e038a6110
Add (broken) DRM hardware cursors
8 years ago
Drew DeVault
def3d7c64f
Add tablet example
8 years ago
Drew DeVault
4a9966b1a4
Implement wlr_tablet_tool
8 years ago
Drew DeVault
e65f83d7f2
Add more DRM info to wlr_output
...
Yes I know this is the libinput branch, I thought this would be useful
for a libinput feature (but it wasn't)
8 years ago
Drew DeVault
3f24f8a1be
Flesh out touch events and add demo
8 years ago
Drew DeVault
d6905f86cb
Allocate wlr_touch devices
8 years ago
Drew DeVault
a63230e59c
Implement libinput wlr_pointer
8 years ago
Drew DeVault
e257afeb7e
Establish multi backend support
8 years ago
Drew DeVault
5dd96c0772
Incorporate XKBCommon into example
8 years ago
Drew DeVault
508d135de7
Only allocate device state when it will be used
...
This design also avoids double frees in the future when we're creating
several wlr_input_devices from one libinput_device.
8 years ago
Drew DeVault
7a5f35b5bb
Reassign ownership of libinput handle
8 years ago
Drew DeVault
f479b7c8c7
Split keyboard code out into its own file
8 years ago
Drew DeVault
59ceaf507e
Handle key presses
8 years ago
Drew DeVault
0e75d157f5
Initialize keyboards from libinput
8 years ago
Drew DeVault
019fff06be
Fix issues, flesh out event handling somewhat
8 years ago
Drew DeVault
af69591e62
Add error handling and init in backend_autocreate
8 years ago
Drew DeVault
1262f1400c
Initial pass on libinput backend
8 years ago
Drew DeVault
325a331425
Fix some build errors
8 years ago
Drew DeVault
2b06f88f0b
Combine internal DRM headers into one
...
Everything always just included both anyway
8 years ago
Scott Anderson
63c3faa006
Fixed rendering bug: Delay calling gbm_surface_release_buffer until it
...
has been scanned out.
8 years ago
Scott Anderson
382f712792
Merge remote-tracking branch 'upstream/master' into rotation
8 years ago
Scott Anderson
632a7acb03
Filled out more wlr_output fields.
8 years ago
Drew DeVault
6f5c70ac69
Let backend track transform state
...
This will be necessary to provide it to clients via wl_output.
8 years ago
Scott Anderson
c97de93fe1
Added output rotation example
8 years ago
Drew DeVault
7d82476590
Refactor type implementations
8 years ago
Scott Anderson
5df56653ab
Changed invalidate interface.
8 years ago
Scott Anderson
de44994dfc
Udev event device matching
8 years ago
Drew DeVault
40b85d992a
Refactor udev and drm initialization
8 years ago
ascent12
62d612a01e
Merge branch 'master' into session
8 years ago
Drew DeVault
ae77004346
Add more logging around udev
8 years ago
Drew DeVault
e2ee67125e
s/wayland.h/types.h/g
8 years ago
Drew DeVault
c7f6981d9c
Clean up outputs on exit
8 years ago
Drew DeVault
579909a368
Promote types to a standalone subproject
8 years ago
Drew DeVault
fee409bd0a
Generalize DPMS, remove DRM refs from example
8 years ago
Drew DeVault
03c9b46034
Have backend manage opengl context
8 years ago
Scott Anderson
f9d363fece
Added device matching
8 years ago
Scott Anderson
7efdd3c9fc
Refactored renderer startup to function.
8 years ago
Scott Anderson
ce8786721b
Got it working.
8 years ago
Scott Anderson
058b8bdf27
Working commit
8 years ago
Scott Anderson
409065ba2e
Changed to signed
8 years ago
Scott Anderson
eac603bfdf
Merge branch 'master' into refresh
8 years ago