diff options
Diffstat (limited to 'include/core/SkImage.h')
-rw-r--r-- | include/core/SkImage.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h index e89f86ce8c..7aa28eb74d 100644 --- a/include/core/SkImage.h +++ b/include/core/SkImage.h @@ -15,6 +15,10 @@ #include "SkScalar.h" #include "SkShader.h" +#if defined(SK_BUILD_FOR_ANDROID) && __ANDROID_API__ >= 26 +#include <android/hardware_buffer.h> +#endif + class SkData; class SkCanvas; class SkImageGenerator; @@ -28,8 +32,6 @@ class GrContext; class GrContextThreadSafeProxy; class GrTexture; -struct AHardwareBuffer; - /** * SkImage is an abstraction for drawing a rectagle of pixels, though the * particular type of image could be actually storing its data on the GPU, or |