aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
AgeCommit message (Collapse)Author
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-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-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-15refactor getting surface size into a functionTony Crisci
2017-08-15implement buffer transformTony Crisci
2017-08-15remove unused dimension from buffer calculationsTony Crisci
2017-08-15implement surface sizingTony 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-14Fix style issuesnyorain
2017-08-14Refactor out wlr_touch_stateDominique Martinet
2017-08-14Refactor out wlr_tablet_tool_stateDominique Martinet
2017-08-14Refactor out wlr_tablet_pad_stateDominique Martinet
2017-08-14Refactor out wlr_pointer_stateDominique Martinet
2017-08-14Refactor out wlr_keyboard_stateDominique Martinet
2017-08-14Refactor out wlr_input_device_stateDominique Martinet
2017-08-14Refactor away wlr_renderer_stateDrew DeVault
2017-08-14Refactor out wlr_texture_stateDrew DeVault
2017-08-14Refactor out wlr_output_mode_stateDrew DeVault
2017-08-13Add backend detection functionsCalvin Lee
Resolves #80
2017-08-13Remove wlr_output_state, update backendsDrew DeVault
2017-08-13wlr_backend_init -> wlr_backend_startDrew DeVault
Also renames create to init. We'll use create for anything that allocates and init for anything that takes a pointer and initializes it.
2017-08-12Refactor out wlr_backend_state from wl/multiDrew DeVault
2017-08-11Merge pull request #69 from 4e554c4c/user_dataDrew DeVault
Add user data to wlr_* structs
2017-08-11Add user data to wlr_* structsCalvin Lee
Resolves #68
2017-08-11Fix wlr_surface invalid valuesnyorain
2017-08-11Refactor meson and move xdg-shell into wlrootsDrew DeVault
2017-08-10Refactor EGL handlingDrew DeVault
2017-08-10Merge branch 'master' into drm_bufferDrew DeVault
2017-08-10Implement wlr_surface_flush_damageDrew DeVault
2017-08-10Fix wlr_surface destruction bugnyorain
2017-08-10implement compositor create regionTony Crisci
Complete the implementation of wlr_region_create and put it in the compositor.
2017-08-10Implement drm (egl) buffer attachingnyorain
2017-08-09Flesh out wlr_surface state lifecycle a bitDrew DeVault
Sprinked some TODOs around for future work
2017-08-09Implement partial texture uploadsDrew DeVault
2017-08-09implement surface frameTony Crisci
The surface frame callback lets a window know when it is a good time to show the next frame if it is animating. In particular, this callback is used by weston-simple-shm to throttle drawing.
2017-08-09Move wlr_surface into wlrnyorain
2017-08-09Implement wlr_region using pixmannyorain
2017-08-08Rename wlr_surface -> wlr_texture; attach -> uploadnyorain
2017-08-07Add xcursor sublibraryDrew DeVault
2017-08-06Updated DRM cursor renderingScott Anderson
2017-08-05Check for multi backend before using itDrew DeVault
2017-08-06Fixed VT switchingScott Anderson
2017-08-06Changed header paths.Scott Anderson
2017-08-06Moved session/ into backend/Scott Anderson
2017-08-06Changed ownership of wlr_session to the multi backend.Scott Anderson
Currently breaks VT switching for examples.
2017-08-04Implement destroying surfacesTony Crisci
Add a signal for wlr_surface destruction on the wlr_surface that compositors can listen to to remove the surface from their state. Implement a listener for this in the example wl_compositor to remove the surface from its internal list of surfaces. Destroy the surface in the compositor destroy_surface callback given when the surface resource was created. Add a reference to the surface resource to the wlr_surface so a compositor can find it in its list of resources upon wlr_resource destruction.
2017-07-09Session documentation.Scott Anderson