Long delay after mSurfaceHolder.lockCanvas(null)

Problems with Canvas, OpenGL, etc...

Long delay after mSurfaceHolder.lockCanvas(null)

Postby pejot » Mon Jan 31, 2011 12:07 am

I am working om my first Android application. It is kind of animations based on SurfaceHolder class.

A issue what I have is slow refresh rate. All delay is done in one place - this is in calling method mySurfaceHolder.lockCanvas(null); Sometimes it takes up to 80ms and it dosen't depends if draw something,
even in a empty loop I have at least 40ms delay.
I use only emulator so I don't know if issue is real. Do you have any experience with such thing?

Once Poster
Once Poster
Posts: 1
Joined: Sun Jan 30, 2011 10:20 pm


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

Who is online

Users browsing this forum: No registered users and 1 guest