From 170dc848aefe17d830d08cd29b332730498003d2 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Thu, 23 Feb 2012 17:14:39 -0800 Subject: More RS cpp binding work. All classes for compute should be partially implemented at this time. Change-Id: Iddf9405cc69513b708975d20783395f0be04c680 --- libs/rs/RenderScript.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libs/rs/RenderScript.cpp') diff --git a/libs/rs/RenderScript.cpp b/libs/rs/RenderScript.cpp index 58d1ce1594da..39f102437adf 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(vrsc); size_t rbuf_size = 256; -- cgit v1.2.3-59-g8ed1b