1278 Commits (fdc22449d6f7ac38388812d7f0da7c93e110d28a)

Author SHA1 Message Date
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
Simon Zeni b899a412e3 backend: remove wlr_egl from all backends
4 years ago
Simon Ser 5773794baf
backend/drm: don't log errno on plane_get_next_fb failure
4 years ago
Simon Ser 07d75c99db render: remove EGL config and visual from wlr_renderer_autocreate
4 years ago
Simon Ser 3721dbfddb
backend/wayland: remove unnecessary flags from event source
4 years ago
Kenny Levinsen d3047011d0 backend/wayland: Avoid uninitialized read
4 years ago
Simon Ser e8d56ca415 backend/session: allow wlr_session_find_gpus to return an error
4 years ago
Simon Ser 7febdc7334 backend/wayland: re-use cursor wl_buffers
4 years ago
Simon Ser adfb7cd35a backend/drm: stash pending page-flip CRTC
4 years ago
Simon Ser 576ff57db0 backend/drm: ignore hotplug events while inactive
4 years ago
Ilia Bozhinov eb30cde777 noop: listen to display destroy and destroy the backend
4 years ago
Simon Ser 4ffd537d2d
backend/x11: print version on extension error
4 years ago
Simon Ser 1491ec42da backend/x11: always open render node
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 92a0fc0435 backend/drm: extract linear format creation into function
4 years ago
Simon Ser 7ea0e9f277 backend/drm: force LINEAR for cursor plane formats
4 years ago
Simon Ser caeed70f28 backend/x11: create per-window present event contexts
4 years ago
Ariadne Conill 23b6f3e3f5 drm: add fallback drmModeAddFB for drivers which do not support drmModeAddFB2
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 b9460ab724
Stop using wlr_texture_get_size
4 years ago
Simon Ser 17dd4c9e9a
backend/drm: use connector log helpers in atomic backend
4 years ago
Simon Ser a7a230ebef
backend/drm: make drmModePlane arg in add_plane const
4 years ago
Simon Ser c011a0e2ed
backend/drm: add special case for cursor in add_plane
4 years ago
Simon Ser 5548406667
backend/drm: log whether ADDFB2 modifiers are supported
4 years ago
Simon Ser 64a2ca4dba
backend/drm: don't retry page-flip when modifiers are unsupported
4 years ago
Simon Ser 54ec17ff64
backend/drm: use plural form for possible_crtcs
4 years ago
Simon Ser 2de400a541
backend/drm: assert connector state after wlr_output_destroy
4 years ago
Simon Ser 85cf4b235d
backend/drm: destroy DRM connectors that disappear
4 years ago
Simon Ser ad4dae0844 backend/drm: error on size mismatch in drm_surface_blit
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 dabd2e7207 backend/drm: grab DMA-BUF from wlr_buffer instead of gbm_bo
4 years ago
Simon Ser 83925f04c3 backend/drm: don't save texture in gbm_bo user data
4 years ago
Simon Ser 55b02f753f backend/x11: destroy buffers when destroying output
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 de896caceb backend/wayland: remove EGL config
4 years ago
Ronan Pigott 917ecca58e backend/drm: avoid gcc stringop-truncation warning
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 0aefa18690 backend/x11: send more precise output present events
4 years ago
Simon Ser 94fda895ac backend/x11: use DRI3Open to get DRM FD
4 years ago
Simon Ser 1e2c7fce86 backend/drm: use wlr_drm_format_{create,add}
4 years ago
Simon Ser 253f447329
backend/drm: print DRM device name when scanning connectors
4 years ago
Simon Ser 9cd3f03f65
backend/drm: add wlr_drm_backend.name
4 years ago
Simon Ser 60001a75a2
backend/drm: remove nouveau workaround
4 years ago
Simon Ser 0dcdb5e7a1 backend/x11: fix DRI3 formats not used
4 years ago
Simon Ser 0aa2ba0c03 backend/headless: select the rendering device ourselves
4 years ago
Simon Ser da2a216934
backend/drm: add wlr_drm_connector.backend
4 years ago
Simon Ser 87bd718de5
backend: use fcntl(F_DUPFD_CLOEXEC) instead of dup
4 years ago
Simon Ser 1ca4d6b029
backend/drm: dup FD before wlr_gbm_allocator_create
4 years ago
Simon Ser e57a52e7f7
Remove inline keyword
4 years ago
Simon Ser 93cd3a79b2 backend/drm: stop using GBM flags
4 years ago
Simon Ser 525fa6ada0
backend/x11: fix xinput mask mixed up with present
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 16a51bbab2 backend/wayland: query render formats
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 038285d496 backend/wayland: stop rendering black frame on init
4 years ago
Simon Ser 768131e488 output: stop assuming a frame is pending in init
4 years ago
Simon Ser 4c363a564f backend/drm: remove workaround for amdgpu DP MST
4 years ago
Simon Ser 6ff478632a backend/drm: remove EGL config
4 years ago
Simon Ser 06ab41a160
backend/drm: fix missing wlr_drm_format.cap
4 years ago
Simon Ser eb5886ddbe backend/headless: add support for direct scan-out
4 years ago
Stephane Chauveau b790e5ea34 backend/drm: don't assume possible_crtcs has only one bit set
4 years ago
Simon Ser 863acb26c0 backend/drm: stop tracking overlay planes
4 years ago
Simon Ser e69bbfd0d6 backend/drm: unset current surface before importing
4 years ago
Simon Ser 325cba6414
backend/drm: use EGL_PLATFORM_GBM_KHR
4 years ago
Simon Ser bfb59fd4d7 backend/headless: create a config-less EGL context
4 years ago
Ilia Bozhinov 54b7ca56c0 drm: do not unset make/model before emitting destroy event
4 years ago
Simon Ser 90c8452959 backend/session/libseat: set XDG_SESSION_TYPE
4 years ago
Simon Ser 1336ad2a23
backend/drm: remove unused if in drm_connector_move_cursor
4 years ago
Simon Ser 0e927533b0 backend/drm: query render formats
4 years ago
Simon Ser 237c2cf2fb backend/drm: take a wlr_drm_format in init_drm_surface
4 years ago
Simon Ser 8bc5a92a98 Revert "backend/drm: stop force-probing connectors"
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
Simon Ser c045253927 backend/headless: use a format suitable for rendering
4 years ago
Simon Ser 6485fadc16
backend/wayland: don't set EGL visual
4 years ago
Simon Ser 713c1661b7 backend/drm: stop force-probing connectors
4 years ago
Simon Ser 154fe8696f backend/x11: log unhandled client messages
4 years ago
Simon Ser f6c36f8881 backend/x11: log unhandled X11 events
4 years ago
Simon Ser 52805feae9 backend/x11: log errors
4 years ago
Isaac Freund 262740bc9a backend/libseat: fix change_vt return value
4 years ago
Simon Ser 754179dacd backend/session: add a timeout waiting for GPUs
4 years ago
Simon Ser c491a21d25 backend/session/logind: log when using XDG_SESSION_ID
4 years ago
Simon Ser 0e76f92de7 backend/session: replace session_signal with events.active
4 years ago
Simon Ser cd95d70df0 Revert "session/logind: support CanGraphical property"
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 768fbaad54 backend/session: filter udev events by sysname
4 years ago
Simon Ser 44a4792fd8 backend/session: operate on wlr_device
4 years ago
Simon Ser 63df2bcbe6 backend/session: don't return FD on failure in open_file
4 years ago
Kenny Levinsen fb3bea8014 backend/drm: Use legacy gamma size for legacy backend
4 years ago
Simon Ser 02df7b7ac8 backend/headless: implement export_dmabuf
4 years ago
Simon Ser 61f8cdfb9e backend/headless: switch to wlr_swapchain
4 years ago
Simon Ser eef8b3dde8 backend/drm: check drm_surface_render_black_frame return value
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 68a8d99055 backend/drm: add support for wlr_swapchain buffer age
4 years ago
Simon Ser ef846a8839 backend/drm: use wlr_swapchain
4 years ago
Simon Ser aaa3fcf66f
backend/libinput: require libinput 1.14
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 ce8855ca2a backend/wayland: Bind pointer listener to seat
4 years ago
Mykola Orliuk 07e2e0f60c backend/wayland: Listen to pointers from all seats
4 years ago
Mykola Orliuk 44c4773d58 backend/wayland: Use seat name in input names
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 7693f61d81 Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Simon Ser 1328477a82 backend/drm: export pending FB in export_dmabuf, if any
4 years ago
Simon Ser ee43ef3c9d backend/drm: fix "a page-flip is already pending" errors on modeset
4 years ago
Marten Ringwelski 85757665e6 backend/drm: Check if output is enabled before sending frame event
4 years ago
Mykola Orliuk 31aa7f4c95 backend/wayland: fix some keyboard/touch leaks
4 years ago
Mykola Orliuk 009cd634a2 backend/wayland: fix input creation error handling
4 years ago
Mykola Orliuk 41bf1c6871 backend/wayland: add error flow in create_wl_seat
4 years ago
Mykola Orliuk 1ac5257357 backend/wayland: factor out wlr_wl_seat
4 years ago
Mykola Orliuk df417b7e95 backend/wayland: manage cursor for current pointer
4 years ago
Ilia Bozhinov b98522b38f
backend/wayland: add touch support to the wayland backend
4 years ago
Simon Ser 45c1a3621c backend/libinput: improve logger callback
4 years ago
Simon Ser 87836dcb55 backend: remove check for _WAYLAND_DISPLAY
4 years ago
nerdopolis e44bed0c2b Accommodate for CONFIG_VT=0, all TTYs are in seat0, but not all
4 years ago
Patrick Steinhardt fa05d3cde6 session: Don't refuse unprivileged creation of "direct" backend
4 years ago
Ilia Bozhinov efe6414640 wayland: emit relative pointer events only for current pointer
4 years ago
Ryan Walklin 28cedb5623 Quieten failure to set login session type
4 years ago
Simon Ser 971de474f0 backend/session/libseat: register log handler
4 years ago
Kenny Levinsen 330c50b48d session: Add missing init to direct-freebsd
4 years ago
Simon Ser 297354f847 Remove unnecessary wl_display_dispatch calls
4 years ago
Kenny Levinsen bad1e9afa8 session: Add libseat backend
4 years ago
Ilia Bozhinov 9feeb2738d
backend/wayland: destroy relative pointer when output is disconnected
4 years ago
Ryan Walklin 7e990a2991 Don't set XDG_SESSION_TYPE unless logind SetType succeeds
4 years ago
Ryan Walklin e81d2086c0 Also set XDG_SESSION_TYPE
4 years ago
Ryan Walklin f0d03fb892 Implement logind session SetType method to change session type to wayland
4 years ago
Devin J. Pohly aaf490d794 drm: fix uninitialized read
4 years ago