@antv/g-webgpu 2.0.20 → 2.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +175 -121
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +187 -133
- package/dist/index.js.map +1 -1
- package/dist/index.umd.min.js +34 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +12 -9
- package/{dist → types}/ContextRegisterPlugin.d.ts +1 -0
- package/types/ContextRegisterPlugin.d.ts.map +1 -0
- package/{dist → types}/WebGPUContextService.d.ts +1 -0
- package/types/WebGPUContextService.d.ts.map +1 -0
- package/{dist → types}/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/g-webgpu",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.22",
|
|
4
4
|
"description": "A renderer implemented by WebGPU",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antv",
|
|
@@ -17,30 +17,32 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"author": "https://github.com/orgs/antvis/people",
|
|
19
19
|
"exports": {
|
|
20
|
-
"types": "./
|
|
20
|
+
"types": "./types/index.d.ts",
|
|
21
21
|
"import": "./dist/index.esm.js",
|
|
22
22
|
"default": "./dist/index.js"
|
|
23
23
|
},
|
|
24
24
|
"main": "dist/index.js",
|
|
25
25
|
"unpkg": "dist/index.umd.min.js",
|
|
26
26
|
"module": "dist/index.esm.js",
|
|
27
|
-
"types": "
|
|
27
|
+
"types": "types/index.d.ts",
|
|
28
28
|
"files": [
|
|
29
29
|
"package.json",
|
|
30
30
|
"dist",
|
|
31
|
+
"types",
|
|
31
32
|
"LICENSE",
|
|
32
33
|
"README.md"
|
|
33
34
|
],
|
|
34
35
|
"dependencies": {
|
|
35
36
|
"@antv/g-device-api": "^1.6.10",
|
|
36
37
|
"@antv/util": "^3.3.5",
|
|
38
|
+
"@babel/runtime": "^7.25.6",
|
|
37
39
|
"@webgpu/types": "^0.1.6",
|
|
38
40
|
"tslib": "^2.5.3",
|
|
39
|
-
"@antv/g-lite": "2.1.
|
|
40
|
-
"@antv/g-plugin-device-renderer": "2.1.
|
|
41
|
-
"@antv/g-plugin-dom-interaction": "2.1.
|
|
42
|
-
"@antv/g-plugin-
|
|
43
|
-
"@antv/g-plugin-
|
|
41
|
+
"@antv/g-lite": "2.1.2",
|
|
42
|
+
"@antv/g-plugin-device-renderer": "2.1.2",
|
|
43
|
+
"@antv/g-plugin-dom-interaction": "2.1.2",
|
|
44
|
+
"@antv/g-plugin-image-loader": "2.0.13",
|
|
45
|
+
"@antv/g-plugin-html-renderer": "2.1.2"
|
|
44
46
|
},
|
|
45
47
|
"devDependencies": {
|
|
46
48
|
"@types/gl-matrix": "^2.4.5",
|
|
@@ -50,7 +52,8 @@
|
|
|
50
52
|
"access": "public"
|
|
51
53
|
},
|
|
52
54
|
"scripts": {
|
|
53
|
-
"build": "
|
|
55
|
+
"build:types": "tsc --emitDeclarationOnly --noCheck",
|
|
56
|
+
"build": "npm run clean && npm run build:types && rollup -c",
|
|
54
57
|
"clean": "rimraf dist",
|
|
55
58
|
"sync": "tnpm sync",
|
|
56
59
|
"watch": "rollup -c -w"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextRegisterPlugin.d.ts","sourceRoot":"","sources":["../src/ContextRegisterPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,KAAK,cAAc,MAAM,gCAAgC,CAAC;AAGtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAEzC,qBAAa,qBAAsB,SAAQ,sBAAsB;IAG7D,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,MAAM;IAHhB,IAAI,SAA6B;gBAEvB,cAAc,EAAE,cAAc,CAAC,MAAM,EACrC,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC;IAK/C,IAAI,IAAI,IAAI;IASZ,OAAO,IAAI,IAAI;CAGhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebGPUContextService.d.ts","sourceRoot":"","sources":["../src/WebGPUContextService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,UAAU,EACV,cAAc,EACd,aAAa,EAEb,cAAc,EACf,MAAM,cAAc,CAAC;AAKtB,qBAAa,oBAAqB,YAAW,cAAc,CAAC,gBAAgB,CAAC;IAC3E,OAAO,CAAC,UAAU,CAAqB;IACvC,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,GAAG,CAAS;IAEpB,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,oBAAoB,CAAwB;gBAExC,OAAO,EAAE,aAAa,GAAG,aAAa;IAMlD,IAAI;IAkCJ,aAAa;IAIb,UAAU;IAOV,qBAAqB;IAMrB,OAAO;IAQP,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAmBpC,MAAM;IAIN,gBAAgB,CAAC,MAAM,EAAE,MAAM;IAMzB,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC;CAGjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAI7D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,qBAAa,QAAS,SAAQ,gBAAgB;IAC5C,cAAc,iBAAuB;gBAEzB,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC;CAenD"}
|