#[repr(u8)]pub enum MobilePresentPath {
GpuDirect = 0,
GpuUpload = 1,
Software = 2,
}Expand description
Active mobile presentation channel distinguishing zero-CPU-mirror GPU direct draw from upload and CPU fallbacks.
Variants§
GpuDirect = 0
Primary direct GPU uber-shader rendering onto native EGLSurface or CAMetalDrawable (cpu_mirror_active = false).
GpuUpload = 1
Verified fallback uploading CPU-rendered dirty rectangles to a GLES 3.0 or Metal texture (cpu_mirror_active = true).
Software = 2
Verified CPU fallback via ANativeWindow_lock or CGImage/CALayer (cpu_mirror_active = true).
Trait Implementations§
Source§impl Clone for MobilePresentPath
impl Clone for MobilePresentPath
impl Copy for MobilePresentPath
Source§impl Debug for MobilePresentPath
impl Debug for MobilePresentPath
Source§impl Default for MobilePresentPath
impl Default for MobilePresentPath
impl Eq for MobilePresentPath
Source§impl Hash for MobilePresentPath
impl Hash for MobilePresentPath
Source§impl Ord for MobilePresentPath
impl Ord for MobilePresentPath
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MobilePresentPath
impl PartialEq for MobilePresentPath
Source§impl PartialOrd for MobilePresentPath
impl PartialOrd for MobilePresentPath
impl StructuralPartialEq for MobilePresentPath
Auto Trait Implementations§
impl Forget for MobilePresentPath
impl Freeze for MobilePresentPath
impl Move for MobilePresentPath
impl RefUnwindSafe for MobilePresentPath
impl Send for MobilePresentPath
impl Sync for MobilePresentPath
impl Unpin for MobilePresentPath
impl UnsafeUnpin for MobilePresentPath
impl UnwindSafe for MobilePresentPath
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