-
Notifications
You must be signed in to change notification settings - Fork 2.2k
HarmonyOS/OpenHarmony Port #13152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
HarmonyOS/OpenHarmony Port #13152
Conversation
@slouken Request for review |
Can you please rebase on top of current master and remove all commits which you did not author? git fetch https://github.com/libsdl-org/SDL main
git rebase -i FETCH_HEAD
<remove all commits which you did not author. In vim, "dd" removes the current line, "<ESC>:wq" saves and exits)>
git push git@github.com:Jack253-png/SDL HEAD:OpenMinecraft-Dev -f |
Seeing you implemented vulkan support, does SDL_gpu work? Do the SDL_gpu_examples work? |
I will test later, because I don't have test platform, I need to find other people to do this. |
@madebr Finish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work you did here!
Do all unit tests work? (ctest
tests with a dummy video driver).
Does running test/testautomation --video dummy
succeed?
Does running test/testautomation --video ohos
work?
Does test/testsprite --renderer opengl
work?
Does test/testsprite --renderer vulkan
work?
Does test/testsprite --renderer gpu
work?
Does test/testfile
work?
Does test/testfilesystem
work?
Do you also intend to add support for other subsystems?
I looked a bit through the sparse English documentation, and it looks like ohos also has camera support.
|
||
|
||
JOB_SPECS = { | ||
"msys2-mingw32": JobSpec(name="Windows (msys2, mingw32)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw32", msys2_platform=Msys2Platform.Mingw32, ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo these comments, and just make sure to add [sdl-ci-filter harmony]
in the message of your last commit. This script will then only build haiku and openharmony.
I need to buy a test platform, I may hang this PR for about 2 weeks, and it is able to create vulkan/egl surface for now (I borrowed another developer's PC and runs the emulator, and it's unavailable for now) |
I will try to implement the locale, audio subsystem, and locale api implementation is inside the ets part. |
It would also be useful to write some documentation for the Since openharmony is a relatively new os, documentation about how to package a SDL app would be useful. I hope it's not a mess like Android ;) |
I have already written a sample harmony/openharmony app at https://github.com/OpenMinecraft-Dev/sdl-ohos-shell, I will try to put it inside |
[sdl-ci-filter harmony-*]
Does it work? I changed the commit message |
Hmph. It still seems to run all the workflows. @madebr: Is the filtering correct? |
I'm using |
Do you find the problem? Why it works in my repo? |
On pushes, On pull requests, |
It is an existing bug in SDL GitHub workflow?! |
Yes and no. So yes, the problem was already present. |
Actually that's a good thing and not a problem. A patch causing problems |
Description
SDL support for harmonyos
Existing Issue(s)
#9837