pub fn from_display(display: *mut Display) -> NativeCompositingGraphicsContext {
        let (_, fbconfig) = NativeCompositingGraphicsContext::compositor_visual_info(display);

        NativeCompositingGraphicsContext {
            display: display,
            framebuffer_configuration: fbconfig,
        }
    }
/// Creates a native graphics context from the given X display connection. This uses GLX. Only
/// the compositor is allowed to call this.
Creates a native graphics context from the given X display connection. This uses GLX. Only
the compositor is allowed to call this.
Creates a native graphics context from the given X display connection . This uses GLX . Only the compositor is allowed to call this .
pub fn from_display(display: *mut Display) -> NativeCompositingGraphicsContext {
        let (_, fbconfig) = NativeCompositingGraphicsContext::compositor_visual_info(display);
        NativeCompositingGraphicsContext {
            display: display,
            framebuffer_configuration: fbconfig,
        }
    }
pub fn from_display ( display : * mut Display ) -> NativeCompositingGraphicsContext { let ( _ , fbconfig ) = NativeCompositingGraphicsContext :: compositor_visual_info ( display ) ; NativeCompositingGraphicsContext { display : display , framebuffer_configuration : fbconfig , } }
Creates a native graphics context from the given X display connection.
Creates a native graphics context from the given X display connection .
display
*mut Display
display
*mut Display