@antv/g-webgpu 1.1.8-alpha.0 → 1.1.8-alpha.1
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/ContextRegisterPlugin.d.ts +1 -2
- package/dist/ContextRegisterPlugin.d.ts.map +1 -1
- package/dist/WebGLContextService.d.ts.map +1 -1
- package/dist/index.esm.js +1 -2
- package/dist/index.js +3 -4
- package/dist/index.umd.js +7394 -7393
- package/dist/index.umd.min.js +6 -6
- package/package.json +7 -8
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { Syringe } from '
|
|
2
|
-
import type { RendererPlugin } from '@antv/g';
|
|
1
|
+
import type { RendererPlugin, Syringe } from '@antv/g';
|
|
3
2
|
export declare class ContextRegisterPlugin implements RendererPlugin {
|
|
4
3
|
name: string;
|
|
5
4
|
init(container: Syringe.Container): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextRegisterPlugin.d.ts","sourceRoot":"","sources":["../src/ContextRegisterPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ContextRegisterPlugin.d.ts","sourceRoot":"","sources":["../src/ContextRegisterPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAWvD,qBAAa,qBAAsB,YAAW,cAAc;IAC1D,IAAI,SAA6B;IACjC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,SAAS,GAAG,IAAI;IAGxC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,SAAS,GAAG,IAAI;CAG5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebGLContextService.d.ts","sourceRoot":"","sources":["../src/WebGLContextService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,
|
|
1
|
+
{"version":3,"file":"WebGLContextService.d.ts","sourceRoot":"","sources":["../src/WebGLContextService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAEL,cAAc,EAMf,MAAM,SAAS,CAAC;AAEjB,qBACa,mBAAoB,YAAW,cAAc,CAAC,qBAAqB,CAAC;IAC/E,OAAO,CAAC,UAAU,CAAqB;IACvC,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,OAAO,CAA+B;IAG9C,OAAO,CAAC,YAAY,CAAe;IAE7B,IAAI;IAgCV,aAAa;IAIb,UAAU;IAIV,qBAAqB;IAMrB,OAAO;IAQP,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAapC,MAAM;IAIN,gBAAgB,CAAC,MAAM,EAAE,MAAM;CAKhC"}
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CanvasConfig, ContextService, setDOMSize, isString, isBrowser, AbstractRenderer } from '@antv/g';
|
|
1
|
+
import { inject, CanvasConfig, singleton, ContextService, setDOMSize, isString, isBrowser, Module, AbstractRenderer } from '@antv/g';
|
|
2
2
|
import { Plugin as Plugin$2 } from '@antv/g-plugin-dom-interaction';
|
|
3
3
|
import * as DomInteraction from '@antv/g-plugin-dom-interaction';
|
|
4
4
|
export { DomInteraction };
|
|
@@ -9,7 +9,6 @@ import { Plugin } from '@antv/g-plugin-webgpu-device';
|
|
|
9
9
|
import * as WebGPUDevice from '@antv/g-plugin-webgpu-device';
|
|
10
10
|
export { WebGPUDevice };
|
|
11
11
|
import { Plugin as Plugin$3 } from '@antv/g-plugin-html-renderer';
|
|
12
|
-
import { inject, singleton, Module } from 'mana-syringe';
|
|
13
12
|
|
|
14
13
|
function _regeneratorRuntime() {
|
|
15
14
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,6 @@ var DomInteraction = require('@antv/g-plugin-dom-interaction');
|
|
|
7
7
|
var DeviceRenderer = require('@antv/g-plugin-device-renderer');
|
|
8
8
|
var WebGPUDevice = require('@antv/g-plugin-webgpu-device');
|
|
9
9
|
var HTMLRenderer = require('@antv/g-plugin-html-renderer');
|
|
10
|
-
var manaSyringe = require('mana-syringe');
|
|
11
10
|
|
|
12
11
|
function _interopNamespace(e) {
|
|
13
12
|
if (e && e.__esModule) return e;
|
|
@@ -569,13 +568,13 @@ var WebGLContextService = /*#__PURE__*/function () {
|
|
|
569
568
|
return WebGLContextService;
|
|
570
569
|
}();
|
|
571
570
|
|
|
572
|
-
__decorate([
|
|
571
|
+
__decorate([g.inject(g.CanvasConfig), __metadata("design:type", Object)], WebGLContextService.prototype, "canvasConfig", void 0);
|
|
573
572
|
|
|
574
|
-
WebGLContextService = __decorate([
|
|
573
|
+
WebGLContextService = __decorate([g.singleton({
|
|
575
574
|
token: g.ContextService
|
|
576
575
|
})], WebGLContextService);
|
|
577
576
|
|
|
578
|
-
var containerModule =
|
|
577
|
+
var containerModule = g.Module(function (register) {
|
|
579
578
|
/**
|
|
580
579
|
* implements ContextService
|
|
581
580
|
*/
|