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

Commit e54e2382 authored by Craig Donner's avatar Craig Donner
Browse files

Add support for BLOB format to HardwareBuffer.

Test: updated CTS test to check for error conditions if the blob dimensions are
bad.
Bug: 34050596

Change-Id: I48e78fa3f133f6283737ade78bdf35094981aef9
parent 6cf6af02
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -66,7 +66,13 @@ enum {
     *   Vulkan: VK_FORMAT_R16G16B16A16_SFLOAT
     *   OpenGL ES: GL_RGBA16F
     */
    AHARDWAREBUFFER_FORMAT_R16G16B16A16_SFLOAT = 5,
    AHARDWAREBUFFER_FORMAT_R16G16B16A16_SFLOAT = 0x16,

    /**
     * An opaque binary blob format that must have height 1, with width equal to
     * the buffer size in bytes.
     */
    AHARDWAREBUFFER_FORMAT_BLOB                = 0x21,
};

enum {