I'm a PhD student currently working with Renderscript and though
various pieces of documentation exist as well as some examples, some
parts are lacking documentation.

In particular I've a question about how the rsForEach function with
the rs_script_call_t* argument works. In the examples only the other
rsForEach function is used, so that doesn't help me. I'd like to
change the xStart and xEnd of my array and experiment with the
different RS_FOR_EACH_STRATEGYs. I understand that I've to construct a
rs_script_call_t struct and set the fields to the proper values.
However, any attempt to use this rsForEach call result in a SIGSEGV
and a coredump.

In the rs_script_call struct (in rs_math.rsh):
- What are the xStart, xEnd, yStart, yEnd, zStart, zEnd values
referring to? Indices or pointers?
- What are the arrayStart and arrayEnd values referring to? Indices or
pointers?
- What are the default values of these?

Is there any more documentation (or examples) that explain how to
properly use the rsForEach function with the rs_script_call_t*
argument?

I'm hoping that someone can help me, or forward me to somebody else
that can give me some answers. I'm very enthusiastic about the
Renderscript environment, and I'm hoping to experiment with it some
more!

Kind Regards,

Roelof Kemp

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to