Martin Robinson
1e503c3bc1
wpt: Update some tests results ( #31364 )
...
This test has started failing on CI for some reason.
2024-02-16 09:37:47 +00:00
Paulo E. Castro
03b3d677f0
Amend test expectations.
2021-04-28 22:31:36 +01:00
Gregory Terzian
59896748b5
blockingly shut-down webrender when exiting webgl_thread
2020-06-17 13:47:13 +08:00
Mátyás Mustoha
a90f034976
Fix InvalidateSubFramebuffer error handling
...
The WebGL2 InvalidateSubFramebuffer function should generate
INVALID_VALUE when width or height is negative.
2020-04-22 12:45:56 +02:00
Alan Jeffrey
8bb1732258
Update surfman to 0.2 and remove glutin
2020-04-17 23:44:53 -05:00
Mátyás Mustoha
a6359fe587
Do not try to read pixels from an FBO without read buffer
...
Adds another check to the WebGL2 ReadPixels implementation to fix
an OpenGL invalid operation crash when the method is called on a
bound framebuffer that has no read buffer.
2020-03-17 10:55:41 +01:00
Mátyás Mustoha
0afe27ef18
Add support for WebGL2 read and draw buffer settings
...
Adds support for the `ReadBuffer` and `DrawBuffers`
WebGL2 calls and the related parameter getters.
See:
- https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2
- https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4
- https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.11
2020-03-16 12:17:15 +01:00
Mátyás Mustoha
5eaa9ef8cb
Add support for some more WebGL2 renderbuffer functions
...
Adds support for the following WebGL2 calls:
- `RenderbufferStorageMultisample`
- `GetInternalFormativ`
See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.5
2020-03-13 13:43:30 -04:00
Mátyás Mustoha
859a3a4924
Allow more WebGL2 FBO attachment formats
...
Add support for most of the framebuffer attachment formats
introduced in WebGL2 for textures and renderbuffers.
Related format tables:
- https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml
- https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glRenderbufferStorage.xhtml
2020-03-03 14:50:48 +01:00
Mátyás Mustoha
d5d0a788e3
Add support for WebGL2 getFramebufferAttachmentParameter
...
Implements the WebGL2 variant of `getFramebufferAttachmentParameter`
and the related parameter checks.
See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4
2020-02-21 17:30:03 +01:00
Mátyás Mustoha
b41805a920
Add support for WebGL2 framebuffer attachments
...
Adds an initial implementation for the framebuffer attachments
introduced with WebGL2 and the related enums and constrains checks.
2020-02-21 11:04:30 +01:00
Mátyás Mustoha
796ee70597
Add initial support for WebGL2 read framebuffer
...
Adds support for binding to the read framebuffer slot and querying
its status.
2020-02-14 12:10:16 +01:00
Mátyás Mustoha
833485887e
Add support for WebGL2 MAX_COLOR_ATTACHMENTS and MAX_DRAW_BUFFERS
...
Adds support for using the WebGL2 enums `MAX_COLOR_ATTACHMENTS` and
`MAX_DRAW_BUFFERS` with `GetParameter`.
See https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2
2020-02-14 11:03:28 +01:00
Anthony Ramine
9db1a5cd0b
Update some outdated WebGL expectations
2018-09-13 22:04:29 +02:00
Josh Matthews
b8ee62e67b
webgl: Update test results for newly-exposed missing checks.
2018-09-10 16:31:32 -04:00
Josh Matthews
d179435eab
webgl: Ensure that framebuffers have a color attachment before reading or writing.
2018-09-10 15:56:15 -04:00
Anthony Ramine
26a311fc62
Use sdk/tests when syncing from upstream Khronos WebGL tests
2018-08-25 13:34:53 +02:00
Anthony Ramine
4852f7d616
Move Khronos WebGL tests to /_webgl/
2018-08-25 03:43:32 +02:00