diff options
author | Jorim Jaggi <jjaggi@google.com> | 2018-04-04 23:07:35 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2018-04-06 12:12:07 +0000 |
commit | 767e25ed613201d93d293a4c8ead5a21c0fb2b22 (patch) | |
tree | f1285c54d4e411f0a9eaa55096a4025f7b9353c3 /libs/hwui/Properties.h | |
parent | ddeaefb546c15f26bf7d4372a0d3e000463c7a5e (diff) |
Add ability to change context priority of RT GL context
Test: Use method, observe GPU preemption behavior
Bug: 75985430
Change-Id: Idc08d37f8c95f52c5aab7edf09c0cbff72b8482d
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r-- | libs/hwui/Properties.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h index 81a36574a097..764c50259540 100644 --- a/libs/hwui/Properties.h +++ b/libs/hwui/Properties.h @@ -271,6 +271,8 @@ public: ANDROID_API static bool debuggingEnabled; ANDROID_API static bool isolatedProcess; + ANDROID_API static int contextPriority; + private: static ProfileType sProfileType; static bool sDisableProfileBars; |