summaryrefslogtreecommitdiff
path: root/libs/rs/RenderScript.h
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2011-05-19 12:27:22 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-05-19 12:27:22 -0700
commit3a9e712aca65ac49e7155e98e5d6b815da76f94b (patch)
tree4d8ad0df7eb77a3e564c08999d001dd02889c520 /libs/rs/RenderScript.h
parent3c707256cf238354524a9cac2b539259328bb035 (diff)
parentd9d37cc1b6700923be5ae8c04fbb1b0effc7ab63 (diff)
Merge "Move context and device creation out of the spec file."
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