Skip to content

[p5.js 2.0] State machines and renderer refactoring #4975

[p5.js 2.0] State machines and renderer refactoring

[p5.js 2.0] State machines and renderer refactoring #4975

Triggered via pull request October 22, 2024 20:31
Status Failure
Total duration 1m 46s
Artifacts

ci-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
test/unit/webgl/p5.Framebuffer.js > p5.Framebuffer > sizing > resizing > resizes the framebuffer by createFramebuffer based on max texture size: test/unit/webgl/p5.Framebuffer.js#L206
AssertionError: expected 200 to equal 100 - Expected + Received - 100 + 200 ❯ test/unit/webgl/p5.Framebuffer.js:206:30
test/unit/webgl/p5.Framebuffer.js > p5.Framebuffer > sizing > resizing > resizes the framebuffer by resize method based on max texture size: test/unit/webgl/p5.Framebuffer.js#L217
AssertionError: expected 200 to equal 100 - Expected + Received - 100 + 200 ❯ test/unit/webgl/p5.Framebuffer.js:217:30
test/unit/webgl/p5.Framebuffer.js > p5.Framebuffer > loadPixels works in arbitrary order for multiple framebuffers: src/webgl/p5.Framebuffer.js#L1558
TypeError: this.renderer.imageMode is not a function ❯ Framebuffer.updatePixels src/webgl/p5.Framebuffer.js:1558:21 ❯ test/unit/webgl/p5.Framebuffer.js:502:12
test/unit/webgl/p5.RendererGL.js > p5.RendererGL > webglVersion > works on p5.Graphics: test/unit/webgl/p5.RendererGL.js#L42
AssertionError: expected Symbol(webgl) to equal Symbol(webgl2) - Expected + Received - Symbol(webgl2) + Symbol(webgl) ❯ test/unit/webgl/p5.RendererGL.js:42:14
test/unit/webgl/p5.RendererGL.js > p5.RendererGL > filter shader > custom shaders > work with a 2D main canvas: src/webgl/p5.RendererGL.js#L2402
Error: shader() is only supported in WEBGL mode. If you'd like to use 3D graphics and WebGL, see https://p5js.org/examples/form-3d-primitives.html for more information. ❯ fn._assert3d src/webgl/p5.RendererGL.js:2402:13 ❯ fn.shader src/webgl/material.js:864:10 ❯ src/webgl/p5.RendererGL.js:868:21 ❯ Framebuffer.draw src/webgl/p5.Framebuffer.js:1271:5 ❯ RendererGL.filter src/webgl/p5.RendererGL.js:865:11 ❯ fn.filter src/image/pixels.js:731:38 ❯ fn.filter src/image/pixels.js:773:27 ❯ testFilterShader test/unit/webgl/p5.RendererGL.js:170:16 ❯ test/unit/webgl/p5.RendererGL.js:180:9
test/unit/webgl/p5.RendererGL.js > p5.RendererGL > filter shader > custom shaders > work with a 2D graphic: src/webgl/p5.RendererGL.js#L2402
Error: shader() is only supported in WEBGL mode. If you'd like to use 3D graphics and WebGL, see https://p5js.org/examples/form-3d-primitives.html for more information. ❯ fn._assert3d src/webgl/p5.RendererGL.js:2402:13 ❯ fn.shader src/webgl/material.js:864:10 ❯ src/webgl/p5.RendererGL.js:868:21 ❯ Framebuffer.draw src/webgl/p5.Framebuffer.js:1271:5 ❯ RendererGL.filter src/webgl/p5.RendererGL.js:865:11 ❯ fn.filter src/image/pixels.js:731:38 ❯ fn.filter src/image/pixels.js:773:27 ❯ testFilterShader test/unit/webgl/p5.RendererGL.js:170:16 ❯ test/unit/webgl/p5.RendererGL.js:191:9
test/unit/webgl/p5.RendererGL.js > p5.RendererGL > filter shader > custom shaders > work with a WebGL graphic: src/webgl/p5.RendererGL.js#L2402
Error: shader() is only supported in WEBGL mode. If you'd like to use 3D graphics and WebGL, see https://p5js.org/examples/form-3d-primitives.html for more information. ❯ fn._assert3d src/webgl/p5.RendererGL.js:2402:13 ❯ fn.shader src/webgl/material.js:864:10 ❯ src/webgl/p5.RendererGL.js:868:21 ❯ Framebuffer.draw src/webgl/p5.Framebuffer.js:1271:5 ❯ RendererGL.filter src/webgl/p5.RendererGL.js:865:11 ❯ fn.filter src/image/pixels.js:731:38 ❯ testFilterShader test/unit/webgl/p5.RendererGL.js:170:16 ❯ test/unit/webgl/p5.RendererGL.js:197:9
test/unit/webgl/p5.RendererGL.js > p5.RendererGL > filter shader > Filter graphics layer get resized in 2D mode: src/webgl/p5.RendererGL.js#L2402
Error: shader() is only supported in WEBGL mode. If you'd like to use 3D graphics and WebGL, see https://p5js.org/examples/form-3d-primitives.html for more information. ❯ fn._assert3d src/webgl/p5.RendererGL.js:2402:13 ❯ fn.shader src/webgl/material.js:864:10 ❯ src/webgl/p5.RendererGL.js:868:21 ❯ Framebuffer.draw src/webgl/p5.Framebuffer.js:1271:5 ❯ RendererGL.filter src/webgl/p5.RendererGL.js:865:11 ❯ fn.filter src/image/pixels.js:731:38 ❯ fn.filter src/image/pixels.js:773:27 ❯ test/unit/webgl/p5.RendererGL.js:240:12
test/unit/webgl/p5.RendererGL.js > p5.RendererGL > filter shader > filter shader works on a p5.Graphics: src/webgl/p5.Shader.js#L624
Error: The shader being run is attached to a different context. Do you need to copy it to this context first with .copyToContext()? ❯ Shader.ensureCompiledOnContext src/webgl/p5.Shader.js:624:13 ❯ fn.shader src/webgl/material.js:867:7 ❯ src/webgl/p5.RendererGL.js:868:21 ❯ Framebuffer.draw src/webgl/p5.Framebuffer.js:1271:5 ❯ RendererGL.filter src/webgl/p5.RendererGL.js:865:11 ❯ fn.filter src/image/pixels.js:731:38 ❯ test/unit/webgl/p5.RendererGL.js:330:10
test/unit/webgl/p5.RendererGL.js > p5.RendererGL > filter shader > filter() uses WEBGL implementation behind main P2D canvas: src/webgl/p5.RendererGL.js#L2402
Error: shader() is only supported in WEBGL mode. If you'd like to use 3D graphics and WebGL, see https://p5js.org/examples/form-3d-primitives.html for more information. ❯ fn._assert3d src/webgl/p5.RendererGL.js:2402:13 ❯ fn.shader src/webgl/material.js:864:10 ❯ RendererGL.filter src/webgl/p5.RendererGL.js:836:19 ❯ fn.filter src/image/pixels.js:751:38 ❯ fn.filter src/image/pixels.js:773:27 ❯ test/unit/webgl/p5.RendererGL.js:348:12
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/