summaryrefslogtreecommitdiff
path: root/libs/hwui/TreeInfo.h
diff options
context:
space:
mode:
author Tyler Freeman <fuego@google.com> 2023-11-08 17:26:20 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-11-08 17:26:20 +0000
commit898fd94fb8c571a623ca047fd4c0b2a0de62fa33 (patch)
tree5c7b9949792a089fe8d5f001cf469fa799a3dd5d /libs/hwui/TreeInfo.h
parentf527647494c2fdab2688a4b8265c3c3e25205b1e (diff)
parent335677493d7cf19bf8bcbe9d61b902562c2c6b0a (diff)
Merge changes from topic "forcedark-ignoreoutoutrendernode" into main
* changes: fix(force invert): don't let devs opt-out of force dark when force invert is on refactor(force invert): use enum/intdef for force dark type in setForceDark() functions
Diffstat (limited to 'libs/hwui/TreeInfo.h')
-rw-r--r--libs/hwui/TreeInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/TreeInfo.h b/libs/hwui/TreeInfo.h
index ea25f68d7170..88449f3a3572 100644
--- a/libs/hwui/TreeInfo.h
+++ b/libs/hwui/TreeInfo.h
@@ -24,6 +24,7 @@
#include "Properties.h"
#include "SkSize.h"
#include "SkippedFrameInfo.h"
+#include "utils/ForceDark.h"
#include "utils/Macros.h"
namespace android {
@@ -97,6 +98,7 @@ public:
bool updateWindowPositions = false;
int disableForceDark;
+ ForceDarkType forceDarkType = ForceDarkType::NONE;
const SkISize screenSize;