pcbjam/tests/e2e
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 6c2cf85177 feat(webgl): Fix GL initialization and add GLSL ES shader conversion
Progress on WEBGL_GAL rendering:

- Fix GLImmediateShim initialization by adding GL function dependencies
  (glBegin, glEnd, glVertex2f, etc.) to $GLImmediateShim__deps
- Add COLOR4D(EDA_COLOR_T) constructor stub to wasm_stubs.cpp
- Fix GAL context locking - add LockContext/UnlockContext calls
- Add exception catching to build (-sNO_DISABLE_EXCEPTION_CATCHING)
- Create GLSL ES 1.00 shader converter in generate_shaders.py:
  - Remove #version 120 directive (ES 1.00 default)
  - Add precision highp float/int qualifiers
  - Convert int * float to float literals (2 * x -> 2.0 * x)
- Update build script to clean output files for linker flag changes
- Add console capture to test spec for debugging

Current status:
- WASM builds and loads successfully
- GLImmediateShim initializes correctly
- WEBGL_GAL creates successfully
- Shader compilation fails due to Emscripten LEGACY_GL_EMULATION
  prepending code that conflicts with custom shader precision

Next: Investigate shader compilation with LEGACY_GL_EMULATION or
consider alternative approaches for GL compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 21:59:21 +01:00
..
baseline-screenshots Fix wxGrid test crash and add debug build support 2025-11-29 22:15:56 +01:00
utils Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
aui.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
auinotebook.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
bitmapbuttons.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
bitmask.spec.ts Add WASM feature tests: font enum, text decor, bitmap mask, regions 2025-12-04 11:06:33 +01:00
calendar.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
clipboard.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
collapsible.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
dataview.spec.ts Extend element registry and migrate all tests to semantic selectors 2025-12-30 14:17:51 +01:00
dataviewvirtual.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
dialog.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
dialogs.spec.ts Extend element registry and migrate all tests to semantic selectors 2025-12-30 14:17:51 +01:00
dnd.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
earlysize.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
filedialog.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
fontenum.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
gal-webgl.spec.ts feat(webgl): Fix GL initialization and add GLSL ES shader conversion 2026-01-07 21:59:21 +01:00
grid.spec.ts Extend element registry and migrate all tests to semantic selectors 2025-12-30 14:17:51 +01:00
gridedit.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
gridrenderers.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
htmlwin.spec.ts Extend element registry and migrate all tests to semantic selectors 2025-12-30 14:17:51 +01:00
infobar.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
layout.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
listctrl.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
logerror.spec.ts Add element registry for semantic E2E test automation 2025-12-29 12:11:33 +01:00
maximize.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
menu.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
opengl.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
ownerdrawn.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
pickers.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
popup.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
print.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
printpreview.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
propgrid.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
regions.spec.ts Add WASM feature tests: font enum, text decor, bitmap mask, regions 2025-12-04 11:06:33 +01:00
specialized.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
stc.spec.ts Extend element registry and migrate all tests to semantic selectors 2025-12-30 14:17:51 +01:00
textdecor.spec.ts Add WASM feature tests: font enum, text decor, bitmap mask, regions 2025-12-04 11:06:33 +01:00
threadpool.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
timer.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
toolbar.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
tree.spec.ts Extend element registry and migrate all tests to semantic selectors 2025-12-30 14:17:51 +01:00
validators.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
wasmedge.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
wizard.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
wxwidgets.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
xml.spec.ts Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00