commit | 44333c58f6af04a422e4af4a61eb4712b2f0412c | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Tue Jun 30 13:28:00 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jun 30 18:48:17 2020 +0000 |
tree | 87271f4d9365844623f4691de90bf18900ae523b | |
parent | 5c57e88d8f795875abe8fd68b748392b665a4c45 [diff] [blame] |
Make asDirectContext return a GrDirectContext Change-Id: I373658d68582adc9728f3a75d84178a365f5b798 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/299877 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Adlai Holler <adlai@google.com>
diff --git a/src/gpu/GrAHardwareBufferImageGenerator.cpp b/src/gpu/GrAHardwareBufferImageGenerator.cpp index c5fd646..a8a3f05 100644 --- a/src/gpu/GrAHardwareBufferImageGenerator.cpp +++ b/src/gpu/GrAHardwareBufferImageGenerator.cpp
@@ -17,8 +17,8 @@ #include <android/hardware_buffer.h> #include "include/gpu/GrBackendSurface.h" -#include "include/gpu/GrContext.h" #include "include/gpu/gl/GrGLTypes.h" +#include "include/private/GrDirectContext.h" #include "include/private/GrRecordingContext.h" #include "src/core/SkMessageBus.h" #include "src/gpu/GrAHardwareBufferUtils.h"