aboutsummaryrefslogtreecommitdiff
path: root/src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp')
-rw-r--r--src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp b/src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp
index 2de02ee604..98f5c4ef30 100644
--- a/src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp
+++ b/src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp
@@ -11,6 +11,7 @@
#include "src/gpu/ganesh/GrAHardwareBufferImageGenerator.h"
+#include "include/android/AHardwareBufferUtils.h"
#include "include/android/GrAHardwareBufferUtils.h"
#include "include/core/SkColorSpace.h"
#include "include/gpu/GrBackendSurface.h"
@@ -38,7 +39,7 @@ std::unique_ptr<SkImageGenerator> GrAHardwareBufferImageGenerator::Make(
AHardwareBuffer_describe(graphicBuffer, &bufferDesc);
SkColorType colorType =
- GrAHardwareBufferUtils::GetSkColorTypeFromBufferFormat(bufferDesc.format);
+ AHardwareBufferUtils::GetSkColorTypeFromBufferFormat(bufferDesc.format);
SkImageInfo info = SkImageInfo::Make(bufferDesc.width, bufferDesc.height, colorType,
alphaType, std::move(colorSpace));