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:
parent
823994624a
commit
1bd76c468c
@ -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
|
||||
|
@ -9,7 +9,9 @@
|
||||
|
||||
#include "SkImageGenerator.h"
|
||||
|
||||
struct AHardwareBuffer;
|
||||
extern "C" {
|
||||
typedef struct AHardwareBuffer AHardwareBuffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* GrAHardwareBufferImageGenerator allows to create an SkImage attached to
|
||||
|
Loading…
Reference in New Issue
Block a user