SurfaceView VS Custom View and drawing

Problems with Canvas, OpenGL, etc...

SurfaceView VS Custom View and drawing

Postby CrazyJay09 » Fri Aug 20, 2010 3:06 am

I wrote the same program two ways.

One using a Surfaceview, and the other using a custom view. According to the android SDK development guide, using a surface view is better because you can spawn a separate thread to handle graphics. Th SDK development guide claims that using a custom view with invalidate calls is only good for slower animations, less intense graphics.

However, in my simple app, I can clearly see that using a custom view with calls to invalidate seems to render faster.

What do you guys know/think about this?
CrazyJay09
Junior Developer
Junior Developer
 
Posts: 16
Joined: Wed Aug 04, 2010 3:23 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 4 guests