summaryrefslogtreecommitdiffstats
path: root/docs/html/guide
diff options
context:
space:
mode:
authorRobert Ly <robertly@google.com>2012-04-10 14:23:37 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-10 14:23:37 -0700
commit876b7b876e6ebb08979cf1a4861910215c4aae2b (patch)
treed3c40704869e01a1ba22038364eaf2f7b0f062d7 /docs/html/guide
parenta5894871b2a64f8ef80089a8ca962227c4d77155 (diff)
parentaf1667509775dc3f3d811ff15b2a28446ab3038f (diff)
downloadframeworks_base-876b7b876e6ebb08979cf1a4861910215c4aae2b.zip
frameworks_base-876b7b876e6ebb08979cf1a4861910215c4aae2b.tar.gz
frameworks_base-876b7b876e6ebb08979cf1a4861910215c4aae2b.tar.bz2
Merge "docs: fixing renderscript doc bug 6111834" into ics-mr1
Diffstat (limited to 'docs/html/guide')
-rw-r--r--docs/html/guide/topics/renderscript/index.jd6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/html/guide/topics/renderscript/index.jd b/docs/html/guide/topics/renderscript/index.jd
index 24b9750..b2d9f84 100644
--- a/docs/html/guide/topics/renderscript/index.jd
+++ b/docs/html/guide/topics/renderscript/index.jd
@@ -638,8 +638,10 @@ not generated.</p>
<code>rs_program_fragment</code> and <code>rs_allocation</code>, you have to obtain an object of the
corresponding Android framework class first and then call the <code>set</code> method for that
structure to bind the memory to the Renderscript runtime. You cannot directly manipulate these structures
-at the Renderscript runtime layer. Keep in mind that user-defined structures
-cannot contain pointers, so this restriction only applies to certain structures that are provided by Renderscript.
+at the Renderscript runtime layer. This restriction is not applicable to user-defined structures
+that contain pointers, because they cannot be exported to a reflected layer class
+in the first place. A compiler error is generated if you try to declare a non-static, global
+struct that contains a pointer.
</p>
<p>Renderscript also has support for pointers, but you must explicitly allocate the memory in your