garywang wrote:Dear all,
I try to use the renderscript in my emulator with Android 2.1 platform.
I already push the libRS.so and librs_jni.so into system\lib on my emulator. The Launcher2/Film can to be running successfully but its OpenGL ES can't be compatible (some error related to EGL on log...), The Launcher2's AllAppView is shown incorrectly (Some effect of rendering is not shown correctly)
Can anyone gives me any suggestion on how to develop RenderScript-related application in emulator? I don't have a real development phone...
Thanks!
Gary
I found it happened error when choosing config with "EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT"
I also list the error log
...
E/RenderScript( 228): rsAssert failed: rsc->checkVersion2_0() || (!(w & (w-1)) && !(h & (h-1))), in frameworks/base/libs/rs/rsAllocation.cpp at 489
E/RenderScript( 228): GL Error, 0x500, from VertexArray::setupGL
I/ARMAssembler( 228): generated scanline__00000177:13545441_00009001_00000000 [156 ipp] (212 ins) at [0x49f4c8:0x49f818] in 5987633 ns
E/RenderScript( 228): GL Error, 0x500, from VertexArray::setupGL
I/ARMAssembler( 228): generated scanline__00000177:13545441_00009008_00000000 [117 ipp] (171 ins) at [0x4a0d20:0x4a0fcc] in 5227480 ns
E/RenderScript( 228): GL Error, 0x500, from VertexArray::setupGL
E/RenderScript( 228): GL Error, 0x500, from VertexArray::setupGL
...
Thanks!