890 Commits

Author SHA1 Message Date
Ib Green
f6848a93b0
feat: Add shader inputs (uniform buffer) debug trace (#1918) 2024-01-12 15:59:43 -05:00
Ib Green
ab4f510bf9
chore(core): Separate GPU-independent utils (#1916) 2024-01-12 12:08:52 -05:00
Ib Green
ca464a4a24
feat: Improve DeviceInfo (#1917) 2024-01-12 12:08:39 -05:00
felixpalmer
3f82222d94
chore(engine) Use log.warn rather than console.warn (#1914) 2024-01-12 10:42:53 +01:00
Felix Palmer
41fa29f78d v9.0.0-alpha.52 2024-01-12 09:38:03 +01:00
felixpalmer
ce862534a8
feat(engine) Ignore props for unregistered modules in ShaderInputs (#1911) 2024-01-12 08:56:21 +01:00
Ib Green
a381f80001
feat: ShaderLayout debug trace (#1913) 2024-01-11 13:28:06 -05:00
felixpalmer
23dd8c4344
fix(core) Prevent crash when scrollIntoView unavailable #1912 2024-01-11 17:47:55 +01:00
Felix Palmer
368b615bdd v9.0.0-alpha.51 2024-01-10 15:37:48 +01:00
felixpalmer
2432317bee
feat(shadertools) Port pbr shader module to glsl300 (#1909) 2024-01-10 15:21:14 +01:00
Ib Green
e7b7eebc2f
feat(core): Shader debugger (#1892)
Co-authored-by: Felix Palmer <felixpalmer@gmail.com>
2024-01-09 16:19:46 -05:00
Felix Palmer
83899806fc v9.0.0-alpha.50 2024-01-04 16:15:05 +01:00
Don McCurdy
efdb8c3454 v9.0.0-alpha.49 2024-01-04 10:07:17 -05:00
felixpalmer
1435c0b139
feat(engine) Partial prop updates in ShaderInputs.setProps (#1907) 2024-01-04 15:54:51 +01:00
Don McCurdy
beba1c01e4
feat(engine): Transform → BufferTransform + TextureTransform (#1896)
---------

Co-authored-by: felixpalmer <felixpalmer@gmail.com>
2024-01-04 09:40:38 -05:00
felixpalmer
f31ef6405d
fix(shadertools): Correct order of uniforms in picking module (#1906) 2024-01-03 16:00:27 +01:00
Don McCurdy
8c9c21121d
chore(lint): Fix lint errors (#1905) 2024-01-02 13:36:29 -05:00
Felix Palmer
e574797126 v9.0.0-alpha.48 2024-01-02 16:05:21 +01:00
Don McCurdy
494b3e7b21
fix(shadertools): Explicit GLSL version and language (#1904) 2024-01-02 09:42:38 -05:00
Don McCurdy
9a5a1395ae
feat(webgl): Restore blending in setDeviceParameters (#1902) 2023-12-27 10:29:59 -05:00
Ib Green
5afee0ce7a
feat(engine): Add ShaderInputs class (#1872)
Co-authored-by: felixpalmer <felixpalmer@gmail.com>
2023-12-22 11:04:10 -05:00
felixpalmer
edf1df483f
feat(webgl) Allow passing null to setIndexBuffer (#1888) 2023-12-21 10:06:57 +01:00
郭斌勇
8a27be912d
refactor(engine): AnimationLoop start (#1897) 2023-12-20 21:49:07 -05:00
郭斌勇
0beec2900e
fix(engine): AnimationLoop cancelAnimationFrame (#1895) 2023-12-20 15:27:54 -05:00
felixpalmer
463b5613cb
feat(engine) Support normalized attributes in GPUGeometry (#1894) 2023-12-20 14:57:29 +01:00
Ib Green
88a73b4066
chore(shadertools): Improve ShaderModule typings (#1891) 2023-12-20 08:17:15 -05:00
Ib Green
e77599c00c
chore(shadertools): Improve generated shaders and ShaderModule typing (#1890) 2023-12-19 13:41:37 -05:00
Ib Green
c191615f53
chore(shadertools): Port all shaders to GLSL 3.00, enforce GLSL 3.00 source (#1887) 2023-12-19 13:13:38 -05:00
Ib Green
3a0091e71b
chore(shadertools): Port fp64 tests to GLSL 3.00 (#1886) 2023-12-19 07:15:34 -05:00
Felix Palmer
7c6e285180 v9.0.0-alpha.47 2023-12-19 12:44:28 +01:00
felixpalmer
68e651583c
feat(engine) Support all vertex format types in GPUGeometry (#1884) 2023-12-19 11:30:11 +01:00
Don McCurdy
6b2e7d7c53
chore(core-tests): Enable tests for copyTextureToBuffer with Framebuffer input (#1885) 2023-12-18 15:01:44 -05:00
Don McCurdy
a46cf83803
fix(shadertools): Add 'invariant' to fp64 varyings, partially fix issue on Apple GPUs (#1882) 2023-12-15 14:46:42 -05:00
Don McCurdy
adb6c17aae
fix(engine,shadertools) Minimum Transform implementation (#1879)
* Restores a minimal Transform implementation, pending v9 API changes
* Restores FP64 arithmetic tests
* Minor improvements to TransformFeedback API
2023-12-15 12:01:55 -05:00
felixpalmer
3cedfca243
feat(gltf) Support both size & components in GLTF attributes (#1880) 2023-12-15 11:08:05 +01:00
Don McCurdy
87f355d33f
Update TransformFeedback API document (#1876)
* docs: Update TransformFeedback API document

* Clean up

* Roll back signature of WebGLTransformFeedback#begin

* WebGLTransformFeedback#begin keep topology as input
2023-12-13 11:08:22 -05:00
Zbigniew Zagórski
2c98529b8d
website: Fix sidebar in examples (#1874)
* website: Fix sidebar in examples
* website: removed invalid images
* website: fixed luma-example switching tabs
* Device: expose destroy method

Co-authored-by: Ib Green <ib@foursquare.com>
2023-12-13 13:05:45 +01:00
felixpalmer
a58e8cb3b4
feat(gltf) Add name prop to GLTFAnimation class (#1878) 2023-12-13 11:16:32 +01:00
felixpalmer
b64928d18b
[chore] Correct types for GLTFInstantiator (#1877) 2023-12-13 10:54:57 +01:00
Felix Palmer
c1e0602fd7 v9.0.0-alpha.46 2023-12-12 15:19:08 +01:00
felixpalmer
4b0678a8b0
feat(gltf) Merge modelOptions passed to GLTFInstantiator (#1875) 2023-12-12 15:07:01 +01:00
Ib Green
5241500037
feat(webgl): Adds TransformFeedback resource (#1858)
* TransformFeedback: New API, WebGL2 only
* Device: Adds "transform-feedback-webgl2" feature string
* Model: Support TransformFeedback calls

---------

Co-authored-by: Don McCurdy <donmccurdy@cartodb.com>
2023-12-11 22:46:27 -05:00
Zbigniew Zagórski
abf286d03b
website: device-store to create hidden canvases for device (#1869)
* website: device-store to create hidden canvases for device

* cleanup & enable static build
2023-12-11 10:48:48 +01:00
Don McCurdy
0ffdf31b67
[core] Restore tests for CommandBuffer#copyTextureToBuffer (#1868) 2023-12-08 15:35:48 -05:00
Don McCurdy
cd9bbad437
[webgl] Remove BufferWithAccessor (#1864)
---------

Co-authored-by: Ib Green <ib@foursquare.com>
2023-12-08 15:12:58 -05:00
Don McCurdy
64ea88b77a
chore(style): Apply Prettier to all files touched by TransformFeedback changes (#1871) 2023-12-08 11:05:24 -05:00
Don McCurdy
3ab06eaf25
Fix babel-plugin-inline-webgl-constants for ES Modules (#1859)
* Removes '@luma.gl/constants' dependencies from non-webgl modules
2023-12-06 09:40:29 -05:00
Felix Palmer
38b58964a1 v9.0.0-alpha.45 2023-12-05 12:08:17 +01:00
felixpalmer
2dbe3dd658
Differentiate between settings/uniforms in picking (#1862) 2023-12-05 11:56:41 +01:00
Don McCurdy
43077d9d86
Move WebGL resource tests under modules/core-tests/ (#1855) 2023-12-04 11:28:47 -05:00