Has anyone found a method for passing data back to the framework from renderscript? It's clear from the documentation that modifications to allocated memory are one-way operations i.e. modifications in the framework can be sync'd to the script, but not vice versa.
I have been experimenting with rsSendToClient() which allows you to specify a void * buffer to the client-side. This actually works, but unfortunately the RenderScript.RSMessageHandler class defines its data member as an int[] rather than a byte[] making it difficult to pass any data other than integers. Is there a better way of getting data out of renderscript? 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