summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRobert Ly <robertly@google.com>2012-04-10 14:34:00 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-04-10 14:34:00 -0700
commitd7e4e482df8ddea0e027b00576a82c7336f37687 (patch)
tree973cd36437c8891eb25eda917cb0f254931aa609 /docs
parentf0cabba38bcb1aefad191915e214e836fa5ed2bd (diff)
parent12d80df0b276b5d7e3e56388c02108a3a1f864cb (diff)
downloadframeworks_base-d7e4e482df8ddea0e027b00576a82c7336f37687.zip
frameworks_base-d7e4e482df8ddea0e027b00576a82c7336f37687.tar.gz
frameworks_base-d7e4e482df8ddea0e027b00576a82c7336f37687.tar.bz2
am 12d80df0: am 86b6e26c: am 876b7b87: Merge "docs: fixing renderscript doc bug 6111834" into ics-mr1
* commit '12d80df0b276b5d7e3e56388c02108a3a1f864cb': docs: fixing renderscript doc bug 6111834
Diffstat (limited to 'docs')
-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