[android-developers] Re: Avoid copying allocation to buffer (Renderscript)

2016-06-10 Thread 'Stephen Hines' via Android Developers
You must still do the copy, even (especially) if you are using USAGE_SHARED. It is not guaranteed to actually share memory for the bitmaps, so you are indeed not doing the necessary copies on the Nexux 6. Steve On Friday, June 10, 2016 at 3:18:32 AM UTC-7, Ruppesh Nalwaya wrote: > > Hi > I star

[android-developers] Re: RenderScript Only Runs On Rooted Device ?

2013-04-23 Thread Stephen Hines
On Monday, April 22, 2013 12:22:18 AM UTC-7, Bo Zhou wrote: > Hi folks, > > I'm dealing with a strange problem about RenderScript. I made several > simple RenderScript module for computation, and all of them could be > executed on emulator and rooted device except unrooted 4.2 device, a mobile

[android-developers] Re: Problems of dynamic loading downloaded precompiled renderscript source files

2013-01-17 Thread Stephen Hines
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 bitcod