diff options
| author | Stephen Hines <srhines@google.com> | 2015-05-20 18:09:57 -0700 |
|---|---|---|
| committer | Stephen Hines <srhines@google.com> | 2015-05-22 15:50:43 -0700 |
| commit | 0e5d9f637a9ed4207582edb51e200912d8bf54cb (patch) | |
| tree | b1b2896cfe11bcf6b2658162f9eddb8f24bbe850 /cpu_ref/rsd_cpu.h | |
| parent | a66bf6ae6b8dc17f445090ebefd3c6cf9f4685c0 (diff) | |
| download | android_frameworks_rs-0e5d9f637a9ed4207582edb51e200912d8bf54cb.tar.gz android_frameworks_rs-0e5d9f637a9ed4207582edb51e200912d8bf54cb.tar.bz2 android_frameworks_rs-0e5d9f637a9ed4207582edb51e200912d8bf54cb.zip | |
Update RS driver to support extraction of global variable properties.
Bug: 20306487
This patch adds some new enums to classify properties (such as "static",
"constant", and "pointer") for global variables. The reference driver
is also extended to provide methods to examine these properties (when
the bitcode is compiled with bcc).
Change-Id: I331756f8a8990caf5ebdf85599060434a7cfdcb7
(cherry picked from commit 5aa018cc36e589b07674957714d27ae3d1fa1c4e)
Diffstat (limited to 'cpu_ref/rsd_cpu.h')
| -rw-r--r-- | cpu_ref/rsd_cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu_ref/rsd_cpu.h b/cpu_ref/rsd_cpu.h index 6bfd9131..0eed22c0 100644 --- a/cpu_ref/rsd_cpu.h +++ b/cpu_ref/rsd_cpu.h @@ -97,6 +97,8 @@ public: virtual const void * getGlobalAddress(int i) const = 0; // Returns the size (in bytes) of the global variable at index i. virtual size_t getGlobalSize(int i) const = 0; + // Returns the properties of the global variable at index i. + virtual uint32_t getGlobalProperties(int i) const = 0; virtual ~CpuScript() {} }; |
