[−][src]Struct skia_bindings::GrSurfaceProxy
Fields
_base: GrIORefProxy
fSurfaceFlags: GrInternalSurfaceFlags
fFormat: GrBackendFormat
fConfig: GrPixelConfig
fWidth: c_int
fHeight: c_int
fOrigin: GrSurfaceOrigin
fFit: SkBackingFit
fBudgeted: SkBudgeted
fUniqueID: GrSurfaceProxy_UniqueID
fLazyInstantiateCallback: GrSurfaceProxy_LazyInstantiateCallback
fLazyInstantiationType: GrSurfaceProxy_LazyInstantiationType
fNeedsClear: bool
fIgnoredByResourceAllocator: bool
fGpuMemorySize: usize
fLastOpList: *mut GrOpList
Methods
impl GrSurfaceProxy
[src]
pub unsafe fn lazyInstantiationState(&self) -> GrSurfaceProxy_LazyState
[src]
pub unsafe fn config(&self) -> GrPixelConfig
[src]
pub unsafe fn width(&self) -> c_int
[src]
pub unsafe fn height(&self) -> c_int
[src]
pub unsafe fn isize(&self) -> SkISize
[src]
pub unsafe fn worstCaseWidth(&self) -> c_int
[src]
pub unsafe fn worstCaseHeight(&self) -> c_int
[src]
pub unsafe fn getBoundsRect(&self) -> SkRect
[src]
pub unsafe fn getWorstCaseBoundsRect(&self) -> SkRect
[src]
pub unsafe fn origin(&self) -> GrSurfaceOrigin
[src]
pub unsafe fn backendFormat(&self) -> *const GrBackendFormat
[src]
pub unsafe fn uniqueID(&self) -> GrSurfaceProxy_UniqueID
[src]
pub unsafe fn underlyingUniqueID(&self) -> GrSurfaceProxy_UniqueID
[src]
pub unsafe fn deinstantiate(&mut self)
[src]
pub unsafe fn canSkipResourceAllocator(&self) -> bool
[src]
pub unsafe fn isInstantiated(&self) -> bool
[src]
pub unsafe fn peekSurface(&self) -> *mut GrSurface
[src]
pub unsafe fn peekTexture(&self) -> *mut GrTexture
[src]
pub unsafe fn peekRenderTarget(&self) -> *mut GrRenderTarget
[src]
pub unsafe fn isBudgeted(&self) -> SkBudgeted
[src]
pub unsafe fn readOnly(&self) -> bool
[src]
pub unsafe fn setLastOpList(&mut self, opList: *mut GrOpList)
[src]
pub unsafe fn getLastOpList(&mut self) -> *mut GrOpList
[src]
pub unsafe fn getLastRenderTargetOpList(&mut self) -> *mut GrRenderTargetOpList
[src]
pub unsafe fn getLastTextureOpList(&mut self) -> *mut GrTextureOpList
[src]
pub unsafe fn gpuMemorySize(&self) -> usize
[src]
pub unsafe fn Copy(
arg1: *mut GrRecordingContext,
src: *mut GrSurfaceProxy,
arg2: GrMipMapped,
srcRect: SkIRect,
arg3: SkBackingFit,
arg4: SkBudgeted
) -> sk_sp<GrTextureProxy>
[src]
arg1: *mut GrRecordingContext,
src: *mut GrSurfaceProxy,
arg2: GrMipMapped,
srcRect: SkIRect,
arg3: SkBackingFit,
arg4: SkBudgeted
) -> sk_sp<GrTextureProxy>
pub unsafe fn Copy1(
arg1: *mut GrRecordingContext,
src: *mut GrSurfaceProxy,
arg2: GrMipMapped,
arg3: SkBackingFit,
arg4: SkBudgeted
) -> sk_sp<GrTextureProxy>
[src]
arg1: *mut GrRecordingContext,
src: *mut GrSurfaceProxy,
arg2: GrMipMapped,
arg3: SkBackingFit,
arg4: SkBudgeted
) -> sk_sp<GrTextureProxy>
pub unsafe fn TestCopy(
context: *mut GrRecordingContext,
dstDesc: *const GrSurfaceDesc,
arg1: GrSurfaceOrigin,
srcProxy: *mut GrSurfaceProxy
) -> sk_sp<GrSurfaceContext>
[src]
context: *mut GrRecordingContext,
dstDesc: *const GrSurfaceDesc,
arg1: GrSurfaceOrigin,
srcProxy: *mut GrSurfaceProxy
) -> sk_sp<GrSurfaceContext>
pub unsafe fn isWrapped_ForTesting(&self) -> bool
[src]
pub unsafe fn priv_(&mut self) -> GrSurfaceProxyPriv
[src]
pub unsafe fn priv1(&self) -> GrSurfaceProxyPriv
[src]
pub unsafe fn firstRefAccess(&mut self) -> GrSurfaceProxy_FirstRefAccess
[src]
pub unsafe fn testingOnly_getFlags(&self) -> GrInternalSurfaceFlags
[src]
pub unsafe fn ignoredByResourceAllocator(&self) -> bool
[src]
pub unsafe fn setIgnoredByResourceAllocator(&mut self)
[src]
pub unsafe fn getProxyRefCnt(&self) -> i32
[src]
pub unsafe fn getTotalRefs(&self) -> i32
[src]
pub unsafe fn computeScratchKey(&self, arg1: *mut GrScratchKey)
[src]
pub unsafe fn assign(&mut self, surface: sk_sp<GrSurface>)
[src]
pub unsafe fn createSurfaceImpl(
&self,
arg1: *mut GrResourceProvider,
sampleCnt: c_int,
needsStencil: bool,
arg2: GrSurfaceDescFlags,
arg3: GrMipMapped
) -> sk_sp<GrSurface>
[src]
&self,
arg1: *mut GrResourceProvider,
sampleCnt: c_int,
needsStencil: bool,
arg2: GrSurfaceDescFlags,
arg3: GrMipMapped
) -> sk_sp<GrSurface>
pub unsafe fn setLazySize(&mut self, width: c_int, height: c_int)
[src]
pub unsafe fn instantiateImpl(
&mut self,
resourceProvider: *mut GrResourceProvider,
sampleCnt: c_int,
needsStencil: bool,
descFlags: GrSurfaceDescFlags,
arg1: GrMipMapped,
arg2: *const GrUniqueKey
) -> bool
[src]
&mut self,
resourceProvider: *mut GrResourceProvider,
sampleCnt: c_int,
needsStencil: bool,
descFlags: GrSurfaceDescFlags,
arg1: GrMipMapped,
arg2: *const GrUniqueKey
) -> bool
pub unsafe fn new(
format: *const GrBackendFormat,
desc: *const GrSurfaceDesc,
origin: GrSurfaceOrigin,
fit: SkBackingFit,
budgeted: SkBudgeted,
surfaceFlags: GrInternalSurfaceFlags
) -> Self
[src]
format: *const GrBackendFormat,
desc: *const GrSurfaceDesc,
origin: GrSurfaceOrigin,
fit: SkBackingFit,
budgeted: SkBudgeted,
surfaceFlags: GrInternalSurfaceFlags
) -> Self
pub unsafe fn new1(
arg1: *mut GrSurfaceProxy_LazyInstantiateCallback,
arg2: GrSurfaceProxy_LazyInstantiationType,
format: *const GrBackendFormat,
arg3: *const GrSurfaceDesc,
arg4: GrSurfaceOrigin,
arg5: SkBackingFit,
arg6: SkBudgeted,
arg7: GrInternalSurfaceFlags
) -> Self
[src]
arg1: *mut GrSurfaceProxy_LazyInstantiateCallback,
arg2: GrSurfaceProxy_LazyInstantiationType,
format: *const GrBackendFormat,
arg3: *const GrSurfaceDesc,
arg4: GrSurfaceOrigin,
arg5: SkBackingFit,
arg6: SkBudgeted,
arg7: GrInternalSurfaceFlags
) -> Self
pub unsafe fn new2(
arg1: sk_sp<GrSurface>,
arg2: GrSurfaceOrigin,
arg3: SkBackingFit
) -> Self
[src]
arg1: sk_sp<GrSurface>,
arg2: GrSurfaceOrigin,
arg3: SkBackingFit
) -> Self
Auto Trait Implementations
impl !Sync for GrSurfaceProxy
impl !Send for GrSurfaceProxy
impl Unpin for GrSurfaceProxy
impl !RefUnwindSafe for GrSurfaceProxy
impl !UnwindSafe for GrSurfaceProxy
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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,