1241 Commits (70fb21c35ba432bec86b61ef6e938d65629fde31)

Author SHA1 Message Date
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
Antonin Décimo d9bb792794 Fix incorrect format parameters
4 years ago
Simon Ser b6377b59ff backend/drm: check drm_surface_make_current return value
4 years ago
Simon Ser cccca368c5
backend/drm: fix typo in drm_surface_make_current arg
4 years ago
Simon Ser f82a27f55a backend/drm: fix DPMS on legacy interface
4 years ago
Simon Ser c930160286 backend/noop: add missing rollback_render output impl
4 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
4 years ago
Andri Yngvason a6a5a19356 backend: drm: Fix dmabuf resource leak
5 years ago
Simon Ser e77c046cf9 backend/drm: fix stack overflow in dealloc_crtc
5 years ago
Tudor Brindus dc13bb827d util: fix and move `get_current_time_msec` into a util file
5 years ago
Simon Ser 8f28f5b2f8 backend/drm: fix black screens when enabling output
5 years ago
Simon Ser 019fe8bb7e backend/wayland: fix spurious eglSwapBuffers failures
5 years ago
Tudor Brindus 47a30957d1 backend/wayland: scale tablet tool position into [0, 1] range
5 years ago
Simon Ser b03eebf7d4 backend/drm: always perform a CRTC commit in drm_connector_commit
5 years ago
Simon Ser 1a2e82e327 backend/drm: drop extra wlr_output_update_enabled call
5 years ago
Simon Ser 80467f6ae8 backend/drm: commit/rollback FBs in drm_crtc_commit
5 years ago
Simon Ser 70f3a0bb27 backend/drm: make adaptive_sync atomic
5 years ago
Simon Ser 42126c2022 backend/drm: rollback pending CRTC state on test commit
5 years ago
Simon Ser 1a23c1425f Add comments for missing tablet tool entries
5 years ago
Simon Ser d66b9966e9 backend/drm: fix missing crtc->cursor NULL check
5 years ago
Simon Ser e7a8ea84c3 backend/drm: don't set cursor if off-screen
5 years ago
Simon Ser 15d8f1806e backend/drm: introduce pending and current CRTC state
5 years ago
Simon Ser d6cc718472 backend/drm: nuke retry_pageflip
5 years ago
Simon Ser 61095f4a12 backend/drm: make drm_connector_set_mode take a wlr_drm_connector
5 years ago
Simon Ser 445750aa9a backend/drm: remove enable_drm_connector
5 years ago
Simon Ser c02e9c2bb1 backend/drm: remove drm_connector_set_custom_mode
5 years ago
Simon Ser 21c6cc5e4c backend/drm: refuse to enable an output without a mode
5 years ago
Simon Ser 47e5212823 backend/drm: rollback atomic blobs
5 years ago
Simon Ser af2f69e6c1 render/egl: unset current context after swapping buffers
5 years ago
Simon Ser d28a7da95d backend/drm: add missing wlr_egl_unset_current
5 years ago
Simon Ser cfed5766b7 backend/drm: fix current EGL context on multi-GPU
5 years ago
Simon Ser 1edc42157b render/egl: introduce wlr_egl_unset_current
5 years ago
Simon Ser 781ed1ff02 Fix -Wreturn-type warnings
5 years ago
Simon Ser 2988ebb6f3 backend/drm: fix atomic commits when the GAMMA_LUT prop is missing
5 years ago
Simon Ser 347bdb6d9a output: make wlr_output_set_gamma atomic
5 years ago
Simon Ser 42e485dcc3 backend/drm: fix segfault in drm_crtc_page_flip
5 years ago
Simon Ser 51bbf31742 backend/drm: print error in set_plane_props
5 years ago
Simon Ser 9412d34e2d backend/drm: disable cursor in dealloc_crtc
5 years ago
Simon Ser da4df82532 backend/drm: fix combined modeset+enable commits
5 years ago
Simon Ser cdb6fdbc6c backend/drm: remove missing cursor plane workaround
5 years ago
JonnyMako 1139234117
backend/drm: fix missing cursor on external monitors with multi-GPU setup and nouveau
5 years ago
Simon Ser f72686c0b6 backend/drm: fix crash in session_signal
5 years ago
Simon Ser 2ca3bdc35e backend/drm: simplify atomic commit logic
5 years ago
Simon Ser 06d5aa5780 backend/drm: GAMMA_LUT_SIZE isn't atomic
5 years ago
Simon Ser da63d11d34 backend/drm: remove crtc_set_cursor from interface
5 years ago
Simon Ser f8e02db4bc backend/drm: remove conn_enable from interface
5 years ago
Simon Ser c608fc89d8 backend/drm: rename crtc_pageflip to crtc_commit
5 years ago
Simon Ser 70883fd10b backend/drm: apply gamma LUT on page-flip
5 years ago
Simon Ser 69b2279092 backend/drm: remove mode argument to crtc_pageflip
5 years ago
Simon Ser c9d6b18eef backend/drm: remove wlr_drm_interface.crtc_move_cursor
5 years ago
Tudor Brindus 6357e166f9 backend/wayland: emit tablet tool axis events to the axis handler
5 years ago
Simon Ser 46c83cbf3d backend/headless: handle renderer destroy
5 years ago
Simon Ser 7720ce7827 backend/multi: handle backends depending on each other properly
5 years ago
Simon Ser 90ede7f838 backend/drm: make page-flip error scarier
5 years ago
Will Daly 044a9f28d6 Fix error when reconnecting external display
5 years ago
Scott Anderson 906c0766df Remove libcap support
5 years ago
Simon Ser 98d949718c backend/drm: strip alpha channel if necessary
5 years ago
Scott Anderson 321537ee92 backend/drm: don't allow legacy to use direct scanout
5 years ago
Scott Anderson 52281cb8ba backend/drm: move atomic cursor code into pageflip code
5 years ago
Scott Anderson be90062c51 backend/drm: don't have fallback atomic commits
5 years ago
Scott Anderson 8da9d9679e backend/drm: introduce wlr_drm_fb
5 years ago
Tudor Brindus 39af3535c3 input/tablet: populate tool tip event position
5 years ago
Simon Ser 6129a6f93e backend/headless: add wlr_headless_backend_create_with_renderer
5 years ago
Simon Ser 40513f1a0e backend/headless: use FBOs instead of pbuffers
5 years ago
Simon Ser ab4f642153 build: use dicts instead of get_variable
5 years ago
Tudor Brindus f0d818f36e backend/libinput: correctly populate x/y fields on tablet proximity in
5 years ago
Kenny Levinsen 904c37845d logind: Close fd before releasing device
5 years ago
Simon Ser ab4dc1636c backend/multi: add backends at end of list
5 years ago
Simon Ser 83c1ba7783 backend/wayland: check scan-out buffer is compatible in output_test
5 years ago
Simon Ser 50ade3671f output: check for buffer size compatibility in common code
5 years ago
Simon Ser 5f092c55d1 output: fix blurred hw cursors with fractional scaling
5 years ago
Simon Ser 9acca4fc73 backend: set EGL_RENDERABLE_TYPE and EGL_SURFACE_TYPE
5 years ago
Simon Ser 507d9bc19e Add wlr_output_impl.rollback
5 years ago
Simon Ser d3bd5f2a7b backend: reset EGL surface after buffer swap
5 years ago
Simon Ser 6977f3a843 output: check buffer in wlr_output_test
5 years ago
Simon Ser e041158988 output: introduce wlr_output_test
5 years ago
Simon Ser 6595db6409 buffer: add a release event
5 years ago
Scott Moreau 30308e35fa build: Add 'auto' to logind-provider combo option
5 years ago
Simon Ser b614ded3fc backend/wayland: close keymap FD
5 years ago
Filip Sandborg 5ee52a3ab9
Fix uint32 overflow in fill_empty_gamma_table on Icelake platform
5 years ago
Simon Ser 52c67284e2 backend/drm: add support for adaptive_sync_enabled
5 years ago
Simon Ser 9be1af3afb backend/x11: add support for adaptive_sync_enabled
5 years ago
Simon Ser a3c699eee5 backend/wayland: fix seat caps handling
5 years ago
Simon Ser 348f52b5fc output: remove wlr_output_impl.schedule_frame
5 years ago
Simon Ser 613f9c6f8d backend/wayland: rename wl_seat.c to seat.c
5 years ago
Jan Beich 2bad34e024 backend/session: allow GPU enumeration on FreeBSD
5 years ago
Rouven Czerwinski 144d2041ad backend/drm: remove overzealous finish_drm_surface
5 years ago
Rouven Czerwinski f0594fb732 backend/drm: add env variable to disable modifiers
5 years ago
Scott Anderson 70a084c119 meson: Fix protocol includes for compositor examples
5 years ago
Simon Ser 7c05933e51 backend/drm: prevent outputs from being destroyed on commit
5 years ago
Simon Ser 2b04857343 render/egl: remove SURFACELESS_MESA special case
5 years ago
Drew DeVault ebdbe177d6 Drop RDP backend
5 years ago
Simon Ser 802ef9da8a backend/wayland: handle display errors more gracefully
5 years ago
Simon Ser e6fd880686 backend/wayland: listen to wl_buffer.release events
5 years ago
Jason b5cb6de232 Allow WLR_RDP_PORT to be any valid TCP/UDP port number
5 years ago
Simon Ser 5bbb44482b backend/wayland: fix frame callback not registered
5 years ago
Simon Ser 21e1953b61 backend/drm: don't modeset with a NULL mode after TTY switch
5 years ago
Simon Ser 8fc16890c7 output: refuse to commit a buffer or modeset a disabled output
5 years ago
Simon Ser f0781cd792 backend/drm: modeset before enabling an output
5 years ago
Simon Ser 5d1ba0f446 output: re-introduce atomic mode, enabled, scale and transform
5 years ago
Simon Ser 4da4a15d6b output: add description
5 years ago
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
Ting-Wei Lan fc6c0ca12e backend/session/freebsd: Fix the way to get TTY path
5 years ago
Rouven Czerwinski be4b9f7f5b backend/drm: print preferred mode
5 years ago
Simon Ser 515679e4fe Refactor EGL/GL API loading
5 years ago
Simon Ser efd294ef09 backend/drm: add BenQ to manufacturer list
5 years ago
Simon Ser 6ca82087b1 backend/drm: fix segfault in init_drm_surface
5 years ago
Simon Ser 8681e4ab8a backend/drm, backend/libinput: listen to session destroy
5 years ago
Jason e8855ee462 Amend typos
5 years ago
Simon Ser e959b882d5 backend/wayland: add support for presentation-time
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Scott Anderson 685a5a11a9 backend/x11: Revert usage of present extension
5 years ago
Scott Anderson 3317134adf backend/x11: Drop required present version
5 years ago
Scott Anderson b58e8451b8 backend: Do not attempt DRM on X11/WL failure
5 years ago
Simon Ser 6c649bab53 output: add wlr_output_event_present.commit_seq
5 years ago
Simon Ser cde544de81 backend/wayland: expose remote objects
5 years ago
Simon Ser 1e568d84df backend/wayland: add support for relative-pointer-unstable-v1
5 years ago
Scott Anderson 626c98d754 session/logind: Clean up add_signal_matches
5 years ago
Ronan Pigott 3ebf079a9a session/logind: support CanGraphical property
5 years ago
Scott Anderson a3c3b928a3 backend/x11: Give X11 a real rendering loop
5 years ago
Simon Ser 0e57effd38 backend/drm: add support for custom modes
5 years ago
Simon Ser e97c2c3639 backend/drm: retry without modifiers for the primary plane
5 years ago
Simon Ser fd25e2ca11 backend/drm: track gbm_bo during direct scan-out
5 years ago
Simon Ser 5bddb5a909 backend/wayland: add support for direct scan-out
5 years ago
Simon Ser 2bdd1d0896 backend/drm: use modifiers for our GBM buffers
5 years ago
Ivan Molodetskikh 5f78ea20fa drm: use IMPORT_FD for INVALID modifier
5 years ago
Markus Ongyerth ebeef0fbe8 Clean up wayland backend tablet support
5 years ago
Markus Ongyerth 2285e36b0c Add zwp-tablet-unstable-v2 client support
5 years ago
Markus Ongyerth 57babd2e13 Move initialization of wlr_tablet_pad into types/wlr_tablet_pad
5 years ago
Rouven Czerwinski bf90474b74 backend/drm: check for mst: in path property
5 years ago
Andri Yngvason e19f48d1e4 backend: touch: Fixup incomplete patch for single touch devices.
5 years ago
Andri Yngvason 4f4d3cf2a2 backend: touch: Assign good ids to single touch devices
5 years ago
Simon Ser 8d2ea9544b backend/drm: fix missing plane formats
5 years ago
Antonin Décimo e7f1aa30dd backend/wayland: check if zxdg_toplevel_decoration_v1 is not NULL
5 years ago
Antonin Décimo 39c5d93dea backend/drm: use UINT64_C for uint64_t literals
5 years ago
Antonin Décimo 68b4a5305e backend/session: non-void function should return a value
5 years ago
Drew DeVault 94f65e354d Add libinput-1.14 support
5 years ago
Rouven Czerwinski 01f903874b Revert "output: atomic mode"
5 years ago