commit | a008aa9c85bc136daefc4e056d88008cc4f55781 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Thu Mar 10 16:25:30 2022 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Tue Mar 15 17:28:39 2022 -0400 |
tree | f0ec30cd8bfe5aaf726c48c2c9582e7fe05eb482 | |
parent | 4207fcf360998d0c6717f430c00aab13e5de80b9 [diff] [blame] |
Support ALPHA_8 + HARDWARE Bug: 141480329 Test: I9f64b966092942964073c2dbe9b091e618f7df95 Change-Id: Ibfec753b1f82b0ff97341a742b2933e2f18b234a
diff --git a/libs/hwui/HardwareBitmapUploader.h b/libs/hwui/HardwareBitmapUploader.h index 34f43cd..81057a2 100644 --- a/libs/hwui/HardwareBitmapUploader.h +++ b/libs/hwui/HardwareBitmapUploader.h
@@ -30,11 +30,13 @@ #ifdef __ANDROID__ static bool hasFP16Support(); static bool has1010102Support(); + static bool hasAlpha8Support(); #else static bool hasFP16Support() { return true; } static bool has1010102Support() { return true; } + static bool hasAlpha8Support() { return true; } #endif };