Thanks for your answers. I have found why it takes my jPCT view so long for load. The problem is in framebuffer initialization. There was this code in my app:
public void onSurfaceChanged(GL10 gl, int w, int h) {
if (fb != null) {
fb.dispose();
}
fb = new FrameBuffer(w, h);
}
So I have changed it to:
public void onSurfaceChanged(GL10 gl, int w, int h) {
if(width != w || height != h) {
if (fb != null) {
fb.dispose();
}
fb = new FrameBuffer(w, h);
width = w;
height = h;
}
}
When I now start my 3D scene and then lock and unlock the screen, it is very fast. But still my 3D scene taks very long to load for the first time. I have tested it with an empty scene without any objects, and it lagged for the same time too. In empty scene, there is nothing to clone. Cloning really will not help me.
Is there any way how to speed up FrameBuffer initialization? It is also possible that I have just slow phone. For testing I use Samgung Galaxy Young which is really not very fast. :-)