www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: raft on January 23, 2014, 03:20:53 pm

Title: assign a GL texture to an Object3D
Post by: raft on January 23, 2014, 03:20:53 pm
is it possible to assign an Object3D a GL texture which is created outside of jPCT?

with this code (https://android.googlesource.com/platform/cts/+/master/tests/tests/media/src/android/media/cts/TextureRender.java) i can create a special texture to which i can redirect Android's Camera or MediaPlayer output, kind of render to texture. if i can assign that texture to an Object3d, i can play perspectively correct videos inside jPCT world.

is it possible?
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 23, 2014, 06:15:50 pm
Not by default, but it might be if i would expose the GL id of a texture. It would be 100% up to you then to setup the texture, manage context changes and such. I'll look into it.
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 23, 2014, 06:53:52 pm
sounds good :)
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 23, 2014, 08:50:04 pm
Ok, here you go: http://jpct.de/download/beta/jpct_ae.jar (http://jpct.de/download/beta/jpct_ae.jar)...i've no idea if this works, it's 100% untested. I've added a method

Code: [Select]
Texture.setExternalId(<int>);

In your case, that would be the value that

Code: [Select]
GLES20.glGenTextures(1, textures, 0);

returns. Setting this value should override everything else, i.e. the renderer will use this id regardless of the current context or if it exists or not. So it's up to you to keep this id fresh. Other settings on the texture like mip mapping, compression etc. will have no effect anymore.

Please let me know if it works or not.
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 24, 2014, 11:15:18 am
thanks :)

well, i have a view. for a fast start, i first tried to redirect camera view to texture. below is a screenshot. an UV adjustment was needed since as can be expected the created texture has a 2^n size.

(http://s7.postimg.org/69nkh2qkr/camera_texture_2_scaled.png)

the camera view on the back is a texture blitted by jPCT. the debug text in black is part of the texture (printed by OpenCV before image is converted to texture) so it's also blitted.

the red rectangles, axes arrows and and the plane are all 3d objects in jPCT world. the plane uses the new external texture so it also displays the camera view.

the weird thing is, plane also displays the debug text. i cant understand how and why :o

also I had a repeating GL error 0x502 at SurfaceTexture.updateTexImage() in logs. after some googling I've found this is caused by an error happening before SurfaceTexture.updateTexImage(). so I call before updateTexImage:

Code: [Select]
int error = GLES20.glGetError();
if (error != 0) {
    System.out.println("GL error " + error + ": " + GLU.gluErrorString(error));
}

and got:

Code: [Select]
GL error 1282: invalid operation
if I dont assign this texture to plane but still call SurfaceTexture.updateTexImage(), the error goes away. i cant see inside of updateTexImage since it's a native method.

any ideas?
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 24, 2014, 03:06:43 pm
i've skipped blitting generated camera texture to back of the scene and the result is as below:

(http://s23.postimg.org/77gq0m3uj/camera_texture_3_scaled.png)

this is the texture generated by GLFont. if i skip using GLFont the plane uses the texture of axis arrows. in short seems as plane uses the last texture used.

should I use this external texture like a regular texture? or should i activate it with something like:

Code: [Select]
GL10.glBindTexture(..)
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 24, 2014, 03:18:36 pm
and as a reminder, this is not a regular texture but an external texture (http://www.khronos.org/registry/gles/extensions/OES/OES_EGL_image_external.txt), maybe that requires special processing?
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 24, 2014, 03:42:56 pm
That might be an indicator that the ID that you've set as external texture id is not (or no longer) valid. There shouldn't be any need to do some special treatment. It will harm more than it helps.
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 24, 2014, 04:10:05 pm
At which stage, i.e. in which GL context are you creating the external texture?
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 24, 2014, 04:15:17 pm
argh :-[ you're right. texture was never initialized.

after fixing that, and forcibly switching to GL 2, same error code is detected and thrown by jPCT. this happens just after the plane is created and added to world.

Code: [Select]
FATAL EXCEPTION: GLThread 52706
java.lang.RuntimeException: [ 1390575883177 ] - ERROR: before: glError 1282
        at com.threed.jpct.Logger.log(Logger.java:193)
        at com.threed.jpct.GL20.checkError(GL20.java:152)
        at com.threed.jpct.GL20.glGenBuffers(GL20.java:1362)
        at com.threed.jpct.CompiledInstance.compileToVBO(CompiledInstance.java:1455)
        at com.threed.jpct.CompiledInstance.render(CompiledInstance.java:593)
        at com.threed.jpct.GLRenderer.drawVertexArray(GLRenderer.java:2289)
        at com.threed.jpct.World.draw(World.java:1361)
        at com.threed.jpct.World.draw(World.java:1099)

At which stage, i.e. in which GL context are you creating the external texture?
at onSurfaceCreated(..) method
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 24, 2014, 04:19:53 pm
Quote
at onSurfaceCreated(..) method
this is where the shaders are compiled and glGenTextures is called. the plane and external jPCT texture is created later in UI-Thread, not in the GL-thread.
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 24, 2014, 04:25:18 pm
same happens when plane and texture is created in GL-thread
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 24, 2014, 04:28:45 pm
jPCT just detects the error at that stage. It might or might not have caused it itself. It might be a problem with the current GL state. You have to make sure that after setting up the texture, the state is 'clean' i.e. it should be like as if you have never done anything to it.
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 24, 2014, 04:38:08 pm
and as a reminder, this is not a regular texture but an external texture (http://www.khronos.org/registry/gles/extensions/OES/OES_EGL_image_external.txt), maybe that requires special processing?
I'm not sure about this...as long you can bind it in a normal way and as long as a shader can access it in a normal way, i don't see why that should be a problem.
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 24, 2014, 04:44:10 pm
Have you checked what actually causes this error? The problem with gl errors is that they persist until somebody reads them. They might have happened waaaaay before they surface. You can only be sure if you check for a gl error after each and every gl call.
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 24, 2014, 04:48:59 pm
jPCT just detects the error at that stage. It might or might not have caused it itself. It might be a problem with the current GL state. You have to make sure that after setting up the texture, the state is 'clean' i.e. it should be like as if you have never done anything to it.
this may be a clue: that texture works fine as SurfaceTexture. i.e: camera output is redirected to it and jPCT can draw on top of it. the interesting part is, if jPCT world is empty the warning is printed just once by SurfaceTexture.updateTexImage(). if jPCT world is NOT empty, that warning is never printed.

Have you checked what actually causes this error? The problem with gl errors is that they persist until somebody reads them. They might have happened waaaaay before they surface. You can only be sure if you check for a gl error after each and every gl call.
this code  (https://android.googlesource.com/platform/cts/+/master/tests/tests/media/src/android/media/cts/TextureRender.java)checks error after all statements. so it's not happening at texture creation time.
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 24, 2014, 04:57:33 pm
In this:

Code: [Select]
GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTextureID);

this looks like a potential problem: GLES11Ext.GL_TEXTURE_EXTERNAL_OES

Of course, i'm not using that because i've no idea that i have to at that stage. I'll look into it later to see if i can simply extend the hack, so that you give both values to setExternalId or something like that.
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 24, 2014, 09:04:57 pm
Added...please try this jar: http://jpct.de/download/beta/jpct_ae.jar (http://jpct.de/download/beta/jpct_ae.jar)

I've added a glTarget as second parameter to the new method, so your call should look like this:

Code: [Select]
texture.setExternalId(texId, GLES11Ext.GL_TEXTURE_EXTERNAL_OES);

If that does any good...who knows. If it doesn't, you might want to set the log level to debug and set Config.glDebug to 1 and post the output.
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 27, 2014, 10:14:40 am
unfortunately. there is no error in logs but I ended up with where I started, i.e, texture also contains printed debug material. I've checked texture id is an assigned value.

(http://s24.postimg.org/pfktcjj2t/camera_texture_4_scaled.png)

There shouldn't be any need to do some special treatment. It will harm more than it helps.
the TextureRender class I used calls this at every draw call, so you say this is not actually necessary? btw, it didnt help for my case calling it every frame before world.renderScene.

Code: [Select]
GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTextureID);
below are some logs of last part. btw, you should mention in docs that Config.glDebugLevel should be set before FrameBuffer is created ;)

Code: [Select]
01-27 10:42:32.974: I/jPCT-AE(23719): glEnable(3042) took 13375ns
01-27 10:42:32.974: I/jPCT-AE(23719): glBlendFunc(770, 771) took 12666ns
01-27 10:42:32.974: I/jPCT-AE(23719): glDisable(2929) took 10917ns
01-27 10:42:32.974: I/jPCT-AE(23719): glActiveTexture(33984) took 10000ns
01-27 10:42:32.979: I/jPCT-AE(23719): glBindTexture(3553, 4) took 12917ns
01-27 10:42:32.979: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 15917ns
01-27 10:42:32.979: I/jPCT-AE(23719): glEnableClientState(32884) took 10417ns
01-27 10:42:32.979: I/jPCT-AE(23719): glDisableClientState(32885) took 8500ns
01-27 10:42:32.979: I/jPCT-AE(23719): glClientActiveTexture(33984) took 8916ns
01-27 10:42:32.979: I/jPCT-AE(23719): glEnableClientState(32888) took 11583ns
01-27 10:42:32.979: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 14250ns
01-27 10:42:32.979: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 16041ns
01-27 10:42:32.979: I/jPCT-AE(23719): glEnableClientState(32886) took 12917ns
01-27 10:42:32.979: I/jPCT-AE(23719): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 35750ns
01-27 10:42:32.979: I/jPCT-AE(23719): glDisable(3042) took 12708ns
01-27 10:42:32.979: I/jPCT-AE(23719): glEnable(2929) took 10583ns
01-27 10:42:32.979: I/jPCT-AE(23719): glClearColor(0.0, 0.0, 0.0, 1.0) took 14584ns
01-27 10:42:32.979: I/jPCT-AE(23719): glClear(16640) took 347458ns
01-27 10:42:33.064: I/jPCT-AE(23719): glDisable(2929) took 29208ns
01-27 10:42:33.064: I/jPCT-AE(23719): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 49291ns
01-27 10:42:33.064: I/jPCT-AE(23719): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 24250ns
01-27 10:42:33.064: I/jPCT-AE(23719): glActiveTexture(33984) took 12250ns
01-27 10:42:33.064: I/jPCT-AE(23719): glBindTexture(3553, 2) took 19333ns
01-27 10:42:33.064: I/jPCT-AE(23719): glTexParameterx(3553, 10241, 9729) took 16750ns
01-27 10:42:33.064: I/jPCT-AE(23719): glTexParameterx(3553, 10240, 9729) took 13458ns
01-27 10:42:33.064: I/jPCT-AE(23719): glTexParameterx(3553, 10242, 10497) took 12500ns
01-27 10:42:33.064: I/jPCT-AE(23719): glTexParameterx(3553, 10243, 10497) took 11958ns
01-27 10:42:33.064: I/jPCT-AE(23719): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1621625ns
01-27 10:42:33.064: I/jPCT-AE(23719): glBindTexture(3553, 4) took 27792ns
01-27 10:42:33.064: I/jPCT-AE(23719): glBindTexture(3553, 2) took 13417ns
01-27 10:42:33.069: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 24875ns
01-27 10:42:33.069: I/jPCT-AE(23719): glEnableClientState(32884) took 16250ns
01-27 10:42:33.069: I/jPCT-AE(23719): glDisableClientState(32885) took 10500ns
01-27 10:42:33.069: I/jPCT-AE(23719): glClientActiveTexture(33984) took 12709ns
01-27 10:42:33.069: I/jPCT-AE(23719): glEnableClientState(32888) took 14541ns
01-27 10:42:33.069: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 19542ns
01-27 10:42:33.069: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 15208ns
01-27 10:42:33.069: I/jPCT-AE(23719): glEnableClientState(32886) took 16792ns
01-27 10:42:33.069: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 77125ns
01-27 10:42:33.069: I/jPCT-AE(23719): glEnable(2929) took 14583ns
01-27 10:42:33.069: I/jPCT-AE(23719): glMatrixMode(5889) took 8750ns
01-27 10:42:33.069: I/jPCT-AE(23719): glLoadIdentity() took 9542ns
01-27 10:42:33.069: I/jPCT-AE(23719): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 14625ns
01-27 10:42:33.069: I/jPCT-AE(23719): glEnable(2977) took 10042ns
01-27 10:42:33.069: I/jPCT-AE(23719): glEnable(2896) took 12000ns
01-27 10:42:33.069: I/jPCT-AE(23719): glEnable(2884) took 12125ns
01-27 10:42:33.069: I/jPCT-AE(23719): glActiveTexture(33984) took 11125ns
01-27 10:42:33.069: I/jPCT-AE(23719): glBindTexture(36197, 1) took 15000ns
01-27 10:42:33.069: I/jPCT-AE(23719): glMatrixMode(5888) took 8500ns
01-27 10:42:33.069: I/jPCT-AE(23719): glPushMatrix() took 7583ns
01-27 10:42:33.069: I/jPCT-AE(23719): glLoadIdentity() took 8125ns
01-27 10:42:33.069: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 9208ns
01-27 10:42:33.069: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 9666ns
01-27 10:42:33.074: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 9917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glEnableClientState(32885) took 10000ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34962, 5) took 17583ns
01-27 10:42:33.074: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 9542ns
01-27 10:42:33.074: I/jPCT-AE(23719): glEnableClientState(32884) took 14875ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34962, 6) took 14458ns
01-27 10:42:33.074: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 14584ns
01-27 10:42:33.074: I/jPCT-AE(23719): glDisableClientState(32886) took 16500ns
01-27 10:42:33.074: I/jPCT-AE(23719): glClientActiveTexture(33984) took 11458ns
01-27 10:42:33.074: I/jPCT-AE(23719): glEnableClientState(32888) took 10958ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34962, 7) took 15000ns
01-27 10:42:33.074: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 13917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 14750ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34963, 8) took 11917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, 0) took 49125ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 13917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glMatrixMode(5888) took 8375ns
01-27 10:42:33.074: I/jPCT-AE(23719): glPopMatrix() took 8417ns
01-27 10:42:33.074: I/jPCT-AE(23719): glEnable(3042) took 16375ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBlendFunc(770, 771) took 14459ns
01-27 10:42:33.074: I/jPCT-AE(23719): glDepthMask(false) took 10917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glActiveTexture(33984) took 10541ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindTexture(3553, 3) took 16416ns
01-27 10:42:33.074: I/jPCT-AE(23719): glMatrixMode(5888) took 8625ns
01-27 10:42:33.074: I/jPCT-AE(23719): glPushMatrix() took 6042ns
01-27 10:42:33.074: I/jPCT-AE(23719): glLoadIdentity() took 8375ns
01-27 10:42:33.079: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 11208ns
01-27 10:42:33.079: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 10167ns
01-27 10:42:33.079: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 8666ns
01-27 10:42:33.079: I/jPCT-AE(23719): glEnableClientState(32885) took 11125ns
01-27 10:42:33.079: I/jPCT-AE(23719): glBindBuffer(34962, 1) took 15084ns
01-27 10:42:33.079: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 8917ns
01-27 10:42:33.079: I/jPCT-AE(23719): glEnableClientState(32884) took 13541ns
01-27 10:42:33.079: I/jPCT-AE(23719): glBindBuffer(34962, 2) took 13916ns
01-27 10:42:33.079: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 14500ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDisableClientState(32886) took 19334ns
01-27 10:42:33.079: I/jPCT-AE(23719): glClientActiveTexture(33984) took 11125ns
01-27 10:42:33.079: I/jPCT-AE(23719): glEnableClientState(32888) took 13500ns
01-27 10:42:33.079: I/jPCT-AE(23719): glBindBuffer(34962, 3) took 13416ns
01-27 10:42:33.079: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 15208ns
01-27 10:42:33.079: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 12084ns
01-27 10:42:33.079: I/jPCT-AE(23719): glBindBuffer(34963, 4) took 13917ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDrawElements(4, 1374, 5123, 0) took 51167ns
01-27 10:42:33.079: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 12209ns
01-27 10:42:33.079: I/jPCT-AE(23719): glMatrixMode(5888) took 8375ns
01-27 10:42:33.079: I/jPCT-AE(23719): glPopMatrix() took 8125ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDisable(3042) took 13791ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDepthMask(true) took 10166ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDisable(2884) took 11500ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDisable(2896) took 8208ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDisable(2977) took 9042ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDisable(2884) took 14083ns
01-27 10:42:33.079: I/jPCT-AE(23719): glDisable(2896) took 81792ns
01-27 10:42:33.084: I/jPCT-AE(23719): glDisable(2977) took 11584ns
01-27 10:42:33.084: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 23250ns
01-27 10:42:33.084: I/jPCT-AE(23719): glEnableClientState(32884) took 14416ns
01-27 10:42:33.084: I/jPCT-AE(23719): glDisableClientState(32885) took 9000ns
01-27 10:42:33.084: I/jPCT-AE(23719): glClientActiveTexture(33984) took 12333ns
01-27 10:42:33.084: I/jPCT-AE(23719): glEnableClientState(32888) took 10458ns
01-27 10:42:33.084: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15125ns
01-27 10:42:33.084: I/jPCT-AE(23719): glMatrixMode(5888) took 9250ns
01-27 10:42:33.084: I/jPCT-AE(23719): glPushMatrix() took 7000ns
01-27 10:42:33.084: I/jPCT-AE(23719): glLoadIdentity() took 10083ns
01-27 10:42:33.084: I/jPCT-AE(23719): glLoadMatrixf([F@41d45278, 0) took 16250ns
01-27 10:42:33.084: I/jPCT-AE(23719): glEnableClientState(32884) took 24292ns
01-27 10:42:33.084: I/jPCT-AE(23719): glDisableClientState(32888) took 13708ns
01-27 10:42:33.084: I/jPCT-AE(23719): glDisableClientState(32885) took 22541ns
01-27 10:42:33.084: I/jPCT-AE(23719): glLineWidth(1.0) took 12333ns
01-27 10:42:33.084: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 19708ns
01-27 10:42:33.089: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 45417ns
01-27 10:42:33.089: I/jPCT-AE(23719): glLineWidth(1.0) took 11417ns
01-27 10:42:33.089: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 16542ns
01-27 10:42:33.089: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 29833ns
01-27 10:42:33.089: I/jPCT-AE(23719): glLineWidth(1.0) took 10708ns
01-27 10:42:33.089: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 17875ns
01-27 10:42:33.089: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 29042ns
01-27 10:42:33.089: I/jPCT-AE(23719): glLineWidth(1.0) took 11625ns
01-27 10:42:33.089: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 17250ns
01-27 10:42:33.089: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 29958ns
01-27 10:42:33.089: I/jPCT-AE(23719): glLineWidth(1.0) took 10333ns
01-27 10:42:33.089: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 16459ns
01-27 10:42:33.089: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 30750ns
01-27 10:42:33.089: I/jPCT-AE(23719): glLineWidth(1.0) took 12000ns
01-27 10:42:33.089: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 20375ns
01-27 10:42:33.089: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 29375ns
01-27 10:42:33.089: I/jPCT-AE(23719): glLineWidth(1.0) took 11375ns
01-27 10:42:33.089: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 16417ns
01-27 10:42:33.089: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 30000ns
01-27 10:42:33.089: I/jPCT-AE(23719): glLineWidth(1.0) took 11875ns
01-27 10:42:33.089: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 16084ns
01-27 10:42:33.089: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 30083ns
01-27 10:42:33.094: I/jPCT-AE(23719): glLineWidth(1.0) took 10958ns
01-27 10:42:33.094: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 16333ns
01-27 10:42:33.094: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 33333ns
01-27 10:42:33.094: I/jPCT-AE(23719): glLineWidth(1.0) took 11791ns
01-27 10:42:33.094: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 18250ns
01-27 10:42:33.094: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 28833ns
01-27 10:42:33.094: I/jPCT-AE(23719): glLineWidth(1.0) took 10750ns
01-27 10:42:33.094: I/jPCT-AE(23719): glMatrixMode(5888) took 9250ns
01-27 10:42:33.094: I/jPCT-AE(23719): glPopMatrix() took 8084ns
01-27 10:42:33.094: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 19459ns
01-27 10:42:33.094: I/jPCT-AE(23719): glEnableClientState(32884) took 13625ns
01-27 10:42:33.094: I/jPCT-AE(23719): glDisableClientState(32885) took 9291ns
01-27 10:42:33.094: I/jPCT-AE(23719): glClientActiveTexture(33984) took 11125ns
01-27 10:42:33.094: I/jPCT-AE(23719): glEnableClientState(32888) took 12417ns
01-27 10:42:33.094: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 18792ns
01-27 10:42:33.094: I/jPCT-AE(23719): glEnable(3042) took 18000ns
01-27 10:42:33.094: I/jPCT-AE(23719): glBlendFunc(770, 771) took 14584ns
01-27 10:42:33.094: I/jPCT-AE(23719): glDisable(2929) took 12125ns
01-27 10:42:33.094: I/jPCT-AE(23719): glActiveTexture(33984) took 10625ns
01-27 10:42:33.094: I/jPCT-AE(23719): glBindTexture(3553, 4) took 14625ns
01-27 10:42:33.094: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 20458ns
01-27 10:42:33.094: I/jPCT-AE(23719): glEnableClientState(32884) took 14375ns
01-27 10:42:33.094: I/jPCT-AE(23719): glDisableClientState(32885) took 9583ns
01-27 10:42:33.094: I/jPCT-AE(23719): glClientActiveTexture(33984) took 10958ns
01-27 10:42:33.099: I/jPCT-AE(23719): glEnableClientState(32888) took 16708ns
01-27 10:42:33.099: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 21333ns
01-27 10:42:33.099: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 17125ns
01-27 10:42:33.099: I/jPCT-AE(23719): glEnableClientState(32886) took 20000ns
01-27 10:42:33.099: I/jPCT-AE(23719): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 66292ns
01-27 10:42:33.099: I/jPCT-AE(23719): glDisable(3042) took 17333ns
01-27 10:42:33.099: I/jPCT-AE(23719): glEnable(2929) took 25917ns
01-27 10:42:33.104: I/jPCT-AE(23719): glClearColor(0.0, 0.0, 0.0, 1.0) took 28666ns
01-27 10:42:33.104: I/jPCT-AE(23719): glClear(16640) took 584333ns
01-27 10:42:33.189: I/jPCT-AE(23719): glDisable(2929) took 31458ns
01-27 10:42:33.189: I/jPCT-AE(23719): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 48250ns
01-27 10:42:33.189: I/jPCT-AE(23719): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 25292ns
01-27 10:42:33.194: I/jPCT-AE(23719): glActiveTexture(33984) took 14333ns
01-27 10:42:33.194: I/jPCT-AE(23719): glBindTexture(3553, 2) took 24666ns
01-27 10:42:33.194: I/jPCT-AE(23719): glTexParameterx(3553, 10241, 9729) took 18792ns
01-27 10:42:33.194: I/jPCT-AE(23719): glTexParameterx(3553, 10240, 9729) took 16375ns
01-27 10:42:33.194: I/jPCT-AE(23719): glTexParameterx(3553, 10242, 10497) took 13042ns
01-27 10:42:33.194: I/jPCT-AE(23719): glTexParameterx(3553, 10243, 10497) took 14666ns
01-27 10:42:33.194: I/jPCT-AE(23719): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1612834ns
01-27 10:42:33.194: I/jPCT-AE(23719): glBindTexture(3553, 4) took 25708ns
01-27 10:42:33.194: I/jPCT-AE(23719): glBindTexture(3553, 2) took 13500ns
01-27 10:42:33.199: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 29083ns
01-27 10:42:33.199: I/jPCT-AE(23719): glEnableClientState(32884) took 16375ns
01-27 10:42:33.199: I/jPCT-AE(23719): glDisableClientState(32885) took 12292ns
01-27 10:42:33.199: I/jPCT-AE(23719): glClientActiveTexture(33984) took 13542ns
01-27 10:42:33.199: I/jPCT-AE(23719): glEnableClientState(32888) took 14500ns
01-27 10:42:33.199: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 22333ns
01-27 10:42:33.199: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 18750ns
01-27 10:42:33.199: I/jPCT-AE(23719): glEnableClientState(32886) took 19291ns
01-27 10:42:33.199: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 78333ns
01-27 10:42:33.199: I/jPCT-AE(23719): glEnable(2929) took 17333ns
01-27 10:42:33.199: I/jPCT-AE(23719): glMatrixMode(5889) took 8291ns
01-27 10:42:33.204: I/jPCT-AE(23719): glLoadIdentity() took 11500ns
01-27 10:42:33.204: I/jPCT-AE(23719): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 15834ns
01-27 10:42:33.204: I/jPCT-AE(23719): glEnable(2977) took 18791ns
01-27 10:42:33.204: I/jPCT-AE(23719): glEnable(2896) took 8084ns
01-27 10:42:33.204: I/jPCT-AE(23719): glEnable(2884) took 19250ns
01-27 10:42:33.204: I/jPCT-AE(23719): glActiveTexture(33984) took 14083ns
01-27 10:42:33.204: I/jPCT-AE(23719): glBindTexture(36197, 1) took 18625ns
01-27 10:42:33.204: I/jPCT-AE(23719): glMatrixMode(5888) took 15875ns
01-27 10:42:33.204: I/jPCT-AE(23719): glPushMatrix() took 6958ns
01-27 10:42:33.204: I/jPCT-AE(23719): glLoadIdentity() took 8084ns
01-27 10:42:33.204: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 9750ns
01-27 10:42:33.204: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 10500ns
01-27 10:42:33.204: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 8625ns
01-27 10:42:33.204: I/jPCT-AE(23719): glEnableClientState(32885) took 10791ns
01-27 10:42:33.204: I/jPCT-AE(23719): glBindBuffer(34962, 5) took 13375ns
01-27 10:42:33.204: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 8750ns
01-27 10:42:33.204: I/jPCT-AE(23719): glEnableClientState(32884) took 19250ns
01-27 10:42:33.204: I/jPCT-AE(23719): glBindBuffer(34962, 6) took 13625ns
01-27 10:42:33.204: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 18041ns
01-27 10:42:33.204: I/jPCT-AE(23719): glDisableClientState(32886) took 18708ns
01-27 10:42:33.209: I/jPCT-AE(23719): glClientActiveTexture(33984) took 18000ns
01-27 10:42:33.209: I/jPCT-AE(23719): glEnableClientState(32888) took 12333ns
01-27 10:42:33.209: I/jPCT-AE(23719): glBindBuffer(34962, 7) took 15292ns
01-27 10:42:33.209: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 17291ns
01-27 10:42:33.209: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 11417ns
01-27 10:42:33.209: I/jPCT-AE(23719): glBindBuffer(34963, 8) took 11291ns
01-27 10:42:33.209: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, 0) took 49416ns
01-27 10:42:33.209: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 12541ns
01-27 10:42:33.209: I/jPCT-AE(23719): glMatrixMode(5888) took 7667ns
01-27 10:42:33.209: I/jPCT-AE(23719): glPopMatrix() took 7833ns
01-27 10:42:33.209: I/jPCT-AE(23719): glEnable(3042) took 13333ns
01-27 10:42:33.209: I/jPCT-AE(23719): glBlendFunc(770, 771) took 66417ns
01-27 10:42:33.209: I/jPCT-AE(23719): glDepthMask(false) took 11083ns
01-27 10:42:33.209: I/jPCT-AE(23719): glActiveTexture(33984) took 10666ns
01-27 10:42:33.209: I/jPCT-AE(23719): glBindTexture(3553, 3) took 15000ns
01-27 10:42:33.209: I/jPCT-AE(23719): glMatrixMode(5888) took 8083ns
01-27 10:42:33.209: I/jPCT-AE(23719): glPushMatrix() took 6458ns
01-27 10:42:33.209: I/jPCT-AE(23719): glLoadIdentity() took 8250ns
01-27 10:42:33.209: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 10417ns
01-27 10:42:33.209: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 10709ns
01-27 10:42:33.209: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 9125ns
01-27 10:42:33.214: I/jPCT-AE(23719): glEnableClientState(32885) took 11708ns
01-27 10:42:33.214: I/jPCT-AE(23719): glBindBuffer(34962, 1) took 18167ns
01-27 10:42:33.214: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 8625ns
01-27 10:42:33.214: I/jPCT-AE(23719): glEnableClientState(32884) took 12833ns
01-27 10:42:33.214: I/jPCT-AE(23719): glBindBuffer(34962, 2) took 12875ns
01-27 10:42:33.214: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 14958ns
01-27 10:42:33.214: I/jPCT-AE(23719): glDisableClientState(32886) took 15166ns
01-27 10:42:33.214: I/jPCT-AE(23719): glClientActiveTexture(33984) took 10917ns
01-27 10:42:33.214: I/jPCT-AE(23719): glEnableClientState(32888) took 19875ns
01-27 10:42:33.214: I/jPCT-AE(23719): glBindBuffer(34962, 3) took 11834ns
01-27 10:42:33.214: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 15708ns
01-27 10:42:33.214: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 13042ns
01-27 10:42:33.214: I/jPCT-AE(23719): glBindBuffer(34963, 4) took 18375ns
01-27 10:42:33.214: I/jPCT-AE(23719): glDrawElements(4, 1374, 5123, 0) took 51750ns
01-27 10:42:33.214: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 96375ns
01-27 10:42:33.214: I/jPCT-AE(23719): glMatrixMode(5888) took 17625ns
01-27 10:42:33.219: I/jPCT-AE(23719): glPopMatrix() took 19625ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisable(3042) took 18250ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDepthMask(true) took 14333ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisable(2884) took 47417ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisable(2896) took 11042ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisable(2977) took 12209ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisable(2884) took 36375ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisable(2896) took 11500ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisable(2977) took 9083ns
01-27 10:42:33.219: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 25041ns
01-27 10:42:33.219: I/jPCT-AE(23719): glEnableClientState(32884) took 16334ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisableClientState(32885) took 11292ns
01-27 10:42:33.219: I/jPCT-AE(23719): glClientActiveTexture(33984) took 17209ns
01-27 10:42:33.219: I/jPCT-AE(23719): glEnableClientState(32888) took 9042ns
01-27 10:42:33.219: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 11167ns
01-27 10:42:33.219: I/jPCT-AE(23719): glMatrixMode(5888) took 8458ns
01-27 10:42:33.219: I/jPCT-AE(23719): glPushMatrix() took 8833ns
01-27 10:42:33.219: I/jPCT-AE(23719): glLoadIdentity() took 8083ns
01-27 10:42:33.219: I/jPCT-AE(23719): glLoadMatrixf([F@41d45278, 0) took 10292ns
01-27 10:42:33.219: I/jPCT-AE(23719): glEnableClientState(32884) took 12500ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisableClientState(32888) took 10083ns
01-27 10:42:33.219: I/jPCT-AE(23719): glDisableClientState(32885) took 8916ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 12041ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 18125ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 40708ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 10708ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14791ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 22833ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 9125ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13708ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 22792ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 9667ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14292ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21166ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 10083ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14125ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20833ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 8416ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13833ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20792ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 9000ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13791ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21167ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 8791ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14417ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20125ns
01-27 10:42:33.224: I/jPCT-AE(23719): glLineWidth(1.0) took 9208ns
01-27 10:42:33.224: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14041ns
01-27 10:42:33.224: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20666ns
01-27 10:42:33.229: I/jPCT-AE(23719): glLineWidth(1.0) took 9125ns
01-27 10:42:33.229: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15250ns
01-27 10:42:33.229: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21000ns
01-27 10:42:33.229: I/jPCT-AE(23719): glLineWidth(1.0) took 9291ns
01-27 10:42:33.229: I/jPCT-AE(23719): glMatrixMode(5888) took 8750ns
01-27 10:42:33.229: I/jPCT-AE(23719): glPopMatrix() took 7083ns
01-27 10:42:33.229: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 15209ns
01-27 10:42:33.229: I/jPCT-AE(23719): glEnableClientState(32884) took 11167ns
01-27 10:42:33.229: I/jPCT-AE(23719): glDisableClientState(32885) took 7625ns
01-27 10:42:33.229: I/jPCT-AE(23719): glClientActiveTexture(33984) took 11375ns
01-27 10:42:33.229: I/jPCT-AE(23719): glEnableClientState(32888) took 10083ns
01-27 10:42:33.229: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15458ns
01-27 10:42:33.229: I/jPCT-AE(23719): glEnable(3042) took 12084ns
01-27 10:42:33.229: I/jPCT-AE(23719): glBlendFunc(770, 771) took 13833ns
01-27 10:42:33.229: I/jPCT-AE(23719): glDisable(2929) took 11167ns
01-27 10:42:33.229: I/jPCT-AE(23719): glActiveTexture(33984) took 9750ns
01-27 10:42:33.229: I/jPCT-AE(23719): glBindTexture(3553, 4) took 13167ns
01-27 10:42:33.229: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 15750ns
01-27 10:42:33.229: I/jPCT-AE(23719): glEnableClientState(32884) took 10875ns
01-27 10:42:33.229: I/jPCT-AE(23719): glDisableClientState(32885) took 8125ns
01-27 10:42:33.229: I/jPCT-AE(23719): glClientActiveTexture(33984) took 9625ns
01-27 10:42:33.229: I/jPCT-AE(23719): glEnableClientState(32888) took 9833ns
01-27 10:42:33.229: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 14792ns
01-27 10:42:33.229: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 15708ns
01-27 10:42:33.229: I/jPCT-AE(23719): glEnableClientState(32886) took 13291ns
01-27 10:42:33.229: I/jPCT-AE(23719): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 39833ns
01-27 10:42:33.229: I/jPCT-AE(23719): glDisable(3042) took 11500ns
01-27 10:42:33.229: I/jPCT-AE(23719): glEnable(2929) took 11375ns
01-27 10:42:33.234: I/jPCT-AE(23719): glClearColor(0.0, 0.0, 0.0, 1.0) took 15667ns
01-27 10:42:33.234: I/jPCT-AE(23719): glClear(16640) took 337167ns
01-27 10:42:33.304: I/jPCT-AE(23719): glDisable(2929) took 29917ns
01-27 10:42:33.304: I/jPCT-AE(23719): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 46958ns
01-27 10:42:33.304: I/jPCT-AE(23719): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 20792ns
01-27 10:42:33.304: I/jPCT-AE(23719): glActiveTexture(33984) took 11458ns
01-27 10:42:33.304: I/jPCT-AE(23719): glBindTexture(3553, 2) took 17416ns
01-27 10:42:33.304: I/jPCT-AE(23719): glTexParameterx(3553, 10241, 9729) took 15292ns
01-27 10:42:33.304: I/jPCT-AE(23719): glTexParameterx(3553, 10240, 9729) took 11667ns
01-27 10:42:33.304: I/jPCT-AE(23719): glTexParameterx(3553, 10242, 10497) took 11083ns
01-27 10:42:33.304: I/jPCT-AE(23719): glTexParameterx(3553, 10243, 10497) took 12042ns
01-27 10:42:33.309: I/jPCT-AE(23719): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1535292ns
01-27 10:42:33.309: I/jPCT-AE(23719): glBindTexture(3553, 4) took 20833ns
01-27 10:42:33.309: I/jPCT-AE(23719): glBindTexture(3553, 2) took 12000ns
01-27 10:42:33.309: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 23750ns
01-27 10:42:33.309: I/jPCT-AE(23719): glEnableClientState(32884) took 13625ns
01-27 10:42:33.309: I/jPCT-AE(23719): glDisableClientState(32885) took 8334ns
01-27 10:42:33.309: I/jPCT-AE(23719): glClientActiveTexture(33984) took 11000ns
01-27 10:42:33.309: I/jPCT-AE(23719): glEnableClientState(32888) took 12416ns
01-27 10:42:33.309: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15542ns
01-27 10:42:33.309: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14542ns
01-27 10:42:33.309: I/jPCT-AE(23719): glEnableClientState(32886) took 13542ns
01-27 10:42:33.309: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 64459ns
01-27 10:42:33.309: I/jPCT-AE(23719): glEnable(2929) took 12125ns
01-27 10:42:33.309: I/jPCT-AE(23719): glMatrixMode(5889) took 8083ns
01-27 10:42:33.309: I/jPCT-AE(23719): glLoadIdentity() took 8083ns
01-27 10:42:33.309: I/jPCT-AE(23719): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 12084ns
01-27 10:42:33.309: I/jPCT-AE(23719): glEnable(2977) took 8834ns
01-27 10:42:33.314: I/jPCT-AE(23719): glEnable(2896) took 40126ns
01-27 10:42:33.314: I/jPCT-AE(23719): glEnable(2884) took 11208ns
01-27 10:42:33.314: I/jPCT-AE(23719): glActiveTexture(33984) took 11333ns
01-27 10:42:33.314: I/jPCT-AE(23719): glBindTexture(36197, 1) took 13125ns
01-27 10:42:33.314: I/jPCT-AE(23719): glMatrixMode(5888) took 7334ns
01-27 10:42:33.314: I/jPCT-AE(23719): glPushMatrix() took 7792ns
01-27 10:42:33.314: I/jPCT-AE(23719): glLoadIdentity() took 7834ns
01-27 10:42:33.314: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 8084ns
01-27 10:42:33.314: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 9708ns
01-27 10:42:33.314: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 8250ns
01-27 10:42:33.314: I/jPCT-AE(23719): glEnableClientState(32885) took 9083ns
01-27 10:42:33.314: I/jPCT-AE(23719): glBindBuffer(34962, 5) took 12542ns
01-27 10:42:33.314: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 8459ns
01-27 10:42:33.314: I/jPCT-AE(23719): glEnableClientState(32884) took 10958ns
01-27 10:42:33.314: I/jPCT-AE(23719): glBindBuffer(34962, 6) took 11416ns
01-27 10:42:33.314: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 13000ns
01-27 10:42:33.314: I/jPCT-AE(23719): glDisableClientState(32886) took 13125ns
01-27 10:42:33.314: I/jPCT-AE(23719): glClientActiveTexture(33984) took 9458ns
01-27 10:42:33.314: I/jPCT-AE(23719): glEnableClientState(32888) took 10292ns
01-27 10:42:33.314: I/jPCT-AE(23719): glBindBuffer(34962, 7) took 12084ns
01-27 10:42:33.314: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 12708ns
01-27 10:42:33.314: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 10667ns
01-27 10:42:33.314: I/jPCT-AE(23719): glBindBuffer(34963, 8) took 11000ns
01-27 10:42:33.314: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, 0) took 38708ns
01-27 10:42:33.314: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 11334ns
01-27 10:42:33.314: I/jPCT-AE(23719): glMatrixMode(5888) took 6416ns
01-27 10:42:33.314: I/jPCT-AE(23719): glPopMatrix() took 7208ns
01-27 10:42:33.314: I/jPCT-AE(23719): glEnable(3042) took 12334ns
01-27 10:42:33.314: I/jPCT-AE(23719): glBlendFunc(770, 771) took 12250ns
01-27 10:42:33.314: I/jPCT-AE(23719): glDepthMask(false) took 9041ns
01-27 10:42:33.314: I/jPCT-AE(23719): glActiveTexture(33984) took 9333ns
01-27 10:42:33.319: I/jPCT-AE(23719): glBindTexture(3553, 3) took 11583ns
01-27 10:42:33.319: I/jPCT-AE(23719): glMatrixMode(5888) took 7459ns
01-27 10:42:33.319: I/jPCT-AE(23719): glPushMatrix() took 5500ns
01-27 10:42:33.319: I/jPCT-AE(23719): glLoadIdentity() took 6916ns
01-27 10:42:33.319: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 8667ns
01-27 10:42:33.319: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 8667ns
01-27 10:42:33.319: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 7500ns
01-27 10:42:33.319: I/jPCT-AE(23719): glEnableClientState(32885) took 8708ns
01-27 10:42:33.319: I/jPCT-AE(23719): glBindBuffer(34962, 1) took 11750ns
01-27 10:42:33.319: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 8084ns
01-27 10:42:33.319: I/jPCT-AE(23719): glEnableClientState(32884) took 11417ns
01-27 10:42:33.319: I/jPCT-AE(23719): glBindBuffer(34962, 2) took 11292ns
01-27 10:42:33.319: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 12083ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDisableClientState(32886) took 13583ns
01-27 10:42:33.319: I/jPCT-AE(23719): glClientActiveTexture(33984) took 10208ns
01-27 10:42:33.319: I/jPCT-AE(23719): glEnableClientState(32888) took 10584ns
01-27 10:42:33.319: I/jPCT-AE(23719): glBindBuffer(34962, 3) took 11750ns
01-27 10:42:33.319: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 13000ns
01-27 10:42:33.319: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 10834ns
01-27 10:42:33.319: I/jPCT-AE(23719): glBindBuffer(34963, 4) took 10834ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDrawElements(4, 1374, 5123, 0) took 32125ns
01-27 10:42:33.319: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 11792ns
01-27 10:42:33.319: I/jPCT-AE(23719): glMatrixMode(5888) took 7333ns
01-27 10:42:33.319: I/jPCT-AE(23719): glPopMatrix() took 6833ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDisable(3042) took 11166ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDepthMask(true) took 9000ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDisable(2884) took 10042ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDisable(2896) took 7709ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDisable(2977) took 7750ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDisable(2884) took 12833ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDisable(2896) took 7500ns
01-27 10:42:33.319: I/jPCT-AE(23719): glDisable(2977) took 7625ns
01-27 10:42:33.324: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 16542ns
01-27 10:42:33.324: I/jPCT-AE(23719): glEnableClientState(32884) took 11250ns
01-27 10:42:33.324: I/jPCT-AE(23719): glDisableClientState(32885) took 9167ns
01-27 10:42:33.324: I/jPCT-AE(23719): glClientActiveTexture(33984) took 8792ns
01-27 10:42:33.324: I/jPCT-AE(23719): glEnableClientState(32888) took 8083ns
01-27 10:42:33.324: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 9667ns
01-27 10:42:33.324: I/jPCT-AE(23719): glMatrixMode(5888) took 6583ns
01-27 10:42:33.324: I/jPCT-AE(23719): glPushMatrix() took 6125ns
01-27 10:42:33.324: I/jPCT-AE(23719): glLoadIdentity() took 7292ns
01-27 10:42:33.324: I/jPCT-AE(23719): glLoadMatrixf([F@41d45278, 0) took 8000ns
01-27 10:42:33.324: I/jPCT-AE(23719): glEnableClientState(32884) took 10416ns
01-27 10:42:33.324: I/jPCT-AE(23719): glDisableClientState(32888) took 7542ns
01-27 10:42:33.324: I/jPCT-AE(23719): glDisableClientState(32885) took 7542ns
01-27 10:42:33.324: I/jPCT-AE(23719): glLineWidth(1.0) took 10792ns
01-27 10:42:33.324: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14459ns
01-27 10:42:33.324: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 29375ns
01-27 10:42:33.324: I/jPCT-AE(23719): glLineWidth(1.0) took 11958ns
01-27 10:42:33.324: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14333ns
01-27 10:42:33.324: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21000ns
01-27 10:42:33.324: I/jPCT-AE(23719): glLineWidth(1.0) took 9458ns
01-27 10:42:33.324: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15542ns
01-27 10:42:33.324: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21792ns
01-27 10:42:33.324: I/jPCT-AE(23719): glLineWidth(1.0) took 9959ns
01-27 10:42:33.324: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14084ns
01-27 10:42:33.324: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20834ns
01-27 10:42:33.324: I/jPCT-AE(23719): glLineWidth(1.0) took 8916ns
01-27 10:42:33.324: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13541ns
01-27 10:42:33.324: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20875ns
01-27 10:42:33.329: I/jPCT-AE(23719): glLineWidth(1.0) took 9458ns
01-27 10:42:33.329: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14500ns
01-27 10:42:33.329: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 23750ns
01-27 10:42:33.329: I/jPCT-AE(23719): glLineWidth(1.0) took 9292ns
01-27 10:42:33.329: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13791ns
01-27 10:42:33.329: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21416ns
01-27 10:42:33.329: I/jPCT-AE(23719): glLineWidth(1.0) took 9417ns
01-27 10:42:33.329: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13916ns
01-27 10:42:33.329: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20917ns
01-27 10:42:33.329: I/jPCT-AE(23719): glLineWidth(1.0) took 8875ns
01-27 10:42:33.329: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14250ns
01-27 10:42:33.329: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 22125ns
01-27 10:42:33.329: I/jPCT-AE(23719): glLineWidth(1.0) took 8875ns
01-27 10:42:33.329: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14083ns
01-27 10:42:33.329: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20250ns
01-27 10:42:33.329: I/jPCT-AE(23719): glLineWidth(1.0) took 9459ns
01-27 10:42:33.329: I/jPCT-AE(23719): glMatrixMode(5888) took 7458ns
01-27 10:42:33.329: I/jPCT-AE(23719): glPopMatrix() took 7000ns
01-27 10:42:33.329: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 14459ns
01-27 10:42:33.329: I/jPCT-AE(23719): glEnableClientState(32884) took 11709ns
01-27 10:42:33.329: I/jPCT-AE(23719): glDisableClientState(32885) took 9042ns
01-27 10:42:33.329: I/jPCT-AE(23719): glClientActiveTexture(33984) took 11291ns
01-27 10:42:33.329: I/jPCT-AE(23719): glEnableClientState(32888) took 11416ns
01-27 10:42:33.329: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 16584ns
01-27 10:42:33.329: I/jPCT-AE(23719): glEnable(3042) took 12750ns
01-27 10:42:33.329: I/jPCT-AE(23719): glBlendFunc(770, 771) took 12333ns
01-27 10:42:33.329: I/jPCT-AE(23719): glDisable(2929) took 10292ns
01-27 10:42:33.329: I/jPCT-AE(23719): glActiveTexture(33984) took 9208ns
01-27 10:42:33.329: I/jPCT-AE(23719): glBindTexture(3553, 4) took 12083ns
01-27 10:42:33.334: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 15791ns
01-27 10:42:33.334: I/jPCT-AE(23719): glEnableClientState(32884) took 11583ns
01-27 10:42:33.334: I/jPCT-AE(23719): glDisableClientState(32885) took 8084ns
01-27 10:42:33.334: I/jPCT-AE(23719): glClientActiveTexture(33984) took 9125ns
01-27 10:42:33.334: I/jPCT-AE(23719): glEnableClientState(32888) took 11083ns
01-27 10:42:33.334: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15334ns
01-27 10:42:33.334: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 13875ns
01-27 10:42:33.334: I/jPCT-AE(23719): glEnableClientState(32886) took 14041ns
01-27 10:42:33.334: I/jPCT-AE(23719): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 36834ns
01-27 10:42:33.334: I/jPCT-AE(23719): glDisable(3042) took 11375ns
01-27 10:42:33.334: I/jPCT-AE(23719): glEnable(2929) took 10375ns
01-27 10:42:33.334: I/jPCT-AE(23719): glClearColor(0.0, 0.0, 0.0, 1.0) took 14458ns
01-27 10:42:33.334: I/jPCT-AE(23719): glClear(16640) took 336042ns
01-27 10:42:33.404: I/jPCT-AE(23719): glDisable(2929) took 27916ns
01-27 10:42:33.404: I/jPCT-AE(23719): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 45208ns
01-27 10:42:33.404: I/jPCT-AE(23719): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 20917ns
01-27 10:42:33.404: I/jPCT-AE(23719): glActiveTexture(33984) took 11375ns
01-27 10:42:33.404: I/jPCT-AE(23719): glBindTexture(3553, 2) took 16500ns
01-27 10:42:33.404: I/jPCT-AE(23719): glTexParameterx(3553, 10241, 9729) took 14417ns
01-27 10:42:33.409: I/jPCT-AE(23719): glTexParameterx(3553, 10240, 9729) took 12375ns
01-27 10:42:33.409: I/jPCT-AE(23719): glTexParameterx(3553, 10242, 10497) took 10875ns
01-27 10:42:33.409: I/jPCT-AE(23719): glTexParameterx(3553, 10243, 10497) took 14458ns
01-27 10:42:33.409: I/jPCT-AE(23719): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1472625ns
01-27 10:42:33.409: I/jPCT-AE(23719): glBindTexture(3553, 4) took 18542ns
01-27 10:42:33.409: I/jPCT-AE(23719): glBindTexture(3553, 2) took 11791ns
01-27 10:42:33.409: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 20292ns
01-27 10:42:33.409: I/jPCT-AE(23719): glEnableClientState(32884) took 13042ns
01-27 10:42:33.409: I/jPCT-AE(23719): glDisableClientState(32885) took 11125ns
01-27 10:42:33.409: I/jPCT-AE(23719): glClientActiveTexture(33984) took 10709ns
01-27 10:42:33.409: I/jPCT-AE(23719): glEnableClientState(32888) took 10958ns
01-27 10:42:33.409: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 16084ns
01-27 10:42:33.409: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14333ns
01-27 10:42:33.409: I/jPCT-AE(23719): glEnableClientState(32886) took 13083ns
01-27 10:42:33.409: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 60458ns
01-27 10:42:33.409: I/jPCT-AE(23719): glEnable(2929) took 12541ns
01-27 10:42:33.409: I/jPCT-AE(23719): glMatrixMode(5889) took 7542ns
01-27 10:42:33.414: I/jPCT-AE(23719): glLoadIdentity() took 8333ns
01-27 10:42:33.414: I/jPCT-AE(23719): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 12750ns
01-27 10:42:33.414: I/jPCT-AE(23719): glEnable(2977) took 9709ns
01-27 10:42:33.414: I/jPCT-AE(23719): glEnable(2896) took 8333ns
01-27 10:42:33.414: I/jPCT-AE(23719): glEnable(2884) took 11291ns
01-27 10:42:33.414: I/jPCT-AE(23719): glActiveTexture(33984) took 11375ns
01-27 10:42:33.414: I/jPCT-AE(23719): glBindTexture(36197, 1) took 13166ns
01-27 10:42:33.414: I/jPCT-AE(23719): glMatrixMode(5888) took 6625ns
01-27 10:42:33.414: I/jPCT-AE(23719): glPushMatrix() took 6208ns
01-27 10:42:33.414: I/jPCT-AE(23719): glLoadIdentity() took 7084ns
01-27 10:42:33.414: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 9084ns
01-27 10:42:33.414: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 8792ns
01-27 10:42:33.414: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 8166ns
01-27 10:42:33.414: I/jPCT-AE(23719): glEnableClientState(32885) took 8625ns
01-27 10:42:33.414: I/jPCT-AE(23719): glBindBuffer(34962, 5) took 13500ns
01-27 10:42:33.414: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 8459ns
01-27 10:42:33.414: I/jPCT-AE(23719): glEnableClientState(32884) took 12334ns
01-27 10:42:33.414: I/jPCT-AE(23719): glBindBuffer(34962, 6) took 12083ns
01-27 10:42:33.414: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 12958ns
01-27 10:42:33.414: I/jPCT-AE(23719): glDisableClientState(32886) took 13958ns
01-27 10:42:33.414: I/jPCT-AE(23719): glClientActiveTexture(33984) took 9917ns
01-27 10:42:33.414: I/jPCT-AE(23719): glEnableClientState(32888) took 46875ns
01-27 10:42:33.414: I/jPCT-AE(23719): glBindBuffer(34962, 7) took 30959ns
01-27 10:42:33.414: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 21417ns
01-27 10:42:33.414: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 13250ns
01-27 10:42:33.419: I/jPCT-AE(23719): glBindBuffer(34963, 8) took 16000ns
01-27 10:42:33.419: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, 0) took 51000ns
01-27 10:42:33.419: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 13875ns
01-27 10:42:33.419: I/jPCT-AE(23719): glMatrixMode(5888) took 13667ns
01-27 10:42:33.419: I/jPCT-AE(23719): glPopMatrix() took 9459ns
01-27 10:42:33.419: I/jPCT-AE(23719): glEnable(3042) took 13750ns
01-27 10:42:33.419: I/jPCT-AE(23719): glBlendFunc(770, 771) took 13833ns
01-27 10:42:33.419: I/jPCT-AE(23719): glDepthMask(false) took 11166ns
01-27 10:42:33.419: I/jPCT-AE(23719): glActiveTexture(33984) took 12042ns
01-27 10:42:33.419: I/jPCT-AE(23719): glBindTexture(3553, 3) took 15125ns
01-27 10:42:33.419: I/jPCT-AE(23719): glMatrixMode(5888) took 7708ns
01-27 10:42:33.419: I/jPCT-AE(23719): glPushMatrix() took 16375ns
01-27 10:42:33.419: I/jPCT-AE(23719): glLoadIdentity() took 12833ns
01-27 10:42:33.419: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 9958ns
01-27 10:42:33.419: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 9750ns
01-27 10:42:33.419: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 8625ns
01-27 10:42:33.419: I/jPCT-AE(23719): glEnableClientState(32885) took 9250ns
01-27 10:42:33.419: I/jPCT-AE(23719): glBindBuffer(34962, 1) took 14875ns
01-27 10:42:33.419: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 8708ns
01-27 10:42:33.419: I/jPCT-AE(23719): glEnableClientState(32884) took 11916ns
01-27 10:42:33.419: I/jPCT-AE(23719): glBindBuffer(34962, 2) took 12792ns
01-27 10:42:33.419: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 14834ns
01-27 10:42:33.419: I/jPCT-AE(23719): glDisableClientState(32886) took 14167ns
01-27 10:42:33.424: I/jPCT-AE(23719): glClientActiveTexture(33984) took 10417ns
01-27 10:42:33.424: I/jPCT-AE(23719): glEnableClientState(32888) took 11125ns
01-27 10:42:33.424: I/jPCT-AE(23719): glBindBuffer(34962, 3) took 11458ns
01-27 10:42:33.424: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 12750ns
01-27 10:42:33.424: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 10541ns
01-27 10:42:33.424: I/jPCT-AE(23719): glBindBuffer(34963, 4) took 11000ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDrawElements(4, 1374, 5123, 0) took 43750ns
01-27 10:42:33.424: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 12208ns
01-27 10:42:33.424: I/jPCT-AE(23719): glMatrixMode(5888) took 6917ns
01-27 10:42:33.424: I/jPCT-AE(23719): glPopMatrix() took 6708ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisable(3042) took 12583ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDepthMask(true) took 9542ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisable(2884) took 9792ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisable(2896) took 8250ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisable(2977) took 7541ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisable(2884) took 10083ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisable(2896) took 7667ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisable(2977) took 7500ns
01-27 10:42:33.424: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 16167ns
01-27 10:42:33.424: I/jPCT-AE(23719): glEnableClientState(32884) took 10667ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisableClientState(32885) took 7750ns
01-27 10:42:33.424: I/jPCT-AE(23719): glClientActiveTexture(33984) took 9167ns
01-27 10:42:33.424: I/jPCT-AE(23719): glEnableClientState(32888) took 7833ns
01-27 10:42:33.424: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 9166ns
01-27 10:42:33.424: I/jPCT-AE(23719): glMatrixMode(5888) took 7125ns
01-27 10:42:33.424: I/jPCT-AE(23719): glPushMatrix() took 5583ns
01-27 10:42:33.424: I/jPCT-AE(23719): glLoadIdentity() took 6375ns
01-27 10:42:33.424: I/jPCT-AE(23719): glLoadMatrixf([F@41d45278, 0) took 8041ns
01-27 10:42:33.424: I/jPCT-AE(23719): glEnableClientState(32884) took 11000ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisableClientState(32888) took 8709ns
01-27 10:42:33.424: I/jPCT-AE(23719): glDisableClientState(32885) took 8416ns
01-27 10:42:33.424: I/jPCT-AE(23719): glLineWidth(1.0) took 10750ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13916ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 27291ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 9250ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14583ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20667ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 9833ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13791ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20458ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 9042ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14292ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21916ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 8792ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14666ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21875ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 8583ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13541ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21292ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 9042ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14208ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20625ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 9334ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13459ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 20000ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 9000ns
01-27 10:42:33.429: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13875ns
01-27 10:42:33.429: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21667ns
01-27 10:42:33.429: I/jPCT-AE(23719): glLineWidth(1.0) took 8458ns
01-27 10:42:33.434: I/jPCT-AE(23719): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13917ns
01-27 10:42:33.434: I/jPCT-AE(23719): glDrawArrays(3, 0, 5) took 21708ns
01-27 10:42:33.434: I/jPCT-AE(23719): glLineWidth(1.0) took 9417ns
01-27 10:42:33.434: I/jPCT-AE(23719): glMatrixMode(5888) took 7042ns
01-27 10:42:33.434: I/jPCT-AE(23719): glPopMatrix() took 6750ns
01-27 10:42:33.434: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 15333ns
01-27 10:42:33.434: I/jPCT-AE(23719): glEnableClientState(32884) took 10833ns
01-27 10:42:33.434: I/jPCT-AE(23719): glDisableClientState(32885) took 7875ns
01-27 10:42:33.434: I/jPCT-AE(23719): glClientActiveTexture(33984) took 9291ns
01-27 10:42:33.434: I/jPCT-AE(23719): glEnableClientState(32888) took 10584ns
01-27 10:42:33.434: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15292ns
01-27 10:42:33.434: I/jPCT-AE(23719): glEnable(3042) took 11167ns
01-27 10:42:33.434: I/jPCT-AE(23719): glBlendFunc(770, 771) took 13583ns
01-27 10:42:33.434: I/jPCT-AE(23719): glDisable(2929) took 10459ns
01-27 10:42:33.434: I/jPCT-AE(23719): glActiveTexture(33984) took 10000ns
01-27 10:42:33.434: I/jPCT-AE(23719): glBindTexture(3553, 4) took 12541ns
01-27 10:42:33.434: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 14708ns
01-27 10:42:33.434: I/jPCT-AE(23719): glEnableClientState(32884) took 10792ns
01-27 10:42:33.434: I/jPCT-AE(23719): glDisableClientState(32885) took 8167ns
01-27 10:42:33.434: I/jPCT-AE(23719): glClientActiveTexture(33984) took 8917ns
01-27 10:42:33.434: I/jPCT-AE(23719): glEnableClientState(32888) took 10500ns
01-27 10:42:33.434: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 14417ns
01-27 10:42:33.434: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 13666ns
01-27 10:42:33.434: I/jPCT-AE(23719): glEnableClientState(32886) took 13167ns
01-27 10:42:33.434: I/jPCT-AE(23719): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 34625ns
01-27 10:42:33.434: I/jPCT-AE(23719): glDisable(3042) took 11500ns
01-27 10:42:33.434: I/jPCT-AE(23719): glEnable(2929) took 10250ns
01-27 10:42:33.439: I/jPCT-AE(23719): glClearColor(0.0, 0.0, 0.0, 1.0) took 16417ns
01-27 10:42:33.439: I/jPCT-AE(23719): glClear(16640) took 339459ns
01-27 10:42:33.509: I/jPCT-AE(23719): glDisable(2929) took 27917ns
01-27 10:42:33.509: I/jPCT-AE(23719): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 46000ns
01-27 10:42:33.509: I/jPCT-AE(23719): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 21417ns
01-27 10:42:33.509: I/jPCT-AE(23719): glActiveTexture(33984) took 12291ns
01-27 10:42:33.509: I/jPCT-AE(23719): glBindTexture(3553, 2) took 17000ns
01-27 10:42:33.509: I/jPCT-AE(23719): glTexParameterx(3553, 10241, 9729) took 14875ns
01-27 10:42:33.509: I/jPCT-AE(23719): glTexParameterx(3553, 10240, 9729) took 11833ns
01-27 10:42:33.509: I/jPCT-AE(23719): glTexParameterx(3553, 10242, 10497) took 11250ns
01-27 10:42:33.509: I/jPCT-AE(23719): glTexParameterx(3553, 10243, 10497) took 11084ns
01-27 10:42:33.514: I/jPCT-AE(23719): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1502458ns
01-27 10:42:33.514: I/jPCT-AE(23719): glBindTexture(3553, 4) took 21750ns
01-27 10:42:33.514: I/jPCT-AE(23719): glBindTexture(3553, 2) took 12041ns
01-27 10:42:33.514: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 23000ns
01-27 10:42:33.514: I/jPCT-AE(23719): glEnableClientState(32884) took 15875ns
01-27 10:42:33.514: I/jPCT-AE(23719): glDisableClientState(32885) took 8834ns
01-27 10:42:33.514: I/jPCT-AE(23719): glClientActiveTexture(33984) took 9334ns
01-27 10:42:33.514: I/jPCT-AE(23719): glEnableClientState(32888) took 11500ns
01-27 10:42:33.514: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 18417ns
01-27 10:42:33.514: I/jPCT-AE(23719): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14500ns
01-27 10:42:33.514: I/jPCT-AE(23719): glEnableClientState(32886) took 15125ns
01-27 10:42:33.514: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 62042ns
01-27 10:42:33.514: I/jPCT-AE(23719): glEnable(2929) took 11750ns
01-27 10:42:33.514: I/jPCT-AE(23719): glMatrixMode(5889) took 9084ns
01-27 10:42:33.514: I/jPCT-AE(23719): glLoadIdentity() took 7042ns
01-27 10:42:33.514: I/jPCT-AE(23719): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 12417ns
01-27 10:42:33.514: I/jPCT-AE(23719): glEnable(2977) took 9000ns
01-27 10:42:33.514: I/jPCT-AE(23719): glEnable(2896) took 9250ns
01-27 10:42:33.514: I/jPCT-AE(23719): glEnable(2884) took 11041ns
01-27 10:42:33.514: I/jPCT-AE(23719): glActiveTexture(33984) took 11084ns
01-27 10:42:33.514: I/jPCT-AE(23719): glBindTexture(36197, 1) took 12458ns
01-27 10:42:33.514: I/jPCT-AE(23719): glMatrixMode(5888) took 6667ns
01-27 10:42:33.519: I/jPCT-AE(23719): glPushMatrix() took 6792ns
01-27 10:42:33.519: I/jPCT-AE(23719): glLoadIdentity() took 8416ns
01-27 10:42:33.519: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 9000ns
01-27 10:42:33.519: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 8750ns
01-27 10:42:33.519: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 9875ns
01-27 10:42:33.519: I/jPCT-AE(23719): glEnableClientState(32885) took 8292ns
01-27 10:42:33.519: I/jPCT-AE(23719): glBindBuffer(34962, 5) took 13958ns
01-27 10:42:33.519: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 8291ns
01-27 10:42:33.519: I/jPCT-AE(23719): glEnableClientState(32884) took 12500ns
01-27 10:42:33.519: I/jPCT-AE(23719): glBindBuffer(34962, 6) took 11459ns
01-27 10:42:33.519: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 12625ns
01-27 10:42:33.519: I/jPCT-AE(23719): glDisableClientState(32886) took 13958ns
01-27 10:42:33.519: I/jPCT-AE(23719): glClientActiveTexture(33984) took 9750ns
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 27, 2014, 10:59:47 am
it's the same scenario. somehow texture is not used. if i omit blitting camera texture to back, plane uses GLFont's texture.
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 27, 2014, 02:06:20 pm
Strange...is there something else that one has to do to enable these textures?
As you can see in the log output (second line), it binds the texture with id 1 (which should be your external one) with the proper constant, makes it's draw calls and then binds another texture with the GL_TEXTURE2D constant and renders other stuff. No errors are triggered (the debug output checks for errors after each call).

I'm not sure what's wrong here...

Code: [Select]
01-27 10:42:33.069: I/jPCT-AE(23719): glActiveTexture(33984) took 11125ns
01-27 10:42:33.069: I/jPCT-AE(23719): glBindTexture(36197, 1) took 15000ns
01-27 10:42:33.069: I/jPCT-AE(23719): glMatrixMode(5888) took 8500ns
01-27 10:42:33.069: I/jPCT-AE(23719): glPushMatrix() took 7583ns
01-27 10:42:33.069: I/jPCT-AE(23719): glLoadIdentity() took 8125ns
01-27 10:42:33.069: I/jPCT-AE(23719): glLightModelfv(2899, [F@41d44e30, 0) took 9208ns
01-27 10:42:33.069: I/jPCT-AE(23719): glMaterialfv(1032, 5632, [F@41d44e58, 0) took 9666ns
01-27 10:42:33.074: I/jPCT-AE(23719): glLoadMatrixf([F@41d9c7a0, 0) took 9917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glEnableClientState(32885) took 10000ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34962, 5) took 17583ns
01-27 10:42:33.074: I/jPCT-AE(23719): glNormalPointer(5132, 12, 0) took 9542ns
01-27 10:42:33.074: I/jPCT-AE(23719): glEnableClientState(32884) took 14875ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34962, 6) took 14458ns
01-27 10:42:33.074: I/jPCT-AE(23719): glVertexPointer(3, 5132, 12, 0) took 14584ns
01-27 10:42:33.074: I/jPCT-AE(23719): glDisableClientState(32886) took 16500ns
01-27 10:42:33.074: I/jPCT-AE(23719): glClientActiveTexture(33984) took 11458ns
01-27 10:42:33.074: I/jPCT-AE(23719): glEnableClientState(32888) took 10958ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34962, 7) took 15000ns
01-27 10:42:33.074: I/jPCT-AE(23719): glTexCoordPointer(2, 5132, 8, 0) took 13917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34962, 0) took 14750ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34963, 8) took 11917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glDrawElements(4, 6, 5123, 0) took 49125ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindBuffer(34963, 0) took 13917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glMatrixMode(5888) took 8375ns
01-27 10:42:33.074: I/jPCT-AE(23719): glPopMatrix() took 8417ns
01-27 10:42:33.074: I/jPCT-AE(23719): glEnable(3042) took 16375ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBlendFunc(770, 771) took 14459ns
01-27 10:42:33.074: I/jPCT-AE(23719): glDepthMask(false) took 10917ns
01-27 10:42:33.074: I/jPCT-AE(23719): glActiveTexture(33984) took 10541ns
01-27 10:42:33.074: I/jPCT-AE(23719): glBindTexture(3553, 3) took 16416ns
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 27, 2014, 02:25:24 pm
One question: How are you creating the texture? You are using ES 2.0...so you have to use this static GLES20 class to do it. Are you?
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 27, 2014, 02:38:04 pm
I'm not sure what's wrong here...

that makes 2 of us :-\

please have a look at this code (https://android.googlesource.com/platform/cts/+/master/tests/tests/media/src/android/media/cts/TextureRender.java). it uses OES texture and works fine for displaying camera content in GLSurfaceView. later jPCT can draw on top of it without any issues.

while searching I've found this page (http://stackoverflow.com/questions/13376254/android-opengl-combination-of-surfacetexture-external-image-and-ordinary-textu). some users report similar errors, i.e. last texture is used instead of OES one when both textures are used in same shader. maybe relevant?

One question: How are you creating the texture? You are using ES 2.0...so you have to use this static GLES20 class to do it. Are you?
yes GLES20 is used, i'm using the code I had given the link in the previous lines.
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 27, 2014, 03:36:41 pm
while searching I've found this page (http://stackoverflow.com/questions/13376254/android-opengl-combination-of-surfacetexture-external-image-and-ordinary-textu). some users report similar errors, i.e. last texture is used instead of OES one when both textures are used in same shader. maybe relevant?
Seems like as if you have to use another sampler in the shader in addition. That shouldn't be much of a problem. Just grab one vertex/fragment shader combination that fits from the set of default shaders in the jar (like for example defaultFragmentShaderTex0.src and defaultVertexShaderTex0.src), replace the "sampler2D" in the fragment shader by "samplerExternalOES", create a GLSLShader instance that uses both files and assign it to your object...profit! Well, maybe not...but it's worth a try...
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 27, 2014, 04:40:22 pm
like this?

Code: [Select]
#extension GL_OES_EGL_image_external : require

precision mediump float;

uniform samplerExternalOES textureUnit0;

varying vec2 texCoord;
varying vec4 vertexColor;

void main() {
gl_FragColor= texture2D(textureUnit0, texCoord) * vertexColor;
}

this works, doesnt throw any exception but I got a black texture.

I also tried without multiplying vertexColor, but result is same
Code: [Select]
gl_FragColor = texture2D(textureUnit0, texCoord);

I just created a GLSLShader with defaultVertexShaderTex0.src and the code above and set to my plane before calling build.

Code: [Select]
GLSLShader shader = new GLSLShader(vertexShader, fragmentShader);
plane.setShader(shader);

below are some debug output

Code: [Select]
01-27 17:30:26.499: I/jPCT-AE(24090): glLoadIdentity() took 6583ns
01-27 17:30:26.499: I/jPCT-AE(24090): glLoadMatrixf([F@41d4afd8, 0) took 8625ns
01-27 17:30:26.499: I/jPCT-AE(24090): glEnableClientState(32884) took 10709ns
01-27 17:30:26.499: I/jPCT-AE(24090): glDisableClientState(32888) took 7792ns
01-27 17:30:26.499: I/jPCT-AE(24090): glDisableClientState(32885) took 9000ns
01-27 17:30:26.499: I/jPCT-AE(24090): glLineWidth(1.0) took 11084ns
01-27 17:30:26.499: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15500ns
01-27 17:30:26.499: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 28750ns
01-27 17:30:26.499: I/jPCT-AE(24090): glLineWidth(1.0) took 8792ns
01-27 17:30:26.499: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15084ns
01-27 17:30:26.499: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 22292ns
01-27 17:30:26.499: I/jPCT-AE(24090): glLineWidth(1.0) took 10625ns
01-27 17:30:26.499: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15209ns
01-27 17:30:26.499: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21708ns
01-27 17:30:26.499: I/jPCT-AE(24090): glLineWidth(1.0) took 9667ns
01-27 17:30:26.504: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14708ns
01-27 17:30:26.504: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21583ns
01-27 17:30:26.504: I/jPCT-AE(24090): glLineWidth(1.0) took 9541ns
01-27 17:30:26.504: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15833ns
01-27 17:30:26.504: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20833ns
01-27 17:30:26.504: I/jPCT-AE(24090): glLineWidth(1.0) took 8833ns
01-27 17:30:26.504: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13708ns
01-27 17:30:26.504: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 19625ns
01-27 17:30:26.504: I/jPCT-AE(24090): glLineWidth(1.0) took 9708ns
01-27 17:30:26.504: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13833ns
01-27 17:30:26.504: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20625ns
01-27 17:30:26.504: I/jPCT-AE(24090): glLineWidth(1.0) took 9417ns
01-27 17:30:26.504: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13416ns
01-27 17:30:26.504: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21375ns
01-27 17:30:26.504: I/jPCT-AE(24090): glLineWidth(1.0) took 9291ns
01-27 17:30:26.504: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14375ns
01-27 17:30:26.504: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20667ns
01-27 17:30:26.504: I/jPCT-AE(24090): glLineWidth(1.0) took 8916ns
01-27 17:30:26.504: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13959ns
01-27 17:30:26.504: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20333ns
01-27 17:30:26.504: I/jPCT-AE(24090): glLineWidth(1.0) took 8833ns
01-27 17:30:26.504: I/jPCT-AE(24090): glMatrixMode(5888) took 8167ns
01-27 17:30:26.504: I/jPCT-AE(24090): glPopMatrix() took 6958ns
01-27 17:30:26.504: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 15125ns
01-27 17:30:26.504: I/jPCT-AE(24090): glEnableClientState(32884) took 12541ns
01-27 17:30:26.504: I/jPCT-AE(24090): glDisableClientState(32885) took 8375ns
01-27 17:30:26.504: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10000ns
01-27 17:30:26.509: I/jPCT-AE(24090): glEnableClientState(32888) took 11417ns
01-27 17:30:26.509: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15875ns
01-27 17:30:26.509: I/jPCT-AE(24090): glEnable(3042) took 12292ns
01-27 17:30:26.509: I/jPCT-AE(24090): glBlendFunc(770, 771) took 12750ns
01-27 17:30:26.509: I/jPCT-AE(24090): glDisable(2929) took 11291ns
01-27 17:30:26.509: I/jPCT-AE(24090): glActiveTexture(33984) took 9375ns
01-27 17:30:26.509: I/jPCT-AE(24090): glBindTexture(3553, 4) took 12666ns
01-27 17:30:26.509: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 14000ns
01-27 17:30:26.509: I/jPCT-AE(24090): glEnableClientState(32884) took 10709ns
01-27 17:30:26.509: I/jPCT-AE(24090): glDisableClientState(32885) took 8250ns
01-27 17:30:26.509: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9666ns
01-27 17:30:26.509: I/jPCT-AE(24090): glEnableClientState(32888) took 11166ns
01-27 17:30:26.509: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15583ns
01-27 17:30:26.509: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14917ns
01-27 17:30:26.509: I/jPCT-AE(24090): glEnableClientState(32886) took 12291ns
01-27 17:30:26.509: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 33666ns
01-27 17:30:26.509: I/jPCT-AE(24090): glDisable(3042) took 11333ns
01-27 17:30:26.509: I/jPCT-AE(24090): glEnable(2929) took 10166ns
01-27 17:30:26.509: I/jPCT-AE(24090): glClearColor(0.0, 0.0, 0.0, 1.0) took 15584ns
01-27 17:30:26.509: I/jPCT-AE(24090): glClear(16640) took 344541ns
01-27 17:30:26.584: I/jPCT-AE(24090): glDisable(2929) took 28500ns
01-27 17:30:26.584: I/jPCT-AE(24090): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 44042ns
01-27 17:30:26.584: I/jPCT-AE(24090): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 20875ns
01-27 17:30:26.584: I/jPCT-AE(24090): glActiveTexture(33984) took 12166ns
01-27 17:30:26.584: I/jPCT-AE(24090): glBindTexture(3553, 2) took 15958ns
01-27 17:30:26.584: I/jPCT-AE(24090): glTexParameterx(3553, 10241, 9729) took 14750ns
01-27 17:30:26.584: I/jPCT-AE(24090): glTexParameterx(3553, 10240, 9729) took 13541ns
01-27 17:30:26.584: I/jPCT-AE(24090): glTexParameterx(3553, 10242, 10497) took 12292ns
01-27 17:30:26.584: I/jPCT-AE(24090): glTexParameterx(3553, 10243, 10497) took 10834ns
01-27 17:30:26.589: I/jPCT-AE(24090): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1431250ns
01-27 17:30:26.589: I/jPCT-AE(24090): glBindTexture(3553, 4) took 20750ns
01-27 17:30:26.589: I/jPCT-AE(24090): glBindTexture(3553, 2) took 11958ns
01-27 17:30:26.589: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 23083ns
01-27 17:30:26.589: I/jPCT-AE(24090): glEnableClientState(32884) took 14792ns
01-27 17:30:26.589: I/jPCT-AE(24090): glDisableClientState(32885) took 10750ns
01-27 17:30:26.589: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10459ns
01-27 17:30:26.589: I/jPCT-AE(24090): glEnableClientState(32888) took 11792ns
01-27 17:30:26.589: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 16125ns
01-27 17:30:26.589: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 15125ns
01-27 17:30:26.589: I/jPCT-AE(24090): glEnableClientState(32886) took 14583ns
01-27 17:30:26.589: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 61625ns
01-27 17:30:26.589: I/jPCT-AE(24090): glEnable(2929) took 11833ns
01-27 17:30:26.589: I/jPCT-AE(24090): glMatrixMode(5889) took 10541ns
01-27 17:30:26.594: I/jPCT-AE(24090): glLoadIdentity() took 7125ns
01-27 17:30:26.594: I/jPCT-AE(24090): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 13334ns
01-27 17:30:26.594: I/jPCT-AE(24090): glEnable(2977) took 9250ns
01-27 17:30:26.594: I/jPCT-AE(24090): glEnable(2896) took 7667ns
01-27 17:30:26.594: I/jPCT-AE(24090): glEnable(2884) took 10292ns
01-27 17:30:26.594: I/jPCT-AE(24090): glActiveTexture(33984) took 10459ns
01-27 17:30:26.594: I/jPCT-AE(24090): glBindTexture(36197, 1) took 10917ns
01-27 17:30:26.594: I/jPCT-AE(24090): glMatrixMode(5888) took 7375ns
01-27 17:30:26.594: I/jPCT-AE(24090): glPushMatrix() took 6250ns
01-27 17:30:26.594: I/jPCT-AE(24090): glLoadIdentity() took 7250ns
01-27 17:30:26.594: I/jPCT-AE(24090): glLightModelfv(2899, [F@41d4ab90, 0) took 9250ns
01-27 17:30:26.594: I/jPCT-AE(24090): glMaterialfv(1032, 5632, [F@41d4abb8, 0) took 9083ns
01-27 17:30:26.594: I/jPCT-AE(24090): glLoadMatrixf([F@41d0c228, 0) took 8208ns
01-27 17:30:26.594: I/jPCT-AE(24090): glEnableClientState(32885) took 11666ns
01-27 17:30:26.594: I/jPCT-AE(24090): glBindBuffer(34962, 5) took 13625ns
01-27 17:30:26.594: I/jPCT-AE(24090): glNormalPointer(5132, 12, 0) took 12083ns
01-27 17:30:26.594: I/jPCT-AE(24090): glEnableClientState(32884) took 11333ns
01-27 17:30:26.594: I/jPCT-AE(24090): glBindBuffer(34962, 6) took 11416ns
01-27 17:30:26.594: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, 0) took 11291ns
01-27 17:30:26.594: I/jPCT-AE(24090): glDisableClientState(32886) took 15166ns
01-27 17:30:26.594: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9042ns
01-27 17:30:26.594: I/jPCT-AE(24090): glEnableClientState(32888) took 10791ns
01-27 17:30:26.594: I/jPCT-AE(24090): glBindBuffer(34962, 7) took 11333ns
01-27 17:30:26.594: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, 0) took 12750ns
01-27 17:30:26.594: I/jPCT-AE(24090): glBindBuffer(34962, 0) took 11917ns
01-27 17:30:26.594: I/jPCT-AE(24090): glBindBuffer(34963, 8) took 10917ns
01-27 17:30:26.594: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, 0) took 37500ns
01-27 17:30:26.594: I/jPCT-AE(24090): glBindBuffer(34963, 0) took 11042ns
01-27 17:30:26.594: I/jPCT-AE(24090): glMatrixMode(5888) took 6708ns
01-27 17:30:26.599: I/jPCT-AE(24090): glPopMatrix() took 7167ns
01-27 17:30:26.599: I/jPCT-AE(24090): glEnable(3042) took 11292ns
01-27 17:30:26.599: I/jPCT-AE(24090): glBlendFunc(770, 771) took 12541ns
01-27 17:30:26.599: I/jPCT-AE(24090): glDepthMask(false) took 9667ns
01-27 17:30:26.599: I/jPCT-AE(24090): glActiveTexture(33984) took 9125ns
01-27 17:30:26.599: I/jPCT-AE(24090): glBindTexture(3553, 3) took 11792ns
01-27 17:30:26.599: I/jPCT-AE(24090): glMatrixMode(5888) took 6875ns
01-27 17:30:26.599: I/jPCT-AE(24090): glPushMatrix() took 6459ns
01-27 17:30:26.599: I/jPCT-AE(24090): glLoadIdentity() took 7250ns
01-27 17:30:26.599: I/jPCT-AE(24090): glLightModelfv(2899, [F@41d4ab90, 0) took 8458ns
01-27 17:30:26.599: I/jPCT-AE(24090): glMaterialfv(1032, 5632, [F@41d4abb8, 0) took 9167ns
01-27 17:30:26.599: I/jPCT-AE(24090): glLoadMatrixf([F@41d0c228, 0) took 7958ns
01-27 17:30:26.599: I/jPCT-AE(24090): glEnableClientState(32885) took 7833ns
01-27 17:30:26.599: I/jPCT-AE(24090): glBindBuffer(34962, 1) took 11334ns
01-27 17:30:26.599: I/jPCT-AE(24090): glNormalPointer(5132, 12, 0) took 7792ns
01-27 17:30:26.599: I/jPCT-AE(24090): glEnableClientState(32884) took 10083ns
01-27 17:30:26.599: I/jPCT-AE(24090): glBindBuffer(34962, 2) took 11375ns
01-27 17:30:26.599: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, 0) took 12250ns
01-27 17:30:26.599: I/jPCT-AE(24090): glDisableClientState(32886) took 12875ns
01-27 17:30:26.599: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9417ns
01-27 17:30:26.599: I/jPCT-AE(24090): glEnableClientState(32888) took 11125ns
01-27 17:30:26.599: I/jPCT-AE(24090): glBindBuffer(34962, 3) took 14584ns
01-27 17:30:26.599: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, 0) took 14750ns
01-27 17:30:26.599: I/jPCT-AE(24090): glBindBuffer(34962, 0) took 11833ns
01-27 17:30:26.599: I/jPCT-AE(24090): glBindBuffer(34963, 4) took 11250ns
01-27 17:30:26.599: I/jPCT-AE(24090): glDrawElements(4, 1374, 5123, 0) took 33458ns
01-27 17:30:26.599: I/jPCT-AE(24090): glBindBuffer(34963, 0) took 12333ns
01-27 17:30:26.599: I/jPCT-AE(24090): glMatrixMode(5888) took 7250ns
01-27 17:30:26.599: I/jPCT-AE(24090): glPopMatrix() took 8375ns
01-27 17:30:26.599: I/jPCT-AE(24090): glDisable(3042) took 13208ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDepthMask(true) took 9375ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDisable(2884) took 10375ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDisable(2896) took 7792ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDisable(2977) took 7958ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDisable(2884) took 10583ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDisable(2896) took 8875ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDisable(2977) took 8000ns
01-27 17:30:26.604: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 18333ns
01-27 17:30:26.604: I/jPCT-AE(24090): glEnableClientState(32884) took 12416ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDisableClientState(32885) took 8250ns
01-27 17:30:26.604: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10584ns
01-27 17:30:26.604: I/jPCT-AE(24090): glEnableClientState(32888) took 8250ns
01-27 17:30:26.604: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 9459ns
01-27 17:30:26.604: I/jPCT-AE(24090): glMatrixMode(5888) took 6709ns
01-27 17:30:26.604: I/jPCT-AE(24090): glPushMatrix() took 5500ns
01-27 17:30:26.604: I/jPCT-AE(24090): glLoadIdentity() took 6958ns
01-27 17:30:26.604: I/jPCT-AE(24090): glLoadMatrixf([F@41d4afd8, 0) took 9542ns
01-27 17:30:26.604: I/jPCT-AE(24090): glEnableClientState(32884) took 11125ns
01-27 17:30:26.604: I/jPCT-AE(24090): glDisableClientState(32888) took 7875ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDisableClientState(32885) took 8458ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 11250ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14500ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 31792ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 9875ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14750ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 23041ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 9167ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14583ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 19959ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 8917ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14291ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20708ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 8875ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13667ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 19958ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 9959ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14167ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21250ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 9000ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14250ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20250ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 9292ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13583ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20542ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 9125ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14542ns
01-27 17:30:26.609: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20833ns
01-27 17:30:26.609: I/jPCT-AE(24090): glLineWidth(1.0) took 9541ns
01-27 17:30:26.609: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13833ns
01-27 17:30:26.619: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20584ns
01-27 17:30:26.619: I/jPCT-AE(24090): glLineWidth(1.0) took 19458ns
01-27 17:30:26.619: I/jPCT-AE(24090): glMatrixMode(5888) took 12500ns
01-27 17:30:26.619: I/jPCT-AE(24090): glPopMatrix() took 9958ns
01-27 17:30:26.619: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 21000ns
01-27 17:30:26.619: I/jPCT-AE(24090): glEnableClientState(32884) took 13042ns
01-27 17:30:26.619: I/jPCT-AE(24090): glDisableClientState(32885) took 9417ns
01-27 17:30:26.619: I/jPCT-AE(24090): glClientActiveTexture(33984) took 12250ns
01-27 17:30:26.619: I/jPCT-AE(24090): glEnableClientState(32888) took 12125ns
01-27 17:30:26.619: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 19042ns
01-27 17:30:26.619: I/jPCT-AE(24090): glEnable(3042) took 37167ns
01-27 17:30:26.619: I/jPCT-AE(24090): glBlendFunc(770, 771) took 17333ns
01-27 17:30:26.619: I/jPCT-AE(24090): glDisable(2929) took 13291ns
01-27 17:30:26.619: I/jPCT-AE(24090): glActiveTexture(33984) took 13417ns
01-27 17:30:26.619: I/jPCT-AE(24090): glBindTexture(3553, 4) took 17209ns
01-27 17:30:26.619: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 19875ns
01-27 17:30:26.619: I/jPCT-AE(24090): glEnableClientState(32884) took 13208ns
01-27 17:30:26.619: I/jPCT-AE(24090): glDisableClientState(32885) took 8667ns
01-27 17:30:26.619: I/jPCT-AE(24090): glClientActiveTexture(33984) took 11208ns
01-27 17:30:26.619: I/jPCT-AE(24090): glEnableClientState(32888) took 12667ns
01-27 17:30:26.619: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 16583ns
01-27 17:30:26.619: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14667ns
01-27 17:30:26.619: I/jPCT-AE(24090): glEnableClientState(32886) took 13125ns
01-27 17:30:26.619: I/jPCT-AE(24090): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 51417ns
01-27 17:30:26.619: I/jPCT-AE(24090): glDisable(3042) took 11416ns
01-27 17:30:26.619: I/jPCT-AE(24090): glEnable(2929) took 12333ns
01-27 17:30:26.619: I/jPCT-AE(24090): glClearColor(0.0, 0.0, 0.0, 1.0) took 16292ns
01-27 17:30:26.619: I/jPCT-AE(24090): glClear(16640) took 345583ns
01-27 17:30:26.694: I/jPCT-AE(24090): glDisable(2929) took 30375ns
01-27 17:30:26.694: I/jPCT-AE(24090): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 43542ns
01-27 17:30:26.694: I/jPCT-AE(24090): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 21667ns
01-27 17:30:26.694: I/jPCT-AE(24090): glActiveTexture(33984) took 11917ns
01-27 17:30:26.694: I/jPCT-AE(24090): glBindTexture(3553, 2) took 18709ns
01-27 17:30:26.694: I/jPCT-AE(24090): glTexParameterx(3553, 10241, 9729) took 14292ns
01-27 17:30:26.694: I/jPCT-AE(24090): glTexParameterx(3553, 10240, 9729) took 12583ns
01-27 17:30:26.694: I/jPCT-AE(24090): glTexParameterx(3553, 10242, 10497) took 11459ns
01-27 17:30:26.694: I/jPCT-AE(24090): glTexParameterx(3553, 10243, 10497) took 10792ns
01-27 17:30:26.694: I/jPCT-AE(24090): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1399333ns
01-27 17:30:26.694: I/jPCT-AE(24090): glBindTexture(3553, 4) took 19792ns
01-27 17:30:26.694: I/jPCT-AE(24090): glBindTexture(3553, 2) took 12625ns
01-27 17:30:26.694: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 21709ns
01-27 17:30:26.694: I/jPCT-AE(24090): glEnableClientState(32884) took 14459ns
01-27 17:30:26.694: I/jPCT-AE(24090): glDisableClientState(32885) took 9416ns
01-27 17:30:26.694: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10792ns
01-27 17:30:26.694: I/jPCT-AE(24090): glEnableClientState(32888) took 11292ns
01-27 17:30:26.699: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 17917ns
01-27 17:30:26.699: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14333ns
01-27 17:30:26.699: I/jPCT-AE(24090): glEnableClientState(32886) took 14792ns
01-27 17:30:26.699: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 63041ns
01-27 17:30:26.699: I/jPCT-AE(24090): glEnable(2929) took 12000ns
01-27 17:30:26.699: I/jPCT-AE(24090): glMatrixMode(5889) took 8334ns
01-27 17:30:26.699: I/jPCT-AE(24090): glLoadIdentity() took 7000ns
01-27 17:30:26.699: I/jPCT-AE(24090): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 11917ns
01-27 17:30:26.699: I/jPCT-AE(24090): glEnable(2977) took 11458ns
01-27 17:30:26.699: I/jPCT-AE(24090): glEnable(2896) took 7750ns
01-27 17:30:26.699: I/jPCT-AE(24090): glEnable(2884) took 11042ns
01-27 17:30:26.699: I/jPCT-AE(24090): glActiveTexture(33984) took 10250ns
01-27 17:30:26.699: I/jPCT-AE(24090): glBindTexture(36197, 1) took 11666ns
01-27 17:30:26.699: I/jPCT-AE(24090): glMatrixMode(5888) took 7334ns
01-27 17:30:26.699: I/jPCT-AE(24090): glPushMatrix() took 7042ns
01-27 17:30:26.699: I/jPCT-AE(24090): glLoadIdentity() took 6875ns
01-27 17:30:26.699: I/jPCT-AE(24090): glLightModelfv(2899, [F@41d4ab90, 0) took 8750ns
01-27 17:30:26.699: I/jPCT-AE(24090): glMaterialfv(1032, 5632, [F@41d4abb8, 0) took 10042ns
01-27 17:30:26.699: I/jPCT-AE(24090): glLoadMatrixf([F@41d0c228, 0) took 8542ns
01-27 17:30:26.699: I/jPCT-AE(24090): glEnableClientState(32885) took 11166ns
01-27 17:30:26.699: I/jPCT-AE(24090): glBindBuffer(34962, 5) took 13083ns
01-27 17:30:26.699: I/jPCT-AE(24090): glNormalPointer(5132, 12, 0) took 12292ns
01-27 17:30:26.699: I/jPCT-AE(24090): glEnableClientState(32884) took 11583ns
01-27 17:30:26.699: I/jPCT-AE(24090): glBindBuffer(34962, 6) took 11750ns
01-27 17:30:26.699: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, 0) took 11708ns
01-27 17:30:26.699: I/jPCT-AE(24090): glDisableClientState(32886) took 14833ns
01-27 17:30:26.699: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10917ns
01-27 17:30:26.699: I/jPCT-AE(24090): glEnableClientState(32888) took 11042ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBindBuffer(34962, 7) took 11167ns
01-27 17:30:26.704: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, 0) took 13500ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBindBuffer(34962, 0) took 10875ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBindBuffer(34963, 8) took 10833ns
01-27 17:30:26.704: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, 0) took 36500ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBindBuffer(34963, 0) took 11208ns
01-27 17:30:26.704: I/jPCT-AE(24090): glMatrixMode(5888) took 7375ns
01-27 17:30:26.704: I/jPCT-AE(24090): glPopMatrix() took 7667ns
01-27 17:30:26.704: I/jPCT-AE(24090): glEnable(3042) took 12125ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBlendFunc(770, 771) took 12750ns
01-27 17:30:26.704: I/jPCT-AE(24090): glDepthMask(false) took 10375ns
01-27 17:30:26.704: I/jPCT-AE(24090): glActiveTexture(33984) took 10375ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBindTexture(3553, 3) took 11666ns
01-27 17:30:26.704: I/jPCT-AE(24090): glMatrixMode(5888) took 7875ns
01-27 17:30:26.704: I/jPCT-AE(24090): glPushMatrix() took 6208ns
01-27 17:30:26.704: I/jPCT-AE(24090): glLoadIdentity() took 6584ns
01-27 17:30:26.704: I/jPCT-AE(24090): glLightModelfv(2899, [F@41d4ab90, 0) took 8125ns
01-27 17:30:26.704: I/jPCT-AE(24090): glMaterialfv(1032, 5632, [F@41d4abb8, 0) took 9250ns
01-27 17:30:26.704: I/jPCT-AE(24090): glLoadMatrixf([F@41d0c228, 0) took 8084ns
01-27 17:30:26.704: I/jPCT-AE(24090): glEnableClientState(32885) took 8125ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBindBuffer(34962, 1) took 11250ns
01-27 17:30:26.704: I/jPCT-AE(24090): glNormalPointer(5132, 12, 0) took 8041ns
01-27 17:30:26.704: I/jPCT-AE(24090): glEnableClientState(32884) took 12584ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBindBuffer(34962, 2) took 12208ns
01-27 17:30:26.704: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, 0) took 11792ns
01-27 17:30:26.704: I/jPCT-AE(24090): glDisableClientState(32886) took 13416ns
01-27 17:30:26.704: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9125ns
01-27 17:30:26.704: I/jPCT-AE(24090): glEnableClientState(32888) took 10333ns
01-27 17:30:26.704: I/jPCT-AE(24090): glBindBuffer(34962, 3) took 12000ns
01-27 17:30:26.704: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, 0) took 13417ns
01-27 17:30:26.709: I/jPCT-AE(24090): glBindBuffer(34962, 0) took 10875ns
01-27 17:30:26.709: I/jPCT-AE(24090): glBindBuffer(34963, 4) took 11083ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDrawElements(4, 1374, 5123, 0) took 29750ns
01-27 17:30:26.709: I/jPCT-AE(24090): glBindBuffer(34963, 0) took 11166ns
01-27 17:30:26.709: I/jPCT-AE(24090): glMatrixMode(5888) took 6792ns
01-27 17:30:26.709: I/jPCT-AE(24090): glPopMatrix() took 8750ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisable(3042) took 13250ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDepthMask(true) took 9375ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisable(2884) took 10083ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisable(2896) took 7625ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisable(2977) took 9459ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisable(2884) took 9750ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisable(2896) took 8417ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisable(2977) took 7959ns
01-27 17:30:26.709: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 15500ns
01-27 17:30:26.709: I/jPCT-AE(24090): glEnableClientState(32884) took 11916ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisableClientState(32885) took 8000ns
01-27 17:30:26.709: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10958ns
01-27 17:30:26.709: I/jPCT-AE(24090): glEnableClientState(32888) took 8208ns
01-27 17:30:26.709: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 9333ns
01-27 17:30:26.709: I/jPCT-AE(24090): glMatrixMode(5888) took 6792ns
01-27 17:30:26.709: I/jPCT-AE(24090): glPushMatrix() took 5500ns
01-27 17:30:26.709: I/jPCT-AE(24090): glLoadIdentity() took 6625ns
01-27 17:30:26.709: I/jPCT-AE(24090): glLoadMatrixf([F@41d4afd8, 0) took 8000ns
01-27 17:30:26.709: I/jPCT-AE(24090): glEnableClientState(32884) took 10791ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisableClientState(32888) took 8083ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDisableClientState(32885) took 7375ns
01-27 17:30:26.709: I/jPCT-AE(24090): glLineWidth(1.0) took 11084ns
01-27 17:30:26.709: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14958ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 25500ns
01-27 17:30:26.709: I/jPCT-AE(24090): glLineWidth(1.0) took 9250ns
01-27 17:30:26.709: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14000ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21375ns
01-27 17:30:26.709: I/jPCT-AE(24090): glLineWidth(1.0) took 9333ns
01-27 17:30:26.709: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13833ns
01-27 17:30:26.709: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21042ns
01-27 17:30:26.719: I/jPCT-AE(24090): glLineWidth(1.0) took 9292ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 36292ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 53917ns
01-27 17:30:26.719: I/jPCT-AE(24090): glLineWidth(1.0) took 14333ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 18708ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 23875ns
01-27 17:30:26.719: I/jPCT-AE(24090): glLineWidth(1.0) took 11458ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14541ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 27167ns
01-27 17:30:26.719: I/jPCT-AE(24090): glLineWidth(1.0) took 19083ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 21083ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 47791ns
01-27 17:30:26.719: I/jPCT-AE(24090): glLineWidth(1.0) took 11792ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 19209ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 33125ns
01-27 17:30:26.719: I/jPCT-AE(24090): glLineWidth(1.0) took 12209ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15292ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 26333ns
01-27 17:30:26.719: I/jPCT-AE(24090): glLineWidth(1.0) took 9667ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14416ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 24042ns
01-27 17:30:26.719: I/jPCT-AE(24090): glLineWidth(1.0) took 9167ns
01-27 17:30:26.719: I/jPCT-AE(24090): glMatrixMode(5888) took 7583ns
01-27 17:30:26.719: I/jPCT-AE(24090): glPopMatrix() took 7833ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 15292ns
01-27 17:30:26.719: I/jPCT-AE(24090): glEnableClientState(32884) took 12083ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDisableClientState(32885) took 8500ns
01-27 17:30:26.719: I/jPCT-AE(24090): glClientActiveTexture(33984) took 11583ns
01-27 17:30:26.719: I/jPCT-AE(24090): glEnableClientState(32888) took 10541ns
01-27 17:30:26.719: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 16334ns
01-27 17:30:26.719: I/jPCT-AE(24090): glEnable(3042) took 11958ns
01-27 17:30:26.719: I/jPCT-AE(24090): glBlendFunc(770, 771) took 13750ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDisable(2929) took 11750ns
01-27 17:30:26.719: I/jPCT-AE(24090): glActiveTexture(33984) took 10500ns
01-27 17:30:26.719: I/jPCT-AE(24090): glBindTexture(3553, 4) took 13042ns
01-27 17:30:26.719: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 14750ns
01-27 17:30:26.719: I/jPCT-AE(24090): glEnableClientState(32884) took 10250ns
01-27 17:30:26.719: I/jPCT-AE(24090): glDisableClientState(32885) took 8583ns
01-27 17:30:26.719: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9125ns
01-27 17:30:26.719: I/jPCT-AE(24090): glEnableClientState(32888) took 12375ns
01-27 17:30:26.719: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15041ns
01-27 17:30:26.719: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14375ns
01-27 17:30:26.724: I/jPCT-AE(24090): glEnableClientState(32886) took 14166ns
01-27 17:30:26.724: I/jPCT-AE(24090): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 40916ns
01-27 17:30:26.724: I/jPCT-AE(24090): glDisable(3042) took 12750ns
01-27 17:30:26.724: I/jPCT-AE(24090): glEnable(2929) took 11500ns
01-27 17:30:26.724: I/jPCT-AE(24090): glClearColor(0.0, 0.0, 0.0, 1.0) took 15041ns
01-27 17:30:26.724: I/jPCT-AE(24090): glClear(16640) took 347458ns
01-27 17:30:26.794: I/jPCT-AE(24090): glDisable(2929) took 29000ns
01-27 17:30:26.794: I/jPCT-AE(24090): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 44042ns
01-27 17:30:26.794: I/jPCT-AE(24090): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 21459ns
01-27 17:30:26.794: I/jPCT-AE(24090): glActiveTexture(33984) took 12958ns
01-27 17:30:26.794: I/jPCT-AE(24090): glBindTexture(3553, 2) took 18167ns
01-27 17:30:26.794: I/jPCT-AE(24090): glTexParameterx(3553, 10241, 9729) took 14750ns
01-27 17:30:26.794: I/jPCT-AE(24090): glTexParameterx(3553, 10240, 9729) took 11917ns
01-27 17:30:26.799: I/jPCT-AE(24090): glTexParameterx(3553, 10242, 10497) took 11459ns
01-27 17:30:26.799: I/jPCT-AE(24090): glTexParameterx(3553, 10243, 10497) took 11875ns
01-27 17:30:26.799: I/jPCT-AE(24090): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1420166ns
01-27 17:30:26.799: I/jPCT-AE(24090): glBindTexture(3553, 4) took 20083ns
01-27 17:30:26.799: I/jPCT-AE(24090): glBindTexture(3553, 2) took 12292ns
01-27 17:30:26.799: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 23791ns
01-27 17:30:26.799: I/jPCT-AE(24090): glEnableClientState(32884) took 13917ns
01-27 17:30:26.799: I/jPCT-AE(24090): glDisableClientState(32885) took 8500ns
01-27 17:30:26.799: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10667ns
01-27 17:30:26.799: I/jPCT-AE(24090): glEnableClientState(32888) took 12333ns
01-27 17:30:26.799: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15791ns
01-27 17:30:26.799: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14958ns
01-27 17:30:26.799: I/jPCT-AE(24090): glEnableClientState(32886) took 15959ns
01-27 17:30:26.799: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 60834ns
01-27 17:30:26.799: I/jPCT-AE(24090): glEnable(2929) took 13167ns
01-27 17:30:26.799: I/jPCT-AE(24090): glMatrixMode(5889) took 8041ns
01-27 17:30:26.799: I/jPCT-AE(24090): glLoadIdentity() took 7625ns
01-27 17:30:26.804: I/jPCT-AE(24090): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 12375ns
01-27 17:30:26.804: I/jPCT-AE(24090): glEnable(2977) took 9083ns
01-27 17:30:26.804: I/jPCT-AE(24090): glEnable(2896) took 7875ns
01-27 17:30:26.804: I/jPCT-AE(24090): glEnable(2884) took 10875ns
01-27 17:30:26.804: I/jPCT-AE(24090): glActiveTexture(33984) took 10625ns
01-27 17:30:26.804: I/jPCT-AE(24090): glBindTexture(36197, 1) took 12084ns
01-27 17:30:26.804: I/jPCT-AE(24090): glMatrixMode(5888) took 8000ns
01-27 17:30:26.804: I/jPCT-AE(24090): glPushMatrix() took 8291ns
01-27 17:30:26.804: I/jPCT-AE(24090): glLoadIdentity() took 6625ns
01-27 17:30:26.804: I/jPCT-AE(24090): glLightModelfv(2899, [F@41d4ab90, 0) took 8708ns
01-27 17:30:26.804: I/jPCT-AE(24090): glMaterialfv(1032, 5632, [F@41d4abb8, 0) took 8792ns
01-27 17:30:26.804: I/jPCT-AE(24090): glLoadMatrixf([F@41d0c228, 0) took 7916ns
01-27 17:30:26.804: I/jPCT-AE(24090): glEnableClientState(32885) took 13000ns
01-27 17:30:26.804: I/jPCT-AE(24090): glBindBuffer(34962, 5) took 12834ns
01-27 17:30:26.804: I/jPCT-AE(24090): glNormalPointer(5132, 12, 0) took 12458ns
01-27 17:30:26.804: I/jPCT-AE(24090): glEnableClientState(32884) took 20541ns
01-27 17:30:26.804: I/jPCT-AE(24090): glBindBuffer(34962, 6) took 21708ns
01-27 17:30:26.804: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, 0) took 17834ns
01-27 17:30:26.804: I/jPCT-AE(24090): glDisableClientState(32886) took 21291ns
01-27 17:30:26.809: I/jPCT-AE(24090): glClientActiveTexture(33984) took 13750ns
01-27 17:30:26.809: I/jPCT-AE(24090): glEnableClientState(32888) took 15000ns
01-27 17:30:26.809: I/jPCT-AE(24090): glBindBuffer(34962, 7) took 17042ns
01-27 17:30:26.809: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, 0) took 16417ns
01-27 17:30:26.809: I/jPCT-AE(24090): glBindBuffer(34962, 0) took 15541ns
01-27 17:30:26.809: I/jPCT-AE(24090): glBindBuffer(34963, 8) took 14708ns
01-27 17:30:26.809: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, 0) took 53250ns
01-27 17:30:26.809: I/jPCT-AE(24090): glBindBuffer(34963, 0) took 13875ns
01-27 17:30:26.809: I/jPCT-AE(24090): glMatrixMode(5888) took 11541ns
01-27 17:30:26.809: I/jPCT-AE(24090): glPopMatrix() took 9042ns
01-27 17:30:26.809: I/jPCT-AE(24090): glEnable(3042) took 16333ns
01-27 17:30:26.809: I/jPCT-AE(24090): glBlendFunc(770, 771) took 15291ns
01-27 17:30:26.809: I/jPCT-AE(24090): glDepthMask(false) took 13417ns
01-27 17:30:26.809: I/jPCT-AE(24090): glActiveTexture(33984) took 13875ns
01-27 17:30:26.809: I/jPCT-AE(24090): glBindTexture(3553, 3) took 16083ns
01-27 17:30:26.809: I/jPCT-AE(24090): glMatrixMode(5888) took 9792ns
01-27 17:30:26.809: I/jPCT-AE(24090): glPushMatrix() took 6792ns
01-27 17:30:26.809: I/jPCT-AE(24090): glLoadIdentity() took 9875ns
01-27 17:30:26.809: I/jPCT-AE(24090): glLightModelfv(2899, [F@41d4ab90, 0) took 11625ns
01-27 17:30:26.809: I/jPCT-AE(24090): glMaterialfv(1032, 5632, [F@41d4abb8, 0) took 11250ns
01-27 17:30:26.809: I/jPCT-AE(24090): glLoadMatrixf([F@41d0c228, 0) took 9791ns
01-27 17:30:26.809: I/jPCT-AE(24090): glEnableClientState(32885) took 10167ns
01-27 17:30:26.809: I/jPCT-AE(24090): glBindBuffer(34962, 1) took 16916ns
01-27 17:30:26.809: I/jPCT-AE(24090): glNormalPointer(5132, 12, 0) took 9167ns
01-27 17:30:26.809: I/jPCT-AE(24090): glEnableClientState(32884) took 15292ns
01-27 17:30:26.814: I/jPCT-AE(24090): glBindBuffer(34962, 2) took 16166ns
01-27 17:30:26.814: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, 0) took 15459ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDisableClientState(32886) took 20292ns
01-27 17:30:26.814: I/jPCT-AE(24090): glClientActiveTexture(33984) took 13000ns
01-27 17:30:26.814: I/jPCT-AE(24090): glEnableClientState(32888) took 12708ns
01-27 17:30:26.814: I/jPCT-AE(24090): glBindBuffer(34962, 3) took 14084ns
01-27 17:30:26.814: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, 0) took 18208ns
01-27 17:30:26.814: I/jPCT-AE(24090): glBindBuffer(34962, 0) took 34208ns
01-27 17:30:26.814: I/jPCT-AE(24090): glBindBuffer(34963, 4) took 20875ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDrawElements(4, 1374, 5123, 0) took 54667ns
01-27 17:30:26.814: I/jPCT-AE(24090): glBindBuffer(34963, 0) took 11834ns
01-27 17:30:26.814: I/jPCT-AE(24090): glMatrixMode(5888) took 8084ns
01-27 17:30:26.814: I/jPCT-AE(24090): glPopMatrix() took 10250ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDisable(3042) took 15458ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDepthMask(true) took 13708ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDisable(2884) took 23750ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDisable(2896) took 9500ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDisable(2977) took 8708ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDisable(2884) took 13417ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDisable(2896) took 11834ns
01-27 17:30:26.814: I/jPCT-AE(24090): glDisable(2977) took 8584ns
01-27 17:30:26.814: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 24542ns
01-27 17:30:26.819: I/jPCT-AE(24090): glEnableClientState(32884) took 18125ns
01-27 17:30:26.819: I/jPCT-AE(24090): glDisableClientState(32885) took 9500ns
01-27 17:30:26.819: I/jPCT-AE(24090): glClientActiveTexture(33984) took 17500ns
01-27 17:30:26.819: I/jPCT-AE(24090): glEnableClientState(32888) took 13542ns
01-27 17:30:26.819: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 11584ns
01-27 17:30:26.819: I/jPCT-AE(24090): glMatrixMode(5888) took 8584ns
01-27 17:30:26.819: I/jPCT-AE(24090): glPushMatrix() took 8958ns
01-27 17:30:26.819: I/jPCT-AE(24090): glLoadIdentity() took 10167ns
01-27 17:30:26.819: I/jPCT-AE(24090): glLoadMatrixf([F@41d4afd8, 0) took 13875ns
01-27 17:30:26.819: I/jPCT-AE(24090): glEnableClientState(32884) took 20208ns
01-27 17:30:26.819: I/jPCT-AE(24090): glDisableClientState(32888) took 11125ns
01-27 17:30:26.819: I/jPCT-AE(24090): glDisableClientState(32885) took 10208ns
01-27 17:30:26.819: I/jPCT-AE(24090): glLineWidth(1.0) took 16708ns
01-27 17:30:26.819: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 23917ns
01-27 17:30:26.819: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 44458ns
01-27 17:30:26.834: I/jPCT-AE(24090): glLineWidth(1.0) took 19041ns
01-27 17:30:26.834: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 25708ns
01-27 17:30:26.834: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 39792ns
01-27 17:30:26.834: I/jPCT-AE(24090): glLineWidth(1.0) took 14958ns
01-27 17:30:26.839: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 38834ns
01-27 17:30:26.839: D/dalvikvm(24090): GC_CONCURRENT freed 1669K, 12% free 17271K/19527K, paused 2ms+12ms, total 36ms
01-27 17:30:26.844: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 55084ns
01-27 17:30:26.844: I/jPCT-AE(24090): glLineWidth(1.0) took 19875ns
01-27 17:30:26.844: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 24542ns
01-27 17:30:26.844: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 26500ns
01-27 17:30:26.844: I/jPCT-AE(24090): glLineWidth(1.0) took 10833ns
01-27 17:30:26.844: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15875ns
01-27 17:30:26.844: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 23834ns
01-27 17:30:26.844: I/jPCT-AE(24090): glLineWidth(1.0) took 9334ns
01-27 17:30:26.844: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14458ns
01-27 17:30:26.844: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20916ns
01-27 17:30:26.844: I/jPCT-AE(24090): glLineWidth(1.0) took 9458ns
01-27 17:30:26.844: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13833ns
01-27 17:30:26.844: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20792ns
01-27 17:30:26.844: I/jPCT-AE(24090): glLineWidth(1.0) took 8791ns
01-27 17:30:26.844: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14458ns
01-27 17:30:26.844: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 163958ns
01-27 17:30:26.844: I/jPCT-AE(24090): glLineWidth(1.0) took 9000ns
01-27 17:30:26.844: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 13750ns
01-27 17:30:26.844: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20250ns
01-27 17:30:26.844: I/jPCT-AE(24090): glLineWidth(1.0) took 9709ns
01-27 17:30:26.849: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 39334ns
01-27 17:30:26.849: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 46667ns
01-27 17:30:26.849: I/jPCT-AE(24090): glLineWidth(1.0) took 12292ns
01-27 17:30:26.849: I/jPCT-AE(24090): glMatrixMode(5888) took 14958ns
01-27 17:30:26.849: I/jPCT-AE(24090): glPopMatrix() took 12000ns
01-27 17:30:26.849: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 19875ns
01-27 17:30:26.849: I/jPCT-AE(24090): glEnableClientState(32884) took 13292ns
01-27 17:30:26.849: I/jPCT-AE(24090): glDisableClientState(32885) took 9209ns
01-27 17:30:26.849: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10708ns
01-27 17:30:26.849: I/jPCT-AE(24090): glEnableClientState(32888) took 10916ns
01-27 17:30:26.849: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15459ns
01-27 17:30:26.849: I/jPCT-AE(24090): glEnable(3042) took 13833ns
01-27 17:30:26.849: I/jPCT-AE(24090): glBlendFunc(770, 771) took 15042ns
01-27 17:30:26.849: I/jPCT-AE(24090): glDisable(2929) took 11083ns
01-27 17:30:26.849: I/jPCT-AE(24090): glActiveTexture(33984) took 9417ns
01-27 17:30:26.849: I/jPCT-AE(24090): glBindTexture(3553, 4) took 11792ns
01-27 17:30:26.849: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 13834ns
01-27 17:30:26.849: I/jPCT-AE(24090): glEnableClientState(32884) took 11166ns
01-27 17:30:26.849: I/jPCT-AE(24090): glDisableClientState(32885) took 8042ns
01-27 17:30:26.849: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9208ns
01-27 17:30:26.849: I/jPCT-AE(24090): glEnableClientState(32888) took 9541ns
01-27 17:30:26.849: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 16666ns
01-27 17:30:26.849: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14084ns
01-27 17:30:26.854: I/jPCT-AE(24090): glEnableClientState(32886) took 196126ns
01-27 17:30:26.854: I/jPCT-AE(24090): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 46250ns
01-27 17:30:26.854: I/jPCT-AE(24090): glDisable(3042) took 12583ns
01-27 17:30:26.854: I/jPCT-AE(24090): glEnable(2929) took 10291ns
01-27 17:30:26.854: I/jPCT-AE(24090): glClearColor(0.0, 0.0, 0.0, 1.0) took 12834ns
01-27 17:30:26.854: I/jPCT-AE(24090): glClear(16640) took 325750ns
01-27 17:30:26.939: I/jPCT-AE(24090): glDisable(2929) took 29000ns
01-27 17:30:26.939: I/jPCT-AE(24090): glDeleteTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 47542ns
01-27 17:30:26.939: I/jPCT-AE(24090): glGenTextures(1, java.nio.IntToByteBufferAdapter, status: capacity=1 position=0 limit=1) took 20875ns
01-27 17:30:26.939: I/jPCT-AE(24090): glActiveTexture(33984) took 11708ns
01-27 17:30:26.939: I/jPCT-AE(24090): glBindTexture(3553, 2) took 17542ns
01-27 17:30:26.939: I/jPCT-AE(24090): glTexParameterx(3553, 10241, 9729) took 14792ns
01-27 17:30:26.939: I/jPCT-AE(24090): glTexParameterx(3553, 10240, 9729) took 12083ns
01-27 17:30:26.939: I/jPCT-AE(24090): glTexParameterx(3553, 10242, 10497) took 11250ns
01-27 17:30:26.939: I/jPCT-AE(24090): glTexParameterx(3553, 10243, 10497) took 12209ns
01-27 17:30:26.939: I/jPCT-AE(24090): glTexImage2D(3553, 0, 6408, 512, 512, 0, 6408, 5121, java.nio.ReadWriteHeapByteBuffer, status: capacity=1048576 position=0 limit=1048576) took 1400292ns
01-27 17:30:26.939: I/jPCT-AE(24090): glBindTexture(3553, 4) took 20167ns
01-27 17:30:26.939: I/jPCT-AE(24090): glBindTexture(3553, 2) took 13166ns
01-27 17:30:26.939: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 22875ns
01-27 17:30:26.939: I/jPCT-AE(24090): glEnableClientState(32884) took 14167ns
01-27 17:30:26.944: I/jPCT-AE(24090): glDisableClientState(32885) took 9042ns
01-27 17:30:26.944: I/jPCT-AE(24090): glClientActiveTexture(33984) took 11875ns
01-27 17:30:26.944: I/jPCT-AE(24090): glEnableClientState(32888) took 11375ns
01-27 17:30:26.944: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 16250ns
01-27 17:30:26.944: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 14417ns
01-27 17:30:26.944: I/jPCT-AE(24090): glEnableClientState(32886) took 14500ns
01-27 17:30:26.944: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 62625ns
01-27 17:30:26.944: I/jPCT-AE(24090): glEnable(2929) took 12375ns
01-27 17:30:26.944: I/jPCT-AE(24090): glMatrixMode(5889) took 7750ns
01-27 17:30:26.944: I/jPCT-AE(24090): glLoadIdentity() took 7375ns
01-27 17:30:26.944: I/jPCT-AE(24090): glFrustumf(-0.25, 0.25, -0.140625, 0.140625, 1.0, 10000.0) took 12416ns
01-27 17:30:26.944: I/jPCT-AE(24090): glEnable(2977) took 9875ns
01-27 17:30:26.944: I/jPCT-AE(24090): glEnable(2896) took 7709ns
01-27 17:30:26.944: I/jPCT-AE(24090): glEnable(2884) took 10292ns
01-27 17:30:26.944: I/jPCT-AE(24090): glActiveTexture(33984) took 12542ns
01-27 17:30:26.944: I/jPCT-AE(24090): glBindTexture(36197, 1) took 13083ns
01-27 17:30:26.944: I/jPCT-AE(24090): glMatrixMode(5888) took 8000ns
01-27 17:30:26.944: I/jPCT-AE(24090): glPushMatrix() took 6417ns
01-27 17:30:26.944: I/jPCT-AE(24090): glLoadIdentity() took 7542ns
01-27 17:30:26.944: I/jPCT-AE(24090): glLightModelfv(2899, [F@41d4ab90, 0) took 9292ns
01-27 17:30:26.944: I/jPCT-AE(24090): glMaterialfv(1032, 5632, [F@41d4abb8, 0) took 8875ns
01-27 17:30:26.944: I/jPCT-AE(24090): glLoadMatrixf([F@41d0c228, 0) took 8375ns
01-27 17:30:26.944: I/jPCT-AE(24090): glEnableClientState(32885) took 11292ns
01-27 17:30:26.944: I/jPCT-AE(24090): glBindBuffer(34962, 5) took 13125ns
01-27 17:30:26.944: I/jPCT-AE(24090): glNormalPointer(5132, 12, 0) took 12458ns
01-27 17:30:26.944: I/jPCT-AE(24090): glEnableClientState(32884) took 10125ns
01-27 17:30:26.944: I/jPCT-AE(24090): glBindBuffer(34962, 6) took 11458ns
01-27 17:30:26.944: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, 0) took 12209ns
01-27 17:30:26.949: I/jPCT-AE(24090): glDisableClientState(32886) took 56542ns
01-27 17:30:26.949: I/jPCT-AE(24090): glClientActiveTexture(33984) took 19042ns
01-27 17:30:26.949: I/jPCT-AE(24090): glEnableClientState(32888) took 15958ns
01-27 17:30:26.949: I/jPCT-AE(24090): glBindBuffer(34962, 7) took 17834ns
01-27 17:30:26.949: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, 0) took 17125ns
01-27 17:30:26.949: I/jPCT-AE(24090): glBindBuffer(34962, 0) took 11458ns
01-27 17:30:26.949: I/jPCT-AE(24090): glBindBuffer(34963, 8) took 11167ns
01-27 17:30:26.949: I/jPCT-AE(24090): glDrawElements(4, 6, 5123, 0) took 55375ns
01-27 17:30:26.949: I/jPCT-AE(24090): glBindBuffer(34963, 0) took 11792ns
01-27 17:30:26.949: I/jPCT-AE(24090): glMatrixMode(5888) took 20625ns
01-27 17:30:26.949: I/jPCT-AE(24090): glPopMatrix() took 13750ns
01-27 17:30:26.949: I/jPCT-AE(24090): glEnable(3042) took 18833ns
01-27 17:30:26.949: I/jPCT-AE(24090): glBlendFunc(770, 771) took 17125ns
01-27 17:30:26.949: I/jPCT-AE(24090): glDepthMask(false) took 14541ns
01-27 17:30:26.949: I/jPCT-AE(24090): glActiveTexture(33984) took 13667ns
01-27 17:30:26.949: I/jPCT-AE(24090): glBindTexture(3553, 3) took 18375ns
01-27 17:30:26.949: I/jPCT-AE(24090): glMatrixMode(5888) took 7375ns
01-27 17:30:26.949: I/jPCT-AE(24090): glPushMatrix() took 6875ns
01-27 17:30:26.949: I/jPCT-AE(24090): glLoadIdentity() took 7667ns
01-27 17:30:26.949: I/jPCT-AE(24090): glLightModelfv(2899, [F@41d4ab90, 0) took 8709ns
01-27 17:30:26.949: I/jPCT-AE(24090): glMaterialfv(1032, 5632, [F@41d4abb8, 0) took 8583ns
01-27 17:30:26.949: I/jPCT-AE(24090): glLoadMatrixf([F@41d0c228, 0) took 9875ns
01-27 17:30:26.954: I/jPCT-AE(24090): glEnableClientState(32885) took 11375ns
01-27 17:30:26.954: I/jPCT-AE(24090): glBindBuffer(34962, 1) took 15500ns
01-27 17:30:26.954: I/jPCT-AE(24090): glNormalPointer(5132, 12, 0) took 8834ns
01-27 17:30:26.954: I/jPCT-AE(24090): glEnableClientState(32884) took 12417ns
01-27 17:30:26.954: I/jPCT-AE(24090): glBindBuffer(34962, 2) took 14042ns
01-27 17:30:26.954: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, 0) took 14167ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisableClientState(32886) took 15708ns
01-27 17:30:26.954: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9917ns
01-27 17:30:26.954: I/jPCT-AE(24090): glEnableClientState(32888) took 11583ns
01-27 17:30:26.954: I/jPCT-AE(24090): glBindBuffer(34962, 3) took 11750ns
01-27 17:30:26.954: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, 0) took 13916ns
01-27 17:30:26.954: I/jPCT-AE(24090): glBindBuffer(34962, 0) took 10459ns
01-27 17:30:26.954: I/jPCT-AE(24090): glBindBuffer(34963, 4) took 10667ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDrawElements(4, 1374, 5123, 0) took 41084ns
01-27 17:30:26.954: I/jPCT-AE(24090): glBindBuffer(34963, 0) took 11625ns
01-27 17:30:26.954: I/jPCT-AE(24090): glMatrixMode(5888) took 7208ns
01-27 17:30:26.954: I/jPCT-AE(24090): glPopMatrix() took 7667ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisable(3042) took 13625ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDepthMask(true) took 9709ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisable(2884) took 10375ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisable(2896) took 7708ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisable(2977) took 7750ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisable(2884) took 10542ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisable(2896) took 7917ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisable(2977) took 9125ns
01-27 17:30:26.954: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 16958ns
01-27 17:30:26.954: I/jPCT-AE(24090): glEnableClientState(32884) took 10875ns
01-27 17:30:26.954: I/jPCT-AE(24090): glDisableClientState(32885) took 8333ns
01-27 17:30:26.954: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9375ns
01-27 17:30:26.954: I/jPCT-AE(24090): glEnableClientState(32888) took 8292ns
01-27 17:30:26.954: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 9542ns
01-27 17:30:26.959: I/jPCT-AE(24090): glMatrixMode(5888) took 8167ns
01-27 17:30:26.959: I/jPCT-AE(24090): glPushMatrix() took 6083ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLoadIdentity() took 7875ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLoadMatrixf([F@41d4afd8, 0) took 8500ns
01-27 17:30:26.959: I/jPCT-AE(24090): glEnableClientState(32884) took 10542ns
01-27 17:30:26.959: I/jPCT-AE(24090): glDisableClientState(32888) took 8084ns
01-27 17:30:26.959: I/jPCT-AE(24090): glDisableClientState(32885) took 7709ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLineWidth(1.0) took 10875ns
01-27 17:30:26.959: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15334ns
01-27 17:30:26.959: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 31417ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLineWidth(1.0) took 10125ns
01-27 17:30:26.959: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14459ns
01-27 17:30:26.959: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 22416ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLineWidth(1.0) took 9875ns
01-27 17:30:26.959: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15333ns
01-27 17:30:26.959: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21708ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLineWidth(1.0) took 9083ns
01-27 17:30:26.959: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14416ns
01-27 17:30:26.959: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21250ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLineWidth(1.0) took 10667ns
01-27 17:30:26.959: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14334ns
01-27 17:30:26.959: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20167ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLineWidth(1.0) took 9667ns
01-27 17:30:26.959: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14333ns
01-27 17:30:26.959: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20875ns
01-27 17:30:26.959: I/jPCT-AE(24090): glLineWidth(1.0) took 8709ns
01-27 17:30:26.964: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 37542ns
01-27 17:30:26.964: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21125ns
01-27 17:30:26.964: I/jPCT-AE(24090): glLineWidth(1.0) took 9125ns
01-27 17:30:26.964: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14500ns
01-27 17:30:26.964: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 20167ns
01-27 17:30:26.964: I/jPCT-AE(24090): glLineWidth(1.0) took 9500ns
01-27 17:30:26.964: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 15042ns
01-27 17:30:26.964: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 21042ns
01-27 17:30:26.964: I/jPCT-AE(24090): glLineWidth(1.0) took 9125ns
01-27 17:30:26.964: I/jPCT-AE(24090): glVertexPointer(3, 5126, 12, java.nio.FloatToByteBufferAdapter, status: capacity=15 position=0 limit=15) took 14042ns
01-27 17:30:26.964: I/jPCT-AE(24090): glDrawArrays(3, 0, 5) took 19916ns
01-27 17:30:26.964: I/jPCT-AE(24090): glLineWidth(1.0) took 9375ns
01-27 17:30:26.964: I/jPCT-AE(24090): glMatrixMode(5888) took 7458ns
01-27 17:30:26.964: I/jPCT-AE(24090): glPopMatrix() took 7750ns
01-27 17:30:26.964: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 14208ns
01-27 17:30:26.964: I/jPCT-AE(24090): glEnableClientState(32884) took 12167ns
01-27 17:30:26.964: I/jPCT-AE(24090): glDisableClientState(32885) took 8083ns
01-27 17:30:26.964: I/jPCT-AE(24090): glClientActiveTexture(33984) took 9334ns
01-27 17:30:26.964: I/jPCT-AE(24090): glEnableClientState(32888) took 10000ns
01-27 17:30:26.964: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 14958ns
01-27 17:30:26.964: I/jPCT-AE(24090): glEnable(3042) took 13125ns
01-27 17:30:26.964: I/jPCT-AE(24090): glBlendFunc(770, 771) took 12583ns
01-27 17:30:26.964: I/jPCT-AE(24090): glDisable(2929) took 11209ns
01-27 17:30:26.964: I/jPCT-AE(24090): glActiveTexture(33984) took 11625ns
01-27 17:30:26.964: I/jPCT-AE(24090): glBindTexture(3553, 4) took 11708ns
01-27 17:30:26.964: I/jPCT-AE(24090): glVertexPointer(3, 5132, 12, java.nio.IntToByteBufferAdapter, status: capacity=1800 position=0 limit=1800) took 14041ns
01-27 17:30:26.964: I/jPCT-AE(24090): glEnableClientState(32884) took 10875ns
01-27 17:30:26.964: I/jPCT-AE(24090): glDisableClientState(32885) took 10791ns
01-27 17:30:26.969: I/jPCT-AE(24090): glClientActiveTexture(33984) took 10250ns
01-27 17:30:26.969: I/jPCT-AE(24090): glEnableClientState(32888) took 11917ns
01-27 17:30:26.969: I/jPCT-AE(24090): glTexCoordPointer(2, 5132, 8, java.nio.IntToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 15375ns
01-27 17:30:26.969: I/jPCT-AE(24090): glColorPointer(4, 5132, 16, java.nio.IntToByteBufferAdapter, status: capacity=2400 position=0 limit=2400) took 15375ns
01-27 17:30:26.969: I/jPCT-AE(24090): glEnableClientState(32886) took 12958ns
01-27 17:30:26.969: I/jPCT-AE(24090): glDrawElements(4, 12, 5123, java.nio.ShortToByteBufferAdapter, status: capacity=1200 position=0 limit=1200) took 38084ns
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 27, 2014, 05:03:01 pm
i stripped down the vertex shader to below and got a totally transparent texture. although not sure what i do is nonsense or not, i'm a total shader dumb ???

Code: [Select]
uniform mat4 uMVPMatrix;
uniform mat4 uSTMatrix;
uniform mat4 textureMatrix;
attribute vec4 position;
attribute vec4 aTextureCoord;
varying vec2 texCoord;

void main() {
  gl_Position = uMVPMatrix * position;
  //texCoord = (uSTMatrix * aTextureCoord).xy;
 
  texCoord = (textureMatrix * vec4(texCoord, 0, 1)).xy;
 
}
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 27, 2014, 05:51:40 pm
Your modifcations to the fragment shader in the first post are exactly what i meant. Too bad, that it doesn't seem to work or at least doesn't render anything but black. Removing the "* vertexColor" was a good idea. If everything is still black, it comes black out of the texture.

I've no idea. To me, everything looks fine now. I would try some other things, but i don't expect much...anyway:


Doesn't work? Try this:


Code: [Select]
TextureInfo ti=new TextureInfo(<jPCT-ID of external texture>);
ti.add(<jPCT-ID of some dummy texture>, <some blending mode>);
ti.add(<jPCT-ID of some dummy texture>, <some blending mode>);

Still no luck? How about this:


Code: [Select]
#extension GL_OES_EGL_image_external : require

precision mediump float;

uniform sampler2D textureUnit0;
uniform samplerExternalOES textureUnit1;

varying vec2 texCoord;
varying vec4 vertexColor;

void main() {
gl_FragColor= texture2D(textureUnit1, texCoord) * vertexColor;
}


Code: [Select]
TextureInfo ti=new TextureInfo(<jPCT-ID of some dummy texture>);
ti.add(<jPCT-ID of external texture>, <some blending mode>);
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 27, 2014, 07:39:04 pm
thx for the suggestions, i'll try them tomorrow.

did you look at the sample code i've sent? it uses that texture, assigns it to a plane and draws it with gl strips. it works, so maybe it gives a clue?
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 27, 2014, 08:29:04 pm
... so maybe it gives a clue?
No, at least nothing that's obvious. It's all basic stuff and i fail to see the difference between that and what i'm doing. Just to be sure: You are setting the filter and clamping attributes in the same way:

Code: [Select]
        GLES20.glTexParameterf(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MIN_FILTER,
                GLES20.GL_NEAREST);
        GLES20.glTexParameterf(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MAG_FILTER,
                GLES20.GL_LINEAR);
        GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_S,
                GLES20.GL_CLAMP_TO_EDGE);
        GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_T,
                GLES20.GL_CLAMP_TO_EDGE);

?

If nothing else helps, can you provide a test case so that i can see for myself?
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 27, 2014, 08:37:26 pm
Just to be sure: You are setting the filter and clamping attributes in the same way?
yes, i'm using the exact same class, just not calling draw on it.

Quote
If nothing else helps, can you provide a test case so that i see for myself?
sure :)
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 28, 2014, 01:07:03 pm
solved :) the problem turned out to be a threading issue, a race condition between the camera thread and the GL thread.

To me, everything looks fine now.
yes, this setup is working. either with  "* vertexColor" or not.

camera image set as texture to the plane. seems as this is a NPOT texture, no need for UV adjustment.
(http://s27.postimg.org/45jrt07oz/camera_texture_5_scaled.png)

should I do anything special to cleanup this texture? how does TextureManager.flush() and freeMemory() effect this?

thx:)
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 28, 2014, 02:08:17 pm
sky maze's trailer playing on the plane :)
(http://s16.postimg.org/74zxcqdk5/camera_texture_7_scaled.png)

edit: updated the screenshot with a non-debug one
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on January 28, 2014, 08:04:55 pm
Have you tried to apply it to something more interesting, like a sphere or some animated mesh?

Title: Re: assign a GL texture to an Object3D
Post by: raft on January 28, 2014, 08:09:58 pm
no, but it should work. i dont see any reason for the opposite.

possibly because of quad cores, it has almost no effect on FPS
Title: Re: assign a GL texture to an Object3D
Post by: raft on January 28, 2014, 08:38:55 pm
if you or someone else has an interesting idea, i'm more than ready to listen. we'll possibly make a demo depending on all this AR stuff but i'm not sure about the scenario yet.

maybe open the detected marker (indeed this is called markerless i suppose) as a door to inside of screen into a tunnel to give some sense of 3d? or even a creature climbing up that tunnel?
Title: Re: assign a GL texture to an Object3D
Post by: raft on December 26, 2014, 04:17:04 pm
Skyrim360 (http://www.skyrim360.com/)'s panoramic video playing in MediaPlayer and assigned as a texture to an inverted sphere. then that sphere is rendered via jPCT on top of Google cardboard (https://www.google.com/get/cardboard/) api. the results are below. by wearing a Google cardboard like glasses, one can interactively watch the movie and look around in the movie.

as it's the video gives a feeling of 3d. it will be even better if the video was recorded stereoscopically, ie: for both eyes separately.

some scene:
(http://s27.postimg.org/hc6ex2a83/panaromic_video_cardboard_scaled.png)

looking down:
(http://s24.postimg.org/upauy06md/panaromic_video_cardboard_2_scaled.png)
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on December 30, 2014, 11:06:37 am
Interesting. Is there anything special to do when combining jPCT and the card board API?
Title: Re: assign a GL texture to an Object3D
Post by: Irony on December 30, 2014, 12:06:10 pm
Hey raft,
I am trying to achieve something similiar to you: streaming mediaplayer video to a texture. It seems I am stuck exactly here:

Quote
argh :-[ you're right. texture was never initialized.

Can you give me a hint how you are doing the initialization now?
I create the texture object, set up the frameavailable listener, etc., but all I see is some random texture instead of the video ouput.
The playback itself works, as I can view the video in fullscreen, but it's not visible on JPCT's texture.
Title: Re: assign a GL texture to an Object3D
Post by: raft on December 30, 2014, 12:27:43 pm
Interesting. Is there anything special to do when combining jPCT and the card board API?
no actually. it's pretty straightforward. cardboard API gives you eye information and wants you to render for it. it also takes care of distorting the view for rounded sides. the code for rendering each eye is something like:

Code: [Select]
Matrix camBack = world.getCamera().getBack();
camBack.setIdentity();

tempTransform.setDump(eye.getEyeView());
tempTransform.transformToGL();
camBack.matMul(tempTransform);

world.getCamera().setBack(camBack);

frameBuffer.clear(RGBColor.BLACK);

world.renderScene(frameBuffer);
world.draw(frameBuffer);

frameBuffer.display();

in its own sample, eye also has a float[16] getPerspective method which takes near and far plane distances as parameters. i dont use it. I guess jPCT handles it itself for perspective distortion, right? (although i'm not sure about this)
Title: Re: assign a GL texture to an Object3D
Post by: raft on December 30, 2014, 12:42:48 pm
Can you give me a hint how you are doing the initialization now?
I create the texture object, set up the frameavailable listener, etc., but all I see is some random texture instead of the video ouput.
The playback itself works, as I can view the video in fullscreen, but it's not visible on JPCT's texture.
you should call TextureRender.surfaceCreated method at onSurfaceChanged method or similar. you can find a link to TextureRender class in earlier posts of this thread.

these are in my onSurfaceChanged method: (indeed externalTexture is created in onCreate but that doesnt matter that much)
Code: [Select]
textureRenderer.surfaceCreated();

surfaceTexture = new SurfaceTexture(textureRenderer.getTextureId());

Surface surface = new Surface(surfaceTexture);
mediaPlayer.setSurface(surface);
//surface.release();

Texture externalTexture = new Texture(32, 32);
externalTexture.setExternalId(textureRenderer.getTextureId(), GLES11Ext.GL_TEXTURE_EXTERNAL_OES);

TextureManager.getInstance().addTexture("video_texture", externalTexture);

surfaceTexture.setOnFrameAvailableListener(new SurfaceTexture.OnFrameAvailableListener() {

@Override
public void onFrameAvailable(SurfaceTexture surfaceTexture) {
synchronized(someLock) {
            frameAvailable = true;
}
}
});

than in draw method:
Code: [Select]
synchronized(someLock) {
    if (frameAvailable) {
        int error = GLES20.glGetError();
if (error != 0) {
    Logger.w("gl error before updateTexImage" + error + ": " + GLU.gluErrorString(error));
}
surfaceTexture.updateTexImage();
frameAvailable = false;
//            System.out.println("updateTexImage");
        }
}

note the synchronization above is very important. because onFrameAvailable is not called again if you dont consume the last frame by calling surfaceTexture.updateTexImage()
Title: Re: assign a GL texture to an Object3D
Post by: Irony on December 30, 2014, 12:50:29 pm
Thank you! At first glance, I am doing all of this already. It's probably some tiny bit of code elsewhere that's not right... *putting on glasses, brewing some more coffee*
Title: Re: assign a GL texture to an Object3D
Post by: raft on February 03, 2015, 04:20:18 pm
You can download a working sample here (http://aptalkarga.com/download/Cardboard.zip)
Title: Re: assign a GL texture to an Object3D
Post by: Irony on February 03, 2015, 04:51:30 pm
Thank you so much, I will try it out as soon as I find the time.
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on February 03, 2015, 05:18:14 pm
Nice! The video doesn't play on every run on my Nexus 4, but don't see any suspicious log output either. However, going back and selecting it again usually fixes the problem. Is this zip file here to stay? If so, do you mind if i link to in the wiki as an example?
Title: Re: assign a GL texture to an Object3D
Post by: raft on February 03, 2015, 05:26:25 pm
sure np.

dont have any idea why video doesnt start sometimes.
Title: Re: assign a GL texture to an Object3D
Post by: PaniX on May 24, 2015, 02:48:27 pm
Just a small question... Did you were able to get LenseFlare to work?
Any idea how I could use the function in the StereoRenderer?

Just interested, no need to hack something together for a noob like me :)
Title: Re: assign a GL texture to an Object3D
Post by: raft on May 25, 2015, 01:52:06 pm
no, never tried it
Title: Re: assign a GL texture to an Object3D
Post by: ginopeloso on April 06, 2017, 11:18:06 am
I'm trying to follow this post to play a video as a texture over an Object3D. Is it necessary to create my own shader?
In other OpenGL projects I already played a video as a texture, here I'm having problems.

I do these steps:

Code: [Select]
        // create a new texture
        int[] textureIdVector = new int[1];
        GLES20.glGenTextures(1, textureIdVector, 0);
        textureId = textureIdVector[0];
        GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
        GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, GL_LINEAR);

        // create an external texture
        Texture externalTexture = new Texture(32, 32);
        externalTexture.setExternalId(textureId, GLES11Ext.GL_TEXTURE_EXTERNAL_OES);
        TextureManager.getInstance().addTexture("video", externalTexture);

        // create the SurfaceTexture, the Surface and the MediaPlayer
        surfaceTexture = new SurfaceTexture(textureId);
        Surface surface = new Surface(surfaceTexture);
        mediaPlayer.setSurface(surface);
        surfaceTexture.setOnFrameAvailableListener(new SurfaceTexture.OnFrameAvailableListener() {
            @Override
            public void onFrameAvailable(SurfaceTexture surfaceTexture) {
                // in the onDrawFrame method I call "surfaceTexture.updateTexImage()"
                updateVideoTexture = true;
            }
        });

        // tv is my Object3D on which I want to apply the video texture
        tv.setTexture("video");

        mediaPlayer.setLooping(true);
        mediaPlayer.start();

If I try with an image as texture it works good, since I don't have an external texture but just a jpct's Texture object. This way, instead, I see nothing. The video correctly starts, because I hear its sound but I can't see it over the object.

Another thing, when I create the SurfaceTexture passing the OpenGL's texture id I see this message in logs:
Code: [Select]
W/Adreno-EGL: <qeglDrvAPI_eglQueryContext:4370>: EGL_BAD_ATTRIBUTE
Can someone say where is the problem in all this code?
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on April 06, 2017, 12:29:09 pm
Have you tried to disable mip-mapping on the texture like

Code: [Select]
externalTexture.setMipmap(false);

?
Title: Re: assign a GL texture to an Object3D
Post by: ginopeloso on April 06, 2017, 03:21:17 pm
Just now, the result is the same  :-\
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on April 06, 2017, 05:20:20 pm
Where are you doing these steps? You have to do them in the thread that executes the onDrawFrame() method, not in some other (setup-)thread.
Title: Re: assign a GL texture to an Object3D
Post by: ginopeloso on April 06, 2017, 05:23:28 pm
Yes, I'm doing those exactly there.

Code: [Select]
        public void onDrawFrame(GL10 gl) {
            if (textureId < 0) {
                startPlayer();  // this method contains the SurfaceTexture initialization (the previous post's code)
            }

            if (updateVideoTexture) {
                surfaceTexture.updateTexImage();
                updateVideoTexture = false;
            }

            ...
        }
Title: Re: assign a GL texture to an Object3D
Post by: EgonOlsen on April 06, 2017, 08:14:29 pm
Ok...So, when exactly does this error message appear?
Title: Re: assign a GL texture to an Object3D
Post by: ginopeloso on April 07, 2017, 07:51:30 am
Actually I just tried with an image and the message appears too, but the image is correctly shown as texture (the image has been applied with a JPCT Texture), so the problem is not that error but something else related to the external texture.
Title: Re: assign a GL texture to an Object3D
Post by: raft on April 07, 2017, 04:07:47 pm
video not appearing part may also be related to a thread synchronization issue. in particular if you dont consume a video frame new update never arrives (as far as I remember)
Title: Re: assign a GL texture to an Object3D
Post by: ginopeloso on April 07, 2017, 05:14:17 pm
After setting mipmap, created the FrameBuffer without the GL10 param and calling
Code: [Select]
mGLView.setEGLContextClientVersion(2); now I see a black texture rather than the video, but no errors... also added synchronization when updating the texture but still nothing. I feel I'm near!  :'(