Dominique Martinet
de86965174
Use libinput_event_destroy/xkb_*_unref
...
Also sneak in a missing drmModeFreePlaneResources
7 years ago
Dominique Martinet
be3a0ad065
libinput backend: fill in handle_device_removed
...
And fix input_remove_notify accordingly
7 years ago
Dominique Martinet
1c7dd71208
WIP: example/shared.c free
...
Still missing something, the _remove functions are never called
7 years ago
Drew DeVault
62d8b252c0
Refactor meson and move xdg-shell into wlroots
7 years ago
Drew DeVault
3375381610
Fix segfault during xdg-shell cleanup
7 years ago
Drew DeVault
c24351681f
Refactor EGL handling
7 years ago
Drew DeVault
7095274a9e
Merge branch 'master' into drm_buffer
7 years ago
Drew DeVault
7da43ff8b0
Implement wlr_surface_flush_damage
7 years ago
nyorain
31d78ff497
Fix wlr_surface destruction bug
7 years ago
Tony Crisci
14654ecb77
implement compositor create region
...
Complete the implementation of wlr_region_create and put it in the compositor.
7 years ago
nyorain
1901c3e1b6
Fix example for updated gles
7 years ago
nyorain
67369173aa
Implement drm (egl) buffer attaching
7 years ago
Tony Crisci
8306f46dfb
implement surface frame
...
The surface frame callback lets a window know when it is a good time to show the
next frame if it is animating. In particular, this callback is used by
weston-simple-shm to throttle drawing.
7 years ago
Drew DeVault
bd2e9a7168
Style cleanup
7 years ago
Tony Crisci
5a7595af77
use generators for wayland protocol gen
7 years ago
Tony Crisci
26edd5fb9e
cleanup for style and formatting
7 years ago
Tony Crisci
816a7f8257
add xdg shell destructors
7 years ago
Tony Crisci
bdfe9faf58
Add todo for destroy_xdg_shell_surface
...
This free was causing crashes so remove the implementation and make a note to
do it later.
7 years ago
Tony Crisci
a6c7d8d14f
send configure event after creating toplevel
...
The xdg shell protocol requires us to send a configure in order for the client
to start attaching buffers.
7 years ago
Tony Crisci
5add87cac6
rename wlr_surface to wlr_texture
7 years ago
Tony Crisci
15885ab54a
implement xdg toplevel stubs
7 years ago
Tony Crisci
c3f15ea284
Add xdg shell stubs
7 years ago
Tony Crisci
347707c962
Add shell surface stubs
...
Add stubs for the wl_shell_surface interface.
Implement wl_shell_get_shell_surface by creating the shell surface and settings
its implementation to these stubs.
7 years ago
nyorain
cf9ee6ce3f
Move wlr_surface into wlr
7 years ago
nyorain
8473c3955c
Add first wlr_surface example implementation
7 years ago
Drew DeVault
ba87585bbe
Merge pull request #48 from nyorain/wlr_texture
...
Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
nyorain
e167f41fde
Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
Drew DeVault
9383aaf89e
Accomodate for hotspot in cursor position
7 years ago
Drew DeVault
7486263f7e
Add xcursor sublibrary
7 years ago
Scott Anderson
2f8b5c4448
More cleanups
8 years ago
Drew DeVault
5bf61ca7ed
Check for multi backend before using it
8 years ago
Scott Anderson
4d4da18437
Fixed VT switching
8 years ago
Scott Anderson
cb4d50e22c
Changed header paths.
8 years ago
Scott Anderson
ae4478e17f
Changed ownership of wlr_session to the multi backend.
...
Currently breaks VT switching for examples.
8 years ago
nyorain
fdab81e1c9
Use meson build system
8 years ago
Drew DeVault
7c393d5143
Missed a variable
8 years ago
Drew DeVault
95653c0bf7
Minor nitpicking in wl_compositor
8 years ago
Tony Crisci
effea557bb
Implement destroying surfaces
...
Add a signal for wlr_surface destruction on the wlr_surface that compositors
can listen to to remove the surface from their state.
Implement a listener for this in the example wl_compositor to remove the
surface from its internal list of surfaces.
Destroy the surface in the compositor destroy_surface callback given when the
surface resource was created.
Add a reference to the surface resource to the wlr_surface so a compositor can
find it in its list of resources upon wlr_resource destruction.
8 years ago
Tony Crisci
6610aa7ca7
Implement shm buffer surface attach interface
...
Implement surface_attach method. This is called when a client attaches an shm
buffer with wl_surface_attach().
Implement the GLES2 interface for attaching shm buffers. This creates an opengl
texture with the shm buffer contents for the surface.
This commit also includes some working code to render the surfaces onto the
screen for demonstration purposes.
8 years ago
Tony Crisci
555914a13b
Add surface interface stubs in compositor example
...
Add the wayland surface interface to the example compositor.
Implement the create_surface method to create a new wlr surface from the
wayland surface and add the interface.
8 years ago
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).
8 years ago
Drew DeVault
b08aa9fd35
Revert "Merge pull request #27 from ascent12/meson"
...
This reverts commit 85805da021
, reversing
changes made to 8189c64d7f
.
8 years ago
Drew DeVault
7b9c330bc5
Revert "Fixed linking error"
...
This reverts commit c81324bd0b
.
8 years ago
Scott Anderson
c81324bd0b
Fixed linking error
8 years ago
Scott Anderson
e54b1eded4
Small linking fix
8 years ago
Scott Anderson
a2ba226ba3
Use subdir
8 years ago
Scott Anderson
924bf0f669
Changed build system to meson
8 years ago
Scott Anderson
8189c64d7f
Fixed that warnings that showed up with optimisations.
8 years ago
Scott Anderson
ceef12cb5a
Exit cleanly if we cannot open Wayland socket.
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