Skip to content

base-opengl

The render bridge of OpenGL, with its binding, its capabilities, its textures, framebuffers and shaders, and the state guard that gives a host its state back. Learn: base-opengl, Embedding in a host.

TypeKindSummary
BlitGlMipmapBuilderclassBuilds the mipmaps of a texture with one linear framebuffer blit per level, the path that matches the other backends pixel for pixel.
DrawGlMipmapBuilderclassBuilds the mipmaps of a texture by drawing a quad per level, for an OpenGL context that cannot blit framebuffers.
FixedMatrixImportclassLoads the projection and modelview matrices of the fixed pipeline of a compatibility host into the matrix stacks of JOID.
GlBorrowedTextureclassA texture of the host, by OpenGL name, that JOID samples without owning it.
GlBorrowedTextureBackendclassThe borrowed texture backend of any OpenGL context, over a snapshot backend and a binding.
GlCapabilitiesclassWhat the current OpenGL context offers, read once when the render bridge is created: versions, profile, extensions and limits.
GlConstantsclassThe OpenGL enum values that the OpenGL module passes to its binding, named after the OpenGL constants without their GL_ prefix.
GlEnumsclassConverts the render states of JOID to the OpenGL values that the binding takes.
GlFrameBufferclassA framebuffer of OpenGL with a color texture and a 24-bit depth renderbuffer, without stencil.
GlFrameBufferFamilyenumThe family of framebuffer functions that an OpenGL context offers.
GlProfileenumWhether an OpenGL context keeps the fixed pipeline (compatibility) or drops it (core, forward-compatible core).
GlRenderBridgeclassThe render bridge of OpenGL, shared by every OpenGL backend, which calls OpenGL through a binding and gives the host its state back.
GlShaderclassA shader program of OpenGL, linked from the translation of the two stages of a JOID shader.
GlSnapshotCaptureclassReads the back buffer of an OpenGL context into a snapshot image.
GlStateGuardclassSaves the OpenGL state that JOID changes during a frame and gives it back to the host when the frame ends.
GlStateGuardBackendclassThe base of the state guard backends of OpenGL: the surface of a snapshot backend, the traps each context supports and the state read through a binding.
GlStateJournalclassThe record of the OpenGL states that JOID touched since the guard was entered, with their values before the first change.
GlStateKeyenumThe kinds of OpenGL state that the journal records, in the order in which it restores them.
GlStateSnapshotclassReads the state of an OpenGL context that the state guard must preserve, by name.
GlTextureclassA texture of OpenGL with RGBA8 storage for every level, uploaded as BGRA.
GlVertexInputclassThe vertex buffer of the OpenGL render bridge, with the vertex array that points every attribute of JOID at it.
IGlBindinginterfaceThe OpenGL calls of the OpenGL module, one method per OpenGL function, implemented once per library.
IGlFrameBufferBindinginterfaceThe framebuffer calls of OpenGL for one family: the core functions or those of GL_EXT_framebuffer_object.
IGlMipmapBuilderinterfaceBuilds the mipmap levels of a texture of OpenGL from its first level.
IGlTextureinterfaceA texture that the OpenGL render bridge binds by name, owned by JOID or borrowed from the host.
JournalGlBindingclassAn OpenGL binding that notes in a GlStateJournal every state that JOID changes, before passing the call on.
JournalGlFrameBufferBindingclassA framebuffer binding that notes in a GlStateJournal the framebuffers and renderbuffers that JOID binds, before passing the call on.

Nested types and listeners that the main types use.

TypeKindSummary
GlStateSnapshot.MaterialReaderinterfaceReads a material of the fixed-function pipeline, which IGlBinding does not query.

Report a problem with this page