Can you download, compile, and execute OpenGL shaders?
On Thursday, January 17, 2013 10:38:30 PM UTC-6, Stephen Hines wrote: > > Unfortunately there is no way to dynamically download, compile, and > execute Renderscript bitcode in Android. Even with a small fix I made to > the reflected ScriptC constructors (allowing you to eliminate the res/raw + > filename, and only pass the first argument), you still need to have the > bitcode files in the raw resources for the apk. > > Steve > > On Wednesday, January 9, 2013 3:32:20 PM UTC-8, wave wrote: >> >> I have a problem on dynamic loading pre-compiled renderscript source >> files (XXXX.bc, Script_XXXX.java) which are downloaded from web. I want to >> load pre-compiled renderscript source files (XXXX.bc, Script_XXXX.java) at >> runtime by dynamic class loading. However,ScriptC(RenderScript rs, >> Resources resources, int resourceID), the constructor of ScriptC requires a >> resource ID. As the renderscript source files are downloaded, there are no >> ways to provide resource ID to constructor. Is there any other solutions I >> could find to solve this problem? Thanks. >> >> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en