commonsys-intf: display: Add support to query display wb capabilities
Change-Id: I2370df1cf4db99f353e047d2db50a5d416d7650b
diff --git a/libdisplayconfig/DisplayConfig.h b/libdisplayconfig/DisplayConfig.h
index 17b6421..5d54d3f 100644
--- a/libdisplayconfig/DisplayConfig.h
+++ b/libdisplayconfig/DisplayConfig.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2017 The Linux Foundation. All rights reserved.
+* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -83,6 +83,10 @@
float min_luminance = 0.0f;
};
+struct WriteBackCapabilities {
+ bool isWbUbwcSupported;
+};
+
//=============================================================================
// The functions below run in the client pocess and wherever necessary
// do a binder call to HWC to get/set data.
@@ -104,6 +108,7 @@
int getHDRCapabilities(int dpy, DisplayHDRCapabilities *caps);
int setCameraLaunchStatus(uint32_t on);
bool displayBWTransactionPending();
+int32_t getWriteBackCapabilities(WriteBackCapabilities *caps);
} // namespace display