Cleanup references to AHardwareBuffer to match NDK declarations.

Change-Id: Iaf796be04a5ac04873d420960238ea06294518f7
Reviewed-on: https://skia-review.googlesource.com/60240
Reviewed-by: Stan Iliev <stani@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
This commit is contained in:
Derek Sollenberger 2017-10-16 11:57:59 -04:00 committed by Skia Commit-Bot
parent 823994624a
commit 1bd76c468c
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -9,7 +9,9 @@
#include "SkImageGenerator.h"
struct AHardwareBuffer;
extern "C" {
typedef struct AHardwareBuffer AHardwareBuffer;
}
/**
* GrAHardwareBufferImageGenerator allows to create an SkImage attached to