diff options
author | Greg Daniel <egdaniel@google.com> | 2019-02-20 08:31:03 -0500 |
---|---|---|
committer | Greg Daniel <egdaniel@google.com> | 2019-03-19 10:09:53 -0400 |
commit | c073252f764529ac7859746d81d9a4a6818037d3 (patch) | |
tree | f85e787754e251ab58b88aab129853aaabc4c27b /libs/hwui/HardwareBitmapUploader.h | |
parent | f38041dd569374724f260b2b1a396d6d0cb09591 (diff) |
Add support for uploading to AHBs using Vulkan.
Test: manual build and testing on blueline.
Change-Id: I240a5f1e3ba34677b03131eba36ffd8783d99041
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.h')
-rw-r--r-- | libs/hwui/HardwareBitmapUploader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/hwui/HardwareBitmapUploader.h b/libs/hwui/HardwareBitmapUploader.h index 6f41e6db4e32..c300593d47a1 100644 --- a/libs/hwui/HardwareBitmapUploader.h +++ b/libs/hwui/HardwareBitmapUploader.h @@ -22,9 +22,11 @@ namespace android::uirenderer { class ANDROID_API HardwareBitmapUploader { public: - static sk_sp<Bitmap> allocateHardwareBitmap(const SkBitmap& sourceBitmap); + static void initialize(); static void terminate(); + static sk_sp<Bitmap> allocateHardwareBitmap(const SkBitmap& sourceBitmap); + static bool hasFP16Support(); }; |