diff options
author | Jason Sams <jsams@google.com> | 2013-03-06 18:09:08 -0800 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2013-03-06 18:09:08 -0800 |
commit | cadfac411e6690e39de36c4f9e94deb9b7d2d08e (patch) | |
tree | a90c59b83250bf4c1aa18227c790337aadad79e8 /cpu_ref/rsd_cpu.h | |
parent | d533c4c66510f2b83b9397607756479d79baae10 (diff) | |
download | rs-cadfac411e6690e39de36c4f9e94deb9b7d2d08e.tar.gz |
Sync with compat lib.
Change-Id: Id8ace103814cf126f0d157100d1d4a12cc0b8664
Diffstat (limited to 'cpu_ref/rsd_cpu.h')
-rw-r--r-- | cpu_ref/rsd_cpu.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cpu_ref/rsd_cpu.h b/cpu_ref/rsd_cpu.h index c9b8a717..1eee7deb 100644 --- a/cpu_ref/rsd_cpu.h +++ b/cpu_ref/rsd_cpu.h @@ -79,8 +79,9 @@ public: virtual Allocation * getAllocationForPointer(const void *ptr) const = 0; virtual ~CpuScript() {} +#ifndef RS_COMPATIBILITY_LIB virtual void * getRSExecutable() = 0; - +#endif }; typedef CpuScript * (* script_lookup_t)(Context *, const Script *s); @@ -97,8 +98,11 @@ public: static pthread_key_t getThreadTLSKey(); static RsdCpuReference * create(Context *c, uint32_t version_major, - uint32_t version_minor, sym_lookup_t lfn, script_lookup_t slfn, - bcc::RSLinkRuntimeCallback pLinkRuntimeCallback = NULL); + uint32_t version_minor, sym_lookup_t lfn, script_lookup_t slfn +#ifndef RS_COMPATIBILITY_LIB + , bcc::RSLinkRuntimeCallback pLinkRuntimeCallback = NULL +#endif + ); virtual ~RsdCpuReference(); virtual void setPriority(int32_t priority) = 0; |