Commit graph

3411 commits

Author SHA1 Message Date
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
nyorain
60ecbe4246 Update ci for pixman 2017-08-09 17:06:19 +02:00
nyorain
1bea754521 Implement wlr_region using pixman 2017-08-09 17:05:55 +02:00
Scott Anderson
a77fac0760 Added null check on crtc 2017-08-10 01:43:42 +12:00
Drew DeVault
ef1f947d49 Merge pull request #49 from ascent12/drm-atomic
Atomic modesetting
2017-08-09 08:07:12 -04:00
Scott Anderson
af67966d92 Atomic modesetting 2017-08-09 08:07:00 -04:00
Drew DeVault
913829e381 Switch .build.yml to meson 2017-08-08 18:02:32 -04:00
Drew DeVault
ba87585bbe Merge pull request #48 from nyorain/wlr_texture
Rename wlr_surface -> wlr_texture; attach -> upload
2017-08-08 13:12:16 -04:00
nyorain
e167f41fde Rename wlr_surface -> wlr_texture; attach -> upload 2017-08-08 18:25:16 +02:00
Drew DeVault
622a0d838b Add logging in wlr_cursor 2017-08-08 11:56:52 -04:00
Drew DeVault
9383aaf89e Accomodate for hotspot in cursor position 2017-08-08 11:44:44 -04:00
Scott Anderson
afd058b754 Fix software cursor. Fixes #45 2017-08-08 20:22:26 +12:00
Drew DeVault
7486263f7e Add xcursor sublibrary 2017-08-07 21:13:04 -04:00
Drew DeVault
ab063c3936 Merge pull request #44 from ascent12/drm
DRM plane support, refactoring, and other changes
2017-08-07 08:01:32 -04:00
Scott Anderson
d09ca20a4d Use gbm_bo_map for cursor 2017-08-07 21:07:42 +12:00
Scott Anderson
dbe66d1963 Style changes 2017-08-07 10:15:05 +12:00
Scott Anderson
5a636b21ba Remove old fields 2017-08-06 21:51:34 +12:00
Scott Anderson
5f7042a1f2 Moved headers 2017-08-06 21:49:04 +12:00
Scott Anderson
d307c2f2c2 Renamed some variables to be less generic 2017-08-06 21:42:36 +12:00
Scott Anderson
1db97a9af9 Updated DRM cursor rendering 2017-08-06 21:38:40 +12:00
Scott Anderson
aedfa27d3a Clean up resources when plane is reassigned 2017-08-06 15:54:38 +12:00
Scott Anderson
2f8b5c4448 More cleanups 2017-08-06 15:53:41 +12:00
Scott Anderson
dd7a349295 Various cleanups 2017-08-06 15:51:49 +12:00
Scott Anderson
d1ca1ec16e Split off some functions into drm-util 2017-08-06 15:51:49 +12:00
Scott Anderson
c46605d605 Use plane for rendering 2017-08-06 15:50:23 +12:00
Scott Anderson
e16c5504cd Add planes. 2017-08-06 15:49:05 +12:00
Scott Anderson
67b51f0922 Upgraded CRTC and Encoder matching 2017-08-06 15:49:05 +12:00
Scott Anderson
31867a1b2e Various changes/cleanups 2017-08-06 15:49:05 +12:00
Scott Anderson
7b772e1a4b DRM resource initalisation 2017-08-06 15:49:02 +12:00
Scott Anderson
601bbad5d8 Added DRM property infrastructure 2017-08-06 15:47:00 +12:00
Drew DeVault
f95c02eebe Merge pull request #29 from ascent12/session
Moved session into backend/session and changed ownership
2017-08-05 23:11:26 -04:00
Drew DeVault
5bf61ca7ed Check for multi backend before using it 2017-08-05 23:08:35 -04:00
Drew DeVault
f1a069d50d Log that the X11 backend is unimplemented 2017-08-05 23:03:56 -04:00
Scott Anderson
4d4da18437 Fixed VT switching 2017-08-06 13:37:49 +12:00
Scott Anderson
3373ec5fc8 Update build files 2017-08-06 13:30:18 +12:00
Scott Anderson
cb4d50e22c Changed header paths. 2017-08-06 13:25:26 +12:00
Scott Anderson
2ae5cd6539 Moved session/ into backend/ 2017-08-06 13:25:26 +12:00
Scott Anderson
ae4478e17f Changed ownership of wlr_session to the multi backend.
Currently breaks VT switching for examples.
2017-08-06 13:25:26 +12:00
Drew DeVault
41b98f21e5 Merge pull request #42 from acrisci/bug/no-switch-active-textures
Remove unnecessary calls to glActiveTexture
2017-08-05 18:26:43 -04:00
Drew DeVault
d6d1d57c69 Merge pull request #31 from nyorain/merged
Use meson as build system
2017-08-05 18:26:13 -04:00
nyorain
fdab81e1c9 Use meson build system 2017-08-05 22:34:24 +02:00