![]() |
Swing hardware acceleration?
Anyone know if Swing can take advantage of hardware acceleration?
Would it be folly to try to write a serious game like Angry Birds using Swing? |
Re: Swing hardware acceleration?
On 10/5/2012 8:46 AM, bob smith wrote:
> Anyone know if Swing can take advantage of hardware acceleration? > Probably. That would be up to the JVM though. > Would it be folly to try to write a serious game like Angry Birds using Swing? Probably. Neither Android nor iOS use Swing, so what would be the point? |
Re: Swing hardware acceleration?
On 10/05/2012 11:46 AM, bob smith wrote:
> Anyone know if Swing can take advantage of hardware acceleration? web search terms java+swing+hardware+acceleration first hit <http://www.oracle.com/technetwork/articles/java/javaclient-484666.html> |
Re: Swing hardware acceleration?
On 10/5/12 8:46 AM, bob smith wrote:
> Anyone know if Swing can take advantage of hardware acceleration? > > Would it be folly to try to write a serious game like Angry Birds using Swing? > Yes, swing does take advantage of some hardware acceleration, research VolatileImage for more info. |
Re: Swing hardware acceleration?
On 10/05/2012 01:02 PM, Jeff Higgins wrote:
> On 10/05/2012 11:46 AM, bob smith wrote: >> Anyone know if Swing can take advantage of hardware acceleration? > web search terms java+swing+hardware+acceleration first hit > <http://www.oracle.com/technetwork/articles/java/javaclient-484666.html> Some other sources for further information The troubleshooting guides for JavaSE(6/7) desktop technologies. Chet Hasse's weblog. |
Re: Swing hardware acceleration?
On Friday, October 5, 2012 12:04:20 PM UTC-5, Daniel Pitts wrote:
> On 10/5/12 8:46 AM, bob smith wrote: > > > Anyone know if Swing can take advantage of hardware acceleration? > > > > > > Would it be folly to try to write a serious game like Angry Birds using Swing? > > > > > Yes, swing does take advantage of some hardware acceleration, research > > VolatileImage for more info. Yes. It is very fast now. It is nice to get speed without the difficulty of OpenGL. |
Re: Swing hardware acceleration?
On 10/5/2012 11:46 AM, bob smith wrote:
> Anyone know if Swing can take advantage of hardware acceleration? Yes. And more and more, http://www.oracle.com/technetwork/ar...nt-484666.html describes what was done in Java 6. But I would expect the actual benefits for a typical Swing app to be very small. Obvious there are non-typical Swing apps as well. > Would it be folly to try to write a serious game like Angry Birds using Swing? I would go for JavaFX for something like this. Arne |
Re: Swing hardware acceleration?
On 10/5/2012 8:46 AM, bob smith wrote:
> Anyone know if Swing can take advantage of hardware acceleration? > > Would it be folly to try to write a serious game like Angry Birds using Swing? > You can do pretty well without any additional hardware acceleration, just with the speed of Swing. See my Asteroids game at http://rabbitbrush.frazmtn.com/ for an example. It's not at the level of Angry Birds but I think you could write a game similar to Angry Birds in Swing without any trouble. -- Knute Johnson |
| All times are GMT. The time now is 06:43 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.