summaryrefslogtreecommitdiff
path: root/libs/rs/RenderScript.h
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2011-05-18 17:36:02 -0700
committer Jason Sams <rjsams@android.com> 2011-05-18 17:40:34 -0700
commitd9d37cc1b6700923be5ae8c04fbb1b0effc7ab63 (patch)
tree19c5686473b4ad6cdabcde8079cda5d81ac401c8 /libs/rs/RenderScript.h
parentb77c4e9c83e6c1c900a69d6755eb6f32e486a2a9 (diff)
Move context and device creation out of the spec file.
Change-Id: I79470d4fb9317bcad9d68921ce0c414aa133f3cb
Diffstat (limited to 'libs/rs/RenderScript.h')
-rw-r--r--libs/rs/RenderScript.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/rs/RenderScript.h b/libs/rs/RenderScript.h
index f4e3f5737bb8..3f2d67a440de 100644
--- a/libs/rs/RenderScript.h
+++ b/libs/rs/RenderScript.h
@@ -49,6 +49,12 @@ void rsaTypeGetNativeData(RsContext, RsType, uint32_t *typeData, uint32_t typeDa
void rsaElementGetNativeData(RsContext, RsElement, uint32_t *elemData, uint32_t elemDataSize);
void rsaElementGetSubElements(RsContext, RsElement, uint32_t *ids, const char **names, uint32_t dataSize);
+RsDevice rsDeviceCreate();
+void rsDeviceDestroy(RsDevice dev);
+void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value);
+RsContext rsContextCreate(RsDevice dev, uint32_t version);
+RsContext rsContextCreateGL(RsDevice dev, uint32_t version, RsSurfaceConfig sc, uint32_t dpi);
+
#ifdef ANDROID_RS_SERIALIZE