summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2015-05-13 23:42:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-13 23:42:42 +0000
commitc229bb1661a3d8d389438a7608670e5c45122e5d (patch)
tree1ed72c658de47a534c42fff9f393c09c00aaaf96
parent62e95b68ca2833d629737e83a68989d867ebfc78 (diff)
parent160622bf1ea33f56e6b2b02591a1301e223ed54e (diff)
downloadrs-c229bb1661a3d8d389438a7608670e5c45122e5d.tar.gz
Merge "Let vendor drivers access global-variable flags" into mnc-dev
-rw-r--r--cpu_ref/rsd_cpu.h14
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;
};