summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.h
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2022-01-20 13:58:23 -0800
committer Alec Mouri <alecmouri@google.com> 2022-01-27 22:55:18 +0000
commit1efd0a5df616c0b2efe8035f1d2af2e97ca08638 (patch)
tree16289748fde6e05d8ee2674e4088fcd0bddb21c1 /libs/hwui/HardwareBitmapUploader.h
parent230b32ceb6c143eed852d298dfbb3bdd3a801adc (diff)
Expose 1010102 config for bitmap
Bug: 200307898 Test: CtsGraphicsTestCases Change-Id: I33153e080292a95c0cc3d6edada8b274f0b06ac7
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 ad7a95a4fa03..34f43cd8a198 100644
--- a/libs/hwui/HardwareBitmapUploader.h
+++ b/libs/hwui/HardwareBitmapUploader.h
@@ -29,10 +29,12 @@ public:
#ifdef __ANDROID__
static bool hasFP16Support();
+ static bool has1010102Support();
#else
static bool hasFP16Support() {
return true;
}
+ static bool has1010102Support() { return true; }
#endif
};