webOS: add compatibility for older Wayland compositors found on webOS 1 to 3 #18630
+488
−20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Guidelines
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:
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