1473 Commits (4da9b32a154901bd8d74a80162ce3962eefbc29f)

Author SHA1 Message Date
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
5 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
5 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
Rouven Czerwinski 4d36cc86eb backend/drm: destroy output immediately
5 years ago
Simon Ser ee5f98ad49 output: atomic mode, enabled, scale and transform
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Sebastian Krzyszkowiak 415267ac13 backends/x11: Touch support
5 years ago
Rouven Czerwinski d10072e76c backend: drm: switch to pageflip_handler_2
6 years ago
Scott Anderson 46dc4100d6 backend/drm: Exit-early if 0 crtcs
6 years ago
Scott Anderson b3f42548d0 backend/drm: Simplify object matching code
6 years ago
Greg V d80acadfd8 Support pointer-gestures on Wayland backend
6 years ago
Dorota Czaplejewicz 5027b23dc2 x11: Send a frame event on the pointer after button events
6 years ago
Simon Ser ce3f4c3fe1 output: remove wlr_output_impl.transform
6 years ago
Scott Anderson b85f0cbff9 Remove WLR_DRM_NO_ATOMIC_GAMMA workaround
6 years ago
Simon Ser d201fc3506 backend/drm: add support for multiplanar BOs
6 years ago
Simon Ser e8057bb60c backend/drm: fallback to drmModeAddFB2
6 years ago
Simon Ser d1766547bd backend/drm: reject DMA-BUFs with flags
6 years ago
Simon Ser 44ba603c0e backend/drm: hold buffers while scanning out
6 years ago
Simon Ser afe7b207d5 output: fix attach_buffer semantics
6 years ago
Simon Ser 1d222309b8 output: change set_dmabuf to attach_buffer
6 years ago
Simon Ser 5c78f1b0d5 backend/drm: strip alpha channel on scan-out
6 years ago
Simon Ser e516ea4c79 backend/drm: check format when scanning out DMA-BUF
6 years ago
emersion 96d6fde5dc backend/drm: add basic support for direct scan-out
6 years ago
Rouven Czerwinski 96e9c0f9c8 drm: legacy: issue a NULL modeset on disable
6 years ago
Jan Chren 151b7d1d94 session/logind: check for XDG_SESSION_ID first
6 years ago
Jan Chren e04e1ba197
session/logind: specify seat exactly
6 years ago
Scott Anderson 522ddd93f1
Merge pull request #1696 from RedSoxFan/logind-stay-active-on-gone
6 years ago
Michiel a68c7c0c8d Fixes #1689 RDP RemoteFX crash
6 years ago
Brian Ashworth 90c284bded session/logind: keep active for pause_device gone
6 years ago
Simon Ser 947d5ff481 backend/wayland: remove wl_shm
6 years ago
Simon Ser 292d20e4c1 backend/wayland: use xdg-decoration-unstable-v1
6 years ago
Simon Ser 937e0e7937 backend/noop: disallow rendering
6 years ago
Simon Ser 933208837d backend/wayland: fix wlr_wl_pointer use-after-free
6 years ago
Simon Ser 20690346c7 output: rename needs_commit to needs_frame
6 years ago
Simon Ser 9a0f8a194c output: refactor backend API
6 years ago
Alyssa Ross 95b22619e0 Fix missing headers when building without X11
6 years ago
Jan Beich b6d0de177a backend: unbreak on 32-bit architectures
6 years ago
Ilia Bozhinov 670c787fa7 noop: implement setting a custom mode
6 years ago
Drew DeVault fd0d7d0907 Add FreeRDP backend for remote desktop support
6 years ago
Guido Günther cd60f40bbb wlr_output: Add preferred property (#1625)
6 years ago
Ryan Walklin 4453757fc9 s/lid_switch/switch_device
6 years ago
Brian Ashworth 6b7f5e4010 backend/noop: improve output number handling
6 years ago
Brian Ashworth c97f0eb0f2 backend/headless: improve output number handling
6 years ago
Brian Ashworth b135599e5a backend/x11: improve output number handling
6 years ago
Brian Ashworth 67523fb228 backend/wayland: improve output number handling
6 years ago
Niklas Schulze 2baad6eba6 backend/session: Allow setting a custom tty via WLR_DIRECT_TTY
6 years ago
Scott Anderson 6a8f17b5f6 backend/drm: Don't fail on failing to find overlay format
6 years ago
emersion d02548d87a
backend/session: open TTY with O_CLOEXEC for direct session
6 years ago
emersion 8efeca528f backend/session: add noop session
6 years ago
emersion 5445d8aad0 meson: enable more compiler warnings
6 years ago
Scott Anderson d945c97926 backend/drm: Unset cursor on cleanup
6 years ago
Rouven Czerwinski e1834ace28 backend/drm: fix memory leak in realloc crtcs
6 years ago
Brian Ashworth 50011e7170 backend/drm: fix modeset on drm fd resume
6 years ago
emersion 2a738803b2
backend/drm: fix NULL dereference when unsetting cursor
6 years ago
Drew DeVault 2d2c79e37c
Merge pull request #1537 from VincentVanlaer/cursor-dmabuf-nouveau
6 years ago
Vincent Vanlaer 26a9fa8148 Add workaround for hardware cursors on nouveau
6 years ago
Drew DeVault 9a5d59a839 Revert "drm: do not modeset to current mode"
6 years ago
Vincent Vanlaer bc048b22fb Copy cursor surface to secondary gpu if necessary
6 years ago
Brian Ashworth 72c76b128e drm: do not modeset to current mode
6 years ago
Scott Anderson b2f56ad4a8
Merge pull request #1526 from VincentVanlaer/cursor-dmabuf
6 years ago
Vincent Vanlaer 7bc43413ed Allow cursor render surface to be used as fb
6 years ago
mnussbaum c138da233b Allow compositors to run as systemd user units
6 years ago
emersion 22faddde9e
backend/session/logind: dup FD with CLOEXEC
6 years ago
emersion 75371d2c88
Require libdrm >= 2.4.95
6 years ago
Drew DeVault feb1b9b1cb
Merge pull request #1509 from emersion/gbm-fmt-mismatch
6 years ago
emersion ee293fab58
backend/drm: fix GBM format mismatch
6 years ago
Greg V 9fe8e37961 Implement the pointer-gestures-unstable-v1 protocol
6 years ago
emersion b45fc24b18
backend/wayland: handle wl_pointer.axis_stop
6 years ago
emersion 5de26ad8ed
pointer: add a frame event
6 years ago
Jente Hidskes 85d84a1a04
backend/x11 & backend/wayland: make set_title NULL-safe
6 years ago
Brian Ashworth 88ee102992 backend/wayland: fix resizing
6 years ago
Jente Hidskes edf0e49195
Add wlr_x11_output_set_title
6 years ago
emersion d4ffa5b7a6
backend/drm: fix state for outputs loosing their CRTC
6 years ago
Ryan Dwyer 9b4be5a595 Introduce noop backend
6 years ago
Drew DeVault d3d1437bc4 Add wlr_wl_output_set_title
6 years ago
Drew DeVault 97af2464b7 Update Wayland backend to xdg-shell stable
6 years ago
Jan Beich f80d174e8b Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
emersion 610f5bfc77
Merge pull request #1432 from ForTheReallys/relative-pointers
6 years ago
emersion 9b1d9fb91e
backend/drm: get physical size from libdrm
6 years ago
Timidger 9af0c5338f
Standardize the wlr_box input paramaters
6 years ago
Alex Maese e276d310e8 Add unaccelerated pointer values to wlr_event_pointer_motion events
6 years ago
emersion ff6c4f80b2
backend/drm: don't insert duplicate custom modes, fix refresh rate
6 years ago
Ryan Walklin 2a3c62b4d2 [WIP][DONTMERGE]Add support for libinput_switch input devices
6 years ago
Scott Anderson fec88770dd backend/drm: Fix uninitialized variable
6 years ago
Scott Anderson efdd4d6ea2 backend/drm: Improve encoder logic
6 years ago
emersion f8056a0350
backend/drm: fix disappeared output indices
6 years ago
Drew DeVault 20f5fc9e2e
Merge pull request #1413 from emersion/logind-session-logs
6 years ago
emersion e23fe328a6
backend/session/logind: improve logging
6 years ago
emersion 491f1dbf75
backend/drm: fix VLA overflow
6 years ago
emersion 408e2a77e9
backend/wayland: fix zero-length VLA
6 years ago
Rostislav Pehlivanov 91513c89cd Fix interlaced mode rejection
6 years ago
Rostislav Pehlivanov dc9fdd6385 Skip interlaced modes during drm mode detection
6 years ago
Scott Anderson d3ee69f76b backend/x11: Hide cursor with Xfixes
6 years ago
Scott Anderson 70ae76304e backend/x11: Remove old input functions
6 years ago
Scott Anderson d89e868cc9 backend/x11: Add new Xinput events
6 years ago
Scott Anderson 88b2d6fe25 backend/x11: Check for xinput extension
6 years ago
Scott Anderson 9c1b87f210 backend/x11: Move atom initilisation earlier
6 years ago
Scott Anderson ab2c57984b backend/x11: Make header order consistent
6 years ago
Scott Anderson 51a283cbe4 backend/x11: Rename xcb_conn to xcb
6 years ago
Drew DeVault 77dfac4fa4
Merge pull request #1372 from emersion/config10
6 years ago
emersion 51bfdd620e
Use #if instead of #ifdef for wlroots config data
6 years ago
emersion 180151ed09
backend/wayland: handle WL_EVENT_WRITABLE for Wayland socket
6 years ago
Scott Anderson aaff4b8c00 backend/wayland: Make header order consistent
6 years ago
Scott Anderson bbce92a923 backend/wayland: Move initilisation code earlier
6 years ago
Scott Anderson 47545cf550 backend/wayland: Use specific wl_global versions
6 years ago
Scott Anderson 4e03802057 backend/wayland: Move registry into backend
6 years ago
emersion 09550032b7
render: correctly set EGL_RENDERABLE_TYPE
6 years ago
emersion b5125ff328
backend/drm: specify minimum config attributes
6 years ago
Drew DeVault 70ca7daeb2
Merge pull request #1346 from emersion/fix-schedule-frame-mgpu
6 years ago
emersion 68362b37a8
backend/drm: fix frame scheduling on secondary GPUs
6 years ago
emersion 443a38bd3f
backend/drm: add WLR_DRM_NO_ATOMIC_GAMMA env variable
6 years ago
Drew DeVault e0cf97da69
Merge pull request #1307 from emersion/static-analysis
6 years ago
sghctoma fa587b8ea9 Increase _POSIX_C_SOURCE to 200112L
6 years ago
emersion f9eb5df80e backend: fix use-after-free in wlr_backend_autocreate
6 years ago
emersion b66041a9e5 backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanup
6 years ago
Drew DeVault 8488ed2997
Merge pull request #1298 from emersion/output-dangling-idle-frame
6 years ago
Rouven Czerwinski 77478ac302 backend/drm: set drmEventContext version to 2
6 years ago
emersion 46b1ba386f output: remove idle_frame event source when destroying output
6 years ago
Scott Anderson 885586a831
Merge pull request #1280 from emersion/drm-link-status
6 years ago
emersion 37de179013 backend/drm: fix zero-length VLAs
6 years ago
emersion 776008da69 backend/drm: properly handle GPUs without CRTCs
6 years ago
emersion ba91422747 output: don't trigger a frame immediately in schedule_frame
6 years ago
emersion eac7c2ad2f output: add presentation refresh prediction
6 years ago
emersion b0635bf3e7 Rename get_present_clock to get_presentation clock, use it
6 years ago
emersion 54e1287f30 backend: add get_present_clock
6 years ago
emersion 26b9d6dbb1 output: send present event from all backends
6 years ago
emersion 78389fe722 output: add present event
6 years ago
emersion f5a147b739 backend/drm: add support for the link-status property
6 years ago
Drew DeVault 841d04db99
Merge pull request #1262 from nyorain/session_fix
6 years ago
nyorain b4d46aa9c2 Use sd_bus_get_property_trivial & remove numbering
6 years ago
emersion 7ab37bf152 backend/drm: update EDID manufacturers database
6 years ago
emersion e88db9a3fb backend/drm: reset gamma table on VT switch
6 years ago
emersion 2beb68007e output: make gamma size a size_t and gamma table const
6 years ago
emersion 79dd9ba151 backend/drm: don't free connector immediately
6 years ago
nyorain 7b52388424 Rework session handling
6 years ago
sghctoma 9383e1f76c Apply multiseat fixes to FreeBSD direct backend
6 years ago
Ryan Dwyer 691a63d66b Introduce wlr_multi_for_each_backend
6 years ago
emersion 139a905924 backend/drm: add assertions
6 years ago
emersion 02231554c8 backend/x11: add assertions
6 years ago
emersion e98cb7c5ab backend/wayland: add assertions
6 years ago
emersion 07ea98dab9 backend/session: add assertions
6 years ago
emersion 6c05f17a25 backend/multi: add assertions
6 years ago
emersion 7bcf0d9599 backend/libinput: add assertions
6 years ago
emersion bc34486c04 backend/headless: add assertions
6 years ago
random human 572dfcdba7
Add support for WLR_SESSION env variable
6 years ago
emersion f8a50e4fe7 backend/drm: steal CRTCs from disabled outputs
6 years ago
emersion cb293f09e7 output: make wlr_output_enable return a bool
6 years ago
Drew DeVault ca331c0468
Merge pull request #1235 from emersion/dealloc-unused-crtcs
6 years ago
Drew DeVault 7ba50469e0
Merge pull request #1205 from sghctoma/fix-freebsd-direct-session
6 years ago
emersion 1fcecd68df backend/drm: de-allocate unused CRTCs
6 years ago
mntmn e1c91884fb fix cursor loss w/ legacy drm and software cursor (tested on etnaviv)
6 years ago
sghctoma ba5df0d21d Fix build failure on non-FreeBSD systems
6 years ago
sghctoma 7a5d3c4d3b Implement device type discovery using ioctl calls
6 years ago
sghctoma bbeed1bd31 Merge remote-tracking branch 'upstream/master' into fix-freebsd-direct-session
6 years ago
emersion 8a6bdc193d backend/drm: damage outputs when switching CRTCs
6 years ago
emersion 1342393632 backend/drm: cosmetic enhancements
6 years ago
emersion 5b13b8a12c backend/drm: consider continue not using resources
6 years ago
emersion fb94f03b43 backend/drm: prevent use of uninitialized data
6 years ago
emersion d605b2ea07 backend/drm: remove unused if
6 years ago
emersion 017cfb0b86 backend/drm: log when de-allocating CRTC
6 years ago
emersion b877daded1 backend/drm: better hotplug handling
6 years ago
sghctoma d948bffd3e Activate last active VT after compositor exit
6 years ago
sghctoma 3b2b8c1844 Merge remote-tracking branch 'upstream/master' into fix-freebsd-direct-session
6 years ago
random human 7bc2657984
Free unused pointer in x11/backend.c
6 years ago
emersion 95d05acda5 backend/drm: fix invalid VLA size in scan_drm_connectors
6 years ago
emersion ef88df2142 backend/drm: emit new_output after scanning connectors
6 years ago
emersion e84f01168d backend/drm: allow disabling outputs in NEEDS_MODESET state
6 years ago
random human 8589ae19de Fix bugs listed by clang's static analyzer
6 years ago
sghctoma 2bd6fbf20e Fix that major(st_rdev) have no meaning on FreeBSD
6 years ago
Drew DeVault 633663cdde Use legacy modesetting for gamma control
6 years ago
Alexander Bakker 221d412824 Init the new destroy signals added by #1200
6 years ago
Alexander Bakker 20db29779e Add destroy signals to types that are destroyed by wl_display_destroy
6 years ago
Scott Anderson fd3fa760d3 Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""
6 years ago
Drew DeVault 9c886f20b9 Revert "Merge pull request #1194 from ascent12/meson_feature"
6 years ago
Scott Anderson 784c20c82f Use new options for X11 backend and Xwayland
6 years ago
Scott Anderson 94ed2fc7bb Use feature options for libcap/logind
6 years ago
emersion 7a3f7b3c8a backend/drm: add support for DRM_MODE_CONNECTOR_DPI
6 years ago
emersion d66d33f5a2
Merge pull request #1188 from emersion/freebsd-fixes
6 years ago
emersion f86f1daf9a Fix build on FreeBSD
6 years ago
sdilts 8e7df5eb88 Fix xcb_create_window parameters
6 years ago
sdilts da79fef5f7 Add guard for changing the size of X11 backend windows
6 years ago
sdilts 55cca6deaa Set default output size for X11 backend
6 years ago
Ilia Bozhinov cb42e16f64 session: load GPU devices even if they have zero crtcs/connectors/encoders
6 years ago
Scott Anderson 2d8f53affd Check for DRM prime
6 years ago
Scott Anderson 1a2b3445dc Remove unused data from gbm_bo userdata
6 years ago
Scott Anderson 4bee710c30 Fix hardware cursor on secondary GPU
6 years ago
Mariusz Bialonczyk e547e55be0 multi-gpu: do not flip screens on secondary GPU
6 years ago
Mariusz Bialonczyk 15dacebc36 multi-backend: do not expose internal renderers
6 years ago
emersion 364afced3e backend/drm: remove unnecessary casts
6 years ago
emersion 2ebecb6727 backend/drm: allow to pass empty gamma ramp to reset it
6 years ago
emersion a149c2370a Implement wlr-gamma-control-unstable-v1
6 years ago
Drew DeVault 4b096fc114 Revert "Merge pull request #1153 from emersion/include-config"
6 years ago
emersion 41094a7df5 Always include config.h
6 years ago
Markus Ongyerth 36955204cf Remove last remnant of tool_tool in libinput
6 years ago
Markus Ongyerth d9e978e1b3 rename wlr_tablet_tool to wlr_tablet
6 years ago
Markus Ongyerth 48e2cba9b6 Handle relative motion for mouse tools
6 years ago
Markus Ongyerth 3be916f9b8 Add asserts and rename destroy function in libinput backend
6 years ago
Markus Ongyerth 0c9a26828a Use wlr_list for paths, and improve inert resource handling
6 years ago
Markus Ongyerth adba68a3c1 Use tablet_tool impl in libinput backend
6 years ago
Markus Ongyerth 31cec36b74 1st feedback pass
6 years ago
Markus Ongyerth 599f84f736 Fix borked rebase
6 years ago
Markus Ongyerth 5c7a37f309 Add tool buttons
6 years ago
Markus Ongyerth 391eef6ea9 Propagate most axis events to clients
6 years ago
Markus Ongyerth f375246657 Implement basic tablet_pad handling (bound to keyboard focus)
6 years ago
Markus Ongyerth e235f7d336 Basic tablet_v2 object lifetime
6 years ago
Markus Ongyerth 77bac448cc storage commit #2
6 years ago
Markus Ongyerth 000b305ecc backend/libinput: Manage tablet tool livetimes
6 years ago
Guido Günther 40fe252c2d x11: make sure event source is drained
6 years ago
Guido Günther 8515b7c65b x11: use correct type for events in wl_event_loop_add_fd
6 years ago
Guido Günther e463b49166 x11: Check if xcb_configure_window worked
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
Drew DeVault be54278207
Merge pull request #1095 from agx/output-add-mode
6 years ago
Guido Günther 8d72090afe drm: Allow to add additional modes
6 years ago
Drew DeVault 07209d062c
Merge pull request #1104 from VincentVanlaer/logind-fd-leak
7 years ago
Vincent Vanlaer ece58514b4 Close fd's obtained from logind
7 years ago
emersion 2b9cbaddf3
screencopy: add support for frame flags
7 years ago
Dominique Martinet 0c2a64df18 headless add_input_device: fix leak on error
7 years ago
Dominique Martinet e5348ad7d3 backend autocreate: fix leak when WLR_BACKENDS is set
7 years ago
Dominique Martinet 1940c6bbd9 wayland backend: fix width/height == 0 check
7 years ago
Dominique Martinet 266898ca1f direct session backend: fix closing -1 on error
7 years ago
Dominique Martinet bcc2c64c1e x11 backend init: fix leak on failed XOpenDisplay
7 years ago
Dominique Martinet 4f7b1382d4 wayland backend seat: fix NULL output check
7 years ago
Dominique Martinet f0d455f088 drm backend: overflow fixes
7 years ago
Drew DeVault e459fe0ec7
Merge pull request #992 from emersion/screencontent
7 years ago
Tobias Blass 482fc48c74 FIX: Suprocess loops endlessly when the control socket closes.
7 years ago
emersion 57548b557a
Merge branch 'master' into screencontent
7 years ago
Scott Anderson 964e0a50be Check for seat0 properly
7 years ago
Scott Anderson 47985d2dc5 Multiseat fixes
7 years ago
emersion 551700e887
backend/wayland: fix keyboard keys not pressed/released when focus changes
7 years ago
emersion 21928cbe61
Merge branch 'master' into screencontent
7 years ago
emersion 28020ff577
Only allow one modifier per DMA-BUF, split attributes struct in render/
7 years ago
emersion bd430b8620
backend/drm: support multi-planar DMA-BUFs when exporting
7 years ago
emersion 9e26808c28
output, backend/drm: add wlr_output_export_dmabuf
7 years ago
emersion 79683ee497
backend/drm: better connector cleanup, add more logs
7 years ago
emersion 6eb4b5b54d
Merge pull request #993 from emersion/bind-wl-drm-in-renderer
7 years ago
Ilia Bozhinov 24cf70ae96 backends: implement custom EGL and renderer initialization
7 years ago
emersion 41130fe54b
render: bind wl_drm in renderer
7 years ago
emersion 9e3dd6b560
backend/wayland: fix segfault when destroying backend before starting it
7 years ago
emersion 75b10cd621
backend: support creating DRM and libinput via WLR_BACKENDS
7 years ago
emersion 007d83c6ee
backend: allow multiple backends in WLR_BACKENDS
7 years ago
emersion 52bd8aa716
backend/multi: disallow multiple renderers at the same time
7 years ago
emersion a1631dd9ee
backend: add WLR_BACKEND env variable
7 years ago
Markus Ongyerth 6a46fcc6f2 recalculate cursor projection matrix on set_cursor
7 years ago
emersion 198ad27bd5
backend/wayland: print output name in window title
7 years ago
emersion 0b58579564
Add support for discrete axis values
7 years ago
emersion 13098a18ea
Fix hardware cursors scale & transform
7 years ago
emersion caf9f9022c
Merge pull request #936 from emersion/full-hardware-cursors
7 years ago
morganamilo 6305e6327f
Fix typos in comments and strings
7 years ago
Guido Günther 1637053ef8 drm: only disable atomic modesetting when WLR_DRM_NO_ATOMIC == 1
7 years ago
Guido Günther 545d54439d backend/wayland: don't transform pointer events
7 years ago
Guido Günther 6f01c12b40 backend/x11: don't transform pointer events
7 years ago
emersion 225d182765
output: always use hardware cursors if available
7 years ago
emersion 178ac8bffe
backend/{wayland,x11}: fix pointer coords for transformed outputs
7 years ago
emersion 62d7337d00
backend/x11: add one pointer per output
7 years ago
emersion ddac792b61
backend/wayland: only set one pointer listener
7 years ago
emersion 9f8a7c8fc4
backend/wayland: create one virtual pointer per output
7 years ago
emersion 2551ef8871
input-device: add output_name field, populate it from libinput
7 years ago
emersion f8e0a03451
backend/x11: correctly destroy input devices
7 years ago
emersion 79da4c175e
backend/headless: remove useless destructor
7 years ago
emersion 57c36ddcb3
backend/wayland: add proper error handling to wlr_wl_backend_create
7 years ago
Drew DeVault fecb971518
Merge pull request #902 from emersion/various-memory-leaks
7 years ago
emersion cd9f25711c
backend: destroy renderer when destroying backend
7 years ago
emersion 625a7a48dc
Don't use the wlr_ prefix for static functions
7 years ago
emersion 71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion b0d99f5c67
Remove wlr_ prefix from local symbols
7 years ago
emersion 018b82c01e
render/egl: allow passing NULL to surface and image destructors
7 years ago
emersion eaed6bd03b
render/egl: add wlr_egl_destroy_surface
7 years ago
Drew DeVault dbdc63ddde
Merge pull request #873 from emersion/output-dont-emit-mode-twice
7 years ago
emersion 94fa6c88f4
output: don't emit the mode event if it hasn't changed
7 years ago
Uli Schlachter e5ab12339f x11 backend: Expose events mean "needs swap"
7 years ago
Uli Schlachter e79d924588 x11 backend: Ignore expose if frame is pending
7 years ago