@antv/g-webgpu 1.1.8 → 1.2.0
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.d.ts.map +1 -1
- package/dist/index.esm.js +7 -4
- package/dist/index.js +3 -0
- package/dist/index.umd.js +925 -202
- package/dist/index.umd.min.js +7 -5
- package/package.json +7 -6
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AAEtE,aAAK,oBAAoB,GAAG,cAAc,CAAC;AAE3C,qBAAa,QAAS,SAAQ,gBAAgB;gBAChC,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC;CAUnD"}
|
package/dist/index.esm.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { inject, CanvasConfig, singleton, ContextService, setDOMSize, isString, isBrowser, Module, AbstractRenderer } from '@antv/g';
|
|
2
|
-
import { Plugin as Plugin$
|
|
2
|
+
import { Plugin as Plugin$2 } from '@antv/g-plugin-device-renderer';
|
|
3
3
|
import * as DeviceRenderer from '@antv/g-plugin-device-renderer';
|
|
4
4
|
export { DeviceRenderer };
|
|
5
|
-
import { Plugin as Plugin$
|
|
5
|
+
import { Plugin as Plugin$3 } from '@antv/g-plugin-dom-interaction';
|
|
6
6
|
import * as DomInteraction from '@antv/g-plugin-dom-interaction';
|
|
7
7
|
export { DomInteraction };
|
|
8
|
-
import { Plugin as Plugin$
|
|
8
|
+
import { Plugin as Plugin$4 } from '@antv/g-plugin-html-renderer';
|
|
9
9
|
import * as HTMLRenderer from '@antv/g-plugin-html-renderer';
|
|
10
10
|
export { HTMLRenderer };
|
|
11
|
-
import { Plugin } from '@antv/g-plugin-
|
|
11
|
+
import { Plugin } from '@antv/g-plugin-image-loader';
|
|
12
|
+
import { Plugin as Plugin$1 } from '@antv/g-plugin-webgpu-device';
|
|
12
13
|
import * as WebGPUDevice from '@antv/g-plugin-webgpu-device';
|
|
13
14
|
export { WebGPUDevice };
|
|
14
15
|
|
|
@@ -596,6 +597,8 @@ var Renderer = /*#__PURE__*/function (_AbstractRenderer) {
|
|
|
596
597
|
|
|
597
598
|
_this.registerPlugin(new Plugin$3());
|
|
598
599
|
|
|
600
|
+
_this.registerPlugin(new Plugin$4());
|
|
601
|
+
|
|
599
602
|
return _this;
|
|
600
603
|
}
|
|
601
604
|
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var g = require('@antv/g');
|
|
|
6
6
|
var DeviceRenderer = require('@antv/g-plugin-device-renderer');
|
|
7
7
|
var DomInteraction = require('@antv/g-plugin-dom-interaction');
|
|
8
8
|
var HTMLRenderer = require('@antv/g-plugin-html-renderer');
|
|
9
|
+
var ImageLoader = require('@antv/g-plugin-image-loader');
|
|
9
10
|
var WebGPUDevice = require('@antv/g-plugin-webgpu-device');
|
|
10
11
|
|
|
11
12
|
function _interopNamespace(e) {
|
|
@@ -609,6 +610,8 @@ var Renderer = /*#__PURE__*/function (_AbstractRenderer) {
|
|
|
609
610
|
|
|
610
611
|
_this.registerPlugin(new ContextRegisterPlugin());
|
|
611
612
|
|
|
613
|
+
_this.registerPlugin(new ImageLoader.Plugin());
|
|
614
|
+
|
|
612
615
|
_this.registerPlugin(new WebGPUDevice.Plugin());
|
|
613
616
|
|
|
614
617
|
_this.registerPlugin(new DeviceRenderer.Plugin());
|