Skip to content

Conversation

@cscd98
Copy link
Contributor

@cscd98 cscd98 commented Jan 20, 2026

Guidelines

  1. Rebase before opening a pull request
  2. If you are sending several unrelated fixes or features, use a branch and a separate pull request for each
  3. If possible try squashing everything in a single commit. This is particularly beneficial in the case of feature merges since it allows easy bisecting when a problem arises

Description

This PR adds a generic HAVE_WAYLAND_BACKPORT flag which when set to 1 will implement fallbacks for wayland compositors (such as those in webOS 1 to 3) which lack support for:

  • wl_proxy_marshal_constructor_versioned
  • wl_proxy_marshal_array_constructor_versioned
  • wl_proxy_get_version
  • wl_display_prepare_read
  • wl_display_read_events
  • wl_display_cancel_read

This has been tested on webOS 1.4 TV (GLES 2 only) device.

wl_surface_set_buffer_scale is only available on V3 of the protocol so that is checked for before using.

GLES 3 is now enabled by default, as my test user has confirmed that it falls back to GLES 2 and they were able to play it.

For legacy sake, I have included an older IPK with GLES 2 and no wayland, just in case any issues arise I can point them at that version to download instead.

It also updates the various github action versions (v1 should point to the latest release for most).

Related Issues

Related Pull Requests

Reviewers

@LibretroAdmin LibretroAdmin merged commit d310f02 into libretro:master Jan 20, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants