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(
gl: Rc<Gl>,
platform_display_data: PlatformDisplayData,
size: Size2D<i32>
) -> Option<GLPlatformContext>
[src]
gl: Rc<Gl>,
platform_display_data: PlatformDisplayData,
size: Size2D<i32>
) -> Option<GLPlatformContext>