summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuScript.h
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-03-13 15:04:58 -0700
committerTim Murray <timmurray@google.com>2014-03-13 15:11:47 -0700
commite195a3f57ace3b66d313a6ee88c6e93d5c9d87f4 (patch)
tree676532797d436adf9a28011d42946dd6b1776a29 /cpu_ref/rsCpuScript.h
parente02dc783d27f57c7e7c4db3fb24f208613465daf (diff)
downloadrs-e195a3f57ace3b66d313a6ee88c6e93d5c9d87f4.tar.gz
Make RS compile on ARM64.
bug 13280327 Change-Id: I79080c448ca17d0cba8df075737c22b24ce9a085
Diffstat (limited to 'cpu_ref/rsCpuScript.h')
-rw-r--r--cpu_ref/rsCpuScript.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuScript.h b/cpu_ref/rsCpuScript.h
index c8a73bb7..eeb38bf8 100644
--- a/cpu_ref/rsCpuScript.h
+++ b/cpu_ref/rsCpuScript.h
@@ -91,14 +91,19 @@ public:
virtual Allocation * getAllocationForPointer(const void *ptr) const;
+#ifndef FAKE_ARM64_BUILD
#ifndef RS_COMPATIBILITY_LIB
virtual void * getRSExecutable() { return mExecutable; }
#endif
+#else
+ virtual void* getRSExecutable() { return NULL; }
+#endif
protected:
RsdCpuReferenceImpl *mCtx;
const Script *mScript;
+#ifndef FAKE_ARM64_BUILD
#ifndef RS_COMPATIBILITY_LIB
int (*mRoot)();
int (*mRootExpand)();
@@ -127,6 +132,7 @@ protected:
size_t mExportedVariableCount;
size_t mExportedFunctionCount;
#endif
+#endif
Allocation **mBoundAllocs;
void * mIntrinsicData;