Commit Graph

61 Commits

Author SHA1 Message Date
Drew DeVault
f5423a51b5 Use wl_display_run and refactor example keyboards 2017-06-22 11:15:59 -04:00
Drew DeVault
8ce9237c92 Create WAYLAND_DISPLAY socket 2017-06-21 14:33:39 -04:00
Drew DeVault
b93f00b92f Utilize wlr_log in example logging 2017-06-21 14:15:06 -04:00
Drew DeVault
3d71969b2a Make event names consistent 2017-06-21 14:07:09 -04:00
Drew DeVault
f4453d104d Reorganize wlr-common 2017-06-21 12:10:07 -04:00
Drew DeVault
fd91244e83 Update everyone to use new headers 2017-06-21 10:27:45 -04:00
Scott Anderson
d87574948e Added VT switching to every example 2017-06-21 13:40:09 +12:00
Scott Anderson
55854565dc Fixed VT switching 2017-06-21 13:31:29 +12:00
Scott Anderson
091de12bf4 Changed session signal to only emit on DRM changes 2017-06-21 12:47:53 +12:00
Drew DeVault
b9d36c8149 Add dynamic output resizing for Wayland backend
This allows outputs to:
- Not support modesetting
- Resize themselves
2017-06-20 17:51:45 -04:00
Drew DeVault
c9d5a0b2fb Clean up Wayland backend GL context and such 2017-06-20 15:29:27 -04:00
Drew DeVault
632a04f1b7 Implement keyboard LEDs 2017-06-19 15:15:37 -04:00
Drew DeVault
ecb04afcad Implement tablet pads 2017-06-19 14:49:07 -04:00
Drew DeVault
e9609e9adf Allocate framebuffers for hardware cursors
Still doesn't fix cursors though
2017-06-19 14:02:25 -04:00
Drew DeVault
7e038a6110 Add (broken) DRM hardware cursors 2017-06-16 15:38:34 -04:00
Drew DeVault
def3d7c64f Add tablet example 2017-06-15 16:15:12 -04:00
Drew DeVault
2443a070e7 Add colored quad and ellipse rendering primitives 2017-06-15 15:31:13 -04:00
Drew DeVault
3f24f8a1be Flesh out touch events and add demo 2017-06-14 14:50:09 -04:00
Drew DeVault
7dfc2c28f1 Add axis events to pointer example 2017-06-13 12:38:57 -04:00
Drew DeVault
8f284ec0b2 Demonstrate pointer button event in example 2017-06-13 12:31:24 -04:00
Drew DeVault
2f9fd72fdc Add pointer example 2017-06-13 12:21:36 -04:00
Drew DeVault
a63230e59c Implement libinput wlr_pointer 2017-06-13 11:05:45 -04:00
Drew DeVault
0dbfe56c89 Simplify examples 2017-06-13 10:13:11 -04:00
Drew DeVault
6bf7e095cf Flesh out keyboard support in examples 2017-06-13 08:10:36 -04:00
Drew DeVault
5dd96c0772 Incorporate XKBCommon into example 2017-06-13 08:10:36 -04:00
Drew DeVault
12612572ef Exit sample on key press 2017-06-13 08:10:36 -04:00
Drew DeVault
59ceaf507e Handle key presses 2017-06-13 08:10:36 -04:00
Drew DeVault
0e75d157f5 Initialize keyboards from libinput 2017-06-13 08:10:36 -04:00
Drew DeVault
af69591e62 Add error handling and init in backend_autocreate 2017-06-13 08:10:36 -04:00
Drew DeVault
28e3148bbc Spice up the example program a bit 2017-06-09 10:38:29 -04:00
Drew DeVault
cd6a40d816 Further improvements to rendering subsystem 2017-06-08 15:52:42 -04:00
Drew DeVault
83f8864f0a Add wlr_renderer and move quad rendering there 2017-06-08 12:02:51 -04:00
Drew DeVault
211488131f Add wlr_shader to wlr-render 2017-06-08 11:30:38 -04:00
Drew DeVault
fc1dc1b5b0 Use constant VBO for quad, add matrix stuff 2017-06-07 21:35:07 -04:00
Drew DeVault
cda12a3eda Add texture, use index buffer, tweak matricies 2017-06-07 11:06:14 -04:00
Scott Anderson
382f712792 Merge remote-tracking branch 'upstream/master' into rotation 2017-06-08 00:52:33 +12:00
Scott Anderson
632a7acb03 Filled out more wlr_output fields. 2017-06-08 00:39:40 +12:00
Scott Anderson
53dd622263 Provide user with transformation matrix 2017-06-07 16:43:57 +12:00
Drew DeVault
6f5c70ac69 Let backend track transform state
This will be necessary to provide it to clients via wl_output.
2017-06-06 11:48:30 -04:00
Drew DeVault
e240fb0518 s/-d/-o/ 2017-06-06 11:25:36 -04:00
Drew DeVault
f0a6efcfcd example/main.c -> example/simple.c 2017-06-06 11:19:42 -04:00
Scott Anderson
dbb8612d0c Removed testing for wayland/xorg from examples 2017-06-06 11:17:32 +12:00
Scott Anderson
c97de93fe1 Added output rotation example 2017-06-05 22:48:51 +12:00
Drew DeVault
e1c09d8b05 Switch example to use wl_list over list_t 2017-06-04 19:48:02 -04:00
ascent12
62d612a01e Merge branch 'master' into session 2017-06-01 23:10:19 +12:00
Drew DeVault
e2ee67125e s/wayland.h/types.h/g 2017-05-31 16:24:32 -04:00
Drew DeVault
c7f6981d9c Clean up outputs on exit 2017-05-31 16:17:04 -04:00
Drew DeVault
fee409bd0a Generalize DPMS, remove DRM refs from example 2017-05-31 15:38:26 -04:00
Drew DeVault
03c9b46034 Have backend manage opengl context 2017-05-31 15:15:42 -04:00
Scott Anderson
058b8bdf27 Working commit 2017-05-14 12:42:49 +12:00