Dominique Martinet
c323bfc6a0
GLES2: detach and delete shaders after LinkProgram
...
Also make sure program linked correctly!
7 years ago
Dominique Martinet
de86965174
Use libinput_event_destroy/xkb_*_unref
...
Also sneak in a missing drmModeFreePlaneResources
7 years ago
Dominique Martinet
e1293a7853
libinput: signal input remove on libinput backend destroy
...
This lets the upper crust cleanup and free their own states
7 years ago
Dominique Martinet
be3a0ad065
libinput backend: fill in handle_device_removed
...
And fix input_remove_notify accordingly
7 years ago
Drew DeVault
65a8999242
Merge pull request #73 from martinetd/fix_libinput
...
Fix libinput destroy for devices with multiple capabilities
7 years ago
Dominique Martinet
c42674bc25
Fix libinput destroy for devices with multiple capabilities
7 years ago
Drew DeVault
ce65a0c138
Merge pull request #69 from 4e554c4c/user_data
...
Add user data to wlr_* structs
7 years ago
Calvin Lee
a8c1e8ce69
Add user data to wlr_* structs
...
Resolves #68
7 years ago
Drew DeVault
3f1b94c019
Merge pull request #70 from nyorain/surface_values
...
Fix wlr_surface invalid bitflag values
7 years ago
nyorain
ed2fc30625
Fix wlr_surface invalid values
7 years ago
Drew DeVault
9f103ca71e
Merge pull request #66 from martinetd/leak_plumbing
...
Leak plumbing
7 years ago
Dominique Martinet
1c7dd71208
WIP: example/shared.c free
...
Still missing something, the _remove functions are never called
7 years ago
Dominique Martinet
0354aaeff2
Complete a few destroy functions
...
This adds missing free calls for:
- drm outputs
- libinput backend in general
- final udev free
- output mode state
7 years ago
Dominique Martinet
0663b6d1e1
Build libinput events on the stack instead of allocating
7 years ago
Drew DeVault
62d8b252c0
Refactor meson and move xdg-shell into wlroots
7 years ago
Drew DeVault
a6efb90382
s/gen/ensure/ fixes #47
7 years ago
Drew DeVault
3375381610
Fix segfault during xdg-shell cleanup
7 years ago
Drew DeVault
6569c2b626
Merge pull request #53 from nyorain/drm_buffer
...
Implement drm (egl) buffer attaching
7 years ago
Drew DeVault
c24351681f
Refactor EGL handling
7 years ago
Scott Anderson
fe2fbd0fad
Fix possible use of CRTC after monitor is unplugged
7 years ago
Scott Anderson
5465621d0a
Update rotation matrix correctly. Fixes #60 .
7 years ago
Drew DeVault
4aaf76cb66
wlr_output_update_matrix during wl backend init
7 years ago
Drew DeVault
7095274a9e
Merge branch 'master' into drm_buffer
7 years ago
Drew DeVault
ea63f9e53f
Merge pull request #59 from acrisci/bug/release-when-no-damage
...
release buffer on surface flush when no damage
7 years ago
Tony Crisci
73adb49f15
release buffer on surface flush when no damage
7 years ago
Drew DeVault
3c12a32d1f
Merge pull request #58 from acrisci/feature/enable-gl-blending
...
enable gl blending
7 years ago
Tony Crisci
49e97857c7
enable gl blending
...
This makes transparency work correctly.
fixes #56
7 years ago
Drew DeVault
888986b038
Remove excess logging
7 years ago
Drew DeVault
7da43ff8b0
Implement wlr_surface_flush_damage
7 years ago
Drew DeVault
947bb2e436
Merge pull request #57 from acrisci/feature/create-region
...
implement compositor create region
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
073dff63da
Fix style issues
7 years ago
nyorain
1901c3e1b6
Fix example for updated gles
7 years ago
nyorain
67369173aa
Implement drm (egl) buffer attaching
7 years ago
Drew DeVault
750d0ad458
Flesh out wlr_surface state lifecycle a bit
...
Sprinked some TODOs around for future work
7 years ago
Drew DeVault
a5d1b6a2c9
Specify gcc explicitly in .build.yml
7 years ago
Drew DeVault
e2b7712302
Use texture->pixel_format instead of re-scanning
7 years ago
Drew DeVault
4de930542f
Implement partial texture uploads
7 years ago
Drew DeVault
b109aecff9
Merge pull request #52 from acrisci/feature/surface-frame-cb
...
Implement surface frame callback
8 years ago
Drew DeVault
4dfc6460f3
Style fixes
8 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.
8 years ago
Tony Crisci
87fe13a9fa
release shm buffer after uploading
8 years ago
Drew DeVault
3ce1341e3c
Merge pull request #43 from acrisci/feature/shell-surface-interface
...
shell surface interface
8 years ago
Drew DeVault
bd2e9a7168
Style cleanup
8 years ago
Tony Crisci
5a7595af77
use generators for wayland protocol gen
8 years ago
Tony Crisci
26edd5fb9e
cleanup for style and formatting
8 years ago
Tony Crisci
816a7f8257
add xdg shell destructors
8 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.
8 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.
8 years ago