2048 Commits (8e346922508aa3eaccd6e12f2917f6574f349843)

Author SHA1 Message Date
Simon Ser 619a975025 render: remove wlr_ prefix from wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Zeni 318e3ac92c render/allocator: introduce wlr_allocator_autocreate
4 years ago
Simon Zeni 982498fab3 render: introduce renderer_get_render_buffer_caps
4 years ago
Simon Zeni 144189674e backend: introduce backend_get_buffer_caps
4 years ago
Simon Zeni 6ec6527855 types/wlr_buffer: introduce wlr_buffer_cap
4 years ago
Simon Zeni a8c91fbac9 render/shm_allocator: make wlr_shm_allocator_create return a wlr_allocator
4 years ago
Simon Zeni c75aa71816 render/gbm_allocator: make wlr_gbm_allocator_create return a wlr_allocator
4 years ago
Simon Ser 24fde77c62 buffer: add format param to get_data_ptr
4 years ago
Simon Zeni 30706b71fb render/pixman: implement preferred_read_format
4 years ago
Simon Ser 9b0e0970f9 backend/drm: destroy backend on udev remove event
4 years ago
Simon Ser 5597776914 backend/session: add wlr_device.events.remove
4 years ago
Simon Ser c49ea9ef4f backend/drm: destroy when parent is destroyed
4 years ago
Aleksei Bavshin e0f239fa28 xwayland: query window PIDs via XResQueryClientIds
4 years ago
Simon Ser 8ca2b4cf49 render/pixman: destroy textures on renderer teardown
4 years ago
Simon Ser 661ba49564 render/gles2: destroy textures on renderer teardown
4 years ago
Simon Zeni 10c5199d85 render/gles2: introduce wlr_gles2_renderer_create_with_drm_fd
4 years ago
Tadeo Kondrak 014c59aa40 backend/x11: add support for shm buffers
4 years ago
Simon Ser e8df7c367a linux-dmabuf-v1: split params and buffer
4 years ago
Simon Ser f64ed60c7b linux-dmabuf-v1: drop some from_resource helpers
4 years ago
ayaka ed1924800d render: make GLES2 renderer optional
4 years ago
Simon Zeni 0d90dddfab render: introduce pixman renderer
4 years ago
Simon Ser 80865351bd backend/wayland: add support for wl_shm buffers
4 years ago
Simon Ser c6b009ef85 render: introduce shared memory allocator
4 years ago
Simon Ser 6c61de996c buffer: introduce wlr_buffer_get_shm
4 years ago
Simon Zeni 0b9288ec0b buffer: introduce wlr_buffer_get_data_ptr
4 years ago
Simon Zeni 84dea55b20 render: rename get_dmabuf_render_formats into get_render_formats
4 years ago
Kenny Levinsen 7f09085461 backend/session: Remove session_impl
4 years ago
Kenny Levinsen d037c2dddc backend/session: Remove direct backend
4 years ago
Kenny Levinsen 95b657ba80 backend/session: Make libseat mandatory
4 years ago
Roman Gilg b36af22c94 backend: move get_drm_fd to public interface
4 years ago
Ryan Farley b29ac8fbac util/uuid: replace with util/token, remove libuuid
4 years ago
Benoit Gschwind ee3640363e Document the wlr_output_layout_get function
4 years ago
Kenny Levinsen d50bbf0bbc backend/session: Remove logind backend
4 years ago
Simon Ser 1eb38e0015 Remove WLR_HAS_XCB_ERRORS
4 years ago
Isaac Freund 78befa59f9 gtk-primary-selection: drop support
4 years ago
Simon Ser a109a80dca render: drop support for ellipses
4 years ago
Simon Ser 9ecfa4343a render: remove wlr_texture_to_dmabuf
4 years ago
Simon Ser 1cdef8da57 render: drop wlr_renderer_blit_dmabuf
4 years ago
Simon Ser 55aaeb25c5 build: use get_variable instead of get_pkgconfig_variable
4 years ago
Simon Ser a9e5df44d8 surface: remove resource_list arg from surface_create
4 years ago
Simon Ser c430cd7d53 surface: make wlr_surface_create private
4 years ago
zccrs e76583f1ad Use absolute paths in include in header files
4 years ago
Simon Ser de5347d0f2 xwayland: require xcb-icccm
4 years ago
Simon Ser 8ecc557ab0 subsurface: use cached surface state
4 years ago
Simon Ser e0258f4506 surface: introduce cached states
4 years ago
Simon Ser 7ac76aba8a surface: introduce commit sequence numbers
4 years ago
Simon Zeni 78d21fa131 render/gles2: remove depth and bpp gles2_pixel_format, use drm pixel format
4 years ago
Simon Zeni 50d2985607 Move render/shm_format functions to render/pixel_format
4 years ago
Simon Zeni 5fd82c6f54 render/pixel_format: introduce pixel format info table
4 years ago
Simon Zeni 9601a2abf0 output: improve transform matrix calculation
4 years ago
Simon Ser 52e40025c4 output: document hotspot coord space
4 years ago
Simon Ser e6f6e1ad0a xwayland: use -listenfd if available
4 years ago
Simon Ser eec2e1d3b1 xwayland: check executable exists on init
4 years ago
Simon Ser cf5b09ede2 Remove unnecessary wayland-server-protocol.h includes
4 years ago
Simon Ser 27fba3df43 render: use DRM formats in wlr_texture_from_pixels
4 years ago
Simon Ser b54ef3372d render: use DRM formats in wlr_renderer_read_pixels
4 years ago
Simon Ser 00bf6674b3 output: use DRM format in wlr_output_preferred_read_format
4 years ago
Simon Ser ddfee63055 render: use DRM formats in wlr_renderer_get_shm_texture_formats
4 years ago
Simon Ser 549435aee5 render/gles2: replace wlr_gles2_texture.wl_format with drm_format
4 years ago
Simon Ser fab396f149 render/gles2: convert format table to DRM formats
4 years ago
Simon Ser 5d6d76c61f render/shm_format: add wl_shm_format conversion helpers
4 years ago
Simon Ser ccb86448eb Replace leftover conf_data with features
4 years ago
Tadeo Kondrak 78685ec6aa text_input_v3: correct typo in enum field
4 years ago
Simon Ser 6f873078d4 build: use dictionnary for features instead of configuration_data
4 years ago
Simon Ser 533a36f05a backend/x11: drop x11-xcb dependency
4 years ago
Brandon Dowdy a02ac01be3 region: remove leftover description of resource_list
4 years ago
Ilia Mirkin ef94e7e847 backend/x11: use native cursors
4 years ago
Manuel Stoeckl a290d7a78d Make implementation function lists static const
4 years ago
Manuel Stoeckl b6dea80907 xcursor: make cursor data and metadata const
4 years ago
Manuel Stoeckl 79be26ff1f xwayland/xwm: make atom_map const
4 years ago
Simon Ser 90cdf43b5f Fix bad indentation
4 years ago
Tudor Brindus 2fa257313a xwayland/selection: use one target window per selection
4 years ago
Tudor Brindus 7964a313e8 xwayland/selection: use one X11 window per incoming transfer
4 years ago
Simon Ser 45f992b27b region: make wlr_region_create private
4 years ago
Simon Ser 3d7aa73867 render/dmabuf: make src arg const in wlr_dmabuf_attributes_copy
4 years ago
Tudor Brindus dd4c8aa45e xwayland/selection: make xwm_selection_init take a wlr_xwm_selection *
4 years ago
Tudor Brindus b3d782f818 xwayland/selection: introduce `xwm_selection_transfer_init`
4 years ago
Tudor Brindus aa86a022fa xwayland/selection: make xwm_selection_finish take a wlr_xwm_selection *
4 years ago
Tudor Brindus b6ba595862 xwayland/selection: destroy all selections on Xwayland restart
4 years ago
Tudor Brindus 703c17ae41 xwayland/selection: refactor remaining incremental transfer code
4 years ago
Tudor Brindus 23148d283f xwayland/selection: extract out property requests
4 years ago
Brandon Dowdy 8aa38fe73e render/egl: remove *config_attribs and wlr_egl->config
4 years ago
Brandon Dowdy 705b3da7cb render/egl: remove wlr_egl_{create,destroy}_surface
4 years ago
Simon Ser 5a2ef794dc xwayland: drop unused enum net_wm_state_action
4 years ago
Tudor Brindus e75f483aeb xwayland/selection: rename Wayland-facing data and helpers
4 years ago
Simon Ser 73ffab70b0 backend/drm: don't blit in drm_fb_import
4 years ago
Simon Ser 4af85f4c19 backend/drm: simplify drm_fb_lock_surface
4 years ago
Simon Ser 44a3d6e74d backend/drm: document wlr_drm_plane surface fields
4 years ago
Ilia Mirkin 7bc8dbb991 backend/x11: keep track of exposed rects, add them to damage regions
4 years ago
Simon Ser 7c995b78b2 Revert "render: add wlr_egl_create_from_drm_fd function"
4 years ago
Simon Ser 54e5ef39c0 Revert "render/egl: remove unused gbm_device member"
4 years ago
Simon Zeni 306cf11d87 render/egl: remove unused gbm_device member
4 years ago
Simon Zeni ee31be167b render: add wlr_egl_create_from_drm_fd function
4 years ago
BrassyPanache d6649a8a4b Expose ICCCM input status
4 years ago
Ilia Mirkin 966e653935 backend/x11: set a blank cursor rather than hiding globally
4 years ago
Simon Ser f17b0f975d backend/drm: add wlr_drm_connector_get_id
4 years ago
Simon Ser cb6f584496 backend/drm: add support for the subconnector property
4 years ago
Simon Ser e537382991 backend/x11: add support for DRI3 1.0
4 years ago
Simon Ser 2f11914613 render: introduce private wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Ser 1fb9535e99 output-damage: stop relying on output pending state on commit
4 years ago
Simon Zeni 08a4c62aac render: remove egl include from wlr_renderer
4 years ago
Simon Zeni e128e6c08d render: drop egl parameters from wlr_renderer_autocreate
4 years ago
Simon Ser affc59454e backend/headless: implement get_drm_fd
4 years ago
Simon Ser 6dfc8ce00b backend/x11: implement get_drm_fd
4 years ago
Simon Ser 400f4e7f27 backend/wayland: implement get_drm_fd
4 years ago
Simon Ser a53ab146fe backend: add get_drm_fd to interface
4 years ago
Simon Ser c73a8cde83 render/gbm_allocator: fix gbm_device use-after-free
4 years ago
Simon Ser 9dd059376c
render/gbm_allocator: document that DRM primary FDs work
4 years ago
Simon Ser cc56b4f073 output: remove scale/transform events
4 years ago
Simon Ser f6f46b4ee2 output-damage: stop listening to scale/transform events
4 years ago
Simon Ser 5642b880c3
render: document wlr_renderer_bind_buffer
4 years ago
Daniel Kondor b7dc4f2990 layer-shell: allow new values for keyboard-interactivity
4 years ago
Simon Ser 3f7e0cf5f0 render/egl: remove surface and buffer age args from make_current
4 years ago
Simon Ser 1d461687d2 render/egl: replace init/finish with create/destroy
4 years ago
Simon Ser 50b120927d render/egl: remove wlr_egl_swap_buffers
4 years ago
Simon Ser 76ed2255ef render/egl: remove support for EGL_NATIVE_VISUAL_ID
4 years ago
Isaac Freund 07111828c5 layer shell: rename popup iterator for consistency
4 years ago
Isaac Freund f574ca934c xdg shell: remove wlr_xdg_surface_for_each_popup()
4 years ago
Isaac Freund d6890cb847 output-management: use same types as wlr_output
4 years ago
Simon Ser 098094c5cb backend/wayland: use the EGL GBM platform
4 years ago
Simon Ser d9bbc416a6 backend/drm: re-use FBs
4 years ago
Simon Ser 91cb0fc443 backend/drm: only keep track of local buffer
4 years ago
Simon Ser 5bd86b94f9 backend/drm: add wlr_drm_buf.local_wlr_buf
4 years ago
Simon Ser cd64610c66 backend/drm: introduce drm_fb_create
4 years ago
Simon Ser 5b1b43c68c backend/drm: make wlr_drm_plane.{pending,queued,current}_fb pointers
4 years ago
Simon Ser 64da8f0c8d
render/egl: document NULL config_attribs passed to wlr_egl_init
4 years ago
Simon Ser 41aa80d4a1
render/egl: use KHR function pointer type
4 years ago
Simon Ser 34b14d2fee
render/egl: document that config may be zero
4 years ago
Isaac Freund 4ee4a36c0c layer shell: add wlr_layer_surface_v1_popup_surface_at()
4 years ago
Isaac Freund 8f63557ed7 xdg shell: add wlr_xdg_surface_popup_surface_at()
4 years ago
Isaac Freund c5c5ab9724 xdg shell: add wlr_xdg_surface_for_each_popup_surface()
4 years ago
Isaac Freund 129e02b57d xdg shell: make unconstrain_from_box arg const
4 years ago
Simon Zeni 9192c0480a remove unnecessary egl includes
4 years ago
Simon Zeni b899a412e3 backend: remove wlr_egl from all backends
4 years ago
Andri Yngvason e136a4168b types/seat: Clear focus in wlr_seat_destroy()
4 years ago
Simon Ser 07d75c99db render: remove EGL config and visual from wlr_renderer_autocreate
4 years ago
Ilia Bozhinov 01dcfb360e types: add wlr_xdg_foreign_v2
4 years ago
Ilia Bozhinov 162f160def types: add wlr_xdg_foreign_v1
4 years ago
Ilia Bozhinov 37602e153b types: add wlr_xdg_foreign_registry
4 years ago
Ilia Bozhinov 42d033e738 xdg-shell: add wlr_xdg_toplevel_set_parent
4 years ago
Ilia Bozhinov bf4e2e0eac util: add support for generating UUIDs
4 years ago
Isaac Freund 83fdfa511d docs: wlr_surface_from_resource cannot return NULL
4 years ago
Simon Ser e8d56ca415 backend/session: allow wlr_session_find_gpus to return an error
4 years ago
Simon Ser adfb7cd35a backend/drm: stash pending page-flip CRTC
4 years ago
Ilia Bozhinov eb30cde777 noop: listen to display destroy and destroy the backend
4 years ago
Simon Ser 4b03bdc3ab Remove wlr_create_renderer_func_t
4 years ago
Simon Ser bec1e6b149 backend/drm: remove special linear case for cursor plane
4 years ago
Simon Ser caeed70f28 backend/x11: create per-window present event contexts
4 years ago
Simon Ser c012d770f7 backend/x11: implement a real rendering loop
4 years ago
Simon Ser c5f239f411
backend/drm: make listener names more idiomatic
4 years ago
Simon Ser 54ec17ff64
backend/drm: use plural form for possible_crtcs
4 years ago
Isaac Freund f6fc4c2883 subsurface: handle NULL parent in get_root_surface
4 years ago
Simon Ser d3bcd63a40 backend/drm: remove drm_fb_acquire
4 years ago
Simon Ser 5ee8b12dc3 backend/drm: make drm_fb_acquire return a FB ID
4 years ago
Simon Ser d09abe86c1 backend/drm: drop export_drm_bo
4 years ago
Simon Ser d6dbdd97e9 backend/x11: re-use pixmaps
4 years ago
Simon Ser defcd9b025 backend/wayland: re-use wl_buffers
4 years ago
Simon Ser 352fdd1bb0
backend/drm: remove unused wlr_drm_plane.drm_format
4 years ago
Simon Ser 248c7787c7 backend/drm: refactor wlr_output destruction
4 years ago
Simon Ser 019ffe8a5b backend/drm: introduce wlr_drm_connector.name
4 years ago
Simon Ser c89b131f29 backend/drm: introduce wlr_drm_conn_log
4 years ago
Simon Ser f0c1b32120 util/time: add timespec_from_nsec
4 years ago
Simon Ser d37214cb16 render/drm_format_set: add wlr_drm_format_{create,add}
4 years ago
Simon Ser 9cd3f03f65
backend/drm: add wlr_drm_backend.name
4 years ago
Simon Ser da2a216934
backend/drm: add wlr_drm_connector.backend
4 years ago
Simon Ser 93cd3a79b2 backend/drm: stop using GBM flags
4 years ago
Simon Ser c59aacf944 backend/x11: query modifiers supported by X11 server
4 years ago
Simon Ser d79a00bf02 backend/x11: switch to wlr_swapchain
4 years ago
Simon Ser 441bac139f backend/wayland: use wlr_swapchain for cursor surface
4 years ago
Simon Ser 3923ff005d backend/wayland: use wlr_swapchain for main surface
4 years ago
Simon Ser 6ff478632a backend/drm: remove EGL config
4 years ago
Simon Ser 863acb26c0 backend/drm: stop tracking overlay planes
4 years ago
Isaac Freund c9760569ae docs: fix error in wlr_output_set_damage() comment
4 years ago
Dominik Honnef 431ec52b9c xwayland: use pipe instead of SIGUSR1 to signal readiness
4 years ago
Simon Ser 82443ea46b render/drm_format_set: introduce wlr_drm_format_intersect
4 years ago
Simon Ser 513eca8dab
build: add leftover WLR_HAS_LIBCAP
4 years ago
Simon Ser de9ff46629
backend/drm: "scaling mode" is a connector property
4 years ago
Simon Ser 2649600fa1
backend/drm: rotation is a plane property
4 years ago
Ilia Bozhinov d2329ac07a xwm: add wlr_xwayland_surface_restack()
4 years ago
Simon Ser 83a5d03bf3 render/egl: remove wlr_egl.external_only_dmabuf_formats
4 years ago
Simon Ser c94ab99ae2 render: rename wlr_renderer_get_formats
4 years ago
Simon Ser 49115e9d5d render: rename wlr_renderer_get_dmabuf_formats
4 years ago
Simon Ser 5d008d9030 render: introduce wlr_renderer_get_dmabuf_render_formats
4 years ago
Simon Ser 61612ecb36 render: remove wlr_renderer_format_supported
4 years ago
Simon Ser c15ca3793e render: expand wlr_renderer_get{,_dmabuf}_formats docs
4 years ago
Simon Ser 52805feae9 backend/x11: log errors
4 years ago
Kenny Levinsen ebecc5404b surface: Make send_enter store entered outputs
4 years ago
Simon Ser 0e76f92de7 backend/session: replace session_signal with events.active
4 years ago
Simon Ser fbf11a41e1 backend/session: wait for DRM device if none found
4 years ago
Simon Ser 76bcddf071 backend/session: introduce wlr_session.events.add_drm_card
4 years ago
Simon Ser 44a4792fd8 backend/session: operate on wlr_device
4 years ago
Ilia Bozhinov 6284af121f texture: document that functions should not be called while rendering
4 years ago
Simon Ser e18599b05e render/egl: stop including eglmesaext.h
4 years ago
Simon Ser 61f8cdfb9e backend/headless: switch to wlr_swapchain
4 years ago
Simon Ser eb8360bda3 render: introduce wlr_renderer_get_drm_fd
4 years ago
Simon Ser c8d95acc37 render/egl: introduce wlr_egl_dup_drm_fd
4 years ago
Simon Ser c881008e1c backend/drm: add support for wlr_swapchain multi-GPU
4 years ago
Simon Ser 8058e338ea backend/drm: get rid of wlr_drm_fb_type
4 years ago
Simon Ser c11c6c4568 render/swapchain: add support for buffer age
4 years ago
Simon Ser ef846a8839 backend/drm: use wlr_swapchain
4 years ago
Simon Ser 6136fe87d1 render/gles2: implement wlr_renderer_bind_buffer
4 years ago
Simon Ser c88c54fb38 render: introduce wlr_renderer_bind_buffer
4 years ago
Simon Ser 0b40d09a21 buffer: add wlr_client_buffer_get
4 years ago
Simon Ser b0a663d39d render: introduce wlr_swapchain
4 years ago
Simon Ser 7c6212a0f7 render/drm_format_set: introduce wlr_drm_format_dup
4 years ago
Simon Ser 5913040110 render: introduce wlr_gbm_allocator
4 years ago
Simon Ser f47445f142 render: introduce wlr_allocator
4 years ago
Mykola Orliuk 2eae9ec7c8 backend/wayland: Set cursor indivdualy per output
4 years ago
Mykola Orliuk 44531e16e0 backend/wayland: Add active pointer per host seat
4 years ago
Mykola Orliuk 70ffda3ea3 backend/wayland: Add registering multiple seats
4 years ago
Mykola Orliuk 85b0872650 backend/wayland: Link input devices with seats
4 years ago
Mykola Orliuk 40bfd9f8f7 backend/wayland: Bind seat listener to wlr_wl_seat
4 years ago
Isaac Freund e06c9e43af Remove unneeded includes from wlr_input_device.h
4 years ago
Isaac Freund 0724b3c453 Use uint32_t in wlr_renderer_begin signature
4 years ago
Isaac Freund 7693f61d81 Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Isaac Freund 8348fc3ef8 xwayland: remove unused listener
4 years ago
Simon Ser 51fc7ddb29 screencopy: perform DMA-BUF copy on output commit
4 years ago
Simon Ser f0945e112f export-dmabuf: export DMA-BUF on output commit
4 years ago
Simon Ser 8c8164c4a6 output: add when field to wlr_output_event_commit
4 years ago
Simon Ser ccd313e01a output: update docs to reflect reality
4 years ago
Simon Ser c2db691cad gamma-control-v1: apply gamma LUT when output gets enabled
4 years ago
Simon Ser f0ddcd361e
render: define EGL_NO_PLATFORM_SPECIFIC_TYPES (#2452)
4 years ago
Tudor Brindus 0f9b2bfa64 render/dmabuf: use bitmask for wlr_dmabuf_attributes_flags
4 years ago
Tudor Brindus 368d0146fb util/edges: use bitmask for wlr_edges
4 years ago
Tudor Brindus 0fdb41fe7c types/wlr_output_layout: use bitmask for wlr_direction
4 years ago
Tudor Brindus 7c6e06fd13 types/wlr_keyboard: use bitmasks for wlr_keyboard_led and wlr_keyboard_modifier enums
4 years ago
Mykola Orliuk 41bf1c6871 backend/wayland: add error flow in create_wl_seat
4 years ago
Daniel Kondor 36395e5b1c
foreign-toplevel-management: report parent toplevel
4 years ago
Mykola Orliuk 1ac5257357 backend/wayland: factor out wlr_wl_seat
4 years ago
Ilia Bozhinov b98522b38f
backend/wayland: add touch support to the wayland backend
4 years ago
Isaac Freund e410ff8dd4 wlr_drag: remove unused point_destroy field
4 years ago
Isaac Freund 616f06c25c xdg_positioner: remove unused field
4 years ago
Ilia Bozhinov 99f3c643bf xwayland: add set_geometry event
4 years ago
Isaac Freund 8ad2cc39eb layer-shell: add for_each_popup
4 years ago
Drew DeVault a9cbfd950e Remove xdg-shell v6
4 years ago
Valentin 8b744412aa Use fixed size integer type
4 years ago
Simon Ser b0144c7ded output-power-management-v1: listen to output commit
4 years ago
Simon Ser c674241ec0 output: introduce wlr_output_event_commit
4 years ago
Isaac Freund 2072d59da5 xdg-shell: split last-acked and current state
4 years ago
Kenny Levinsen bad1e9afa8 session: Add libseat backend
4 years ago
Ilia Bozhinov 74f7be7287 xwayland: do not allow apps to change focus after wlroots request
4 years ago
Simon Ser 1dbcfdaf81 render/gles2: remove gles2_procs
4 years ago
Simon Ser 62da61716f render/gles2: make push/pop debug functions take a wlr_renderer
4 years ago
Simon Ser e8872d9ed7 render/gles2: keep ref to wlr_gles2_renderer in wlr_gles2_texture
4 years ago
Simon Ser 26af316b3b render/gles2: make wlr_gles2_texture_from_* private
4 years ago
Scott Moreau 6d0ee53e1a xwm: Set _NET_WM_STATE_FOCUSED property for the focused surface
4 years ago
Antonin Décimo 9686895b4e Fix typos
4 years ago
Tobias Langendorf bd387da62d xwm: add support for xwayland minimize
4 years ago
Tudor Brindus a145430afa
input/pointer: add wlr_seat_pointer_wrap
4 years ago
xdavidwu 595f324f8b input-method: implement keyboard grabs
4 years ago