Native RenderScript APIs
Your RenderScript code has access to a limited set of APIs as it cannot simply call APIs from the NDK or C library. The RenderScript APIs are defined in six header files, located in the SDK's platform/android-xx/renderscript/include
(where xx is the API level, for example, 13):
- rs_types.rsh
- rs_core.rsh
- rs_cl.rsh
- rs_math.rsh
- rs_graphics.rsh
- rs_time.rsh
In Ice Cream Sandwich, the RenderScript APIs are defined in 12 header files. In addition to the six header files above, the following six files were added:
- rs_allocation.rsh
- rs_atomic.rsh
- rs_debug.rsh
- rs_matrix.rsh
- rs_object.rsh
- rs_quaternion.rsh
Again, as online documentation for RenderScript is currently quite scant, it is recommended you review these files. One of the ...
Get Pro Android Apps Performance Optimization now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.