[][src]Struct skia_bindings::GrRecordingContext

#[repr(C)]
pub struct GrRecordingContext {
    pub _bindgen_opaque_blob: [u64; 27],
}

Fields

_bindgen_opaque_blob: [u64; 27]

Methods

impl GrRecordingContext[src]

pub unsafe fn priv_(&mut self) -> GrRecordingContextPriv[src]

pub unsafe fn priv1(&self) -> GrRecordingContextPriv[src]

pub unsafe fn setupDrawingManager(
    &mut self,
    sortOpLists: bool,
    reduceOpListSplitting: bool
)
[src]

pub unsafe fn drawingManager(&mut self) -> *mut GrDrawingManager[src]

pub unsafe fn refOpMemoryPool(&mut self) -> sk_sp<GrOpMemoryPool>[src]

pub unsafe fn opMemoryPool(&mut self) -> *mut GrOpMemoryPool[src]

pub unsafe fn getTextBlobCache(&mut self) -> *mut GrTextBlobCache[src]

pub unsafe fn getTextBlobCache1(&self) -> *const GrTextBlobCache[src]

pub unsafe fn addOnFlushCallbackObject(
    &mut self,
    arg1: *mut GrOnFlushCallbackObject
)
[src]

pub unsafe fn makeWrappedSurfaceContext(
    &mut self,
    arg1: sk_sp<GrSurfaceProxy>,
    arg2: GrColorType,
    arg3: SkAlphaType,
    arg4: sk_sp<SkColorSpace>,
    arg5: *const SkSurfaceProps
) -> sk_sp<GrSurfaceContext>
[src]

pub unsafe fn makeDeferredTextureContext(
    &mut self,
    arg1: SkBackingFit,
    width: c_int,
    height: c_int,
    arg2: GrColorType,
    arg3: SkAlphaType,
    arg4: sk_sp<SkColorSpace>,
    arg5: GrMipMapped,
    arg6: GrSurfaceOrigin,
    arg7: SkBudgeted,
    arg8: GrProtected
) -> sk_sp<GrTextureContext>
[src]

pub unsafe fn makeDeferredRenderTargetContext(
    &mut self,
    fit: SkBackingFit,
    width: c_int,
    height: c_int,
    colorType: GrColorType,
    colorSpace: sk_sp<SkColorSpace>,
    sampleCnt: c_int,
    arg1: GrMipMapped,
    origin: GrSurfaceOrigin,
    surfaceProps: *const SkSurfaceProps,
    arg2: SkBudgeted,
    isProtected: GrProtected
) -> sk_sp<GrRenderTargetContext>
[src]

pub unsafe fn makeDeferredRenderTargetContextWithFallback(
    &mut self,
    fit: SkBackingFit,
    width: c_int,
    height: c_int,
    colorType: GrColorType,
    colorSpace: sk_sp<SkColorSpace>,
    sampleCnt: c_int,
    arg1: GrMipMapped,
    origin: GrSurfaceOrigin,
    surfaceProps: *const SkSurfaceProps,
    budgeted: SkBudgeted,
    isProtected: GrProtected
) -> sk_sp<GrRenderTargetContext>
[src]

pub unsafe fn new(
    arg1: GrBackendApi,
    arg2: *const GrContextOptions,
    contextID: u32
) -> Self
[src]

Trait Implementations

impl Clone for GrRecordingContext[src]

impl Copy for GrRecordingContext[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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