Flutter Engine
The Flutter Engine
Namespaces | Functions
SkSurfaceMetal.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/core/SkSurface.h"
#include "include/gpu/GrTypes.h"
#include "include/gpu/ganesh/SkSurfaceGanesh.h"
#include "include/gpu/ganesh/mtl/GrMtlTypes.h"

Go to the source code of this file.

Namespaces

namespace  SkSurfaces
 

Functions

SK_API sk_sp< SkSurfaceSkSurfaces::WrapCAMetalLayer (GrRecordingContext *context, GrMTLHandle layer, GrSurfaceOrigin origin, int sampleCnt, SkColorType colorType, sk_sp< SkColorSpace > colorSpace, const SkSurfaceProps *surfaceProps, GrMTLHandle *drawable) SK_API_AVAILABLE_CA_METAL_LAYER
 
SK_API sk_sp< SkSurfaceSkSurfaces::WrapMTKView (GrRecordingContext *context, GrMTLHandle mtkView, GrSurfaceOrigin origin, int sampleCnt, SkColorType colorType, sk_sp< SkColorSpace > colorSpace, const SkSurfaceProps *surfaceProps) SK_API_AVAILABLE(macos(10.11)
 
SK_API sk_sp< SkSurfaceSkSurfaces::ios (9.0)
 
SK_API sk_sp< SkSurfaceSkSurfaces::tvos (9.0))