Flutter Engine
The Flutter Engine
Namespaces | Functions
SkImageAndroid.h File Reference
#include "include/core/SkImage.h"
#include "include/core/SkRefCnt.h"
#include "include/gpu/GrTypes.h"

Go to the source code of this file.

Namespaces

namespace  SkImages
 
namespace  sk_image_factory
 
namespace  skgpu
 
namespace  skgpu::ganesh
 

Functions

SK_API sk_sp< SkImageSkImages::DeferredFromAHardwareBuffer (AHardwareBuffer *hardwareBuffer, SkAlphaType alphaType=kPremul_SkAlphaType)
 
SK_API sk_sp< SkImageSkImages::DeferredFromAHardwareBuffer (AHardwareBuffer *hardwareBuffer, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, GrSurfaceOrigin surfaceOrigin=kTopLeft_GrSurfaceOrigin)
 
SK_API sk_sp< SkImageSkImages::TextureFromAHardwareBufferWithData (GrDirectContext *context, const SkPixmap &pixmap, AHardwareBuffer *hardwareBuffer, GrSurfaceOrigin surfaceOrigin=kTopLeft_GrSurfaceOrigin)
 
SK_API sk_sp< SkImageSkImages::PinnableRasterFromBitmap (const SkBitmap &)
 
sk_sp< SkImagesk_image_factory::MakePinnableFromRasterBitmap (const SkBitmap &b)
 
bool skgpu::ganesh::PinAsTexture (GrRecordingContext *, SkImage *)
 
void skgpu::ganesh::UnpinTexture (GrRecordingContext *, SkImage *)