Calvin Lee
a8c1e8ce69
Add user data to wlr_* structs
...
Resolves #68
2017-08-11 20:44:17 +02:00
Drew DeVault
9f103ca71e
Merge pull request #66 from martinetd/leak_plumbing
...
Leak plumbing
2017-08-11 14:22:02 -04:00
Dominique Martinet
1c7dd71208
WIP: example/shared.c free
...
Still missing something, the _remove functions are never called
2017-08-11 19:41:10 +02:00
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
2017-08-11 19:17:03 +02:00
Dominique Martinet
0663b6d1e1
Build libinput events on the stack instead of allocating
2017-08-11 18:38:27 +02:00
Drew DeVault
62d8b252c0
Refactor meson and move xdg-shell into wlroots
2017-08-11 09:37:09 -04:00
Drew DeVault
a6efb90382
s/gen/ensure/ fixes #47
2017-08-11 09:00:26 -04:00
Drew DeVault
3375381610
Fix segfault during xdg-shell cleanup
2017-08-10 22:24:24 -04:00
Drew DeVault
6569c2b626
Merge pull request #53 from nyorain/drm_buffer
...
Implement drm (egl) buffer attaching
2017-08-10 22:20:21 -04:00
Drew DeVault
c24351681f
Refactor EGL handling
2017-08-10 22:15:37 -04:00
Scott Anderson
fe2fbd0fad
Fix possible use of CRTC after monitor is unplugged
2017-08-11 11:12:41 +12:00
Scott Anderson
5465621d0a
Update rotation matrix correctly. Fixes #60 .
2017-08-11 09:29:28 +12:00
Drew DeVault
4aaf76cb66
wlr_output_update_matrix during wl backend init
2017-08-10 13:27:14 -04:00
Drew DeVault
7095274a9e
Merge branch 'master' into drm_buffer
2017-08-10 13:19:39 -04:00
Drew DeVault
ea63f9e53f
Merge pull request #59 from acrisci/bug/release-when-no-damage
...
release buffer on surface flush when no damage
2017-08-10 11:18:23 -04:00
Tony Crisci
73adb49f15
release buffer on surface flush when no damage
2017-08-10 11:12:33 -04:00
Drew DeVault
3c12a32d1f
Merge pull request #58 from acrisci/feature/enable-gl-blending
...
enable gl blending
2017-08-10 08:41:11 -04:00
Tony Crisci
49e97857c7
enable gl blending
...
This makes transparency work correctly.
fixes #56
2017-08-10 08:38:55 -04:00
Drew DeVault
888986b038
Remove excess logging
2017-08-10 08:36:45 -04:00
Drew DeVault
7da43ff8b0
Implement wlr_surface_flush_damage
2017-08-10 08:26:16 -04:00
Drew DeVault
947bb2e436
Merge pull request #57 from acrisci/feature/create-region
...
implement compositor create region
2017-08-10 07:40:37 -04:00
nyorain
31d78ff497
Fix wlr_surface destruction bug
2017-08-10 12:42:35 +02:00
Tony Crisci
14654ecb77
implement compositor create region
...
Complete the implementation of wlr_region_create and put it in the compositor.
2017-08-10 05:59:43 -04:00
nyorain
073dff63da
Fix style issues
2017-08-10 11:05:18 +02:00
nyorain
1901c3e1b6
Fix example for updated gles
2017-08-10 11:03:58 +02:00
nyorain
67369173aa
Implement drm (egl) buffer attaching
2017-08-10 10:59:58 +02:00
Drew DeVault
750d0ad458
Flesh out wlr_surface state lifecycle a bit
...
Sprinked some TODOs around for future work
2017-08-09 23:34:50 -04:00
Drew DeVault
a5d1b6a2c9
Specify gcc explicitly in .build.yml
2017-08-09 22:59:02 -04:00
Drew DeVault
e2b7712302
Use texture->pixel_format instead of re-scanning
2017-08-09 22:56:57 -04:00
Drew DeVault
4de930542f
Implement partial texture uploads
2017-08-09 22:17:40 -04:00
Drew DeVault
b109aecff9
Merge pull request #52 from acrisci/feature/surface-frame-cb
...
Implement surface frame callback
2017-08-09 17:52:31 -04:00
Drew DeVault
4dfc6460f3
Style fixes
2017-08-09 17:52:02 -04:00
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.
2017-08-09 17:31:38 -04:00
Tony Crisci
87fe13a9fa
release shm buffer after uploading
2017-08-09 17:31:38 -04:00
Drew DeVault
3ce1341e3c
Merge pull request #43 from acrisci/feature/shell-surface-interface
...
shell surface interface
2017-08-09 17:30:51 -04:00
Drew DeVault
bd2e9a7168
Style cleanup
2017-08-09 17:30:22 -04:00
Tony Crisci
5a7595af77
use generators for wayland protocol gen
2017-08-09 16:50:41 -04:00
Tony Crisci
26edd5fb9e
cleanup for style and formatting
2017-08-09 16:50:40 -04:00
Tony Crisci
816a7f8257
add xdg shell destructors
2017-08-09 16:50:07 -04:00
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.
2017-08-09 12:31:16 -04:00
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.
2017-08-09 12:31:16 -04:00
Tony Crisci
5add87cac6
rename wlr_surface to wlr_texture
2017-08-09 12:31:16 -04:00
Tony Crisci
15885ab54a
implement xdg toplevel stubs
2017-08-09 12:31:16 -04:00
Tony Crisci
c3f15ea284
Add xdg shell stubs
2017-08-09 12:31:16 -04:00
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.
2017-08-09 12:30:11 -04:00
Drew DeVault
df378d3274
Merge pull request #50 from nyorain/wl_surface
...
Add first wlr_surface example implementation
2017-08-09 11:32:02 -04:00
nyorain
fb58307a50
Fix surface destruction
2017-08-09 17:27:12 +02:00
nyorain
cf9ee6ce3f
Move wlr_surface into wlr
2017-08-09 17:27:12 +02:00
nyorain
8473c3955c
Add first wlr_surface example implementation
2017-08-09 17:26:05 +02:00
Drew DeVault
6345d6deed
Merge pull request #51 from nyorain/region
...
Implement wlr_region using pixman
2017-08-09 11:09:36 -04:00