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
I want to use 86Box on a Raspberry Pi without any X or Wayland, just boot into minimal init and 86box with SDL.
Since I was used to CRT shader on QT build, I was not happy to find out shaders are not supported in SDL backend, so this PR adds that shader support .
I've also implemented a new OSD based on imgui since I find the existing one to be a bit lacking.
Shader support is off by default, since it is not compatible with MacOS.
SDL Shaders can be enabled with -DUSE_SDL_SHADER=ON.
The old OSD is still the default, the new one can be enabled with -DUSE_IMGUI=ON.
Checklist
Closes N/A
I have tested my changes locally and validated that the functionality works as intended
I think it would be a good idea to remove the old OSD as well.
A few hours ago I would have agreed with you, but since the new OSD needs OpenGL it doesn't work on MacOS 🫤
At least I think so, don't really have experience with MacOS and do not own one.
By the way, the shader code appears to break compile on MacOS
Yeah that's exactly the thing, can't get the shaders to compile because GLESv2 is missing.
I've adapted the Linux script to include libgles2-mesa-dev, and enabled USE_SDL_SHADER there.
But no idea how to pull in GLESv2 on MacOS or if it is even supported.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Summary
I want to use 86Box on a Raspberry Pi without any X or Wayland, just boot into minimal init and 86box with SDL.
Since I was used to CRT shader on QT build, I was not happy to find out shaders are not supported in SDL backend, so this PR adds that shader support .
I've also implemented a new OSD based on imgui since I find the existing one to be a bit lacking.
Shader support is off by default, since it is not compatible with MacOS.
SDL Shaders can be enabled with
-DUSE_SDL_SHADER=ON.The old OSD is still the default, the new one can be enabled with
-DUSE_IMGUI=ON.Checklist