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

Commit f73f5f2b authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Add RGBA_F16 to the AndroidBitmapFormat (NDK)

Bug: 135133301
Test: Id904c8cb4b22505635744ab271a639ace24ddbab

Update AndroidBitmapFormat to keep up with Bitmap.Config.

Change-Id: I3c17faf174b109b7c31c2eb5d1249bc881923b10
parent f7a21a9f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -60,6 +60,8 @@ enum AndroidBitmapFormat {
    ANDROID_BITMAP_FORMAT_RGBA_4444 = 7,
    /** Alpha: 8 bits. */
    ANDROID_BITMAP_FORMAT_A_8       = 8,
    /** Each component is stored as a half float. **/
    ANDROID_BITMAP_FORMAT_RGBA_F16  = 9,
};

/** Bitmap info, see AndroidBitmap_getInfo(). */