summaryrefslogtreecommitdiffstats
path: root/libs/rs/RenderScript.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-10-06 13:58:47 -0700
committerJason Sams <rjsams@android.com>2009-10-06 13:58:47 -0700
commit516c31911578db8ce53529483c3ded918ac7dc6b (patch)
treeeee49f301e720ddfa249375abf611d550a0fba5d /libs/rs/RenderScript.h
parentf7ae77cd67f1a3993b8e56c1af4720a7adf4e69d (diff)
downloadframeworks_base-516c31911578db8ce53529483c3ded918ac7dc6b.zip
frameworks_base-516c31911578db8ce53529483c3ded918ac7dc6b.tar.gz
frameworks_base-516c31911578db8ce53529483c3ded918ac7dc6b.tar.bz2
Implement data push from scripts. Fixes the problem where apps would have to poll to monitor a scripts state.
Fix bug in StoreState where state could be overridden by the default unless the script used more than one state. Change only impacts renderscript and renderscript apps.
Diffstat (limited to 'libs/rs/RenderScript.h')
-rw-r--r--libs/rs/RenderScript.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/RenderScript.h b/libs/rs/RenderScript.h
index 87a2f4a..9b04393 100644
--- a/libs/rs/RenderScript.h
+++ b/libs/rs/RenderScript.h
@@ -59,6 +59,10 @@ RsContext rsContextCreate(RsDevice, void *, uint32_t version, bool useDepth);
void rsContextDestroy(RsContext);
void rsObjDestroyOOB(RsContext, void *);
+uint32_t rsContextGetMessage(RsContext, void *data, size_t *receiveLen, size_t bufferLen, bool wait);
+void rsContextInitToClient(RsContext);
+void rsContextDeinitToClient(RsContext);
+
#define RS_MAX_TEXTURE 2
enum RsDataType {