summaryrefslogtreecommitdiffstats
path: root/libs/rs/RenderScript.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2012-02-23 17:14:39 -0800
committerJason Sams <rjsams@android.com>2012-02-23 17:14:39 -0800
commit170dc848aefe17d830d08cd29b332730498003d2 (patch)
tree7b178c2bf625d1e63c7f74ba83c89f6de81402dc /libs/rs/RenderScript.cpp
parenta23c4ebe04e97a4f5c4e25fa6c9f37c6244ebfe4 (diff)
downloadframeworks_base-170dc848aefe17d830d08cd29b332730498003d2.zip
frameworks_base-170dc848aefe17d830d08cd29b332730498003d2.tar.gz
frameworks_base-170dc848aefe17d830d08cd29b332730498003d2.tar.bz2
More RS cpp binding work. All classes for
compute should be partially implemented at this time. Change-Id: Iddf9405cc69513b708975d20783395f0be04c680
Diffstat (limited to 'libs/rs/RenderScript.cpp')
-rw-r--r--libs/rs/RenderScript.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/rs/RenderScript.cpp b/libs/rs/RenderScript.cpp
index 58d1ce1..39f1024 100644
--- a/libs/rs/RenderScript.cpp
+++ b/libs/rs/RenderScript.cpp
@@ -76,6 +76,13 @@ bool RenderScript::init(int targetApi) {
return true;
}
+void RenderScript::throwError(const char *err) const {
+ ALOGE("RS CPP error: %s", err);
+ int * v = NULL;
+ v[0] = 0;
+}
+
+
void * RenderScript::threadProc(void *vrsc) {
RenderScript *rs = static_cast<RenderScript *>(vrsc);
size_t rbuf_size = 256;