You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are some things I've been thinking about regarding wayland, I may add more if they occur to me.
Don't destroy wl_display and wl_surface until quit
Currently gfx drivers are destroyed on core launch and fullscreen transitions.
This would allow the splash screen to be displayed on launch rather than on fullscreen and core transitions.
Currently the android keeps it's surface as a single surface is provided on application launch. It does this will a global if I recall correctly. Maybe window management should be split out of the gfx driver.
xdg_toplevel configure events should stored until the xdg_surface configure at which point they're applied and acked
I think is handled correctly by libdecor but without libdecor currently RetroArch just acks the configure.
Tasks
Here are some things I've been thinking about regarding wayland, I may add more if they occur to me.
Don't destroy
wl_display
andwl_surface
until quitCurrently gfx drivers are destroyed on core launch and fullscreen transitions.
This would allow the splash screen to be displayed on launch rather than on fullscreen and core transitions.
Currently the android keeps it's surface as a single surface is provided on application launch. It does this will a global if I recall correctly. Maybe window management should be split out of the gfx driver.
xdg_toplevel configure events should stored until the xdg_surface configure at which point they're applied and
ack
edI think is handled correctly by libdecor but without libdecor currently RetroArch just
ack
s the configure.RetroArch/input/common/wayland_common.c
Lines 664 to 669 in 3e6486d
Bumb protocol versions
This can require implementing new event handlers, some of which are okay to ignore. However it can also require larger changes.
Use
wl_event_queue
to decouple display and input threadsI'm not sure this would achieve anything.
Drag and drop wayland: Open content from drag and drop #16443
My attempt at implementing this crashes RetroArch and depends on glib for URI decoding.
wp_presentation
wp_color_manager
Rewrite
wl_output
structsxdg_toplevel_icon
Testing strategy
Run nested kwin (env WAYLAND_DISPLAY=wayland-1):
--output-count 2
will cause retroarch to show a splash screen.--output-count 1
will forego the splash screen.Run nested mutter (env WAYLAND_DISPLAY=wayland-1):
Run with limited CPU, useful for debugging race conditions:
Build without libdecor for testing raw xdg-toplevel implementation:
The text was updated successfully, but these errors were encountered: