Open hajimehoshi opened 5 years ago
Currently At before Run might freeze, which is a bad behavior.
https://github.com/golang/go/issues/25255 is the blocker.
I don't think this is related exactly to this issue, but this article does talk about the performance of image.At in Go and how he managed to fix it (which isn't clear) but improved performance. Please take a quick look, short article.
https://medium.com/@marek.michalik/c-vs-rust-vs-go-performance-analysis-945ab749056c
Thanks but this is not related.
Now a graphics library is determined at ebiten.Run
, (*ebiten.Image).At
is not available even if https://github.com/golang/go/issues/25255 is resolved. Probably a software driver would be the only one solution.
The current problem is that on mobiles GL drivers are not available outside the loop.
This would require implementing a software graphics driver.