aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-17Add wlr_output_layout implementationTony Crisci
An output layout consists of a mapping of outputs to their position in a global coordinate system that usually cooresponds to the output position in physical space in front of the user. Add an example that allows configuration of an output layout and demonstrates its boundaries with a bouncing image.
2017-08-17Merge pull request #99 from nyorain/wlr_seat2Drew DeVault
wlr_seat
2017-08-17Update keyboard modifiers in example compositornyorain
2017-08-17Update IRC channel in CONTRIBUTING.mdDrew DeVault
2017-08-17Fix style issues in wlr_seatnyorain
2017-08-17Merge pull request #98 from martinetd/wayland_backend_xdgDrew DeVault
Wayland backend xdg
2017-08-17Fix wlr_seat; add to example compositornyorain
2017-08-17Initial pass on wlr_seatDrew DeVault
2017-08-17wayland backend: fix xdg-shell for westonDominique Martinet
- xdg toplevel configure can be called with 0 width/height, in that case we are free to do as we like (so do nothing) - need a display roundtrip after everything is setup but before we start attaching buffers to the surface
2017-08-17wayland backend: fix xdg-shell for gnomeDominique Martinet
Calling wl_surface_commit after setting up the xdg_toplevel is apparently good enough for them. Still missing something for weston.
2017-08-17wayland backend: Fix shell title/app_id to wlrootsDominique Martinet
2017-08-17wayland output: add error handling for xdg shellDominique Martinet
Note that this does not go on to the next backend, because attempt_wl_backend does not check if we have any output created. We cannot test simply because (right now) a run of our examples will go in this function twice, the first of which will (rightly?) return no display but needs to return backend creation success.
2017-08-17wayland backend: switch to xdg shellDominique Martinet
Closes #72 and #96.
2017-08-16Fix DRM problem introduced in 901c14cDrew DeVault
2017-08-16Improve no device detection supportDrew DeVault
2017-08-16Merge pull request #94 from martinetd/libinput_no_deviceDrew DeVault
libinput: fail if no input found on init
2017-08-16Merge pull request #95 from 4e554c4c/list_apiDrew DeVault
Prevent alloc errors from crashing in `list_t`
2017-08-16Prevent alloc errors from crashing in `list_t`Calvin Lee
This commit changes the `list_t` api so that alloc errors can be detected and worked around. Also fixes errors not found in 5cc7342
2017-08-16libinput: fail if no input found on initDominique Martinet
This runs through events pending at init on initialization so we can tell if some devices are available. Note that with the way wlr_device_lists is managed, this checks that there is at least one device we handle - it doesn't have to be a keyboard, but there is at least a mouse or tablet_pad or something that we care about. Instead of failing inconditionally it might be better to leave the decision to the user, e.g. add a "backend_has_devices" function to call later. (Tested by moving /dev/input off) Fixes #24.
2017-08-15Merge pull request #91 from martinetd/move_wl_shellDrew DeVault
Move wl_shell into wlroots
2017-08-15Merge pull request #88 from 4e554c4c/alloc_crashingDrew DeVault
Prevent alloc errors from crashing
2017-08-15Fix wlr_wl/xdg_shell_destroy segfaultDominique Martinet
- Implement xdg_shell_destroy and use it at the right place (impl->destroy is never called) - Remove wl_global_destroy for now, something is missing with the display/registry_resource_list
2017-08-15Make wlr_wl_shell_create work like xdgDominique Martinet
Also: - rename wlr_xdg_shell_v6_init to create as that is what it does - free wlr_xdg_shell on failure to create wl_global, the struct is not initialized enough to call destroy at that point
2017-08-15wl_shell/compositor surface: do not check if it's in list before removingDominique Martinet
2017-08-15example compositor: only iterate over wl_shell and xdg_shell surfacesDominique Martinet
2017-08-15Move wl_shell into wlrootsDominique Martinet
2017-08-15Change how surface matricies are calculatedDrew DeVault
2017-08-15Merge pull request #83 from acrisci/feature/buffer-damage2Drew DeVault
Buffer damage and scaling (attempt 2)
2017-08-15refactor getting surface size into a functionTony Crisci
2017-08-15implement get_buffer_size for egl buffersTony Crisci
2017-08-15formatting fixupTony Crisci
2017-08-15implement buffer transformTony Crisci
2017-08-15remove unused dimension from buffer calculationsTony Crisci
2017-08-15implement surface sizingTony Crisci
2017-08-15initialize buffer damage before conversionTony Crisci
2017-08-15clip surface damage to surface sizeTony Crisci
2017-08-15implement texture get buffer sizeTony Crisci
2017-08-15implement buffer scaleTony Crisci
Keep track of the scale of the buffer set by surface.set_buffer_scale. Calculate the height and width of the texture from the buffer depending on the scale when it is attached. Use buffer damage to determine the damage of the buffer when flushing damage. Convert surface damage to buffer damage and union to the surface buffer_damage prior to flushing damage.
2017-08-15fix formatting in surface_damageTony Crisci
2017-08-15implement surface_damage_bufferTony Crisci
2017-08-15Merge pull request #86 from nyorain/masterDrew DeVault
Fix style issues
2017-08-15Simplify tablet pad destructionnyorain
2017-08-15Prevent alloc errors from crashingCalvin Lee
Resolves #76
2017-08-14Merge pull request #87 from nyorain/wlbcursorDrew DeVault
Implement wayland backend cursor
2017-08-14Add wayland backend cursor supportnyorain
2017-08-14Simplify input device destruction codenyorain
2017-08-14Fix style issuesnyorain
2017-08-14Merge pull request #85 from martinetd/refactor_statesDrew DeVault
Refactor states
2017-08-14wayland input_device_destroy: add missing bracesDominique Martinet
2017-08-14impl->destroy cleanup:Dominique Martinet
- remove trivial destroy() function - make sure we check impl and impl->destroy before calling - always call free if not implemented