[−][src]Struct skia::gl_context::GLContext
Fields
platform_context: GLPlatformContext
gr_context: SkiaGrContextRef
gl_interface: SkiaGrGLInterfaceRef
size: Size2D<i32>
Implementations
impl GLContext
[src]
pub fn new(
gl: Rc<dyn Gl>,
platform_display_data: PlatformDisplayData,
size: Size2D<i32>
) -> Option<Arc<GLContext>>
[src]
gl: Rc<dyn Gl>,
platform_display_data: PlatformDisplayData,
size: Size2D<i32>
) -> Option<Arc<GLContext>>
pub fn gl(&self) -> &dyn Gl
[src]
pub fn flush(&self)
[src]
pub fn make_current(&self)
[src]
pub fn drop_current_context(&self)
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GLContext
impl !Send for GLContext
impl !Sync for GLContext
impl Unpin for GLContext
impl !UnwindSafe for GLContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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>,