Canvas vs OpenGl drawline speeds

by brian purgert » Sun, 13 Mar 2011 04:28:32 GMT


Sponsored Links
 right now my game is drawn using the canvas and it runs pretty good on my
phone. (I have the Droid 2). My game is space-bike in case you did not know,
and it is drawn using 3 bitmaps and tons and tons of lines. most frames are
under 50 line, the reason it is so high it because I draw Each line with 2-3
lines in order to create a neon like effect.

So my question is; Will I be better off if I convert my game to openGL?  Or
should I stick with the canvas?

-- 



Other Threads

1. pilih z4root or SuperOneClick utk Galaxy tab?

pakar sekalian,

mohon pnecerahan dan sarannya krn saya baru punya galaxy tab dan baca2
selama ini di milis dan tertarik utk root hh saya.
mendingan pake z4root atau SuperOneClick yaa?

Thanks sebelumnya

-- 
===============

2. Minimize CursorAdapter view recycling?

I'm using a ResourceCursorAdapter to display a list of downloads from
a ContentProvider that track's my application's downloads -- modeled
after Android's DownloadProvider.

The problem is that when a download is actively running it frequently
calls bind view--every few seconds--to update a download progress bar,
with a view object that is NOT currently associated with a given
cursor position.  Thus, bind view is constantly recycling and binding
view objects to new item/cursor positions.

This is especially a problem if the user attempts to push a button on
one of the items while it's being bound to a different view object and
cursor position, which results in an event being fired for the wrong
data.

Does anyone have advice on how to minimize unnecessary view recycling?

It appears to only occur for the bottom and top list items (of the
three on the screen), while the middle item remains tied to a single
cursor and view object.

Thanks,
-Ivan

-- 

3. Example gallery style view with fling, bounce, animation, etc

4. avcodec_decoder_find problem

5. xml layout problem?

6. TTS User controlled

7. Proguard problem after 2.3 update