Struct skia_bindings::GrRecordingContext
source · #[repr(C)]#[repr(align(8))]pub struct GrRecordingContext {
pub _bindgen_opaque_blob: [u64; 10],
}
Fields§
§_bindgen_opaque_blob: [u64; 10]
Implementations§
source§impl GrRecordingContext
impl GrRecordingContext
pub unsafe fn maxTextureSize(&self) -> c_int
pub unsafe fn maxRenderTargetSize(&self) -> c_int
pub unsafe fn colorTypeSupportedAsImage(&self, arg1: SkColorType) -> bool
pub unsafe fn skCapabilities(&self) -> sk_sp<SkCapabilities>
pub unsafe fn drawingManager(&mut self) -> *mut GrDrawingManager
pub unsafe fn destroyDrawingManager(&mut self)
pub unsafe fn detachArenas(&mut self) -> *mut GrRecordingContext_OwnedArenas
pub unsafe fn getTextBlobRedrawCoordinator( &mut self ) -> *mut sktext_gpu_TextBlobRedrawCoordinator
pub unsafe fn getTextBlobRedrawCoordinator1( &self ) -> *const sktext_gpu_TextBlobRedrawCoordinator
pub unsafe fn threadSafeCache(&mut self) -> *mut GrThreadSafeCache
pub unsafe fn threadSafeCache1(&self) -> *const GrThreadSafeCache
pub unsafe fn addOnFlushCallbackObject( &mut self, arg1: *mut GrOnFlushCallbackObject )
pub unsafe fn dumpJSON(&self, arg1: *mut SkJSONWriter)
pub unsafe fn new( arg1: sk_sp<GrContextThreadSafeProxy>, ddlRecording: bool ) -> Self
Trait Implementations§
source§impl Clone for GrRecordingContext
impl Clone for GrRecordingContext
source§fn clone(&self) -> GrRecordingContext
fn clone(&self) -> GrRecordingContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GrRecordingContext
impl Debug for GrRecordingContext
impl Copy for GrRecordingContext
Auto Trait Implementations§
impl RefUnwindSafe for GrRecordingContext
impl Send for GrRecordingContext
impl Sync for GrRecordingContext
impl Unpin for GrRecordingContext
impl UnwindSafe for GrRecordingContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more