[−][src]Struct skia_bindings::SkDeferredDisplayListRecorder
Fields
fCharacterization: SkSurfaceCharacterization
fContext: 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]
&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>
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]
&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>
pub unsafe fn new(arg1: *const SkSurfaceCharacterization) -> Self
[src]
pub unsafe fn destruct(&mut self)
[src]
Auto Trait Implementations
impl !Send for SkDeferredDisplayListRecorder
impl Unpin for SkDeferredDisplayListRecorder
impl !Sync for SkDeferredDisplayListRecorder
impl !RefUnwindSafe for SkDeferredDisplayListRecorder
impl UnwindSafe for SkDeferredDisplayListRecorder
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,