1419 Commits (20c208d46a140e148da29730a3adbfa9b88de467)

Author SHA1 Message Date
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 5aa5137fae backend/drm: handle drm_surface_blit errors
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 65c0ab00b6 backend/drm: generate CVT reduced modes
3 years ago
Rouven Czerwinski 9b7803a9b3 backend/drm: try to allocate crtc for formats
3 years ago
Simon Ser 18c2dce65e backend: unify startup messages
3 years ago
Simon Ser 46c42e55c6 backend/drm: add support for FB_DAMAGE_CLIPS
3 years ago
Rouven Czerwinski cdd9a60f72 Revert "backend/drm: Check if output is enabled before sending frame event"
3 years ago
Rouven Czerwinski 59b292b691 backend/drm: return true on test if no crtc
3 years ago
Simon Ser 7544b7abf9 backend/drm: use addon for wlr_drm_fb
3 years ago
Tudor Brindus 0c19a28266 input/tablet: fix `wl_array_for_each` usage on tablet proximity
3 years ago
Simon Ser 604674dc54 backend/drm: always perform a test commit in drm_connector_test
3 years ago
Simon Ser eb0ce659cf backend/drm: add proper error handling to wlr_drm_backend_create
3 years ago
Simon Ser 1936e136df backend/drm: require buffer on modeset in drm_connector_test
3 years ago
Simon Ser 923258b0be backend/drm: preserve mode order from kernel
3 years ago
Simon Ser 3132c0ab10 output: drop wlr_output_state.buffer_type
3 years ago
Simon Ser d17a009062 backend/noop: drop attach_render/rollback_render
3 years ago
Simon Ser 55ac7e335a backend/drm: fix wrong type for get_cursor_format return values
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 ebb661532c backend/drm: remove SCANOUT check in drm_connector_test
3 years ago
Simon Ser f5900c1f00 backend/drm: remove primary swapchain
3 years ago
Simon Ser 85d7ad2eef backend/drm: allow legacy scan-out if FB props match
3 years ago
Simon Ser d6f0fc251e backend/drm: implement get_primary_formats
3 years ago
Simon Zeni 04d4fb536d render/wlr_texture: put wlr_texture_from_buffer into the public API
3 years ago
ayaka 70fb21c35b backend: make DRM and libinput backends optional
3 years ago
Simon Ser 66c42f4fcb backend/drm: add DRM_MODE_CONNECTOR_USB to conn_get_name
3 years ago
Simon Ser cc8bc0db20 backend/drm: stop restoring CRTCs on exit
3 years ago
Simon Ser f94eb174c7 backend/drm: fix NULL data in handle_drm_event
3 years ago
Simon Ser a47f89cf7c backend/wayland: properly cleanup wlr_wl_pointer
3 years ago
Simon Ser 709190c4c8 backend/drm: 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 f67cfb2ce2 backend/drm: remove backend arg from wlr_drm_interface.crtc_commit
3 years ago
Simon Ser fde56c20b4 backend/drm: move legacy-specific checks to legacy.c
3 years ago
Simon Ser 017555651b backend/drm: add test_only arg to wlr_drm_interface.crtc_commit
3 years ago
Simon Ser c1b27cc499 backend/drm: stop using drm_surface_make_current in drm_surface_blit
3 years ago
Simon Ser d71ed635b9 backend/drm: force linear layout for multi-GPU buffers
3 years ago
Simon Ser e035f2b9c4 Fix invalid uses of wl_array_for_each
3 years ago
Simon Ser c1902cdb3f backend/x11: send touch frame events
3 years ago
Simon Ser 8eef6a8843 backend/wayland: send touch frame events
3 years ago
Simon Ser 2d36d7fb67 backend/libinput: send touch frame events
3 years ago
Simon Zeni e192d87731 move wlr_box from /types to /util
3 years ago
Simon Ser 4dee7a2f6f backend/drm: don't clear pending cursor FB on failed commit
3 years ago
Simon Ser 5f26360bd8 Revert "backend/drm: populate cursor plane's current_fb"
3 years ago
Simon Ser 0a522cb798 backend/libinput: use wl_array for wlr_libinput_tablet.tools
3 years ago
Simon Ser a38baec1f8 buffer: make enum wlr_buffer_cap public
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 dbb0e2f75b Remove unused wlr_list.h includes
3 years ago
Simon Ser 264d4e2bce backend/drm: rename page_flip_handler to handle_page_flip
3 years ago
Simon Ser 2f615468b6 backend: add output state allow-lists
3 years ago
Simon Ser 72ee196efa backend/session: use DRM_PRIMARY_MINOR_NAME
3 years ago
Simon Ser fb933d3204 backend/session: use drmIsKMS
3 years ago
Simon Ser 6c3d080e25 backend/drm: populate cursor plane's current_fb
3 years ago
Simon Ser 3345eaca89 backend/drm: remove test_buffer
3 years ago
Simon Ser eca5d2f37f backend/drm: move session check from test_buffer to drm_connector_test
3 years ago
Simon Ser 758f117442 backend/drm: move drm_connector_set_pending_fb up
3 years ago
Simon Ser f55b43ddd6 backend/drm: allocate a CRTC in drm_connector_test
3 years ago
Simon Ser cb378600e4 backend/drm: allocate a CRTC in drm_connector_commit_state
3 years ago
Simon Ser b180d3482f backend/drm: introduce drm_connector_alloc_crtc
3 years ago
Simon Ser 63f891e393 backend/drm: allow committing a buffer and a mode together
3 years ago
Simon Ser e89cf5f047 backend/drm: use atomic test-only commits for modifier fallback
3 years ago
Simon Ser b2f6db3533 render: drop wlr_ prefix from wlr_renderer_bind_buffer
4 years ago
Simon Ser c87c849ec6 backend/x11: use wlr_renderer_begin_with_buffer for cursor
4 years ago
Simon Ser 543f5b35d0 backend/wayland: remove swapchain
4 years ago
Simon Ser 5f8092b045 backend/wayland: implement get_dmabuf_primary_formats
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 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 01e0f51fad backend/drm: introduce drm_plane_pick_render_format
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 de51df2770 backend/wayland: implement get_cursor_formats
4 years ago
Simon Ser ce3e819b33 backend: stop using renderer to get the buffer type
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 9ca743f9fd backend/drm: use wlr_texture_from_buffer
4 years ago
Kenny Levinsen 2603a5dee7 backend/drm: Do not require mode commit on enable
4 years ago
Simon Ser c85789a3a9 backend/headless: dup DRM FD in wlr_headless_backend_create_with_renderer
4 years ago
Simon Ser a1e8a639b3 backend/drm: introduce drm_connector_commit_state
4 years ago
Simon Ser e543e26206 backend/drm: take a wlr_drm_connector instead of a wlr_output
4 years ago
Simon Ser e06c62af77 backend/drm: take output state arg in drm_connector_commit_buffer
4 years ago
Simon Ser 218955ce95 backend/drm: remove mode arg from drm_connector_set_mode
4 years ago
Simon Ser 7aba881c47 backend/drm: remove mode arg from drm_connector_init_renderer
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 c9c2d7539c backend/drm: fill scratch wlr_output_state for set_mode
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 e7f68ba081 backend/drm: fix allocator DRM FD on multi-GPU setups
4 years ago
Simon Ser 619a975025 render: remove wlr_ prefix from wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Ser 6bf2406dbf backend/drm: reword wlr_renderer failure message
4 years ago
Simon Ser 1c1ef69326 Log when WLR_BACKENDS/WLR_RENDERER is set
4 years ago
Simon Zeni cc1b66364c backend: use wlr_allocator_autocreate
4 years ago
Simon Zeni 144189674e backend: introduce backend_get_buffer_caps
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 0411dc0663 Revert "backend/drm: fail instead of stripping a modifier"
4 years ago
Simon Ser 4839664a92 backend/drm: carry on when disabling a CRTC fails
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
Simon Ser e804de923d backend/drm: clarify error message on drmModeAddFB fallback
4 years ago
Simon Ser f9f90b4173 backend/drm: fail instead of stripping a modifier
4 years ago
Simon Ser 5c699f09cb Log drmGetDevices2 error code
4 years ago
Tadeo Kondrak 014c59aa40 backend/x11: add support for shm buffers
4 years ago
tomKPZ 7c9b61b18c Fix stuck keys on X11 backend
4 years ago
Kenny Levinsen 3432ab2ba7 backend/session: Close remaining devices on destroy
4 years ago
Kenny Levinsen e7515529ce backend/session: Close fd in wlr_session_close_file
4 years ago
Simon Ser 9de93a866f backend/wayland: fallback to wl_shm on missing render node
4 years ago
Simon Ser 80865351bd backend/wayland: add support for wl_shm buffers
4 years ago
Simon Zeni 84dea55b20 render: rename get_dmabuf_render_formats into get_render_formats
4 years ago
Simon Ser 1e5460d4c6 backend/x11: check for connection errors
4 years ago
Simon Ser 053ebe7c27 backend/drm: terminate display on drmHandleEvent failure
4 years ago
Simon Ser 846e0838d6 backend/libinput: terminate display on error
4 years ago
Kenny Levinsen 7f09085461 backend/session: Remove session_impl
4 years ago
Kenny Levinsen 3f87c2caea backend/session: Remove noop backend
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
Kenny Levinsen d50bbf0bbc backend/session: Remove logind backend
4 years ago
Stephan Hilb 9f012cac2f drm: check for PRIME support
4 years ago
Simon Ser d5105c42e3 build: disable libseat subproject server and man pages
4 years ago
Simon Ser 1eb38e0015 Remove WLR_HAS_XCB_ERRORS
4 years ago
Simon Ser 8ccb4bbb5f backend/drm: stop testing for buffer in drm_connector_commit_buffer
4 years ago
Simon Ser d0bf750916 backend/drm: use atomic test-only commits for direct scan-out
4 years ago
Simon Ser 7efc2d05b7 backend/drm: downgrade test-only commit failure log level
4 years ago
Simon Ser 5088e25eaf backend/drm: don't set NONBLOCK with TEST_ONLY
4 years ago
Simon Ser e9361e0492 backend/x11: reject DMA-BUFs with flags
4 years ago
Simon Ser 6bfbf35618 backend/drm: reject DMA-BUFs with flags
4 years ago
Simon Ser 1ec97bdf4f backend/drm: improve logs in drm_fb_create
4 years ago
Simon Ser 511e42be5e backend/drm: try to import buffer when testing it
4 years ago
Simon Ser 07a5345aa5 build: add subproject fallback for libseat
4 years ago
Simon Ser 7709a965e5 backend/drm: use format table in test_buffer
4 years ago
Simon Ser b89bcffea4 render/egl, backend/wayland: add workaround for split render/display setups
4 years ago
Simon Zeni c8b3536b01 backend/drm: use pixel format table in renderer
4 years ago
Simon Ser c740fccc9d Fix buffer blit matrices
4 years ago
Kenny Levinsen 883d5b6e7c backend/session/libseat: Set loglevel to INFO
4 years ago
Simon Ser 44fa2c4b49 output: fix transform matrix for 90/270 rotations
4 years ago
Simon Zeni 9601a2abf0 output: improve transform matrix calculation
4 years ago
Ilia Mirkin 10dbb00f5f backend/x11: clamp hotspot to texture bounds
4 years ago
Simon Ser a02da8e6f6 backend/drm: add new writeback and SPI connector types
4 years ago
Simon Ser 73137ace84 backend/session: fix KMS device filtering
4 years ago
Simon Ser b54ef3372d render: use DRM formats in wlr_renderer_read_pixels
4 years ago
Simon Ser f3758d1d0a backend: add error messages in attach_render impls
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
Ilia Mirkin ef94e7e847 backend/x11: use native cursors
4 years ago
Manuel Stoeckl a290d7a78d Make implementation function lists static const
4 years ago
Simon Ser 8e27418dd3 backend/wayland: flush remote display
4 years ago
Simon Ser 7b50f5d324 backend/wayland: remove unnecessary cast
4 years ago
Simon Ser 50b9921642
backend/x11: remove output_set_refresh
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
Ilia Mirkin 7bc8dbb991 backend/x11: keep track of exposed rects, add them to damage regions
4 years ago
Ilia Mirkin 922b7f415d backend/x11: skip events we don't care about
4 years ago
Ilia Mirkin bb92fd4c90 backend/x11: add support for scanout mode
4 years ago
Ilia Mirkin 62f37ee319 backend/x11: make sure output transform matrix is initialized
4 years ago
Simon Ser 702eed5cbd backend/x11: fix region not being actually used
4 years ago
Ilia Mirkin 966e653935 backend/x11: set a blank cursor rather than hiding globally
4 years ago
Simon Ser 04d89a8bc5
backend/drm: fix modifiers for cursor plane buffers
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 879cadd34e backend/x11: add xcb_dri3_pixmap_from_buffers check for n_planes
4 years ago
Simon Ser e537382991 backend/x11: add support for DRI3 1.0
4 years ago
Simon Ser 284233c34f backend/x11: log DRM node name
4 years ago
Simon Ser 5373187186 backend/x11: log when creating X11 backend
4 years ago
Simon Ser c6c7fccd96
backend/headless: create renderer after wlr_backend_init
4 years ago
Simon Ser 9e98f497af backend/drm: use local DRM FD for wlr_rend
4 years ago
Simon Ser afdf4dc890 render/gles2: make EGL context current in bind_buffer
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 b7c95d483a backend/drm: implement get_drm_fd
4 years ago
Simon Ser 400f4e7f27 backend/wayland: implement get_drm_fd
4 years ago
Simon Ser ad3a455db9 backend/multi: implement get_drm_fd
4 years ago
Simon Ser a53ab146fe backend: add get_drm_fd to interface
4 years ago
Simon Ser a6a0568316
backend: remove unnecessary GLES2 includes
4 years ago
Simon Ser dc61f471da
backend/drm: remove unnecessary wlr_drm_fb.wlr_buf check
4 years ago
Simon Ser 5d054258af
backend/drm: fix segfault in page_flip_handler
4 years ago
Simon Ser 3f7e0cf5f0 render/egl: remove surface and buffer age args from make_current
4 years ago
Simon Ser 098094c5cb backend/wayland: use the EGL GBM platform
4 years ago
Simon Ser c94728b53a
backend/drm: stop using surface size for BO
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 Zeni 9192c0480a remove unnecessary egl includes
4 years ago