@itwin/ecschema-rpcinterface-tests 5.13.4 → 5.13.5
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/lib/dist/bundled-tests.js +18 -20
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -131431,8 +131431,8 @@ class FrameBuffers {
|
|
|
131431
131431
|
idsAndZComposite;
|
|
131432
131432
|
idsAndAltZComposite;
|
|
131433
131433
|
edlDrawCol;
|
|
131434
|
-
init(textures, depth, depthMS) {
|
|
131435
|
-
if (!this.initPotentialMSFbos(textures, depth, depthMS))
|
|
131434
|
+
init(textures, depth, depthMS, boundColor) {
|
|
131435
|
+
if (!this.initPotentialMSFbos(textures, depth, depthMS, boundColor))
|
|
131436
131436
|
return false;
|
|
131437
131437
|
this.depthAndOrder = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.depthAndOrder)], depth);
|
|
131438
131438
|
this.hilite = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.hilite)], depth);
|
|
@@ -131440,7 +131440,7 @@ class FrameBuffers {
|
|
|
131440
131440
|
if (!this.depthAndOrder || !this.hilite || !this.hiliteUsingStencil)
|
|
131441
131441
|
return false;
|
|
131442
131442
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined === this.opaqueAll);
|
|
131443
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS))
|
|
131443
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor))
|
|
131444
131444
|
return false;
|
|
131445
131445
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.accumulation && undefined !== textures.revealage);
|
|
131446
131446
|
const colors = [textures.accumulation, textures.revealage];
|
|
@@ -131457,9 +131457,8 @@ class FrameBuffers {
|
|
|
131457
131457
|
&& undefined !== this.clearTranslucent
|
|
131458
131458
|
&& undefined !== this.pingPong;
|
|
131459
131459
|
}
|
|
131460
|
-
initPotentialMSFbos(textures, depth, depthMS) {
|
|
131461
|
-
|
|
131462
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor && undefined !== textures.color);
|
|
131460
|
+
initPotentialMSFbos(textures, depth, depthMS, boundColor) {
|
|
131461
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color);
|
|
131463
131462
|
if (undefined === depthMS) {
|
|
131464
131463
|
this.opaqueColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([boundColor], depth);
|
|
131465
131464
|
this.opaqueAndCompositeColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([textures.color], depth);
|
|
@@ -131472,10 +131471,8 @@ class FrameBuffers {
|
|
|
131472
131471
|
return undefined !== this.opaqueColor
|
|
131473
131472
|
&& undefined !== this.opaqueAndCompositeColor;
|
|
131474
131473
|
}
|
|
131475
|
-
initPotentialMSMRTFbos(textures, depth, depthMs) {
|
|
131476
|
-
|
|
131477
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor &&
|
|
131478
|
-
undefined !== textures.color &&
|
|
131474
|
+
initPotentialMSMRTFbos(textures, depth, depthMs, boundColor) {
|
|
131475
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color &&
|
|
131479
131476
|
undefined !== textures.featureId &&
|
|
131480
131477
|
undefined !== textures.depthAndOrder &&
|
|
131481
131478
|
undefined !== textures.accumulation &&
|
|
@@ -131589,23 +131586,23 @@ class FrameBuffers {
|
|
|
131589
131586
|
this.idsAndAltZComposite = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.idsAndAltZComposite);
|
|
131590
131587
|
}
|
|
131591
131588
|
}
|
|
131592
|
-
enableMultiSampling(textures, depth, depthMS) {
|
|
131589
|
+
enableMultiSampling(textures, depth, depthMS, boundColor) {
|
|
131593
131590
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
131594
131591
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
131595
|
-
let rVal = this.initPotentialMSFbos(textures, depth, depthMS);
|
|
131592
|
+
let rVal = this.initPotentialMSFbos(textures, depth, depthMS, boundColor);
|
|
131596
131593
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
131597
131594
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
131598
|
-
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS);
|
|
131595
|
+
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor);
|
|
131599
131596
|
return rVal;
|
|
131600
131597
|
}
|
|
131601
|
-
disableMultiSampling(textures, depth) {
|
|
131598
|
+
disableMultiSampling(textures, depth, boundColor) {
|
|
131602
131599
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
131603
131600
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
131604
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, undefined))
|
|
131601
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, undefined, boundColor))
|
|
131605
131602
|
return false;
|
|
131606
131603
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
131607
131604
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
131608
|
-
return this.initPotentialMSFbos(textures, depth, undefined);
|
|
131605
|
+
return this.initPotentialMSFbos(textures, depth, undefined, boundColor);
|
|
131609
131606
|
}
|
|
131610
131607
|
get isDisposed() {
|
|
131611
131608
|
return undefined === this.opaqueColor && undefined === this.opaqueAndCompositeColor && undefined === this.depthAndOrder
|
|
@@ -132648,7 +132645,7 @@ class Compositor extends SceneCompositor {
|
|
|
132648
132645
|
this._depthMS = undefined;
|
|
132649
132646
|
if (this._depth !== undefined) {
|
|
132650
132647
|
return this._textures.init(this._width, this._height, this._antialiasSamples)
|
|
132651
|
-
&& this._fbos.init(this._textures, this._depth, this._depthMS)
|
|
132648
|
+
&& this._fbos.init(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture))
|
|
132652
132649
|
&& this._geom.init(this._textures)
|
|
132653
132650
|
&& this.eyeDomeLighting.init(this._width, this._height, this._depth);
|
|
132654
132651
|
}
|
|
@@ -132663,11 +132660,11 @@ class Compositor extends SceneCompositor {
|
|
|
132663
132660
|
if (!this._textures.enableMultiSampling(this._width, this._height, this._antialiasSamples))
|
|
132664
132661
|
return false;
|
|
132665
132662
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth && undefined !== this._depthMS);
|
|
132666
|
-
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS);
|
|
132663
|
+
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture));
|
|
132667
132664
|
}
|
|
132668
132665
|
disableMultiSampling() {
|
|
132669
132666
|
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth);
|
|
132670
|
-
if (!this._fbos.disableMultiSampling(this._textures, this._depth))
|
|
132667
|
+
if (!this._fbos.disableMultiSampling(this._textures, this._depth, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture)))
|
|
132671
132668
|
return false;
|
|
132672
132669
|
// Want to disable multisampling without deleting & reallocating other stuff.
|
|
132673
132670
|
this._depthMS = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._depthMS);
|
|
@@ -137199,6 +137196,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
137199
137196
|
this._antialiasSamples = (undefined !== _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples ? _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples : 1);
|
|
137200
137197
|
}
|
|
137201
137198
|
get compositor() { return this._compositor; }
|
|
137199
|
+
get outputColorTexture() { return this._fbo?.getColor(0); }
|
|
137202
137200
|
get isReadPixelsInProgress() { return this._isReadPixelsInProgress; }
|
|
137203
137201
|
get readPixelsSelector() { return this._readPixelsSelector; }
|
|
137204
137202
|
get drawNonLocatable() { return this._drawNonLocatable; }
|
|
@@ -336597,7 +336595,7 @@ class WMS {
|
|
|
336597
336595
|
(module) {
|
|
336598
336596
|
|
|
336599
336597
|
"use strict";
|
|
336600
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.13.
|
|
336598
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.13.5","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s build:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run build:test-worker && vitest --run","cover":"npm run build:test-worker && vitest --run","build:test-worker":"vite build --config ./src/test/worker/vite.config.mts 1>&2","build:workers":"rimraf lib/workers/webpack && vite build --config ./src/workers/ImdlParser/vite.config.mts 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.11","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.10","@vitest/coverage-v8":"^4.1.10","cpx2":"^8.0.0","eslint":"^9.31.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","typescript":"~5.6.2","vite":"^6.4.3","vitest":"^4.1.10","vite-plugin-static-copy":"2.2.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.6.0"}}');
|
|
336601
336599
|
|
|
336602
336600
|
/***/ }
|
|
336603
336601
|
|