diff options
-rw-r--r-- | include/displaycolor/displaycolor.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/displaycolor/displaycolor.h b/include/displaycolor/displaycolor.h index a5fbcc4..0856add 100644 --- a/include/displaycolor/displaycolor.h +++ b/include/displaycolor/displaycolor.h @@ -34,6 +34,7 @@ using android::hardware::graphics::common::V1_2::PixelFormat; /** * hwc/displaycolor interface history * + * 6.2.0.2022-05-18 Get calibrated serial number. * 6.1.0.2022-04-29 dim solid color layer * 6.0.0.2022-02-22 Get whether dimming in linear. * 5.0.0.2022-02-17 Add layer dim ratio. @@ -61,7 +62,7 @@ constexpr struct DisplayColorIntfVer { } kInterfaceVersion { 6, - 1, + 2, 0, }; @@ -409,6 +410,13 @@ class IDisplayColorGeneric { hwc::PixelFormat &pixel_format, hwc::Dataspace &dataspace, bool &dimming_linear) const = 0; + + /** + * @brief Get the serial number for the panel used during calibration. + * @param display to get the calibrated serial number. + * @return The calibrated serial number. + */ + virtual const std::string& GetCalibratedSerialNumber(DisplayType display) const = 0; }; extern "C" { |