From 0272f1dfd797f44db7b528f0f2c0b19b200256a6 Mon Sep 17 00:00:00 2001 From: Robert Ly Date: Fri, 13 Jan 2012 10:07:20 -0800 Subject: [PATCH] cherrypick from master - add overview description for RS API reference Change-Id: Id5554c607ad4c435f92bfa939e4ce4833a638f62 Change-Id: Iff4b4bd171818208bb3be46dd3ef7e91b6cbd80f --- libs/rs/scriptc/rs_allocation.rsh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/libs/rs/scriptc/rs_allocation.rsh b/libs/rs/scriptc/rs_allocation.rsh index 154a09910e5af..1cb3a99a7f89a 100644 --- a/libs/rs/scriptc/rs_allocation.rsh +++ b/libs/rs/scriptc/rs_allocation.rsh @@ -14,6 +14,31 @@ * limitations under the License. */ +/*! \mainpage notitle + * + * Renderscript is a high-performance runtime that provides graphics rendering and + * compute operations at the native level. Renderscript code is compiled on devices + * at runtime to allow platform-independence as well. + * This reference documentation describes the Renderscript runtime APIs, which you + * can utilize to write Renderscript code in C99. The Renderscript header + * files are automatically included for you, except for the rs_graphics.rsh header. If + * you are doing graphics rendering, include the graphics header file like this: + * + * #include "rs_graphics.rsh" + * + * To use Renderscript, you need to utilize the Renderscript runtime APIs documented here + * as well as the Android framework APIs for Renderscript. + * For documentation on the Android framework APIs, see the + * android.renderscript package reference. + * For more information on how to develop with Renderscript and how the runtime and + * Android framework APIs interact, see the Renderscript + * developer guide and the + * Renderscript samples. + */ + /** @file rs_allocation.rsh * \brief Allocation routines *