Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-18 | output: default scale to 1 | Dominique Martinet | |
This prevents us from telling application our scale is 0, when it has no reason to be. | |||
2017-08-17 | Merge pull request #97 from acrisci/feature/output-layout | Drew DeVault | |
Add wlr_output_layout implementation | |||
2017-08-17 | Clean up wlr_output_layout | Drew DeVault | |
2017-08-17 | improve collision detection algorithm | Tony Crisci | |
2017-08-17 | reconfigure output on resolution change | Tony Crisci | |
2017-08-17 | fix output resolution callback | Tony Crisci | |
2017-08-17 | vt change bugfix | Tony Crisci | |
2017-08-17 | add output resolution notify to example shared | Tony Crisci | |
2017-08-17 | add helper methods for intersection | Tony Crisci | |
2017-08-17 | bugfix: correctly get the output_layout | Tony Crisci | |
2017-08-17 | layout-output example: only render if its on the output | Tony Crisci | |
2017-08-17 | layout-output example: handle empty config | Tony Crisci | |
2017-08-17 | Add wlr_output_layout implementation | Tony 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-17 | Merge pull request #99 from nyorain/wlr_seat2 | Drew DeVault | |
wlr_seat | |||
2017-08-17 | Update keyboard modifiers in example compositor | nyorain | |
2017-08-17 | Update IRC channel in CONTRIBUTING.md | Drew DeVault | |
2017-08-17 | Fix style issues in wlr_seat | nyorain | |
2017-08-17 | Merge pull request #98 from martinetd/wayland_backend_xdg | Drew DeVault | |
Wayland backend xdg | |||
2017-08-17 | Fix wlr_seat; add to example compositor | nyorain | |
2017-08-17 | Initial pass on wlr_seat | Drew DeVault | |
2017-08-17 | wayland backend: fix xdg-shell for weston | Dominique 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-17 | wayland backend: fix xdg-shell for gnome | Dominique Martinet | |
Calling wl_surface_commit after setting up the xdg_toplevel is apparently good enough for them. Still missing something for weston. | |||
2017-08-17 | wayland backend: Fix shell title/app_id to wlroots | Dominique Martinet | |
2017-08-17 | wayland output: add error handling for xdg shell | Dominique 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-17 | wayland backend: switch to xdg shell | Dominique Martinet | |
Closes #72 and #96. | |||
2017-08-16 | Fix DRM problem introduced in 901c14c | Drew DeVault | |
2017-08-16 | Improve no device detection support | Drew DeVault | |
2017-08-16 | Merge pull request #94 from martinetd/libinput_no_device | Drew DeVault | |
libinput: fail if no input found on init | |||
2017-08-16 | Merge pull request #95 from 4e554c4c/list_api | Drew DeVault | |
Prevent alloc errors from crashing in `list_t` | |||
2017-08-16 | Prevent 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-16 | libinput: fail if no input found on init | Dominique 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-15 | Merge pull request #91 from martinetd/move_wl_shell | Drew DeVault | |
Move wl_shell into wlroots | |||
2017-08-15 | Merge pull request #88 from 4e554c4c/alloc_crashing | Drew DeVault | |
Prevent alloc errors from crashing | |||
2017-08-15 | Fix wlr_wl/xdg_shell_destroy segfault | Dominique 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-15 | Make wlr_wl_shell_create work like xdg | Dominique 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-15 | wl_shell/compositor surface: do not check if it's in list before removing | Dominique Martinet | |
2017-08-15 | example compositor: only iterate over wl_shell and xdg_shell surfaces | Dominique Martinet | |
2017-08-15 | Move wl_shell into wlroots | Dominique Martinet | |
2017-08-15 | Change how surface matricies are calculated | Drew DeVault | |
2017-08-15 | Merge pull request #83 from acrisci/feature/buffer-damage2 | Drew DeVault | |
Buffer damage and scaling (attempt 2) | |||
2017-08-15 | refactor getting surface size into a function | Tony Crisci | |
2017-08-15 | implement get_buffer_size for egl buffers | Tony Crisci | |
2017-08-15 | formatting fixup | Tony Crisci | |
2017-08-15 | implement buffer transform | Tony Crisci | |
2017-08-15 | remove unused dimension from buffer calculations | Tony Crisci | |
2017-08-15 | implement surface sizing | Tony Crisci | |
2017-08-15 | initialize buffer damage before conversion | Tony Crisci | |
2017-08-15 | clip surface damage to surface size | Tony Crisci | |
2017-08-15 | implement texture get buffer size | Tony Crisci | |
2017-08-15 | implement buffer scale | Tony 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. |