536 Commits (22dab77d28ee8527c240ddaed63d1bd6b65e587d)

Author SHA1 Message Date
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
Drew DeVault 81cd90297d Refactor out wlr_backend_state from wl/multi
7 years ago
Dominique Martinet 3ea878b76e wayland backend: free seatName
7 years ago
Dominique Martinet 8427749dd0 wayland backend: emit signal for input/output removal
7 years ago
Drew DeVault c24351681f Refactor EGL handling
7 years ago
nyorain 67369173aa Implement drm (egl) buffer attaching
7 years ago
Scott Anderson af67966d92 Atomic modesetting
7 years ago
nyorain e167f41fde Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
Scott Anderson d09ca20a4d Use gbm_bo_map for cursor
7 years ago
Scott Anderson 5a636b21ba Remove old fields
7 years ago
Scott Anderson 5f7042a1f2 Moved headers
7 years ago
Scott Anderson 7b772e1a4b DRM resource initalisation
7 years ago
Scott Anderson cb4d50e22c Changed header paths.
7 years ago
Scott Anderson 2ae5cd6539 Moved session/ into backend/
7 years ago
Scott Anderson ae4478e17f Changed ownership of wlr_session to the multi backend.
7 years ago
Drew DeVault e92a65fee8 Remove use of missing header
7 years ago
Drew DeVault 168f0955ab Add wl_output globals for wlr_outputs
8 years ago
nyorain dbde1f7340 Store wayland backend axis source
8 years ago
nyorain 272030652a Implement absolute motion events for wayland
8 years ago
nyorain c1520077b6 Implement wayland backend input events
8 years ago
Drew DeVault f4453d104d Reorganize wlr-common
8 years ago
Drew DeVault fd91244e83 Update everyone to use new headers
8 years ago
Scott Anderson 55854565dc Fixed VT switching
8 years ago
Scott Anderson 091de12bf4 Changed session signal to only emit on DRM changes
8 years ago
Drew DeVault c2d0090ad7 Support multiple wl backend outputs
8 years ago
Drew DeVault b9d36c8149 Add dynamic output resizing for Wayland backend
8 years ago
nyorain 50ce35e9da Implement wayland backend output
8 years ago
nyorain 62b1421635 Make egl_error function part of the egl interface
8 years ago
nyorain 792d535225 Rework wayland backend output implementation
8 years ago
nyorain e65ca967f9 Merge branch 'master' into wayland-backend
8 years ago
Drew DeVault ecb04afcad Implement tablet pads
8 years ago
nyorain 8fbf1ca3ff Continue wayland backend update
8 years ago
nyorain 41a477375c Merge branch 'libinput' into wayland-backend
8 years ago
nyorain 904739c405 Start to fix wayland backend
8 years ago
Drew DeVault 7e038a6110 Add (broken) DRM hardware cursors
8 years ago
Drew DeVault 4a9966b1a4 Implement wlr_tablet_tool
8 years ago
Drew DeVault 3f24f8a1be Flesh out touch events and add demo
8 years ago
Drew DeVault d6905f86cb Allocate wlr_touch devices
8 years ago
Drew DeVault a63230e59c Implement libinput wlr_pointer
8 years ago
Drew DeVault e257afeb7e Establish multi backend support
8 years ago
Drew DeVault 7a5f35b5bb Reassign ownership of libinput handle
8 years ago
Drew DeVault f479b7c8c7 Split keyboard code out into its own file
8 years ago
Drew DeVault 0e75d157f5 Initialize keyboards from libinput
8 years ago
Drew DeVault 019fff06be Fix issues, flesh out event handling somewhat
8 years ago
Drew DeVault 1262f1400c Initial pass on libinput backend
8 years ago
Drew DeVault 325a331425 Fix some build errors
8 years ago
Drew DeVault 2b06f88f0b Combine internal DRM headers into one
8 years ago
Scott Anderson 63c3faa006 Fixed rendering bug: Delay calling gbm_surface_release_buffer until it
8 years ago
Scott Anderson 632a7acb03 Filled out more wlr_output fields.
8 years ago
Scott Anderson 5df56653ab Changed invalidate interface.
8 years ago
Scott Anderson de44994dfc Udev event device matching
8 years ago
Drew DeVault 40b85d992a Refactor udev and drm initialization
8 years ago
ascent12 62d612a01e Merge branch 'master' into session
8 years ago
Drew DeVault fee409bd0a Generalize DPMS, remove DRM refs from example
8 years ago
Scott Anderson f9d363fece Added device matching
8 years ago
Scott Anderson 7efdd3c9fc Refactored renderer startup to function.
8 years ago
Scott Anderson 058b8bdf27 Working commit
8 years ago
Scott Anderson 599d1bcbdc DPMS support
8 years ago
Drew DeVault 00931f2f8f Generalize output handling
8 years ago
Drew DeVault 15b1ce9e6c Refactor backend state management
8 years ago
Scott Anderson 4285b0c218 Removed unused fields.
8 years ago
Scott Anderson ef9768858e Changed modesetting interface.
8 years ago
Scott Anderson d196a79b6c Changed backend to accept wl_display.
8 years ago
Scott Anderson 18387468bb Renamed 'wlr_drm_display' to 'wlr_drm_output'
8 years ago
Scott Anderson 15d247bf34 Changed drm to use new EGL interface.
8 years ago
Scott Anderson dbceaee9fa Added EGL interface for backends.
8 years ago
Scott Anderson 81998fdc98 Removed old session code from DRM backend.
8 years ago
Scott Anderson e446a5300b Added example.
8 years ago
Scott Anderson e9d716fc0c Changed display to use list_t.
8 years ago
Scott Anderson 115d4ae637 Changed events to use wayland functions.
8 years ago
Scott Anderson 562d43a5ec Changed logging.
8 years ago
Scott Anderson 41a82fd2fc Renaming.
8 years ago
Scott Anderson 95a553dc51 Moved headers to the correct place.
8 years ago
Drew DeVault 5ca9d612f4 Flesh out wayland backend registry
8 years ago
Drew DeVault de01e654ce Flesh out wayland backend somewhat, add example
8 years ago
Drew DeVault 52e6ed54cb Initial commit
8 years ago