Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Functions
SurfaceAndroid.h File Reference
#include "include/core/SkRefCnt.h"

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 
namespace  SkSurfaces
 

Typedefs

using SkSurfaces::ReleaseContext = void *
 
using SkSurfaces::BufferReleaseProc = void(*)(ReleaseContext)
 

Functions

SK_API sk_sp< SkSurfaceSkSurfaces::WrapAndroidHardwareBuffer (skgpu::graphite::Recorder *recorder, AHardwareBuffer *hardwareBuffer, sk_sp< SkColorSpace > colorSpace, const SkSurfaceProps *surfaceProps, BufferReleaseProc=nullptr, ReleaseContext=nullptr, bool fromWindow=false)