summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC.h
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-08-01 15:02:34 -0700
committerStephen Hines <srhines@google.com>2011-08-03 18:46:56 -0700
commit4382467a80dd12c6362d57edca7f2367f7ae877c (patch)
treef91d338f48444ccb373040ba356910c3fc52c8df /libs/rs/rsScriptC.h
parent00451ed2d1f21945766bc0c59e762ef39cb391b8 (diff)
downloadframeworks_base-4382467a80dd12c6362d57edca7f2367f7ae877c.zip
frameworks_base-4382467a80dd12c6362d57edca7f2367f7ae877c.tar.gz
frameworks_base-4382467a80dd12c6362d57edca7f2367f7ae877c.tar.bz2
Start using bcinfo components within librs.
BUG=4942491 Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
Diffstat (limited to 'libs/rs/rsScriptC.h')
-rw-r--r--libs/rs/rsScriptC.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/rs/rsScriptC.h b/libs/rs/rsScriptC.h
index 5c191d9..c65a5bf 100644
--- a/libs/rs/rsScriptC.h
+++ b/libs/rs/rsScriptC.h
@@ -21,6 +21,9 @@
#include "RenderScriptEnv.h"
+#ifndef ANDROID_RS_SERIALIZE
+#include "bcinfo/BitcodeTranslator.h"
+#endif
// ---------------------------------------------------------------------------
namespace android {
@@ -61,6 +64,10 @@ public:
void setupScript(Context *);
void setupGLState(Context *);
Script * setTLS(Script *);
+ private:
+#ifndef ANDROID_RS_SERIALIZE
+ bcinfo::BitcodeTranslator *BT;
+#endif
};
class ScriptCState {