Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Enumerations | Functions
SkSurface.h File Reference
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSurfaceProps.h"
#include "include/core/SkTypes.h"
#include <cstddef>
#include <cstdint>
#include <memory>

Go to the source code of this file.

Classes

class  SkSurface
 

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 
namespace  SkSurfaces
 

Typedefs

using SkSurfaces::PixelsReleaseProc = void(void *pixels, void *context)
 

Enumerations

enum class  SkSurfaces::BackendSurfaceAccess { SkSurfaces::kNoAccess , SkSurfaces::kPresent }
 

Functions

SK_API sk_sp< SkSurfaceSkSurfaces::Null (int width, int height)
 
SK_API sk_sp< SkSurfaceSkSurfaces::Raster (const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
 
sk_sp< SkSurfaceSkSurfaces::Raster (const SkImageInfo &imageInfo, const SkSurfaceProps *props=nullptr)
 
SK_API sk_sp< SkSurfaceSkSurfaces::WrapPixels (const SkImageInfo &imageInfo, void *pixels, size_t rowBytes, const SkSurfaceProps *surfaceProps=nullptr)
 
sk_sp< SkSurfaceSkSurfaces::WrapPixels (const SkPixmap &pm, const SkSurfaceProps *props=nullptr)
 
SK_API sk_sp< SkSurfaceSkSurfaces::WrapPixels (const SkImageInfo &imageInfo, void *pixels, size_t rowBytes, PixelsReleaseProc, void *context, const SkSurfaceProps *surfaceProps=nullptr)