Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kkl

Pages: 1 ... 12 13 [14] 15 16 ... 20
196
Support / Re: Could i use pre-compressed ETC1 texture file in jPCT-AE?
« on: January 17, 2014, 03:03:02 pm »
If we have in-memory cache, not only we can save more in main memory, but save memory in gpu too. I think it's a win-win solution with abit more effort to do it. I had many crash reports with my app due to out of memory issue. However, compressing it makes it look bad on resume (due to the stutter). It would be nice if we have both compressed data to reduce chances of memory issue to match industry standard as close as possible. What do you think?

I can't replicate back the 1285 error anymore. It happens pretty randomly, I think. I'll try use Config.internalMipmapCreation if I get back that error. Thanks alot on the solution.

197
Support / Re: Could i use pre-compressed ETC1 texture file in jPCT-AE?
« on: January 17, 2014, 12:19:17 pm »
in some devices, it returns 1285 glerror... Making textures smaller fixes that error.. I assume it's gl out of memory issue. But smaller texture makes the app looks bad..

if keeping etc1 cache and raw texture data at the same time, we might run into out of memory issue for main memory. Just out of curiosity, why do we still need the raw texture data when we have etc1 cache?

198
Support / Re: Could i use pre-compressed ETC1 texture file in jPCT-AE?
« on: January 17, 2014, 11:46:51 am »
Sorry Egon, that was part of the logs. I think I should show you the logs starting from beginning of resume:

Code: [Select]
01-17 18:39:38.106: I/jPCT-AE(12453): onCreate
01-17 18:39:38.106: I/jPCT-AE(12453): Copying data from master Activity!
01-17 18:39:38.281: I/jPCT-AE(12453): Initializing GL20 render pipeline...
01-17 18:39:38.286: I/jPCT-AE(12453): Loading default shaders !
01-17 18:39:38.286: I/jPCT-AE(12453): 0 shaders in replacement map!
01-17 18:39:38.286: I/jPCT-AE(12453): Default fragment shader is: /defaultFragmentShader.src
01-17 18:39:38.286: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.291: I/jPCT-AE(12453): Text file from InputStream loaded...2008 bytes
01-17 18:39:38.291: I/jPCT-AE(12453): Default vertex shader is: /defaultVertexShader.src
01-17 18:39:38.291: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.291: I/jPCT-AE(12453): Text file from InputStream loaded...4496 bytes
01-17 18:39:38.291: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:38.296: I/jPCT-AE(12453): Handles of 210003: 4/44/5
01-17 18:39:38.296: I/jPCT-AE(12453): Loading default shaders (Tex0)!
01-17 18:39:38.296: I/jPCT-AE(12453): 0 shaders in replacement map!
01-17 18:39:38.296: I/jPCT-AE(12453): Default fragment shader is: /defaultFragmentShader.src
01-17 18:39:38.301: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.301: I/jPCT-AE(12453): Text file from InputStream loaded...201 bytes
01-17 18:39:38.306: I/jPCT-AE(12453): Default vertex shader is: /defaultVertexShader.src
01-17 18:39:38.306: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.306: I/jPCT-AE(12453): Text file from InputStream loaded...4020 bytes
01-17 18:39:38.306: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:38.311: I/jPCT-AE(12453): Handles of 420006: 1/41/2
01-17 18:39:38.311: I/jPCT-AE(12453): Loading default shaders (Tex1)!
01-17 18:39:38.311: I/jPCT-AE(12453): 0 shaders in replacement map!
01-17 18:39:38.311: I/jPCT-AE(12453): Default fragment shader is: /defaultFragmentShader.src
01-17 18:39:38.311: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.311: I/jPCT-AE(12453): Text file from InputStream loaded...871 bytes
01-17 18:39:38.311: I/jPCT-AE(12453): Default vertex shader is: /defaultVertexShader.src
01-17 18:39:38.316: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.316: I/jPCT-AE(12453): Text file from InputStream loaded...4390 bytes
01-17 18:39:38.316: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:38.321: I/jPCT-AE(12453): Handles of 630009: 2/44/3
01-17 18:39:38.321: I/jPCT-AE(12453): Loading default shaders (Tex0Light0)!
01-17 18:39:38.321: I/jPCT-AE(12453): 0 shaders in replacement map!
01-17 18:39:38.321: I/jPCT-AE(12453): Default fragment shader is: /defaultFragmentShader.src
01-17 18:39:38.321: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.326: I/jPCT-AE(12453): Text file from InputStream loaded...201 bytes
01-17 18:39:38.326: I/jPCT-AE(12453): Default vertex shader is: /defaultVertexShader.src
01-17 18:39:38.326: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.326: I/jPCT-AE(12453): Text file from InputStream loaded...1293 bytes
01-17 18:39:38.331: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:38.331: I/jPCT-AE(12453): Handles of 840012: 1/11/2
01-17 18:39:38.331: I/jPCT-AE(12453): Loading default shaders (Fog)!
01-17 18:39:38.331: I/jPCT-AE(12453): 0 shaders in replacement map!
01-17 18:39:38.331: I/jPCT-AE(12453): Default fragment shader is: /defaultFragmentShader.src
01-17 18:39:38.336: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.336: I/jPCT-AE(12453): Text file from InputStream loaded...328 bytes
01-17 18:39:38.336: I/jPCT-AE(12453): Default vertex shader is: /defaultVertexShader.src
01-17 18:39:38.336: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.341: I/jPCT-AE(12453): Text file from InputStream loaded...4267 bytes
01-17 18:39:38.341: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:38.341: I/jPCT-AE(12453): Handles of 1050015: 1/44/2
01-17 18:39:38.341: I/jPCT-AE(12453): Loading default shaders (FogLight0)!
01-17 18:39:38.341: I/jPCT-AE(12453): 0 shaders in replacement map!
01-17 18:39:38.341: I/jPCT-AE(12453): Default fragment shader is: /defaultFragmentShader.src
01-17 18:39:38.346: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.346: I/jPCT-AE(12453): Text file from InputStream loaded...328 bytes
01-17 18:39:38.346: I/jPCT-AE(12453): Default vertex shader is: /defaultVertexShader.src
01-17 18:39:38.346: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.351: I/jPCT-AE(12453): Text file from InputStream loaded...1608 bytes
01-17 18:39:38.351: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:38.351: I/jPCT-AE(12453): Handles of 1260018: 1/15/2
01-17 18:39:38.351: I/jPCT-AE(12453): Loading default shaders (Tex0Amb)!
01-17 18:39:38.351: I/jPCT-AE(12453): 0 shaders in replacement map!
01-17 18:39:38.351: I/jPCT-AE(12453): Default fragment shader is: /defaultFragmentShader.src
01-17 18:39:38.351: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.351: I/jPCT-AE(12453): Text file from InputStream loaded...199 bytes
01-17 18:39:38.351: I/jPCT-AE(12453): Default vertex shader is: /defaultVertexShader.src
01-17 18:39:38.356: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.356: I/jPCT-AE(12453): Text file from InputStream loaded...757 bytes
01-17 18:39:38.356: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:38.361: I/jPCT-AE(12453): Handles of 1470021: 1/5/2
01-17 18:39:38.361: I/jPCT-AE(12453): Loading default shaders (Depth)!
01-17 18:39:38.361: I/jPCT-AE(12453): 0 shaders in replacement map!
01-17 18:39:38.361: I/jPCT-AE(12453): Default fragment shader is: /defaultFragmentShader.src
01-17 18:39:38.361: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.361: I/jPCT-AE(12453): Text file from InputStream loaded...745 bytes
01-17 18:39:38.361: I/jPCT-AE(12453): Default vertex shader is: /defaultVertexShader.src
01-17 18:39:38.361: I/jPCT-AE(12453): Loading file from InputStream
01-17 18:39:38.366: I/jPCT-AE(12453): Text file from InputStream loaded...248 bytes
01-17 18:39:38.366: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:38.366: I/jPCT-AE(12453): Handles of 1680024: 1/1/-1
01-17 18:39:38.366: I/jPCT-AE(12453): GL20 render pipeline initialized!
01-17 18:39:38.366: I/jPCT-AE(12453): OpenGL vendor:     Imagination Technologies
01-17 18:39:38.366: I/jPCT-AE(12453): OpenGL renderer:   PowerVR SGX 544MP
01-17 18:39:38.366: I/jPCT-AE(12453): OpenGL version:    OpenGL ES 2.0 build 1.10@2359475
01-17 18:39:38.366: I/jPCT-AE(12453): OpenGL renderer initialized (using 3 texture stages)
01-17 18:39:38.401: D/dalvikvm(12453): GC_FOR_ALLOC freed 2936K, 30% free 23690K/33712K, paused 26ms, total 26ms
01-17 18:39:38.401: I/jPCT-AE(12453): Visibility lists disposed!
01-17 18:39:38.421: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:38.851: I/jPCT-AE(12453): Loaded etc1_0_4123548221216.tex from cache!
01-17 18:39:38.851: I/jPCT-AE(12453): ...done in 433/2ms
01-17 18:39:38.861: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:38.951: I/jPCT-AE(12453): Loaded etc1_1_257776529543.tex from cache!
01-17 18:39:38.951: I/jPCT-AE(12453): ...done in 91/1ms
01-17 18:39:38.951: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:38.981: I/jPCT-AE(12453): Loaded etc1_2_16129588444.tex from cache!
01-17 18:39:38.981: I/jPCT-AE(12453): ...done in 27/1ms
01-17 18:39:38.981: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:38.991: I/jPCT-AE(12453): Loaded etc1_3_1011498809.tex from cache!
01-17 18:39:38.991: I/jPCT-AE(12453): ...done in 9/1ms
01-17 18:39:38.991: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:38.996: I/jPCT-AE(12453): Loaded etc1_4_64379363.tex from cache!
01-17 18:39:38.996: I/jPCT-AE(12453): ...done in 4/1ms
01-17 18:39:38.996: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:38.996: I/jPCT-AE(12453): Loaded etc1_5_4240592.tex from cache!
01-17 18:39:38.996: I/jPCT-AE(12453): ...done in 2/2ms
01-17 18:39:39.001: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.001: I/jPCT-AE(12453): Loaded etc1_6_345575.tex from cache!
01-17 18:39:39.001: I/jPCT-AE(12453): ...done in 3/2ms
01-17 18:39:39.001: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.001: I/jPCT-AE(12453): Loaded etc1_7_45756.tex from cache!
01-17 18:39:39.006: I/jPCT-AE(12453): ...done in 2/2ms
01-17 18:39:39.006: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.006: I/jPCT-AE(12453): Loaded etc1_8_19828.tex from cache!
01-17 18:39:39.006: I/jPCT-AE(12453): ...done in 2/2ms
01-17 18:39:39.031: D/dalvikvm(12453): GC_FOR_ALLOC freed 2212K, 28% free 24591K/33712K, paused 23ms, total 23ms
01-17 18:39:39.031: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.031: I/jPCT-AE(12453): Loaded etc1_9_16972.tex from cache!
01-17 18:39:39.031: I/jPCT-AE(12453): ...done in 2/1ms
01-17 18:39:39.031: I/jPCT-AE(12453): Recompiling shader because of context change!
01-17 18:39:39.031: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:39.036: I/jPCT-AE(12453): Handles of 1890027: 4/44/5
01-17 18:39:39.036: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.036: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.041: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.041: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.046: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.146: I/jPCT-AE(12453): Loaded etc1_0_257770371217.tex from cache!
01-17 18:39:39.146: I/jPCT-AE(12453): ...done in 98/2ms
01-17 18:39:39.146: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.171: I/jPCT-AE(12453): Loaded etc1_1_16127827525.tex from cache!
01-17 18:39:39.171: I/jPCT-AE(12453): ...done in 24/0ms
01-17 18:39:39.171: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.181: I/jPCT-AE(12453): Loaded etc1_2_1011031159.tex from cache!
01-17 18:39:39.181: I/jPCT-AE(12453): ...done in 7/0ms
01-17 18:39:39.181: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.181: I/jPCT-AE(12453): Loaded etc1_3_64252403.tex from cache!
01-17 18:39:39.181: I/jPCT-AE(12453): ...done in 3/0ms
01-17 18:39:39.181: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.181: I/jPCT-AE(12453): Loaded etc1_4_4210195.tex from cache!
01-17 18:39:39.186: I/jPCT-AE(12453): ...done in 1/1ms
01-17 18:39:39.186: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.186: I/jPCT-AE(12453): Loaded etc1_5_336056.tex from cache!
01-17 18:39:39.186: I/jPCT-AE(12453): ...done in 1/0ms
01-17 18:39:39.186: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.186: I/jPCT-AE(12453): Loaded etc1_6_42259.tex from cache!
01-17 18:39:39.186: I/jPCT-AE(12453): ...done in 1/1ms
01-17 18:39:39.186: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.186: I/jPCT-AE(12453): Loaded etc1_7_17453.tex from cache!
01-17 18:39:39.186: I/jPCT-AE(12453): ...done in 0/0ms
01-17 18:39:39.186: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.186: I/jPCT-AE(12453): Loaded etc1_8_15131.tex from cache!
01-17 18:39:39.186: I/jPCT-AE(12453): ...done in 1/1ms
01-17 18:39:39.186: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.186: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.216: D/dalvikvm(12453): GC_FOR_ALLOC freed 3247K, 31% free 23568K/33712K, paused 22ms, total 22ms
01-17 18:39:39.226: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.596: I/jPCT-AE(12453): Loaded etc1_0_4123540738510.tex from cache!
01-17 18:39:39.596: I/jPCT-AE(12453): ...done in 371/3ms
01-17 18:39:39.601: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.696: I/jPCT-AE(12453): Loaded etc1_1_257774338073.tex from cache!
01-17 18:39:39.696: I/jPCT-AE(12453): ...done in 94/1ms
01-17 18:39:39.701: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.726: I/jPCT-AE(12453): Loaded etc1_2_16128532852.tex from cache!
01-17 18:39:39.726: I/jPCT-AE(12453): ...done in 26/2ms
01-17 18:39:39.726: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.756: D/dalvikvm(12453): GC_FOR_ALLOC freed 1999K, 27% free 24641K/33712K, paused 21ms, total 21ms
01-17 18:39:39.756: I/jPCT-AE(12453): Loaded etc1_3_1011100967.tex from cache!
01-17 18:39:39.756: I/jPCT-AE(12453): ...done in 31/23ms
01-17 18:39:39.756: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.761: I/jPCT-AE(12453): Loaded etc1_4_64252694.tex from cache!
01-17 18:39:39.761: I/jPCT-AE(12453): ...done in 4/1ms
01-17 18:39:39.761: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.766: I/jPCT-AE(12453): Loaded etc1_5_4202930.tex from cache!
01-17 18:39:39.766: I/jPCT-AE(12453): ...done in 1/0ms
01-17 18:39:39.766: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.766: I/jPCT-AE(12453): Loaded etc1_6_333947.tex from cache!
01-17 18:39:39.766: I/jPCT-AE(12453): ...done in 1/1ms
01-17 18:39:39.766: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.766: I/jPCT-AE(12453): Loaded etc1_7_41815.tex from cache!
01-17 18:39:39.766: I/jPCT-AE(12453): ...done in 0/0ms
01-17 18:39:39.766: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.766: I/jPCT-AE(12453): Loaded etc1_8_18475.tex from cache!
01-17 18:39:39.766: I/jPCT-AE(12453): ...done in 1/0ms
01-17 18:39:39.766: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.771: I/jPCT-AE(12453): Loaded etc1_9_16782.tex from cache!
01-17 18:39:39.771: I/jPCT-AE(12453): ...done in 1/1ms
01-17 18:39:39.771: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.771: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.776: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.871: I/jPCT-AE(12453): Loaded etc1_0_257781532288.tex from cache!
01-17 18:39:39.871: I/jPCT-AE(12453): ...done in 96/1ms
01-17 18:39:39.876: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.901: I/jPCT-AE(12453): Loaded etc1_1_16130942465.tex from cache!
01-17 18:39:39.901: I/jPCT-AE(12453): ...done in 26/1ms
01-17 18:39:39.901: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.911: I/jPCT-AE(12453): Loaded etc1_2_1011851863.tex from cache!
01-17 18:39:39.911: I/jPCT-AE(12453): ...done in 8/1ms
01-17 18:39:39.911: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.911: I/jPCT-AE(12453): Loaded etc1_3_64468099.tex from cache!
01-17 18:39:39.911: I/jPCT-AE(12453): ...done in 2/1ms
01-17 18:39:39.911: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.911: I/jPCT-AE(12453): Loaded etc1_4_4264604.tex from cache!
01-17 18:39:39.916: I/jPCT-AE(12453): ...done in 2/1ms
01-17 18:39:39.916: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.916: I/jPCT-AE(12453): Loaded etc1_5_350879.tex from cache!
01-17 18:39:39.916: I/jPCT-AE(12453): ...done in 1/0ms
01-17 18:39:39.916: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.916: I/jPCT-AE(12453): Loaded etc1_6_46378.tex from cache!
01-17 18:39:39.916: I/jPCT-AE(12453): ...done in 1/1ms
01-17 18:39:39.916: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.916: I/jPCT-AE(12453): Loaded etc1_7_18736.tex from cache!
01-17 18:39:39.916: I/jPCT-AE(12453): ...done in 1/1ms
01-17 18:39:39.916: I/jPCT-AE(12453): Compressing texture to ETC1...
01-17 18:39:39.921: I/jPCT-AE(12453): Loaded etc1_8_15343.tex from cache!
01-17 18:39:39.921: I/jPCT-AE(12453): ...done in 1/1ms
01-17 18:39:39.921: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.921: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.921: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.921: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.931: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.931: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.951: D/dalvikvm(12453): GC_FOR_ALLOC freed 3893K, 31% free 23569K/33712K, paused 13ms, total 13ms
01-17 18:39:39.971: I/jPCT-AE(12453): Recompiling shader because of context change!
01-17 18:39:39.971: I/jPCT-AE(12453): Compiling shader program!
01-17 18:39:39.971: I/jPCT-AE(12453): Handles of 2100030: 4/44/5
01-17 18:39:39.971: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.971: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.976: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.976: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.976: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.981: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.981: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.981: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.981: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:39.981: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:39.996: D/dalvikvm(12453): GC_FOR_ALLOC freed 2737K, 31% free 23569K/33712K, paused 14ms, total 14ms
01-17 18:39:40.006: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.006: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.011: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.011: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.011: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.011: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.011: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.011: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.016: I/jPCT-AE(12453): [ 1389955180019 ] - WARNING: Texture's size is 128/8, but textures should be square for OpenGL ES2.0! This may result in a black texture!
01-17 18:39:40.016: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.016: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.016: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.016: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.016: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.016: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.016: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.016: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.016: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.016: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.021: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.021: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.021: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.021: I/jPCT-AE(12453): Creating buffers...
01-17 18:39:40.021: I/jPCT-AE(12453): OpenGL context has changed(2)...recovering for renderer 3/2!
01-17 18:39:40.021: I/jPCT-AE(12453): Creating buffers...

Seems like it loads a lot of compressed textures but I set compression on for only 7 textures. I'm using the Hello World project from JPCT.

199
Support / Re: Could i use pre-compressed ETC1 texture file in jPCT-AE?
« on: January 17, 2014, 02:47:50 am »
Yes, we are talking about setTextureCompression(boolean). Just a little thought; if etc1 data is kept in main memory, should the original bitmap data be cleared from memory? Or else, it would have two copies of same texture data in main memory which would likely to cause out of memory problem, IMHO.

BTW, here's the log when live wallpaper resumed.
Code: [Select]
01-17 09:39:47.966: I/jPCT-AE(24292): OpenGL context has changed(2)...recovering for renderer 2/1!
01-17 09:39:47.966: I/jPCT-AE(24292): Creating buffers...
01-17 09:39:47.971: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.081: I/jPCT-AE(24292): Loaded etc1_0_257781532288.tex from cache!
01-17 09:39:48.081: I/jPCT-AE(24292): ...done in 109/1ms
01-17 09:39:48.086: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.111: I/jPCT-AE(24292): Loaded etc1_1_16130942465.tex from cache!
01-17 09:39:48.111: I/jPCT-AE(24292): ...done in 26/1ms
01-17 09:39:48.111: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.121: I/jPCT-AE(24292): Loaded etc1_2_1011851863.tex from cache!
01-17 09:39:48.121: I/jPCT-AE(24292): ...done in 9/1ms
01-17 09:39:48.121: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.126: I/jPCT-AE(24292): Loaded etc1_3_64468099.tex from cache!
01-17 09:39:48.126: I/jPCT-AE(24292): ...done in 3/1ms
01-17 09:39:48.126: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.126: I/jPCT-AE(24292): Loaded etc1_4_4264604.tex from cache!
01-17 09:39:48.126: I/jPCT-AE(24292): ...done in 1/1ms
01-17 09:39:48.126: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.126: I/jPCT-AE(24292): Loaded etc1_5_350879.tex from cache!
01-17 09:39:48.126: I/jPCT-AE(24292): ...done in 1/1ms
01-17 09:39:48.131: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.131: I/jPCT-AE(24292): Loaded etc1_6_46378.tex from cache!
01-17 09:39:48.131: I/jPCT-AE(24292): ...done in 1/1ms
01-17 09:39:48.131: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.131: I/jPCT-AE(24292): Loaded etc1_7_18736.tex from cache!
01-17 09:39:48.131: I/jPCT-AE(24292): ...done in 2/2ms
01-17 09:39:48.131: I/jPCT-AE(24292): Compressing texture to ETC1...
01-17 09:39:48.131: I/jPCT-AE(24292): Loaded etc1_8_15343.tex from cache!
01-17 09:39:48.131: I/jPCT-AE(24292): ...done in 0/0ms

200
Hi,

You may wanna try GestureDetector for panning and ScaleGestureDetector for zooming.
GestureDetector gives you the values of the moved distance. Multiply the values by a constant to fit to your camera moving distance.

Hope that helps ;)

201
Support / Re: Could i use pre-compressed ETC1 texture file in jPCT-AE?
« on: January 16, 2014, 03:22:44 pm »
Yes. Without compression, the resume is almost instant, but stutter a short while with compression. Probably  I'm compressing few big textures, and it's slow to open file IO for multiple files. Is it possible to keep etc1 raw data in memory (if we use the compression)? I think the live wallpaper would resume instantly that way.

202
Support / Re: Could i use pre-compressed ETC1 texture file in jPCT-AE?
« on: January 15, 2014, 03:23:48 pm »
Yes, I did set the virtualizer to TextureManager. It's noticeably faster than not setting the cacheCompressTextures, but it still stutters when resuming the wallpaper.

203
Support / Re: Could i use pre-compressed ETC1 texture file in jPCT-AE?
« on: January 15, 2014, 01:46:09 pm »
It would be great if etc1 can be cached in memory and be used during runtime. I had tried it on live wallpaper and I notice it's extremely slow (a short stutter) when live wallpaper resumed from sleep. Converting etc1 during runtime after context change makes the live wallpaper looking quite bad. Is there any plan for this feature in the future? Would appreciate it a lot for live wallpaper case.

p/s: Using cacheCompressedTextures still looks slow during live wallpaper resume.

204
Support / Re: object pivot
« on: December 11, 2013, 01:55:26 pm »
Hi,

How did you make it work? I un-commented the code and it still crashed on Blender v2.69. A lot of errors after that.

205
Bugs / Re: 3ds-File Import - Pivot-Point not working
« on: December 11, 2013, 01:49:09 pm »
I just checked Blender v2.69 3ds export script and it seems like they removed the code that adds pivot point into 3ds file. According to the comment in the script, it says the code crashes Blender, and it really does (tested). I'm looking around for the fix now~ Do you have any idea?

206
Support / Re: mergeObjects drawcall
« on: October 24, 2013, 05:11:14 pm »
What are the other variables? It would be great if I know all of them to optimize performance. It's even better if I can get the number of drawcalls per frame, but I know it's kinda hard, isn't it?

207
Support / Re: Mipmap black texture
« on: October 24, 2013, 04:09:57 pm »
It's still the same when Config.internalMipmapCreation=true. I guess I have to squeeze everything into one square image.

208
Support / Re: mergeObjects drawcall
« on: October 24, 2013, 04:05:19 pm »
Got it. Reconfirm: Does it mean if there are >10 objects, but only with 2 textures, it should have 2 drawcalls?

209
Support / mergeObjects drawcall
« on: October 24, 2013, 02:51:52 pm »
Hi Egon,

Does mergeObjects() reduce drawcalls? If 10 objects are merged into one, is there going to be one drawcall or 10 drawcalls?

210
Support / Mipmap black texture
« on: October 24, 2013, 02:12:34 pm »
Hi Egon,

I turned mipmap on for 256x128 texture and it turned out a black texture. If mipmap is disabled, the texture is fine. Mipmap also works fine  on 512x512 texture. Any idea what happened exactly?

Pages: 1 ... 12 13 [14] 15 16 ... 20