[p5.js 2.0] State machines and renderer refactoring #4931
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 > Framebuffers work on p5.Graphics:
test/unit/webgl/p5.Framebuffer.js#L292
TypeError: graphic.box is not a function
❯ test/unit/webgl/p5.Framebuffer.js:292:15
❯ Framebuffer.draw src/webgl/p5.Framebuffer.js:1310:7
❯ test/unit/webgl/p5.Framebuffer.js:288:9
|
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/image/pixels.js#L410
TypeError: dstImage.noLights is not a function
❯ fn._copyHelper src/image/pixels.js:410:16
❯ fn.copy src/image/pixels.js:383:8
❯ fn.filter src/image/pixels.js:761: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:
test/unit/webgl/p5.RendererGL.js#L169
TypeError: target.createFilterShader is not a function
❯ testFilterShader test/unit/webgl/p5.RendererGL.js:169:26
❯ 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:
test/unit/webgl/p5.RendererGL.js#L169
TypeError: target.createFilterShader is not a function
❯ testFilterShader test/unit/webgl/p5.RendererGL.js:169:26
❯ 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/image/pixels.js#L410
TypeError: dstImage.noLights is not a function
❯ fn._copyHelper src/image/pixels.js:410:16
❯ fn.copy src/image/pixels.js:383:8
❯ fn.filter src/image/pixels.js:761: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:
test/unit/webgl/p5.RendererGL.js#L326
TypeError: pg.createFilterShader is not a function
❯ test/unit/webgl/p5.RendererGL.js:326:18
|
test/unit/webgl/p5.RendererGL.js > p5.RendererGL > filter shader > filter() uses WEBGL implementation behind main P2D canvas:
src/image/pixels.js#L410
TypeError: dstImage.noLights is not a function
❯ fn._copyHelper src/image/pixels.js:410:16
❯ fn.copy src/image/pixels.js:383:8
❯ fn.filter src/image/pixels.js:761: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/
|