skia_safe/gpu/ganesh/gl/
make_mac_interface.rs

1
2
3
4
5
6
7
8
9
pub mod interfaces {
    use skia_bindings as sb;

    use crate::gpu::gl;

    pub fn make_mac() -> Option<gl::Interface> {
        gl::Interface::from_ptr(unsafe { sb::C_GrGLInterfaces_MakeMac() } as *mut _)
    }
}