Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f3da62c authored by Courtney Goeltzenleuchter's avatar Courtney Goeltzenleuchter
Browse files

Add Display P3 DATASPACE enums

Need to define Display-P3 dataspace.
Test: grep HAL_DATASPACE_DISPLAY_P3 system/core/include/system/graphics-base.h

Change-Id: I0a2015eb714f9e6f8c2e8cff40b008e58570ba55
parent 2a84d48e
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -1010,6 +1010,24 @@ enum Dataspace : int32_t {
    DCI_P3 = STANDARD_DCI_P3 | TRANSFER_GAMMA2_6 | RANGE_FULL,


    /*
     * Display P3
     *
     * Display P3 uses same primaries and white-point as DCI-P3
     * linear transfer function makes this the same as DCI_P3_LINEAR.
     */
    DISPLAY_P3_LINEAR = STANDARD_DCI_P3 | TRANSFER_LINEAR | RANGE_FULL,


    /*
     * Display P3
     *
     * Use same primaries and white-point as DCI-P3
     * but sRGB transfer function.
     */
    DISPLAY_P3 = STANDARD_DCI_P3 | TRANSFER_SRGB | RANGE_FULL,


    /*
     * Adobe RGB
     *