summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.h
diff options
context:
space:
mode:
author Leon Scroggins <scroggo@google.com> 2022-03-17 18:57:43 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-03-17 18:57:43 +0000
commitcc37f4e979a070257d2a011b9b982a31a8f0398d (patch)
tree437e48dae9bd5879a2aba2aa75d85d71235775ca /libs/hwui/HardwareBitmapUploader.h
parent3e41c83514a0f0ed1b1f3628582e2ded3e023fef (diff)
parenta008aa9c85bc136daefc4e056d88008cc4f55781 (diff)
Merge "Support ALPHA_8 + HARDWARE" into tm-dev
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.h')
-rw-r--r--libs/hwui/HardwareBitmapUploader.h2
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
};