@antv/g-webgpu 1.7.17 → 1.7.19

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { Syringe, setDOMSize, singleton, ContextService, inject, CanvasConfig, isBrowser, Module, AbstractRendererPlugin, AbstractRenderer } from '@antv/g-lite';
1
+ import { Syringe, singleton, ContextService, inject, CanvasConfig, setDOMSize, isBrowser, Module, AbstractRendererPlugin, AbstractRenderer } from '@antv/g-lite';
2
2
  import { Plugin } from '@antv/g-plugin-device-renderer';
3
3
  import * as DeviceRenderer from '@antv/g-plugin-device-renderer';
4
4
  export { DeviceRenderer };
package/dist/index.umd.js CHANGED
@@ -14864,6 +14864,13 @@
14864
14864
  renderingService.hooks.destroy.tap(PickingPlugin_1.tag, function () {
14865
14865
  _this.renderingContext.root.removeEventListener(gLite.ElementEvent.MOUNTED, handleMounted);
14866
14866
  });
14867
+ /**
14868
+ * Sync version is not implemented.
14869
+ */
14870
+
14871
+ renderingService.hooks.pickSync.tap(PickingPlugin_1.tag, function (result) {
14872
+ return result;
14873
+ });
14867
14874
  renderingService.hooks.pick.tapPromise(PickingPlugin_1.tag, /*#__PURE__*/function () {
14868
14875
  var _ref2 = _asyncToGenerator$2( /*#__PURE__*/_regeneratorRuntime$2().mark(function _callee2(result) {
14869
14876
  var topmost, position, x, y, dpr, width, height, xInDevicePixel, yInDevicePixel, pickedDisplayObjects;