diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-05-13 23:42:41 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-13 23:42:42 +0000 |
commit | c229bb1661a3d8d389438a7608670e5c45122e5d (patch) | |
tree | 1ed72c658de47a534c42fff9f393c09c00aaaf96 | |
parent | 62e95b68ca2833d629737e83a68989d867ebfc78 (diff) | |
parent | 160622bf1ea33f56e6b2b02591a1301e223ed54e (diff) | |
download | rs-c229bb1661a3d8d389438a7608670e5c45122e5d.tar.gz |
Merge "Let vendor drivers access global-variable flags" into mnc-dev
-rw-r--r-- | cpu_ref/rsd_cpu.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpu_ref/rsd_cpu.h b/cpu_ref/rsd_cpu.h index 84528281..adca82fb 100644 --- a/cpu_ref/rsd_cpu.h +++ b/cpu_ref/rsd_cpu.h @@ -147,6 +147,20 @@ public: RSSetupCompilerCallback pSetupCompilerCallback) = 0; virtual RSSetupCompilerCallback getSetupCompilerCallback() const = 0; #endif + + // Set to true if we should embed global variable information in the code. + virtual void setEmbedGlobalInfo(bool v) = 0; + + // Returns true if we should embed global variable information in the code. + virtual bool getEmbedGlobalInfo() const = 0; + + // Set to true if we should skip constant (immutable) global variables when + // potentially embedding information about globals. + virtual void setEmbedGlobalInfoSkipConstant(bool v) = 0; + + // Returns true if we should skip constant (immutable) global variables when + // potentially embedding information about globals. + virtual bool getEmbedGlobalInfoSkipConstant() const = 0; }; |