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 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
};