.Btw, BackgroundSurfaceThread needs a lot of cleanup, I just created it to test its performance.
.



public void onDraw(Canvas canvas)
{
long t = System.curentTimeMillis();
if(mCanvasHeight != canvas.getHeight())
setCanvasSize(canvas.getWidth(), canvas.getHeight());
canvas.drawBitmap(mBg, mOrgRect, mDstRect, mPaint);
android.util.Log.e("DRAWTIME", System.curentTimeMillis()-t +"" );
}



Return to Android 2D/3D Graphics - OpenGL Problems
Users browsing this forum: No registered users and 4 guests