WebGL state consistency
webgl.state-consistency
Ready · No signal has been run.
Results
Research focus
Selected evidence from this run. Cross-run stability and comparison verdicts require a session comparison.
Full evidence
| Property | Value |
|---|---|
| No results yet. No signal has been run. | |
JSON
Selected signal results for external comparison. Field statuses, controls and exact values are retained.
No run export is available.
Source
Source is not connected yet.
// Test source pending.Reference
Reference is not connected yet.
Definition
Mutates and restores named WebGL states and checks owned readback scenes.
Find it in the repository
- Collector source
core/signals/webgl/state-consistency.ts- Export
measurementModule· Signal object- Field definitions
core/definitions/webgl/state-consistency.ts- Capture membership
- Product capture ·
common/capture/product.ts - Page registration
app/signals/registry.ts- Field projection
core/results/measurement.ts
Execution contract
- Signal
webgl.state-consistency- Collector
webgl.state-consistency- API / surface
- core/signals/webgl/state-consistency.ts
- Timeout
- 1250 ms
- Companion signals
- None
- Fixture inputs
- Declared requests (listed below)
Exact request inputs
[
{
"key": "webgl.state-consistency.responses",
"inputs": {
"webgl-ACTIVE_TEXTURE": {
"api": "webgl",
"state": "ACTIVE_TEXTURE",
"restore": "actual initial"
},
"webgl-PACK_ALIGNMENT": {
"api": "webgl",
"state": "PACK_ALIGNMENT",
"restore": "actual initial"
},
"webgl-FRONT_FACE": {
"api": "webgl",
"state": "FRONT_FACE",
"restore": "actual initial"
},
"webgl-CULL_FACE_MODE": {
"api": "webgl",
"state": "CULL_FACE_MODE",
"restore": "actual initial"
},
"webgl-DEPTH_CLEAR_VALUE": {
"api": "webgl",
"state": "DEPTH_CLEAR_VALUE",
"restore": "actual initial"
},
"webgl-parameters": {
"api": "webgl",
"valid": "MAX_TEXTURE_SIZE",
"invalid": 0
},
"webgl-pixels-0": {
"api": "webgl",
"width": 4,
"height": 4,
"color": [
1,
0,
1,
1
],
"subrectangle": [
1,
1,
2,
2
],
"insetColor": [
0,
1,
0,
1
]
},
"webgl-pixels-1": {
"api": "webgl",
"width": 4,
"height": 4,
"color": [
0,
1,
0,
1
],
"subrectangle": [
1,
1,
2,
2
],
"insetColor": [
1,
0,
1,
1
]
},
"webgl2-ACTIVE_TEXTURE": {
"api": "webgl2",
"state": "ACTIVE_TEXTURE",
"restore": "actual initial"
},
"webgl2-PACK_ALIGNMENT": {
"api": "webgl2",
"state": "PACK_ALIGNMENT",
"restore": "actual initial"
},
"webgl2-FRONT_FACE": {
"api": "webgl2",
"state": "FRONT_FACE",
"restore": "actual initial"
},
"webgl2-CULL_FACE_MODE": {
"api": "webgl2",
"state": "CULL_FACE_MODE",
"restore": "actual initial"
},
"webgl2-DEPTH_CLEAR_VALUE": {
"api": "webgl2",
"state": "DEPTH_CLEAR_VALUE",
"restore": "actual initial"
},
"webgl2-parameters": {
"api": "webgl2",
"valid": "MAX_TEXTURE_SIZE",
"invalid": 0
},
"webgl2-pixels-0": {
"api": "webgl2",
"width": 4,
"height": 4,
"color": [
1,
0,
1,
1
],
"subrectangle": [
1,
1,
2,
2
],
"insetColor": [
0,
1,
0,
1
]
},
"webgl2-pixels-1": {
"api": "webgl2",
"width": 4,
"height": 4,
"color": [
0,
1,
0,
1
],
"subrectangle": [
1,
1,
2,
2
],
"insetColor": [
1,
0,
1,
1
]
}
},
"controls": {}
}
]One collector runs per invocation. Results and JSON select this signal’s fields; any companions execute in the same collector.
Generated source manifest lists runtime files, fixture URLs and content digests for this build. The Source tab provides a copyable console sample.
Run and edit locally
From the repository root, start the Astro app, then open /signals/webgl.state-consistency. Edit the collector source and reload the page to load its new build.
pnpm run dev:webIn a browser module served by this repository’s Vite graph:
import { createCollector } from "/core/collect"
import { measurementModule } from "/core/signals/webgl/state-consistency"
const signal = measurementModule
const collector = createCollector()
const suite = { signals: [signal] }
const result = await collector.collect(suite)Reuse the collector owner for repeated calls so collection can enforce cleanup. This returns the collector’s raw result; app/signals/projection.ts selects the retained fields shown on this page.
rg -n 'measurementModule' core app tests
pnpm run check
pnpm run test tests/unit/app/focused-projection.test.ts| Property | Value |
|---|