summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.h
diff options
context:
space:
mode:
author Kevin Lubick <kjlubick@google.com> 2022-02-28 12:41:27 -0500
committer Kevin Lubick <kjlubick@google.com> 2022-03-04 10:37:49 -0500
commit1175dc00a8888c90a920aacbfdaeeceb385e9823 (patch)
treed76066d67378e8d87ca3b75fc77dcb921f12ecf5 /libs/hwui/HardwareBitmapUploader.h
parentcadf8b5ed82b1d70645dc449bfa6659582ef496e (diff)
Fix transitive dependencies on SkImageEncoder
In https://skia-review.googlesource.com/c/skia/+/512416, we would like to decouple SkImage and SkImageEncoder. This CL was created by searching for use of these objects: - SkEncodedImageFormat - SkStream - SkData - SkBitmap - SkPixmap and making sure those files followed the Include What You Use (IWYU) guidelines. Signed-off-by: Kevin Lubick <kjlubick@google.com> Change-Id: I8edbcd1c9a526b8084d7e2c023895d1ad2f8c9b1
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.h')
-rw-r--r--libs/hwui/HardwareBitmapUploader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/HardwareBitmapUploader.h b/libs/hwui/HardwareBitmapUploader.h
index 34f43cd8a198..4c65fa94f661 100644
--- a/libs/hwui/HardwareBitmapUploader.h
+++ b/libs/hwui/HardwareBitmapUploader.h
@@ -17,6 +17,9 @@
#pragma once
#include <hwui/Bitmap.h>
+#include <SkRefCnt.h>
+
+class SkBitmap;
namespace android::uirenderer {