Alexander Orzechowski
1b0694b794
treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical
2023-10-03 01:51:07 -04:00
Simon Ser
b60c5fa450
examples: drop wlr/render/egl.h include from client examples
...
We use egl_common.h instead.
Fixes: 34e7f69d69
("examples: remove dependency on wlr_egl from clients")
2021-02-14 16:49:54 +01:00
Brandon Dowdy
34e7f69d69
examples: remove dependency on wlr_egl from clients
...
The specified clients in this commit used to rely on wlr_egl and
some of its related functions in order to render surfaces.
This is no longer the case as of this commit.
2021-01-29 10:03:24 +01:00
Simon Ser
1d461687d2
render/egl: replace init/finish with create/destroy
...
This ensures wlr_gles2_renderer can properly take ownership of the
wlr_egl.
Closes: https://github.com/swaywm/wlroots/issues/2612
2021-01-12 11:31:04 +01:00
Simon Ser
76ed2255ef
render/egl: remove support for EGL_NATIVE_VISUAL_ID
...
Nobody uses it anymore.
2021-01-12 11:31:04 +01:00
Simon Ser
198560fc1f
examples: request an EGL config
...
Client examples using wlr_egl would fail with EGL_BAD_CONFIG because they
need an EGL config. Set the config attribs to a non-NULL value to make
sure wlr_egl creates an EGL config.
Fixes: 037710b1d4
("render/egl: support config-less wlr_egl")
2021-01-04 11:30:30 +01:00
Simon Ser
9714638f3b
examples: remove visual for EGL_PLATFORM_WAYLAND_EXT
...
The Wayland EGL platform doesn't have visuals.
2021-01-04 11:26:08 +01:00
Simon Ser
297354f847
Remove unnecessary wl_display_dispatch calls
...
wl_display_roundtrip already takes care of dispatching the display.
2020-08-24 07:55:35 -06:00
random human
42ffa413fb
relative_pointer: add relative-pointer example
...
On left mouse button click, locks the cursor and renders relative motion
events.
2018-12-21 12:20:48 -06:00