Ngo Iok Ui (Wu Yu Wei)
34c31ee418
WebGL2: support TexImage3D ( #37718 )
...
Add TexImage3D method to WebGL2RenderingContext
Testing: conformance2 should pass. Also it should get
http://webglsamples.org/WebGL2Samples/#texture_2d_array and
http://webglsamples.org/WebGL2Samples/#texture_3d running.
Fixes : #26511
Now Servo can run texture_2d_array and texture_3d samples!


And it can now run three.js too!

---------
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me>
2025-07-09 14:22:03 +00:00
Samson
5853c00628
Remove message from WebGL subtest name and remove stale expectations ( #35791 )
...
* Remove message from WebGL subtest name
This causes stale expectations: https://github.com/servo/servo/issues/35750
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-03-12 09:08:39 +00:00
Josh Matthews
5d1d3d6b5a
Update webgl conformance tests ( #33121 )
...
* Update python -> python3 for helper script.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update webgl conformance testsuite patches.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Import WebGL conformance testsuite for August 19, 2024.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update expected results.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Track the commit used for webgl conformance test import.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-11-04 04:27:29 +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
Josh Matthews
fbcf2bbc3e
Integrate swapchain surface provider changes into webgl and webxr implementations.
2020-03-09 17:50:54 -04:00
Mátyás Mustoha
18d40fb191
Update the WebGL2 test expectations
...
It seems the WPT test runner/updater has some troubles picking up
successful test results, so I've regenerated the `ini` files manually
for the WebGL2 tests.
2020-01-20 11:46:07 +01:00
Mátyás Mustoha
7d5048f885
Add support for WebGL2 uniform matrix operations
...
Adds support for the `uniformMatrix[234]x[234]fv` WebGL2 functions.
See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.8
2020-01-17 11:42:45 +01:00
Mátyás Mustoha
0650fc3199
Add support for WebGL2 uniform array operations
...
Adds support for the WebGL2 overloads of `uniform[1234][if]v`.
2020-01-16 12:09:23 +01:00
Mátyás Mustoha
bc914381a8
Add support for WebGL2 unsigned uniform operations
...
This adds support for the WebGL2 `uniform[1234]ui` and `uniform[1234]uiv`
operations.
See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.8
2020-01-15 13:48:35 +01:00
Mátyás Mustoha
da94f8d0e7
Add initial support for WebGL2 uniform buffer functions
...
Adds initial support for the following WebGL2 calls:
- bindBufferBase
- bindBufferRange
- getUniformIndices
- getUniformBlockIndex
- getActiveUniforms
- getActiveUniformBlockParameter
- getActiveUniformBlockName
- uniformBlockBinding
See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.16
2020-01-09 11:17:50 +01:00
Josh Matthews
156ad646a0
webgl: Set more ANGLE shader translation properties for WebGL 2.
2020-01-07 10:22:40 -05:00
Anthony Ramine
26a311fc62
Use sdk/tests when syncing from upstream Khronos WebGL tests
2018-08-25 13:34:53 +02:00