2106 Commits (4377b5529279aa9dab64256d22ad0f2e9009843c)

Author SHA1 Message Date
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
Simon Ser 7ec5bf6b10 backend: introduce wlr_backend_finish
4 years ago
Simon Ser f6ba26ff58 render/gles2: implement texture_from_buffer
4 years ago
Simon Ser 9d55f712e3 render: introduce wlr_texture_from_buffer
4 years ago
Simon Ser 6f39574ff5 linux-dmabuf-v1: implement wlr_buffer
4 years ago
Simon Ser 6369f70931 render: remove wlr_texture_get_size
4 years ago
Simon Zeni ed7f2651b6 render: add DRM dumb buffer allocator
4 years ago
Simon Zeni 2c90e0f521 render/gbm_allocator: duplicate drm fd during creation process
4 years ago
Simon Ser a1e8a639b3 backend/drm: introduce drm_connector_commit_state
4 years ago
Simon Ser 218955ce95 backend/drm: remove mode arg from drm_connector_set_mode
4 years ago
Simon Ser 31082a0554 backend/drm: remove wlr_drm_crtc_state.mode
4 years ago
Simon Ser dfea0ff31d backend/drm: remove wlr_drm_crtc_state.active
4 years ago
Simon Ser 485ecc11a6 backend/drm: remove wlr_drm_crtc.pending_modeset
4 years ago
Simon Ser 1a9701cd7c backend/drm: take wlr_output_state as arg in commit callers
4 years ago
Simon Ser 8f90d7f8f5 backend/drm: take wlr_output_state as arg in crtc_commit
4 years ago
Simon Ser 5be76bb047 render/allocator: add allocator_autocreate_with_drm_fd
4 years ago
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