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
Render without Graphic Context #24
Comments
I think you will need a CPU :) But yes, it is possible to render to an image directly.
Don’t know, but let me know if you figure it out—I’m curious too! |
I'm still fighting just to get skija to work :/ |
Let me know if you have some specific questions. The build scripts are not the best yet, but I hope README has all the steps you need |
Thank you @tonsky I gladly accept your help with the setup Currently, under OSX, I can launch the LwjGL demo but doing it with Jogl fail with My goal is to setup a Gradle project and then directly render off-canvas using Skija and save to an image format.
Compilation OK but a run get me to
Do I miss some setup on the launch dir so it can find a native lib ? |
You need to call |
Thx ! Made some progress but calling Surface crash the program
But I can create a Bitmap and draw.
|
Might be related: on a mac, you need to do it from the first thread. Maybe passing |
Thanks a lot @tonsky I got everything working now, this made my day. The previous error came from the JDK 11 J9, I moved to JDK14 and it's faster on startup. Here are some of my works that rely mainly on Flutter which use a limited set of Skia as Engine. I'll try to see how I can explore more of Skia using your consequent work ! |
Looks dope! If you manage to build something like that in Skija, let me know — we might include it as an example (if you are interested) |
Hi Skija Team,
Thanks for the work on this lib, can't wait to see how it will integrate with yours IDE solutions.
Here are 2 questions that need some help please :
Is is possible to render image without any graphic context directly calling cpu | gpu ?
How compatible is it with Graal VM ?
Thank you !
Robert
The text was updated successfully, but these errors were encountered: