Re: [AD] OpenGL errors on Android |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
I don't have much to go on but there's this: you should destroy your shader before ACKNOWLEDGE_HALT but looks like you're doing it in on display found. I guess you're not actually using DISPLAY_LOST/FOUND on Android are you, just reusing Windows code? In any case everything should be released before acknowledging the halt.
Does these two look like a bug in my code, or in Allegro? What more can I do to investigate?I'm getting OpenGL errors when suspending/resuming my game from android_acknowledge_drawing_resume:And one more when I try to destroy/re-create a shader I'm using:
W Adreno-ES20: <__load_uniform_matrix:1091>: GL_INVALID_OPERATION
D libEGL : [glUniformMatrix4fv] 0x502
#00 pc 00017bb1 /system/lib/libEGL.so
#01 pc 0008de4f /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (_al_glsl_set_projview_matrix+14)
#02 pc 0008b4bb /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (ogl_update_transformation+86)
#03 pc 0008132d /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (android_acknowledge_drawing_resume+132)
#04 pc 002385cc /data/app/org.zxstudio.drdestructo2-1/lib/arm/libDrDestructo2.so (Game::Run()+4564)
#05 pc 0032a70c /data/app/org.zxstudio.drdestructo2-1/lib/arm/libDrDestructo2.so (main+2760)
#06 pc 00084055 /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (android_app_trampoline+124)
#07 pc 00054db1 /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (thread_func_trampoline+136)
#08 pc 0007e509 /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (thread_proc_trampoline+16)
#09 pc 0003f3ef /system/lib/libc.so (__pthread_start(void*)+30)
#10 pc 00019b43 /system/lib/libc.so (__start_thread+6)
Adreno-ES20: <core_glDeleteShader:170>: GL_INVALID_VALUE
libEGL : [glDeleteShader] 0x501
AllegroSurface: surfaceChanged (width=1794 height=1080)
#00 pc 00029bff /system/lib/libEGL.so
#01 pc 0008d699 /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (glsl_destroy_shader+48)
#02 pc 00054655 /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (al_destroy_shader+116)
#03 pc 0028db38 /data/app/org.zxstudio.drdestructo2-1/lib/arm/libDrDestructo2.so (GameStateLevel::CreateErasingShader()+44)
#04 pc 0028ebac /data/app/org.zxstudio.drdestructo2-1/lib/arm/libDrDestructo2.so (GameStateLevel::OnDisplayFound(IGameContext&)+24)
#05 pc 00238724 /data/app/org.zxstudio.drdestructo2-1/lib/arm/libDrDestructo2.so (Game::Run()+4908)
#06 pc 0032a70c /data/app/org.zxstudio.drdestructo2-1/lib/arm/libDrDestructo2.so (main+2760)
#07 pc 00084055 /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (android_app_trampoline+124)
#08 pc 00054db1 /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (thread_func_trampoline+136)
#09 pc 0007e509 /data/app/org.zxstudio.drdestructo2-1/lib/arm/liballegro_monolith.so (thread_proc_trampoline+16)
#10 pc 0003f3ef /system/lib/libc.so (__pthread_start(void*)+30)
#11 pc 00019b43 /system/lib/libc.so (__start_thread+6)
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |