Struct skia::gl_context_glx::GLPlatformContext [] [src]

pub struct GLPlatformContext {
    pub display: *mut Display,
    pub glx_pixmap: XID,
    pub pixmap: XID,
    pub framebuffer_id: GLuint,
    pub texture_id: GLuint,
    pub depth_stencil_renderbuffer_id: GLuint,
    // some fields omitted
}

Fields

display: *mut Display glx_pixmap: XID pixmap: XID framebuffer_id: GLuint texture_id: GLuint depth_stencil_renderbuffer_id: GLuint

Methods

impl GLPlatformContext
[src]

fn new(platform_display_data: PlatformDisplayData, size: Size2D<i32>) -> Option<GLPlatformContext>

fn drop_current_context(&self)

fn make_current(&self)

Trait Implementations

impl Drop for GLPlatformContext
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more