What are some faster alternatives to Java2d?

后端 未结 4 1272
一向
一向 2021-02-12 23:14

I\'m looking to do some physics simulations and I need fast rendering in Java.

I\'ve run into performance issues with Java2d in the past, so what are the fast alternativ

4条回答
  •  南旧
    南旧 (楼主)
    2021-02-12 23:43

    I don't know - in the past I'd have said yes - especially if you use display lists rather than making lots of calls through the API each time the screen is displayed. But update 10 of the 1.6 JVM added accelerated Java2D graphics, so may have the advantage now. Really the only way to know for sure is to try to render typical scenes in both and measure it.

提交回复
热议问题