[−][src]Struct skia_bindings::GrRecordingContext
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]
&mut self,
sortOpLists: bool,
reduceOpListSplitting: bool
)
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]
&mut self,
arg1: *mut GrOnFlushCallbackObject
)
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]
&mut self,
arg1: sk_sp<GrSurfaceProxy>,
arg2: GrColorType,
arg3: SkAlphaType,
arg4: sk_sp<SkColorSpace>,
arg5: *const SkSurfaceProps
) -> sk_sp<GrSurfaceContext>
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]
&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>
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]
&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>
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]
&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>
pub unsafe fn new(
arg1: GrBackendApi,
arg2: *const GrContextOptions,
contextID: u32
) -> Self
[src]
arg1: GrBackendApi,
arg2: *const GrContextOptions,
contextID: u32
) -> Self
Trait Implementations
impl Clone for GrRecordingContext
[src]
fn clone(&self) -> GrRecordingContext
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GrRecordingContext
[src]
Auto Trait Implementations
impl Send for GrRecordingContext
impl Unpin for GrRecordingContext
impl Sync for GrRecordingContext
impl UnwindSafe for GrRecordingContext
impl RefUnwindSafe for GrRecordingContext
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,