Skia
2D Graphics Library
SkDeferredDisplayListRecorder Class Reference

#include <SkDeferredDisplayListRecorder.h>

Public Types

using PromiseImageTextureContext = SkImage::PromiseImageTextureContext
 
using PromiseImageTextureFulfillProc = SkImage::PromiseImageTextureFulfillProc
 
using PromiseImageTextureReleaseProc = SkImage::PromiseImageTextureReleaseProc
 

Public Member Functions

 SkDeferredDisplayListRecorder (const SkSurfaceCharacterization &)
 
 ~SkDeferredDisplayListRecorder ()
 
const SkSurfaceCharacterizationcharacterization () const
 
SkCanvasgetCanvas ()
 
sk_sp< SkDeferredDisplayListdetach ()
 
sk_sp< SkImagemakePromiseTexture (const GrBackendFormat &backendFormat, int width, int height, GrMipmapped mipMapped, GrSurfaceOrigin origin, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, PromiseImageTextureFulfillProc textureFulfillProc, PromiseImageTextureReleaseProc textureReleaseProc, PromiseImageTextureContext textureContext)
 Deprecated: Use SkImage::MakePromiseTexture instead. More...
 
sk_sp< SkImagemakeYUVAPromiseTexture (const GrYUVABackendTextureInfo &yuvaBackendTextureInfo, sk_sp< SkColorSpace > imageColorSpace, PromiseImageTextureFulfillProc textureFulfillProc, PromiseImageTextureReleaseProc textureReleaseProc, PromiseImageTextureContext textureContexts[])
 Deprecated: Use SkImage::MakePromiseYUVATexture instead. More...
 

Member Typedef Documentation

◆ PromiseImageTextureContext

◆ PromiseImageTextureFulfillProc

◆ PromiseImageTextureReleaseProc

Constructor & Destructor Documentation

◆ SkDeferredDisplayListRecorder()

SkDeferredDisplayListRecorder::SkDeferredDisplayListRecorder ( const SkSurfaceCharacterization )

◆ ~SkDeferredDisplayListRecorder()

SkDeferredDisplayListRecorder::~SkDeferredDisplayListRecorder ( )

Member Function Documentation

◆ characterization()

const SkSurfaceCharacterization& SkDeferredDisplayListRecorder::characterization ( ) const
inline

◆ detach()

sk_sp<SkDeferredDisplayList> SkDeferredDisplayListRecorder::detach ( )

◆ getCanvas()

SkCanvas* SkDeferredDisplayListRecorder::getCanvas ( )

◆ makePromiseTexture()

sk_sp<SkImage> SkDeferredDisplayListRecorder::makePromiseTexture ( const GrBackendFormat backendFormat,
int  width,
int  height,
GrMipmapped  mipMapped,
GrSurfaceOrigin  origin,
SkColorType  colorType,
SkAlphaType  alphaType,
sk_sp< SkColorSpace colorSpace,
PromiseImageTextureFulfillProc  textureFulfillProc,
PromiseImageTextureReleaseProc  textureReleaseProc,
PromiseImageTextureContext  textureContext 
)

Deprecated: Use SkImage::MakePromiseTexture instead.

◆ makeYUVAPromiseTexture()

sk_sp<SkImage> SkDeferredDisplayListRecorder::makeYUVAPromiseTexture ( const GrYUVABackendTextureInfo yuvaBackendTextureInfo,
sk_sp< SkColorSpace imageColorSpace,
PromiseImageTextureFulfillProc  textureFulfillProc,
PromiseImageTextureReleaseProc  textureReleaseProc,
PromiseImageTextureContext  textureContexts[] 
)

Deprecated: Use SkImage::MakePromiseYUVATexture instead.


The documentation for this class was generated from the following file: