summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.h
diff options
context:
space:
mode:
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 4c65fa94f661..00ee99648889 100644
--- a/libs/hwui/HardwareBitmapUploader.h
+++ b/libs/hwui/HardwareBitmapUploader.h
@@ -33,11 +33,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
};