Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Functions
SkSurfaceGanesh.h File Reference
#include "include/core/SkImageInfo.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSurface.h"
#include "include/gpu/GrTypes.h"
#include "include/private/base/SkAPI.h"

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  SkSurfaces
 
namespace  skgpu::ganesh
 

Typedefs

using SkSurfaces::RenderTargetReleaseProc = void(*)(ReleaseContext)
 
using SkSurfaces::TextureReleaseProc = void(*)(ReleaseContext)
 
using SkSurfaces::BackendHandleAccess = SkSurface::BackendHandleAccess
 

Functions

SK_API sk_sp< SkSurfaceSkSurfaces::RenderTarget (GrRecordingContext *context, skgpu::Budgeted budgeted, const SkImageInfo &imageInfo, int sampleCount, GrSurfaceOrigin surfaceOrigin, const SkSurfaceProps *surfaceProps, bool shouldCreateWithMips=false, bool isProtected=false)
 
sk_sp< SkSurfaceSkSurfaces::RenderTarget (GrRecordingContext *context, skgpu::Budgeted budgeted, const SkImageInfo &imageInfo, int sampleCount, const SkSurfaceProps *surfaceProps)
 
sk_sp< SkSurfaceSkSurfaces::RenderTarget (GrRecordingContext *context, skgpu::Budgeted budgeted, const SkImageInfo &imageInfo)
 
SK_API sk_sp< SkSurfaceSkSurfaces::RenderTarget (GrRecordingContext *context, const GrSurfaceCharacterization &characterization, skgpu::Budgeted budgeted)
 
SK_API sk_sp< SkSurfaceSkSurfaces::WrapBackendTexture (GrRecordingContext *context, const GrBackendTexture &backendTexture, GrSurfaceOrigin origin, int sampleCnt, SkColorType colorType, sk_sp< SkColorSpace > colorSpace, const SkSurfaceProps *surfaceProps, TextureReleaseProc textureReleaseProc=nullptr, ReleaseContext releaseContext=nullptr)
 
SK_API sk_sp< SkSurfaceSkSurfaces::WrapBackendRenderTarget (GrRecordingContext *context, const GrBackendRenderTarget &backendRenderTarget, GrSurfaceOrigin origin, SkColorType colorType, sk_sp< SkColorSpace > colorSpace, const SkSurfaceProps *surfaceProps, RenderTargetReleaseProc releaseProc=nullptr, ReleaseContext releaseContext=nullptr)
 
SK_API GrBackendTexture SkSurfaces::GetBackendTexture (SkSurface *, BackendHandleAccess)
 
SK_API GrBackendRenderTarget SkSurfaces::GetBackendRenderTarget (SkSurface *, BackendHandleAccess)
 
SK_API void SkSurfaces::ResolveMSAA (SkSurface *surface)
 
void SkSurfaces::ResolveMSAA (const sk_sp< SkSurface > &surface)
 
SK_API GrSemaphoresSubmitted skgpu::ganesh::Flush (sk_sp< SkSurface >)
 
SK_API GrSemaphoresSubmitted skgpu::ganesh::Flush (SkSurface *)
 
SK_API void skgpu::ganesh::FlushAndSubmit (sk_sp< SkSurface >)
 
SK_API void skgpu::ganesh::FlushAndSubmit (SkSurface *)