Skip to main content

Module gl

Module gl 

Expand description

The OpenGL backend for Ganesh: GL types, extensions, the crate::gpu::gl::Interface function-pointer interface, and surface/context construction helpers.

Modules§

backend_formats
GL-specific helpers for constructing and querying crate::gpu::BackendFormat.
backend_render_targets
GL-specific helpers for constructing and querying crate::gpu::BackendRenderTarget.
backend_textures
GL-specific helpers for constructing and querying crate::gpu::BackendTexture.
contexts
Creates a crate::Context wrapping a Ganesh GPU backend with OpenGL.
direct_contexts
Creates a GL-backed crate::gpu::DirectContext.
extensions
Helpers for querying and caching the current GL context’s extensions.
interface
The OpenGL function-pointer interface used by crate::gpu::ganesh::DirectContext to make all OpenGL calls.
make_egl_interface
types
GL types for interacting with resources created externally to Skia, including TextureInfo, Format, and Standard.