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::Contextwrapping 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::DirectContextto make all OpenGL calls. - make_
egl_ interface - types
- GL types for interacting with resources created externally to Skia, including
TextureInfo,Format, andStandard.