mirror of
https://github.com/jamessanford/kegs.git
synced 2024-06-01 07:41:52 +00:00
Disable FPS counter.
This commit is contained in:
parent
0a335a265b
commit
3501d7d0d9
|
@ -65,7 +65,8 @@ class BitmapThread extends Thread {
|
|||
}
|
||||
} finally {
|
||||
mSurfaceLock.unlock();
|
||||
fpsCount.fps();
|
||||
// for testing
|
||||
// fpsCount.fps();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -152,7 +152,8 @@ class KegsRenderer implements GLSurfaceView.Renderer {
|
|||
if (!mTexIdOK) {
|
||||
return;
|
||||
}
|
||||
fpsCount.fps();
|
||||
// for testing
|
||||
// fpsCount.fps();
|
||||
|
||||
if (mSizeChange) {
|
||||
mSizeChange = false;
|
||||
|
|
|
@ -72,7 +72,8 @@ class KegsView extends SurfaceView implements KegsThread.UpdateScreen, SurfaceHo
|
|||
// Empty the queue first in case bitmap thread is lagging behind.
|
||||
mHandler.removeMessages(0);
|
||||
mHandler.sendEmptyMessage(0);
|
||||
fpsCount.fps();
|
||||
// for testing
|
||||
// fpsCount.fps();
|
||||
}
|
||||
|
||||
public void updateScreenSize(BitmapSize bitmapSize) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user