525 Commits (2f82c92307271955b247e305ff3caf479d9a50de)

Author SHA1 Message Date
Simon Ser d3bcd63a40 backend/drm: remove drm_fb_acquire
4 years ago
Simon Ser 5ee8b12dc3 backend/drm: make drm_fb_acquire return a FB ID
4 years ago
Simon Ser d09abe86c1 backend/drm: drop export_drm_bo
4 years ago
Simon Ser d6dbdd97e9 backend/x11: re-use pixmaps
4 years ago
Simon Ser defcd9b025 backend/wayland: re-use wl_buffers
4 years ago
Simon Ser 352fdd1bb0
backend/drm: remove unused wlr_drm_plane.drm_format
4 years ago
Simon Ser 248c7787c7 backend/drm: refactor wlr_output destruction
4 years ago
Simon Ser 019ffe8a5b backend/drm: introduce wlr_drm_connector.name
4 years ago
Simon Ser c89b131f29 backend/drm: introduce wlr_drm_conn_log
4 years ago
Simon Ser 9cd3f03f65
backend/drm: add wlr_drm_backend.name
4 years ago
Simon Ser da2a216934
backend/drm: add wlr_drm_connector.backend
4 years ago
Simon Ser 93cd3a79b2 backend/drm: stop using GBM flags
4 years ago
Simon Ser c59aacf944 backend/x11: query modifiers supported by X11 server
4 years ago
Simon Ser d79a00bf02 backend/x11: switch to wlr_swapchain
4 years ago
Simon Ser 441bac139f backend/wayland: use wlr_swapchain for cursor surface
4 years ago
Simon Ser 3923ff005d backend/wayland: use wlr_swapchain for main surface
4 years ago
Simon Ser 6ff478632a backend/drm: remove EGL config
4 years ago
Simon Ser 863acb26c0 backend/drm: stop tracking overlay planes
4 years ago
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 52805feae9 backend/x11: log errors
4 years ago
Simon Ser 44a4792fd8 backend/session: operate on wlr_device
4 years ago
Simon Ser 61f8cdfb9e backend/headless: switch to wlr_swapchain
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 ef846a8839 backend/drm: use wlr_swapchain
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 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
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
Ilia Bozhinov b98522b38f
backend/wayland: add touch support to the wayland backend
4 years ago
Kenny Levinsen bad1e9afa8 session: Add libseat backend
4 years ago
Antonin Décimo 9686895b4e Fix typos
4 years ago
Simon Ser 70f3a0bb27 backend/drm: make adaptive_sync atomic
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 347bdb6d9a output: make wlr_output_set_gamma atomic
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 7a149fe5ba backend/drm: remove unused fields
5 years ago
Simon Ser c9d6b18eef backend/drm: remove wlr_drm_interface.crtc_move_cursor
5 years ago
Simon Ser 46c83cbf3d backend/headless: handle renderer destroy
5 years ago
Scott Anderson 52281cb8ba backend/drm: move atomic cursor code into pageflip code
5 years ago
Scott Anderson 8da9d9679e backend/drm: introduce wlr_drm_fb
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 6977f3a843 output: check buffer in wlr_output_test
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
Drew DeVault ebdbe177d6 Drop RDP backend
5 years ago
Simon Ser e6fd880686 backend/wayland: listen to wl_buffer.release events
5 years ago
Simon Ser 8681e4ab8a backend/drm, backend/libinput: listen to session destroy
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
Simon Ser 1e568d84df backend/wayland: add support for relative-pointer-unstable-v1
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
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
Rouven Czerwinski 4d36cc86eb backend/drm: destroy output immediately
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
Scott Anderson b3f42548d0 backend/drm: Simplify object matching code
6 years ago
Greg V d80acadfd8 Support pointer-gestures on Wayland backend
6 years ago
Simon Ser e8057bb60c backend/drm: fallback to drmModeAddFB2
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 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
Simon Ser 947d5ff481 backend/wayland: remove wl_shm
6 years ago
Simon Ser 292d20e4c1 backend/wayland: use xdg-decoration-unstable-v1
6 years ago
Drew DeVault fd0d7d0907 Add FreeRDP backend for remote desktop support
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
Brian Ashworth 50011e7170 backend/drm: fix modeset on drm fd resume
6 years ago
Vincent Vanlaer 7bc43413ed Allow cursor render surface to be used as fb
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
Ryan Dwyer 9b4be5a595 Introduce noop backend
6 years ago
Drew DeVault 97af2464b7 Update Wayland backend to xdg-shell stable
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 efdd4d6ea2 backend/drm: Improve encoder logic
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 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
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 4e03802057 backend/wayland: Move registry into backend
6 years ago
Scott Anderson 93a496f3a8 Include wlr/config.h in x11.h
6 years ago
Scott Anderson 885586a831
Merge pull request #1280 from emersion/drm-link-status
6 years ago
emersion 54e1287f30 backend: add get_present_clock
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
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
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 7bcf0d9599 backend/libinput: add assertions
6 years ago
emersion bc34486c04 backend/headless: add assertions
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
emersion b877daded1 backend/drm: better hotplug handling
6 years ago
Ilia Bozhinov 4486b52aa8 move wlr_drm_connector_add_mode to wlr/backend/drm.h
6 years ago
Markus Ongyerth d9e978e1b3 rename wlr_tablet_tool to wlr_tablet
6 years ago
Markus Ongyerth adba68a3c1 Use tablet_tool impl in libinput backend
6 years ago
Markus Ongyerth 000b305ecc backend/libinput: Manage tablet tool livetimes
6 years ago
Guido Günther 8d72090afe drm: Allow to add additional modes
6 years ago
emersion 21928cbe61
Merge branch 'master' into screencontent
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
Ilia Bozhinov 24cf70ae96 backends: implement custom EGL and renderer initialization
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
emersion 225d182765
output: always use hardware cursors if available
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 f8e0a03451
backend/x11: correctly destroy input devices
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
Uli Schlachter 98f8ec6a08 x11_handle_input_event: Remove return value
7 years ago
emersion 2d6bbf12f8
backend/{x11,headless}: fix refresh rate
7 years ago
Drew DeVault 2ecce27dd5
Merge pull request #807 from swaywm/input-inhibit
7 years ago
Drew DeVault 56deff41b6 Implement input inhibit in rootston
7 years ago
emersion 9609985f29
backend/x11: fix cursor position when receiving configure event
7 years ago
emersion 7b88ace557
backend/x11: hide cursor
7 years ago
emersion aa6ae710f7
backend/x11: fix input events
7 years ago
emersion 0a7a8cbd1c
backend/x11: add WLR_X11_OUTPUTS support
7 years ago
emersion d4f7ced6e2
backend/x11: refactor, prepare support for multiple outputs
7 years ago
Drew DeVault 52d621e097
Merge pull request #763 from emersion/x11-backend-kbd-modifiers
7 years ago
emersion f033f717a2
backend/x11: make xcb-xkb optional, remove global state
7 years ago
emersion c63d94483b
Redesign wlr_texture
7 years ago
Dominique Martinet d5e14ab247 wayland backend: fix use-after free on output destroy
7 years ago
emersion c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
emersion 824a95ad19
matrix: use 2D matrices
7 years ago
Scott Anderson 902d6cc240 Use xcb atoms properly
7 years ago
Markus Ongyerth a65ef8ea86 restore dpms state on drm resume
7 years ago
Drew DeVault 1d9be89e2d
Revert "ELF Visibility"
7 years ago
Drew DeVault 868ad5af69
Merge pull request #647 from ascent12/elf_visibility
7 years ago
Guido Günther 15afef6cbc x11 backend: set window title
7 years ago
Scott Anderson f27c0b44b8 Remove usec_to_msec from public API
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
Drew DeVault 664d7bfe4e
Merge pull request #618 from VincentVanlaer/atomic-gamma
7 years ago
emersion bf6d245400
Swap buffers with damage
7 years ago
Vincent Vanlaer ab011406ad Add atomic gamma lut size fetching
7 years ago
Vincent Vanlaer cc1229e75e Add atomic gamma setting
7 years ago
emersion bb4aeb3b2f
backend/drm: support updating cursor when session is paused
7 years ago
emersion 51c22d39a4
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion 4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
7 years ago
emersion 0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion 53ba9b4eec
Fix output enable in DRM backend
7 years ago
Tony Crisci d1dce19253 handle display destroy
7 years ago
Tony Crisci 6c8fd6017e backend add and remove events
7 years ago
Tony Crisci ee39dff1e7 rootston: handle backend creation failed
7 years ago
Tony Crisci a937016e38 remove session from multibackend
7 years ago
Dominique Martinet fcd7062542 x11 backend: add wlr_input_device_is_x11
7 years ago
Dominique Martinet 169bc9fa10 wl backend: add wlr_input_device_is_wl
7 years ago
Dominique Martinet d9eaca6c9f headless backend: add wlr_output_is_headless
7 years ago
Dominique Martinet be95147385 drm backend: add wlr_output_is_drm
7 years ago
Dominique Martinet dabfe159de wl backend: add wlr_output_is_wl
7 years ago
Dominique Martinet f83b16bc17 x11 backend: add wlr_output_is_x11
7 years ago
emersion 4a36ba4bdd
Destroy multi backend on display destroy
7 years ago
emersion bc5bdb7793
Add headless input devices
7 years ago
emersion 0256de0002
Add full refresh rate support to custom modes
7 years ago
emersion b852fb9a2b
Minimal working headless output
7 years ago
emersion 3970264ccf
Initialize headless backend
7 years ago
emersion 75ef7860bb
Merge branch 'master' into display-destroy
7 years ago
emersion a1302cc4a5
Fix pointer events with multiple outputs in wayland backend
7 years ago
emersion 9d43adaafa
Listen to display destroy in backends
7 years ago
emersion 016744ef4d
Refactor wlr_list inside wlroots
7 years ago
emersion c3b09f73da
Fix cursor hotspot with rotated outputs on DRM backend
7 years ago
emersion 95566c6bdf
Transform cursor hotspot, fix wayland cursor hotspot
7 years ago
emersion 9d587d759f
Do not set hw cursor if disabled when switching VT
7 years ago
Drew DeVault 16f35ecbea Merge branch 'master' into heghe/wl_list
7 years ago
Drew DeVault 169b68b17c Rename remaining refs to wlr_list
7 years ago
Scott Anderson bdeffad7e5 Remove drm field from wlr_drm_connector
7 years ago
Scott Anderson 4ea84c5765 Remove unnecesary wlr_renderers
7 years ago
Scott Anderson 9b984253e2 Move egl.h to render/egl.h
7 years ago
Heghedus Razvan d3f0878d71 Replace list_t with wl_list in wlr_wl_backend
7 years ago
Heghedus Razvan c03e774636 Replace list_t with wl_list in wlr_drm_backend
7 years ago
Heghedus Razvan bde25fe020 Replace list_t with wl_list in wlr_multi_backend
7 years ago
Versus Void 641d08ce7e Transform hotspot with cursor
7 years ago
Scott Anderson f193623ca1 Change iface prefix to suffix
7 years ago
Scott Anderson f6f9c40965 Minor fixes
7 years ago
Scott Anderson 009c3747a8 Multi-GPU DRM
7 years ago
Scott Anderson eaef028976 Add renderer pointer inside drm_surface
7 years ago
Scott Anderson 4101b89700 Rename wlr_drm_output to wlr_drm_connector
7 years ago
Scott Anderson 22e77d9195 Rename backend to drm
7 years ago
Scott Anderson ec5b95e08f Add pointer to backend from DRM outputs
7 years ago
Scott Anderson 096249a2a1 Split DRM rendering to its own file
7 years ago
Scott Anderson d0708b1a3a Split DRM internal interface to its own header
7 years ago
Scott Anderson 610b0493ac Rename files to remove pointless drm prefix
7 years ago
Scott Anderson c8a8ff66f2 Removed unused fields
7 years ago
Scott Anderson 1b18b0a27d Fix time and transform
7 years ago
Scott Anderson 6bf508df81 Add closing with WM button
7 years ago
Scott Anderson 8027232ae5 Add timer for rendering loop
7 years ago
Scott Anderson 9ca5b0cae8 Add basic input
7 years ago
Scott Anderson 3a5b150df2 Basic rendering
7 years ago
Scott Anderson bbe90d41bb Add EGL for X11
7 years ago
Scott Anderson 7ad2a57feb Open X11 Window
7 years ago
Scott Anderson a598e6d026 Add X11 backend skeleton
7 years ago
Drew DeVault 7cf4ee128e Merge remote-tracking branch 'origin/master' into rootston
7 years ago
Drew DeVault d7d73cd298 Merge pull request #144 from ascent12/drm-dp-mst
7 years ago
Drew DeVault f4387b437f Merge branch 'master' into rootston
7 years ago
emersion 427bdb5b55
Use more consistent include guard names
7 years ago
Scott Anderson 025b3ee515 Add error recovery for failed page flips
7 years ago
Scott Anderson 459d138fa2 Add timeout to DRM cleanup
7 years ago
Drew DeVault b6d7c3ed8e Initialize display, backend; add frame handling
7 years ago
Scott Anderson fb93628bda Merge wlr_udev into wlr_session
7 years ago
Scott Anderson 46823152ea Rename functions to be consistent with #93
7 years ago
Dominique Martinet 577d2f6fcd wayland backend: switch to xdg shell
7 years ago
nyorain d7dcbbc175 Add wayland backend cursor support
7 years ago
Dominique Martinet 53e7bebd23 Refactor out wlr_pointer_state
7 years ago
Dominique Martinet e6ad67911b Refactor out wlr_input_device_state
7 years ago
Drew DeVault c8c6619146 Refactor out wlr_output_mode_state
7 years ago
Drew DeVault 41e735242d Remove wlr_output_state, update backends
7 years ago
Dominique Martinet 5c82d2f5c3 libinput backend: massive renaming
7 years ago
Drew DeVault 234b2104e4 Refactor wlr_backend_state out of DRM backend
7 years ago
Drew DeVault c95a108d2f Update libinput backend with new state design
7 years ago