Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (292)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Hardware Acceleration - OpenGL vs Canvas  (Read 3893 times)
0 Members and 1 Guest are viewing this topic.
Offline lsgames

Senior Newbie





« Posted 2010-04-27 06:43:30 »

I have made a game using Canvas but for performance reasons want to switch to using Canvas. However, some devices such as HTC Tattoo does not have very good hardware acceleration and performs worse with OpenGL! Wondering if anyone has made thoughts about that? Should both OpenGL and Canvas be supported and the user be able to choose via an in-game setting? Or the game can autodetect and choose OpenGL or Canvas? Or is it so few phones that don't support OpenGL HW accelerated that it is ok to just only go with OpenGL? I think I will end up just going with OpenGL for simplicity.

Anyone had similar thoughts? Any input appreciated!

/Martin
Offline arberg

JGO Visitor




« Reply #1 - Posted 2010-06-04 14:50:52 »

I have collected the following statistics from our Canvas game, using a dummy-gl thread:

Percen   Renderer
25.7%   Adreno
25.7%   Q3Dimension MSM7500 01.02.08 0 4.0.0
15.5%   PowerVR SGX 530
12.3%   unknown renderer
11.9%   AMD Z430
6.24%   FIMG
2.19%   Android PixelFlinger 1.0
0.11%   PowerVR SGX 540
0.08%   Android PixelFlinger 1.2
0.01%   Android PixelFlinger 1.1

Note that 'Android PixelFlinger ' renderers are software renderers. The tattoo uses Android PixelFlinger 1.0 and that one is definitely way slower than canvas, and makes our game (in its yet unpublished gl-version) run crappy. I don't know if the 1.1 or 1.2 version of the pixelflinger runs a lot better. I believe the rest of the renderes are hardware renderers, and that they are the names of the chip.

So making a strict gl-game you may loose 2% of your customers due to bad performance. That ofcause does not include what you may gain using opengl due to better performance and/or nicer graphics.
Offline EgonOlsen
« Reply #2 - Posted 2010-06-04 18:39:11 »

FIMG is software too, the spica uses it for example.

Games published by our own members! Check 'em out!
Try the Free Demo of Droid Assault
Offline strategy

Junior Member


Projects: 1



« Reply #3 - Posted 2010-06-06 14:46:10 »

So making a strict gl-game you may loose 2% of your customers due to bad performance. That ofcause does not include what you may gain using opengl due to better performance and/or nicer graphics.

Apart from the customers you lose from bad performance, you also risk losing customers from bad comments and ratings by the unhappy customers.

Offline Nate

JGO Wizard


Medals: 81
Projects: 3


Esoteric Software


« Reply #4 - Posted 2010-06-07 08:00:51 »

You'll get bad comments and ratings even if you have the most awesome app ever, so I wouldn't stress it. People are stupid.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (67 views)
2013-05-17 21:29:12

alaslipknot (76 views)
2013-05-16 21:24:48

gouessej (108 views)
2013-05-16 00:53:38

gouessej (104 views)
2013-05-16 00:17:58

theagentd (115 views)
2013-05-15 15:01:13

theagentd (104 views)
2013-05-15 15:00:54

StreetDoggy (149 views)
2013-05-14 15:56:26

kutucuk (172 views)
2013-05-12 17:10:36

kutucuk (170 views)
2013-05-12 15:36:09

UnluckyDevil (179 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.111 seconds with 21 queries.