Commit Graph

891 Commits

Author SHA1 Message Date
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 e257afeb7e Establish multi backend support 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 c385a7f8af -g is added by default 2017-06-13 08:10:36 -04:00
Drew DeVault 508d135de7 Only allocate device state when it will be used
This design also avoids double frees in the future when we're creating
several wlr_input_devices from one libinput_device.
2017-06-13 08:10:36 -04:00
Drew DeVault 7a5f35b5bb Reassign ownership of libinput handle 2017-06-13 08:10:36 -04:00
Drew DeVault f479b7c8c7 Split keyboard code out into its own file 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 019fff06be Fix issues, flesh out event handling somewhat 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 1262f1400c Initial pass on libinput backend 2017-06-13 08:10:22 -04:00
Drew DeVault 325a331425 Fix some build errors 2017-06-12 22:45:25 -04:00
Drew DeVault 2b06f88f0b Combine internal DRM headers into one
Everything always just included both anyway
2017-06-10 12:30:02 -04:00
Drew DeVault 28e3148bbc Spice up the example program a bit 2017-06-09 10:38:29 -04:00
Drew DeVault 7a25d6c50b Destroy gles3 wlr_surfaces 2017-06-09 10:33:02 -04:00
Drew DeVault 2b909e1729 Add error "handling" to gles3 backend 2017-06-09 10:28:50 -04:00
Scott Anderson 63c3faa006 Fixed rendering bug: Delay calling gbm_surface_release_buffer until it
has been scanned out.
2017-06-09 17:15:55 +12: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
Drew DeVault 69deb99a65 Merge pull request #10 from ascent12/edid
Filled out more wlr_output fields.
2017-06-07 08:42:10 -04: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
Drew DeVault d79f578022 Update README.md, add CONTRIBUTING.md 2017-06-06 10:54:53 -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 6298351d83 Merge pull request #7 from ascent12/logging
Logging improvements
2017-06-04 23:16:28 -04:00
Scott Anderson b537656b4b Removed inline function 2017-06-05 15:09:41 +12:00
Scott Anderson cf07a9fc4f Logging improvements 2017-06-05 14:50:33 +12:00
Drew DeVault e1c09d8b05 Switch example to use wl_list over list_t 2017-06-04 19:48:02 -04:00
Drew DeVault 7d82476590 Refactor type implementations 2017-06-04 19:30:50 -04:00
Drew DeVault 7051d0e79d Merge pull request #6 from ascent12/multi-gpu
Udev event device matching
2017-06-04 12:23:05 -04:00
Scott Anderson 5df56653ab Changed invalidate interface. 2017-06-04 17:43:34 +12:00
Scott Anderson de44994dfc Udev event device matching 2017-06-03 15:47:33 +12:00
Drew DeVault 40b85d992a Refactor udev and drm initialization 2017-06-01 20:29:10 -04:00
ascent12 62d612a01e Merge branch 'master' into session 2017-06-01 23:10:19 +12:00
Drew DeVault ae77004346 Add more logging around udev 2017-05-31 16:53:59 -04: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