Android Render Script

Problems with Canvas, OpenGL, etc...

Android Render Script

Postby garywang » Tue Jun 01, 2010 6:41 am

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
User avatar
garywang
Junior Developer
Junior Developer
 
Posts: 19
Joined: Tue Sep 09, 2008 8:22 am
Location: Taipei, Taiwan

Top

Re: Android Render Script

Postby garywang » Wed Jun 02, 2010 4:33 am

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!
User avatar
garywang
Junior Developer
Junior Developer
 
Posts: 19
Joined: Tue Sep 09, 2008 8:22 am
Location: Taipei, Taiwan

Re: Android Render Script

Postby cokezero » Thu Jun 17, 2010 11:57 pm

I've been trying to get Launcher2 on 2.1 emulator. Have had no success. Maybe you can give me some tips on how you did it and then maybe we can tackle your problem together.
cokezero
Freshman
Freshman
 
Posts: 4
Joined: Thu Jun 17, 2010 9:54 pm

Re: Android Render Script

Postby pvdl » Mon Mar 14, 2011 10:09 pm

Renderscript relies on real hardware. I don't think you'll be able to run it in the emulator.
pvdl
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Jul 30, 2010 7:06 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 6 guests