291 Commits (1253b54f21bd646551c346253d395793412e3aa2)

Author SHA1 Message Date
Simon Ser 533a36f05a backend/x11: drop x11-xcb dependency
4 years ago
Ilia Mirkin ef94e7e847 backend/x11: use native cursors
4 years ago
Simon Ser 50b9921642
backend/x11: remove output_set_refresh
4 years ago
Ilia Mirkin 7bc8dbb991 backend/x11: keep track of exposed rects, add them to damage regions
4 years ago
Ilia Mirkin 922b7f415d backend/x11: skip events we don't care about
4 years ago
Ilia Mirkin bb92fd4c90 backend/x11: add support for scanout mode
4 years ago
Ilia Mirkin 62f37ee319 backend/x11: make sure output transform matrix is initialized
4 years ago
Simon Ser 702eed5cbd backend/x11: fix region not being actually used
4 years ago
Ilia Mirkin 966e653935 backend/x11: set a blank cursor rather than hiding globally
4 years ago
Simon Ser 879cadd34e backend/x11: add xcb_dri3_pixmap_from_buffers check for n_planes
4 years ago
Simon Ser e537382991 backend/x11: add support for DRI3 1.0
4 years ago
Simon Ser 284233c34f backend/x11: log DRM node name
4 years ago
Simon Ser 5373187186 backend/x11: log when creating X11 backend
4 years ago
Simon Ser afdf4dc890 render/gles2: make EGL context current in bind_buffer
4 years ago
Simon Zeni 08a4c62aac render: remove egl include from wlr_renderer
4 years ago
Simon Zeni e128e6c08d render: drop egl parameters from wlr_renderer_autocreate
4 years ago
Simon Ser 6dfc8ce00b backend/x11: implement get_drm_fd
4 years ago
Simon Ser 3f7e0cf5f0 render/egl: remove surface and buffer age args from make_current
4 years ago
Simon Zeni 9192c0480a remove unnecessary egl includes
4 years ago
Simon Zeni b899a412e3 backend: remove wlr_egl from all backends
4 years ago
Simon Ser 07d75c99db render: remove EGL config and visual from wlr_renderer_autocreate
4 years ago
Simon Ser 4ffd537d2d
backend/x11: print version on extension error
4 years ago
Simon Ser 1491ec42da backend/x11: always open render node
4 years ago
Simon Ser 4b03bdc3ab Remove wlr_create_renderer_func_t
4 years ago
Simon Ser caeed70f28 backend/x11: create per-window present event contexts
4 years ago
Simon Ser c012d770f7 backend/x11: implement a real rendering loop
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 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 0dcdb5e7a1 backend/x11: fix DRI3 formats not used
4 years ago
Simon Ser 87bd718de5
backend: use fcntl(F_DUPFD_CLOEXEC) instead of dup
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 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 7693f61d81 Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
4 years ago
Simon Ser af2f69e6c1 render/egl: unset current context after swapping buffers
5 years ago
Simon Ser 1edc42157b render/egl: introduce wlr_egl_unset_current
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 e041158988 output: introduce wlr_output_test
5 years ago
Simon Ser 9be1af3afb backend/x11: add support for adaptive_sync_enabled
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
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 a3c3b928a3 backend/x11: Give X11 a real rendering loop
5 years ago
Rouven Czerwinski 01f903874b Revert "output: atomic mode"
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
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
Simon Ser 20690346c7 output: rename needs_commit to needs_frame
6 years ago
Simon Ser 9a0f8a194c output: refactor backend API
6 years ago
Jan Beich b6d0de177a backend: unbreak on 32-bit architectures
6 years ago
Brian Ashworth b135599e5a backend/x11: improve output number handling
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
Jente Hidskes edf0e49195
Add wlr_x11_output_set_title
6 years ago
Jan Beich f80d174e8b Simplify evdev includes on FreeBSD by relying on up-to-date package
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
emersion 51bfdd620e
Use #if instead of #ifdef for wlroots config data
6 years ago
emersion 09550032b7
render: correctly set EGL_RENDERABLE_TYPE
6 years ago
emersion eac7c2ad2f output: add presentation refresh prediction
6 years ago
emersion 26b9d6dbb1 output: send present event from all backends
6 years ago
emersion 02231554c8 backend/x11: add assertions
6 years ago
random human 7bc2657984
Free unused pointer in x11/backend.c
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
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
Drew DeVault 4b096fc114 Revert "Merge pull request #1153 from emersion/include-config"
6 years ago
emersion 41094a7df5 Always include config.h
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
Dominique Martinet bcc2c64c1e x11 backend init: fix leak on failed XOpenDisplay
6 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
Guido Günther 6f01c12b40 backend/x11: don't transform pointer events
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 f8e0a03451
backend/x11: correctly destroy input devices
7 years ago
emersion 79da4c175e
backend/headless: remove useless destructor
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 eaed6bd03b
render/egl: add wlr_egl_destroy_surface
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
Uli Schlachter 52b058c2a3 x11 backend: Do not set a back pixel on windows
7 years ago
Uli Schlachter 98f8ec6a08 x11_handle_input_event: Remove return value
7 years ago
Uli Schlachter 3728abd1fc handle_x11_event: Remove return value
7 years ago
emersion d2ebbd103c
backend: remove wlr_backend_get_egl
7 years ago
emersion 03563b61a8
backend/{x11,headless}: use default if supplied refresh is invalid
7 years ago
emersion 2d6bbf12f8
backend/{x11,headless}: fix refresh rate
7 years ago
emersion 9609985f29
backend/x11: fix cursor position when receiving configure event
7 years ago
emersion 60f07ee321
backend/x11: fix WLR_HAS_XCB_XKB always undefined
7 years ago
Drew DeVault 8b37e8f67a
Merge pull request #792 from emersion/x11-backend-blank-cursor
7 years ago
emersion 33a2eb4b77
Untie wlr_backend from wlr_renderer
7 years ago
emersion 37aae0b2cd
backend/x11: flush after destroying window
7 years ago
emersion 7b88ace557
backend/x11: hide cursor
7 years ago
emersion 5111f7df84
backend/x11: fix extra output
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
emersion 5dd022da13
Merge pull request #765 from swaywm/transformed-events
7 years ago
Drew DeVault a35a5786b0 Remove width_mm from wlr_pointer events
7 years ago
emersion f033f717a2
backend/x11: make xcb-xkb optional, remove global state
7 years ago
emersion 8d1b5c7600
backend/x11: correctly update keyboard modifiers
7 years ago
Uli Schlachter c7f8b28d8d Fix use-after-free in x11 backend during shutdown
7 years ago
Dominique Martinet b0c2bbebd1 x11 backend: fix various leaks
7 years ago
Scott Anderson 3c9fc7c68e Add const to x11 and input interfaces
7 years ago
Scott Anderson 902d6cc240 Use xcb atoms properly
7 years ago
Guido Günther 9716aa9b92 x11: parse vendor and model out of xcb setup information
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
Scott Anderson 86269052eb Explicitly export EFL symbols
7 years ago
Guido Günther 15afef6cbc x11 backend: set window title
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
emersion 36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion 10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion 5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
emersion bf6d245400
Swap buffers with damage
7 years ago
emersion babdd6ccf7
backend: fix use-after-free when destroying backends
7 years ago
emersion 51c22d39a4
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion 8d58ed502b
output: add wlr_output_schedule_frame
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 78c13ead16
backend/x11: force rendering the whole output
7 years ago
emersion 771263380c
Add wlr_output::enabled
7 years ago
Dominique Martinet fcd7062542 x11 backend: add wlr_input_device_is_x11
7 years ago
Dominique Martinet f83b16bc17 x11 backend: add wlr_output_is_x11
7 years ago