[][src]Struct skia_bindings::SkDeferredDisplayListRecorder

#[repr(C)]
pub struct SkDeferredDisplayListRecorder {
    pub fCharacterization: SkSurfaceCharacterization,
    pub fContext: sk_sp<GrContext>,
    pub fLazyProxyData: sk_sp<SkDeferredDisplayList_LazyProxyData>,
    pub fSurface: sk_sp<SkSurface>,
}

Fields

fCharacterization: SkSurfaceCharacterizationfContext: sk_sp<GrContext>fLazyProxyData: sk_sp<SkDeferredDisplayList_LazyProxyData>fSurface: sk_sp<SkSurface>

Methods

impl SkDeferredDisplayListRecorder[src]

pub unsafe fn getCanvas(&mut self) -> *mut SkCanvas[src]

pub unsafe fn detach(&mut self) -> u64[src]

pub unsafe fn makePromiseTexture(
    &mut self,
    backendFormat: *const GrBackendFormat,
    width: c_int,
    height: c_int,
    mipMapped: GrMipMapped,
    origin: GrSurfaceOrigin,
    colorType: SkColorType,
    alphaType: SkAlphaType,
    colorSpace: sk_sp<SkColorSpace>,
    textureFulfillProc: SkDeferredDisplayListRecorder_PromiseImageTextureFulfillProc,
    textureReleaseProc: SkDeferredDisplayListRecorder_PromiseImageTextureReleaseProc,
    textureDoneProc: SkDeferredDisplayListRecorder_PromiseImageTextureDoneProc,
    textureContext: SkDeferredDisplayListRecorder_PromiseImageTextureContext,
    version: SkDeferredDisplayListRecorder_PromiseImageApiVersion
) -> sk_sp<SkImage>
[src]

pub unsafe fn makeYUVAPromiseTexture(
    &mut self,
    yuvColorSpace: SkYUVColorSpace,
    yuvaFormats: *const GrBackendFormat,
    yuvaSizes: *const SkISize,
    yuvaIndices: *const SkYUVAIndex,
    imageWidth: c_int,
    imageHeight: c_int,
    imageOrigin: GrSurfaceOrigin,
    imageColorSpace: sk_sp<SkColorSpace>,
    textureFulfillProc: SkDeferredDisplayListRecorder_PromiseImageTextureFulfillProc,
    textureReleaseProc: SkDeferredDisplayListRecorder_PromiseImageTextureReleaseProc,
    textureDoneProc: SkDeferredDisplayListRecorder_PromiseImageTextureDoneProc,
    textureContexts: *mut SkDeferredDisplayListRecorder_PromiseImageTextureContext,
    version: SkDeferredDisplayListRecorder_PromiseImageApiVersion
) -> sk_sp<SkImage>
[src]

pub unsafe fn new(arg1: *const SkSurfaceCharacterization) -> Self[src]

pub unsafe fn destruct(&mut self)[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]