Creates a WebGL context without a window for headless rendering and server-side graphics
Overall
score
96%
WebGL 2.0 Context Creation
WebGL 2.0 Context Creation
50%
0%
Context Attributes Configuration
100%
100%
Clear Operations
100%
100%
Pixel Reading
100%
100%
Resource Cleanup
100%
100%
Viewport and Scissor Configuration
WebGL Context Creation
100%
100%
Viewport Configuration
0%
60%
Scissor Test Enable
0%
100%
Scissor Box Configuration
0%
100%
Pixel Reading
0%
100%
Context Cleanup
40%
100%
Context Attribute Configuration
Uses createContext
100%
100%
Passes width/height
100%
100%
Uses options object
100%
100%
Configures alpha attribute
100%
100%
Configures depth attribute
100%
100%
Configures stencil attribute
100%
100%
Configures antialias attribute
100%
100%
Configures preserveDrawingBuffer
100%
100%
Maps config correctly
100%
100%
Sync Objects (WebGL 2)
Sync Object Creation
100%
100%
Sync Status Querying
0%
100%
Client Wait Implementation
100%
100%
Sync Object Cleanup
100%
100%
Sequential Pass Execution
100%
100%
Progress Callback Timing
100%
100%
Texture Unit Selection (activeTexture)
Context Creation
100%
100%
Texture Creation
100%
100%
Texture Binding
100%
100%
activeTexture Usage
100%
100%
Texture Data Upload
100%
100%
Texture Parameters
100%
100%
Shader Uniforms
100%
100%
Framebuffer Reading
100%
100%
Texture Creation and Upload (texImage2D)
Context creation
100%
100%
Texture object creation
100%
100%
Texture binding
100%
100%
texImage2D usage
100%
100%
MIN_FILTER parameter
100%
100%
MAG_FILTER parameter
100%
100%
Correct data format
100%
100%
Returns required values
100%
100%
Vertex Attribute Configuration (vertexAttribPointer)
Buffer creation
100%
100%
Buffer data upload
100%
100%
Attribute location retrieval
100%
100%
Position attribute pointer
100%
100%
Color attribute pointer
100%
100%
Enable position attribute
100%
100%
Enable color attribute
100%
100%
Correct data layout
100%
100%
State Management (enable, disable, isEnabled)
Uses gl.enable()
100%
100%
Uses gl.disable()
100%
100%
Uses gl.isEnabled()
100%
100%
Correct parameter passing
100%
100%
Pixel Reading (readPixels)
Context Creation
100%
100%
readPixels Usage
100%
100%
Pixel Buffer Allocation
100%
100%
Viewport and Rendering
100%
100%
Pixel Data Processing
100%
100%
Return Value Structure
100%
100%
Sampler Objects (WebGL 2)
Sampler Creation
100%
100%
Parameter Configuration
100%
100%
Sampler Binding
100%
100%
Multiple Texture Units
100%
100%
Sampler Deletion
100%
100%
WebGL 2 Context
0%
80%
Install with Tessl CLI
npx tessl i tessl/npm-gl