JetBrains / skija

Java bindings for Skia
Apache License 2.0
2.63k stars 128 forks source link

Does skija support windows x86? #61

Closed yuhailong626 closed 3 years ago

yuhailong626 commented 4 years ago

I noticed that skia-build is all x64, how to get windows x86?

tonsky commented 4 years ago

You can try building it yourself. Modify what makes sense in build_windows.sh and try running it, let me know how it goes. If something is seriously broken, I’ll be happy to merge a fix.

Just out of curiosity, what’s your use-case?

yuhailong626 commented 4 years ago

Hi @tonsky , I recently noticed that compose-jb can support windows&android, and it uses skija, but our application needs to support windows xp, I am investigating its feasibility

tonsky commented 4 years ago

Probably possible (unless Skia doesn’t compile to x86, which I doubt), just wasn’t done yet. The second obstacle is that we might write Skija C++ bindings wrong somewhere (assuming primitive sizes which are different on x86). If that’s the case, we’ll see if anything can be done about it.

yuhailong626 commented 4 years ago

@tonsky , thanks for your answer, is there any plan to support x86 in Skija?

tonsky commented 4 years ago

Not actively, but if someone comes up with PR, I’ll take a good look at it and merge if it works. I am not against the idea

yuhailong626 commented 3 years ago

Thanks,I will try it.