383 Commits (5adb1be3a71fb5534b12ca6009d7113cb59f0134)

Author SHA1 Message Date
Simon Ser 80865351bd backend/wayland: add support for wl_shm buffers
4 years ago
Simon Zeni 84dea55b20 render: rename get_dmabuf_render_formats into get_render_formats
4 years ago
Simon Ser b89bcffea4 render/egl, backend/wayland: add workaround for split render/display setups
4 years ago
Simon Ser 44fa2c4b49 output: fix transform matrix for 90/270 rotations
4 years ago
Simon Zeni 9601a2abf0 output: improve transform matrix calculation
4 years ago
Simon Ser f3758d1d0a backend: add error messages in attach_render impls
4 years ago
Manuel Stoeckl a290d7a78d Make implementation function lists static const
4 years ago
Simon Ser 8e27418dd3 backend/wayland: flush remote display
4 years ago
Simon Ser 7b50f5d324 backend/wayland: remove unnecessary cast
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 400f4e7f27 backend/wayland: implement get_drm_fd
4 years ago
Simon Ser a6a0568316
backend: remove unnecessary GLES2 includes
4 years ago
Simon Ser 3f7e0cf5f0 render/egl: remove surface and buffer age args from make_current
4 years ago
Simon Ser 098094c5cb backend/wayland: use the EGL GBM platform
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 3721dbfddb
backend/wayland: remove unnecessary flags from event source
4 years ago
Kenny Levinsen d3047011d0 backend/wayland: Avoid uninitialized read
4 years ago
Simon Ser 7febdc7334 backend/wayland: re-use cursor wl_buffers
4 years ago
Simon Ser 4b03bdc3ab Remove wlr_create_renderer_func_t
4 years ago
Simon Ser b9460ab724
Stop using wlr_texture_get_size
4 years ago
Simon Ser defcd9b025 backend/wayland: re-use wl_buffers
4 years ago
Simon Ser de896caceb backend/wayland: remove EGL config
4 years ago
Simon Ser 87bd718de5
backend: use fcntl(F_DUPFD_CLOEXEC) instead of dup
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 6485fadc16
backend/wayland: don't set EGL visual
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 7693f61d81 Replace wlr_key_state with wl_keyboard_key_state
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
Ilia Bozhinov efe6414640 wayland: emit relative pointer events only for current pointer
4 years ago
Simon Ser 297354f847 Remove unnecessary wl_display_dispatch calls
4 years ago
Ilia Bozhinov 9feeb2738d
backend/wayland: destroy relative pointer when output is disconnected
4 years ago
Antonin Décimo d9bb792794 Fix incorrect format parameters
4 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
4 years ago
Tudor Brindus dc13bb827d util: fix and move `get_current_time_msec` into a util file
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 1a23c1425f Add comments for missing tablet tool entries
5 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 781ed1ff02 Fix -Wreturn-type warnings
5 years ago
Tudor Brindus 6357e166f9 backend/wayland: emit tablet tool axis events to the axis handler
5 years ago
Simon Ser ab4f642153 build: use dicts instead of get_variable
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
Simon Ser b614ded3fc backend/wayland: close keymap FD
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
Scott Anderson 70a084c119 meson: Fix protocol includes for compositor examples
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
Simon Ser 5bbb44482b backend/wayland: fix frame callback not registered
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
Simon Ser e959b882d5 backend/wayland: add support for presentation-time
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
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
Simon Ser 5bddb5a909 backend/wayland: add support for direct scan-out
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
Antonin Décimo e7f1aa30dd backend/wayland: check if zxdg_toplevel_decoration_v1 is not NULL
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
Greg V d80acadfd8 Support pointer-gestures on Wayland backend
6 years ago
Simon Ser ce3f4c3fe1 output: remove wlr_output_impl.transform
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 933208837d backend/wayland: fix wlr_wl_pointer use-after-free
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
Brian Ashworth 67523fb228 backend/wayland: improve output number handling
6 years ago
emersion 5445d8aad0 meson: enable more compiler warnings
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
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
Timidger 9af0c5338f
Standardize the wlr_box input paramaters
6 years ago
emersion 408e2a77e9
backend/wayland: fix zero-length VLA
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 68362b37a8
backend/drm: fix frame scheduling on secondary GPUs
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 26b9d6dbb1 output: send present event from all backends
6 years ago
emersion e98cb7c5ab backend/wayland: add assertions
6 years ago
emersion f86f1daf9a Fix build on FreeBSD
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
Dominique Martinet 1940c6bbd9 wayland backend: fix width/height == 0 check
6 years ago
Dominique Martinet 4f7b1382d4 wayland backend seat: fix NULL output check
6 years ago
emersion 551700e887
backend/wayland: fix keyboard keys not pressed/released when focus changes
7 years ago
Ilia Bozhinov 24cf70ae96 backends: implement custom EGL and renderer initialization
7 years ago
emersion 9e3dd6b560
backend/wayland: fix segfault when destroying backend before starting it
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
Guido Günther 545d54439d backend/wayland: 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 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 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 eaed6bd03b
render/egl: add wlr_egl_destroy_surface
7 years ago
emersion d2ebbd103c
backend: remove wlr_backend_get_egl
7 years ago
emersion 33a2eb4b77
Untie wlr_backend from wlr_renderer
7 years ago
emersion f37e8c5b6e
backend/wayland: cleanup input transform code
7 years ago
Drew DeVault 3813121fef Fix wayland output absolute input handling
7 years ago
Drew DeVault a35a5786b0 Remove width_mm from wlr_pointer events
7 years ago
emersion c63d94483b
Redesign wlr_texture
7 years ago