diff options
author | 2022-03-17 18:57:43 +0000 | |
---|---|---|
committer | 2022-03-17 18:57:43 +0000 | |
commit | cc37f4e979a070257d2a011b9b982a31a8f0398d (patch) | |
tree | 437e48dae9bd5879a2aba2aa75d85d71235775ca /libs/hwui/HardwareBitmapUploader.h | |
parent | 3e41c83514a0f0ed1b1f3628582e2ded3e023fef (diff) | |
parent | a008aa9c85bc136daefc4e056d88008cc4f55781 (diff) |
Merge "Support ALPHA_8 + HARDWARE" into tm-dev
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.h')
-rw-r--r-- | libs/hwui/HardwareBitmapUploader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/HardwareBitmapUploader.h b/libs/hwui/HardwareBitmapUploader.h index 34f43cd8a198..81057a24c29c 100644 --- a/libs/hwui/HardwareBitmapUploader.h +++ b/libs/hwui/HardwareBitmapUploader.h @@ -30,11 +30,13 @@ public: #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 }; |