2313 Commits (2b767fe743515610ece53e7095d237dcee1d0144)

Author SHA1 Message Date
Kirill Primak 4ec683ad1c surface: introduce events.client_commit
3 years ago
Kirill Primak b6f43ab2e1 subcompositor: split out from compositor
3 years ago
Isaac Freund 823476e76e
wlr_texture: remove wlr_texture_from_wl_drm() from header
3 years ago
Simon Ser 93e050c602 Remove wlr_box.h redirection
3 years ago
Isaac Freund 92d137c78a layer-shell: fix type of margins
3 years ago
Isaac Freund 07ccc6e0b3
scene: add wlr_scene_set_presentation()
3 years ago
Simon Ser bedfec94bb backend/drm: use drmCloseBufferHandle
3 years ago
Simon Ser 4377b55292 util/global: remove wl_display arg from wlr_global_destroy_safe
3 years ago
Guido Günther 4c59f7d46a xdg-activation: Allow to submit tokens
3 years ago
Isaac Freund 1c3e0816f3
scene: fix wlr_scene_send_frame_done() API
3 years ago
Isaac Freund fecde72be3 scene: add wlr_scene_send_frame_done()
3 years ago
Isaac Freund fb1f613510 scene: add primary output to wlr_scene_surface
3 years ago
Isaac Freund 0215dffba5 scene: send surface enter/leave output events
3 years ago
Chris Chamberlain d8ca494558 backend/drm: add wlr_drm_backend_monitor
3 years ago
Kirill Primak 0fcc842291 subsurface: don't add to parent list immediately
3 years ago
Kirill Primak 7964bdae76 surface: fix non-buffer damage handling
3 years ago
Simon Ser 36a2b19485 output: introduce wlr_output_set_name
3 years ago
Simon Ser c50c4fc5cc linux-dmabuf-v1: add per-surface feedback
3 years ago
Simon Ser 1d8340754b linux-dmabuf-v1: implement v4
3 years ago
Simon Ser 77d811a21b render: add wlr_renderer_init_wl_shm
3 years ago
Simon Ser efeb8346cf output: drop front_buffer
3 years ago
Simon Ser f016eca97c output: add wlr_output_event_commit.buffer
3 years ago
Simon Ser 7201aae3d6 render/drm-format-set: add wlr_drm_format_set_intersect
3 years ago
Simon Ser 1bf9676e87 render/egl: improve modifier support detection
3 years ago
Simon Ser 051d1ce90e render/egl: add wlr_egl_create_with_context
3 years ago
Simon Ser ffd4a27714 render/egl: store IMG_context_priority in wlr_egl
3 years ago
Simon Ser ba974a4e9f scene: add wlr_scene_get_scene_output
3 years ago
Simon Ser 697a1cd0f5 output: add wlr_output_get_primary_formats
3 years ago
Simon Ser e93435016e output: fix typo in wlr_output_impl.get_primary_formats docs
3 years ago
Simon Ser 83d78f9fd4 render: add DMA-BUF docs
3 years ago
Simon Ser d78cb808b1 render/drm_format_set: add wlr_drm_format_has
3 years ago
Simon Ser 585a908a01 scene: add wlr_scene_xdg_surface_create
3 years ago
Simon Zeni 1d3dd7fc08 backend: remove noop backend
3 years ago
Simon Ser b234edcf58 backend/headless: drop wlr_headless_backend_create_with_renderer
3 years ago
Simon Ser f29abe4c77 backend/headless: stop picking a DRM FD
3 years ago
Simon Ser 1d9c1bcea6 input-device: remove wlr_input_device.link
3 years ago
Simon Ser 3b93da70a0 backend/wayland: report parent presentation clock
3 years ago
Simon Ser 3d73b899ff linux-dmabuf-v1: hide wlr_linux_buffer_params_v1
3 years ago
Simon Ser e656697a7d backend/drm: scan leases on uevent
3 years ago
Simon Ser 6bb8973309 drm-lease-v1: listen to lease destroy event
3 years ago
Simon Ser 86f5ecf468 backend/drm: introduce wlr_drm_lease
3 years ago
Simon Ser a37f538ca0 Introduce WLR_DEVICE_LEASE events
3 years ago
Manuel Stoeckl e879d566bb output: Add function to set preferred render format
3 years ago
Manuel Stoeckl 7508f87fcb output: lift up output format fallback logic
3 years ago
Simon Zeni fdf3169b41 backend: remove wlr_backend_get_renderer
3 years ago
Simon Zeni a143093339 backend/headless: don't store the parent renderer
3 years ago
Simon Zeni 6dc6af1534 backend: remove backend_get_allocator
3 years ago
Simon Ser 142d10e591 output: add wlr_output_init_render
3 years ago
Demi Marie Obenour b5d4bc3c62 Improve wlr_drm_format documentation
3 years ago
Simon Ser a04cfca4da Remove support for DMA-BUF flags
3 years ago
Simon Zeni 02a1ae169e render/allocator: make wlr_allocator part of the public API
3 years ago
Isaac Freund ab16861e86 text-input: fix type of send_preedit_string() args
3 years ago
Simon Ser 76bab68e70 output: drop wlr_output_export_dmabuf
3 years ago
Simon Ser e13f3f8608 backend/drm: handle per-connector hotplug events
3 years ago
Simon Ser 2ff4e113e2 backend/session: introduce wlr_device_change_event
3 years ago
Simon Ser 3e801d68f2 xwayland: add support for -noTouchPointerEmulation
3 years ago
Ronan Pigott 8e225261f0 backend/wayland: use xdga client activation
3 years ago
Ronan Pigott e2aff8a9b0 xdg-activation-v1: add data field and emit token destroy events
3 years ago
Ronan Pigott 6ad0f819e2 xdg-activation-v1: enable compositors to request their own tokens
3 years ago
Simon Ser 0817c52a21 backend/drm: get rid of BO handle table
3 years ago
Simon Ser fb393ddf84 output: split into multiple files
3 years ago
Simon Ser a4ccca0834 scene: add support for direct scan-out
3 years ago
Simon Ser db4c93028d scene: add wlr_scene_output_for_each_surface
3 years ago
Simon Ser 7c10a77e0a presentation-time: remove unused field
3 years ago
Kirill Primak 6c3a71d9f6 presentation-time: use a surface addon
3 years ago
nyorain 8e34692250 render/vulkan: add Vulkan renderer
3 years ago
Kirill Primak 2af8cc769a output: add presented flag to presentation event
3 years ago
Isaac Freund 4fae8f7be3 scene: add functions to place node on top/bottom
3 years ago
Isaac Freund 2a8d385386 scene: assert that node != sibling in place above/below
3 years ago
Kirill Primak c3e54021f8 xdg-decoration: refactor configure/state flow
3 years ago
tiosgz ce66244fd2 surface_at: check if surfaces are mapped
3 years ago
tiosgz 893434b2d4 for_each_surface: only iterate mapped surfaces
3 years ago
Elyes HAOUAS dc3d1530bf Fix spelling errors
3 years ago
Simon Ser 323b8498ad Revert "render/drm_format_set: add wlr_drm_format_has"
3 years ago
Simon Ser 833437d592 render/drm_format_set: add wlr_drm_format_has
3 years ago
Simon Ser 665a164f27 xdg-shell: rename wlr_xdg_surface.next_configure_serial
3 years ago
Simon Ser 0e34208344 xdg-shell: introduce wlr_xdg_surface.current
3 years ago
Kirill Primak db4afc2408 xdg-surface: add pending state
3 years ago
José Expósito 20d9448257 wlr_pointer_gestures: hold gestures (protocol v3)
3 years ago
José Expósito 4c3e307ec8 cursor: emit hold gesture events
3 years ago
José Expósito 62e62b6942 backend/wayland: send hold gesture events
3 years ago
José Expósito 52d2491931 backend/libinput: send hold gesture events
3 years ago
José Expósito d069a783bc pointer: add hold pointer event definition
3 years ago
Kirill Primak 754f40f9cb layer-shell: add `committed` bitmask
3 years ago
Kirill Primak 59fa3637c3 layer-shell: refactor configure/state flow
3 years ago
Simon Ser 3c26244340 scene: add wlr_scene_buffer_set_transform
3 years ago
Simon Ser 43833fba64 scene: add wlr_scene_buffer_set_dest_size
3 years ago
Simon Ser 63040d6744 scene: add wlr_scene_buffer_set_source_box
3 years ago
Simon Ser fdc22449d6 util/box: introduce wlr_fbox_empty
3 years ago
Simon Ser 7939bf8cc6 scene: add wlr_scene_buffer
3 years ago
Tadeo Kondrak 30d3c76817 Implement input_method_v2 popups
3 years ago
Simon Ser 2e12de96ca backend/drm: add support for panel orientation
3 years ago
Simon Ser 0c5ff5efab build: simplify get_variable calls
3 years ago
Simon Ser 2e590026e9 scene: add wlr_scene_subsurface_tree_create
3 years ago
Simon Ser 597ba2b932 surface: add addon set
3 years ago
Simon Ser 211b3b760e scene: add wlr_scene_tree
3 years ago
Kirill Primak 0e2d369106 xdg-surface: simplify configure mechanism
3 years ago
Kirill Primak b72a217fcc xdg-toplevel: refactor configure/state flow
3 years ago
Simon Zeni 9579d62a16 types/buffer: make {begin,end}_data_ptr_access part of the public API
3 years ago
Guido Günther e479dc1ef0 xwayland: Allow to retrieve startup-id via _NET_STARTUP_INFO
3 years ago
Simon Ser 4e7a8707cc buffer: add data_ptr access flags
3 years ago
Andri Yngvason 105fdecd0c screencopy: Handle shm copy in commit event handler
3 years ago
Simon Ser a181a37b12 scene: add wlr_scene_attach_output_layout
3 years ago
Simon Ser 44f0f7a0a7 scene: add damage tracking support
3 years ago
Simon Ser 9195b77e14 scene: add wlr_scene_node_coords
3 years ago
Simon Ser 04d105760d scene: add wlr_scene_output_commit
3 years ago
Simon Ser 968c1df7e9 scene: add scene outputs
3 years ago
Simon Zeni 3984c81faa types: introduce wlr_drm_lease_v1
3 years ago
Simon Zeni 94ed8f9496 backend/drm: introduce wlr_drm_backend_get_non_master_fd
3 years ago
Simon Zeni e5a949a955 backend/drm: implement drm lease function
3 years ago
Simon Ser 42dba9dc90 backend/drm: drop wlr_drm_connector.desired_mode
3 years ago
Simon Ser 3c74bd0c91 backend/drm: introduce wlr_drm_connector_state
3 years ago
Simon Ser 3fbf6e02a3 backend/drm: rename enum wlr_drm_connector_state to status
3 years ago
Simon Ser ba0525c5c0 surface: drop wlr_surface_state.buffer_resource
3 years ago
Simon Ser 0fe3b45361 viewporter: hide wlr_viewport
3 years ago
Simon Ser 24c397dbf8 viewporter: add doc comment explaining compositor requirements
3 years ago
Simon Ser bb82b6dada buffer: make wlr_client_buffer_apply_damage return a bool
3 years ago
Simon Ser cbe099dcc7 buffer: take a wlr_buffer in wlr_client_buffer_apply_damage
3 years ago
Kirill Primak 90e62390d9 surface: move subsurface lists to state
3 years ago
Simon Ser 3ac99fa4dc subsurface: move parent link to state
3 years ago
Simon Ser 56b6b80b9a subsurface: rename wlr_subsurface_state to wlr_subsurface_parent_state
3 years ago
Simon Ser 62924cc523 keyboard: add wlr_keyboard.keymap_fd
3 years ago
Simon Ser 55ca93469c util/shm: add allocate_shm_file_pair
3 years ago
Devin J. Pohly 9ed16e39fa scene: replace surface_at() with node_at()
3 years ago
Devin J. Pohly b7cd06e8fa scene: add RECT node type
3 years ago
Devin J. Pohly 526652a554 scene: iterate nodes instead of surfaces when rendering
3 years ago
Simon Ser ee6c841d47 render/allocator/gbm: fix create() docs for FD ownership
3 years ago
Devin J. Pohly a1d462fa81 scene: add node reparent function
3 years ago
Simon Ser e4d0ec9ee1 scene: add wlr_scene_node_surface_at
3 years ago
Simon Ser 501b29db03 scene: add user data pointer to wlr_scene_node
3 years ago
Simon Ser 86e9309808 scene: add wlr_scene_node_toggle
3 years ago
Simon Ser c7d489b5b6 Introduce new scene-graph API
3 years ago
Simon Ser 5dfaf5ea9c backend/drm: introduce wlr_drm_bo_handle_table
3 years ago
Simon Ser 3ce2ea9e16 Move allocator stuff into new directory
3 years ago
Simon Ser b37731cdbb backend/{drm,libinput}: exclude headers when disabled
3 years ago
Kirill Primak 664307f968 util/box: introduce wlr_fbox_transform()
3 years ago
Guido Günther de1522aeee xwayland: Allow to retrieve _NET_STARTUP_ID
3 years ago
Simon Ser 46c42e55c6 backend/drm: add support for FB_DAMAGE_CLIPS
3 years ago
Simon Ser 7544b7abf9 backend/drm: use addon for wlr_drm_fb
3 years ago
Isaac Freund 3364eec07e layer-shell: replace close() with destroy()
3 years ago
Simon Ser ad7651a370 render/gles2: make wlr_gles2_texture a wlr_buffer addon
3 years ago
Simon Ser ee1156b62b render/gles2: make wlr_gles2_buffer an addon
3 years ago
Simon Ser 93964012e6 buffer: add addon set
3 years ago
Simon Ser 3f9e4f7a44 surface: kill wlr_surface.previous
3 years ago
Kirill Primak 111d4eafd7 util/addon: find both by owner and impl
3 years ago
Kirill Primak debd6c5f0b wlr_output_layout: use wlr_addons
3 years ago
Kirill Primak 11f799e88e wlr_outputs: add wlr_addon_set
3 years ago
Kirill Primak a6a80850b7 util: add wlr_addon
3 years ago
Manuel Stoeckl f5df956c18 render/gles2: add a few 10-bit and FP16 formats
3 years ago
Manuel Stoeckl 44e8451cd9 render/gles2: hide shm formats without GL support
3 years ago
Simon Ser 3132c0ab10 output: drop wlr_output_state.buffer_type
3 years ago
Simon Ser f211bc983a output-damage: stop using enum wlr_output_state_buffer_type
3 years ago
Simon Ser 4ddde1a7bd output: drop wlr_output_impl.{attach,rollback}_render
3 years ago
Simon Ser c55f70c8b7 backend/drm: stop initializing renderer for parent backend
3 years ago
Simon Ser c74dc45bb6 backend/drm: drop get_renderer implementation
3 years ago
Simon Ser 9b99570869 backend/drm: drop drm_surface_{make,unset}_current
3 years ago
Simon Ser f5900c1f00 backend/drm: remove primary swapchain
3 years ago
Simon Zeni 6f19295647 render/egl: initialize wlr_egl with EGL_PLATFORM_DEVICE_EXT
3 years ago
Simon Ser 770a561bce xwayland: embed wlr_xwayland_server_options in server struct
3 years ago
Simon Ser 3cf2535c23 render/egl: add support for EGL_EXT_device_drm_render_node
3 years ago
Simon Zeni 04d4fb536d render/wlr_texture: put wlr_texture_from_buffer into the public API
3 years ago
Simon Zeni 646a25667e types/wlr_buffer: introduce wlr_buffer_resource_interface
3 years ago
Simon Zeni f09c88c1b7 types/wlr_buffer: remove wlr_renderer argument from wlr_buffer_from_resource
3 years ago
Simon Ser 2fa47c1837 render: drop wlr_renderer_impl.init_wl_display
3 years ago
ayaka 70fb21c35b backend: make DRM and libinput backends optional
3 years ago
Simon Ser cc8bc0db20 backend/drm: stop restoring CRTCs on exit
3 years ago
Simon Ser 8afb4d8bf0 buffer: re-use wlr_shm_client_buffer
3 years ago
Vyivel a93b18dbd5 input/pointer: send axis source once per frame
3 years ago
Simon Ser bcd5d8504c output: remove wlr_output_impl.export_dmabuf
3 years ago
Simon Ser aec062d0d3 backend/headless: remove wlr_output_impl.export_dmabuf
3 years ago
Simon Ser 87e8c60faf output: add generic wlr_output_export_dmabuf implementation
3 years ago
Simon Ser 28aa803916 buffer: drop resource arg from wlr_client_buffer_create
3 years ago
Simon Ser 9b70eab194 render/gles2: rename wlr_egl.exts to better match Khronos
3 years ago
Simon Ser 4c51a0f6eb render/egl: rename wlr_egl.exts to better match Khronos
3 years ago
Simon Ser 4554f17377 buffer: drop wlr_client_buffer.resource
3 years ago
Simon Ser a0baba4fa0 buffer: add wlr_client_buffer.source
3 years ago
Simon Ser 0abb67c478 buffer: stop using source resource in wlr_client_buffer_apply_damage
3 years ago
Simon Zeni 60f4d8f409 types/wlr_buffer: remove wlr_resource_get_buffer_size
3 years ago
Simon Zeni d086501fba types/wlr_surface: get buffer size from wlr_buffer_import
3 years ago
Simon Zeni 6d8029b07e types/wlr_buffer: split wlr_client_buffer_import function
3 years ago
Simon Ser f67cfb2ce2 backend/drm: remove backend arg from wlr_drm_interface.crtc_commit
3 years ago
Simon Ser 017555651b backend/drm: add test_only arg to wlr_drm_interface.crtc_commit
3 years ago
Simon Ser b934fbaf04 seat: add wlr_seat_touch_{send,notify}_frame
3 years ago
Simon Ser 22fd411bc3 cursor: add touch frame event
3 years ago
Simon Ser 2d36d7fb67 backend/libinput: send touch frame events
3 years ago
Simon Ser 84906a832f touch: add frame event
3 years ago
Simon Zeni 4c7657ee62 util/box: stabilize interface
3 years ago
Simon Zeni e192d87731 move wlr_box from /types to /util
3 years ago
Simon Zeni d975f35bba types/wlr_box: remove unused wlr_box_from_pixman_box32 and wlr_box_rotated_bounds functions
3 years ago
Simon Ser 9a8097682b buffer: stop sending wl_buffer.release events from wlr_client_buffer
3 years ago
Simon Ser d3d1c69aca buffer: remove renderer param from wlr_resource_get_buffer_size
3 years ago
Simon Ser 8a4957570f render/egl: remove EGL_WL_bind_wayland_display support
3 years ago
Simon Ser e5b5592a95 render: remove wl_drm support from wlr_renderer
3 years ago
Simon Ser c868e509b7 drm: add support for DMA-BUFs
3 years ago
Simon Ser f7e3d325fe Add a stub wl_drm implementation
3 years ago
Simon Ser 78121ad2d8 xcursor: improve documentation
3 years ago
Simon Ser e8c408b31b region: drop leftover reference to the mailing list
3 years ago
Simon Ser 82af6e7208 region: stabilize interface
3 years ago
Simon Ser 475d9701e2 Remove reference to the announce mailing list
3 years ago
Simon Ser a38baec1f8 buffer: make enum wlr_buffer_cap public
3 years ago
Simon Ser 29be2d47e4 render: drop wlr_renderer_impl.texture_from_dmabuf
3 years ago
Simon Ser 08e5b909f9 buffer: add wlr_dmabuf_buffer
3 years ago
Simon Ser 18adb43a44 render: drop wlr_renderer_impl.texture_from_pixels
3 years ago
Simon Ser 7ec66a9990 buffer: introduce wlr_readonly_data_buffer
3 years ago
Simon Ser 57b70a478c Drop wlr_list
3 years ago
Simon Ser 5888c96da8 tablet: stop using wlr_list
3 years ago
Simon Ser e6cb11d882 backend/libinput: stop using wlr_list internally
3 years ago
Simon Ser a6ed4ae308 util/array: add array_remove_at
3 years ago
Simon Ser dbb0e2f75b Remove unused wlr_list.h includes
3 years ago
Simon Ser 1db976cecb render/egl: replace wlr_egl_create with wlr_egl_create_with_drm_fd
3 years ago
Simon Ser 1b4fb4b537 touch: document event data types
3 years ago
Simon Ser bcbdee43f7 pointer: document event data types
3 years ago
Simon Ser 7cbcc65ad0 surface: make wlr_subsurface_create private
3 years ago
Simon Ser 634a20d89c Drop WLR_VERSION_API_*
3 years ago
Simon Ser a2419eb4ea render/egl: make most functions private
3 years ago
Simon Ser b69db15da6 render/egl: remove stale wlr_egl_export_image_to_dmabuf decl
3 years ago
Simon Ser 2f615468b6 backend: add output state allow-lists
3 years ago
zccrs 3c03639cd5 render: add get native paint target of renderer
3 years ago
zccrs dc17ecd236 render/pixman: add wlr_*_is_pixman and wlr_pixman_texture_get_image
3 years ago
zccrs fdc40e071e render/gles2: add wlr_renderer_is_gles2
3 years ago
Simon Ser 2806154900 render: add missing arg to wlr_renderer_impl.get_buffer_caps
4 years ago
Simon Ser b2f6db3533 render: drop wlr_ prefix from wlr_renderer_bind_buffer
4 years ago
Simon Ser 69477051cc matrix: deprecate wlr_matrix_projection
4 years ago
Simon Ser 543f5b35d0 backend/wayland: remove swapchain
4 years ago
Simon Ser a670ee7940 backend/x11: remove swapchain
4 years ago
Simon Ser 68c4f15958 backend/x11: implement get_dmabuf_primary_formats
4 years ago
Simon Ser 44feb832f9 backend/headless: remove swapchain
4 years ago
Simon Ser 1a06ea7750 output: make attach_render and rollback_render optional
4 years ago
Simon Ser 4d603826c8 output: add get_primary_formats to interface
4 years ago
Simon Ser 7c26345826 buffer: introduce wlr_shm_client_buffer
4 years ago
Simon Ser 625c66ef75 render/pixman: implement texture_from_buffer
4 years ago
Simon Ser 38ba5881a0 buffer: replace get_data_ptr with {begin,end}_data_ptr_access
4 years ago
Simon Ser 9e58301df7 surface: allow placing subsurfaces below parent
4 years ago
zccrs 11040d4942 Make the xdg_popup_get_position to public
4 years ago
Simon Ser 76f51a949f xdg-activation-v1: add token timeout
4 years ago
Simon Ser 8ff435831f xdg-activation-v1: new protocol implementation
4 years ago
Simon Ser b86a0c8d8f backend/drm: move cursor fields to wlr_drm_connector
4 years ago
Simon Ser 2b0a1aeed5 output: take a wlr_buffer in set_cursor
4 years ago
Simon Ser e06ea4e84a backend/drm: remove format arg from drm_plane_init_surface
4 years ago
Simon Ser 9e9be83a58 backend/drm: implement get_cursor_formats and get_cursor_size
4 years ago
Simon Ser 91ee33e956 output: add get_cursor_formats and get_cursor_size to interface
4 years ago
Simon Ser 6430230d1f render: add wlr_renderer_begin_with_buffer
4 years ago
Simon Ser 766a24fa77 render/allocator: add wlr_allocator.buffer_caps
4 years ago
Tudor Brindus ae2f3ecb68 xwm: implement _NET_CLIENT_LIST_STACKING
4 years ago
Simon Ser abf527b075 render/gles2: fix texture cleanup on destroy
4 years ago
Simon Ser fd2b1f018e backend/x11: use common renderer and allocator
4 years ago
Simon Ser c82f37542d backend/headless: use common renderer and allocator
4 years ago
Simon Ser 349553d011 backend/wayland: use common renderer and allocator
4 years ago
Simon Ser 4dae12890f backend: automatically create allocator
4 years ago
Simon Ser bcabe34a2e backend: automatically create renderer
4 years ago