Module webgl_thread

Module webgl_thread 

Source

Structsยง

FramebufferRebindingFlags ๐Ÿ”’
FramebufferRebindingInfo ๐Ÿ”’
GLContextData ๐Ÿ”’
GLState
WebGLContextInfo ๐Ÿ”’
Helper struct to store cached WebGLContext information.
WebGLImpl
WebGL Commands Implementation
WebGLThread ๐Ÿ”’
A WebGLThread manages the life cycle and message multiplexing of a set of WebGLContexts living in the same thread.
WebGLThreadInit ๐Ÿ”’
The data required to initialize an instance of the WebGLThread type.

Constantsยง

ANGLE_NAME_PREFIX ๐Ÿ”’
ANGLE adds a _u prefix to variable names:
SAFE_VIEWPORT_DIMS ๐Ÿ”’

Traitsยง

SurfmanContextAttributeFlagsConvert ๐Ÿ”’
ToSurfmanVersion ๐Ÿ”’

Functionsยง

clamp_viewport ๐Ÿ”’
flip_pixels_y ๐Ÿ”’
Flips the pixels in the Vec on the Y axis.
from_name_in_compiled_shader ๐Ÿ”’
Removes _u prefix from variable names
image_to_tex_image_data ๐Ÿ”’
Translates an image in rgba8 (red in the first byte) format to the format that was requested of TexImage.
map_dot_separated ๐Ÿ”’
native_uniform_location ๐Ÿ”’
premultiply_inplace ๐Ÿ”’
prepare_pixels ๐Ÿ”’
to_name_in_compiled_shader ๐Ÿ”’
Adds _u prefix to variable names

Type Aliasesยง

GLint ๐Ÿ”’
WebGLContextBusyMap
A map which tracks whether a given WebGL context is โ€œbusyโ€ ie whether WebRender has currently taken a surface from its [SwapChain] for rendering purposes. Contexts will only be deleted once no WebRender instance is using it for rendering. This ensures that all Surfman Surfaces can be released properly on the WebGLThread.