summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLong Ling <longling@google.com>2020-07-23 16:10:32 -0700
committerLong Ling <longling@google.com>2020-07-31 10:15:56 -0700
commit992929346924089ab4fe9ef372a2552d1abd2c3d (patch)
tree7c40dae9538311f663210204d76d6bd0a7268df8 /include
parent26f2471bcbd4c929d337a7240168f4108f6f113e (diff)
displaycolor: add dirty flag in stage data
Add a dirty flag indicating if the stage data has been changed in last Update call. Bug: 159753688 Change-Id: I765c6cda8413c956977caad914b777682f388790
Diffstat (limited to 'include')
-rw-r--r--include/displaycolor/displaycolor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/displaycolor/displaycolor.h b/include/displaycolor/displaycolor.h
index af1576a..e12abee 100644
--- a/include/displaycolor/displaycolor.h
+++ b/include/displaycolor/displaycolor.h
@@ -183,6 +183,8 @@ class IDisplayColorGeneric {
/// A generic stage in the display pipeline.
struct DisplayStage {
bool enable = false;
+ /// A flag indicating if the data has been changed in last Update call.
+ bool dirty = false;
};
virtual ~IDisplayColorGeneric() {}