Flutter Engine
The Flutter Engine
Namespaces | Functions
Surface.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/core/SkSurface.h"
#include "include/gpu/GpuTypes.h"
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 
namespace  SkSurfaces
 

Functions

SK_API sk_sp< SkImageSkSurfaces::AsImage (sk_sp< const SkSurface >)
 
SK_API sk_sp< SkImageSkSurfaces::AsImageCopy (sk_sp< const SkSurface >, const SkIRect *subset=nullptr, skgpu::Mipmapped=skgpu::Mipmapped::kNo)
 
SK_API sk_sp< SkSurfaceSkSurfaces::RenderTarget (skgpu::graphite::Recorder *, const SkImageInfo &imageInfo, skgpu::Mipmapped=skgpu::Mipmapped::kNo, const SkSurfaceProps *surfaceProps=nullptr, std::string_view label={})
 
SK_API sk_sp< SkSurfaceSkSurfaces::WrapBackendTexture (skgpu::graphite::Recorder *, const skgpu::graphite::BackendTexture &, SkColorType colorType, sk_sp< SkColorSpace > colorSpace, const SkSurfaceProps *props, TextureReleaseProc=nullptr, ReleaseContext=nullptr, std::string_view label={})