@luma.gl/webgl 8.5.10 → 8.5.11
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/dist.js +343 -449
- package/dist/dist.min.js +1 -1
- package/dist/es5/bundle.js +2 -4
- package/dist/es5/bundle.js.map +1 -1
- package/dist/es5/classes/texture.js +1 -3
- package/dist/es5/classes/texture.js.map +1 -1
- package/dist/es5/init.js +7 -7
- package/dist/es5/init.js.map +1 -1
- package/dist/es5/utils/is-old-ie.js +1 -1
- package/dist/es5/utils/is-old-ie.js.map +1 -1
- package/dist/esm/bundle.js +2 -4
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/classes/texture.js +1 -2
- package/dist/esm/classes/texture.js.map +1 -1
- package/dist/esm/init.js +7 -7
- package/dist/esm/init.js.map +1 -1
- package/dist/esm/utils/is-old-ie.js +1 -1
- package/dist/esm/utils/is-old-ie.js.map +1 -1
- package/package.json +5 -4
- package/src/bundle.js +2 -3
- package/src/classes/texture.js +1 -2
- package/src/init.js +6 -6
- package/src/utils/is-old-ie.js +1 -1
package/dist/dist.js
CHANGED
|
@@ -96,54 +96,265 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
-
/***/ "../../node_modules/@
|
|
100
|
-
|
|
101
|
-
!*** /Users/
|
|
102
|
-
|
|
103
|
-
/*!
|
|
104
|
-
/***/ (function(module,
|
|
99
|
+
/***/ "../../node_modules/@probe.gl/env/dist/esm/index.js":
|
|
100
|
+
/*!********************************************************************************!*\
|
|
101
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/env/dist/esm/index.js ***!
|
|
102
|
+
\********************************************************************************/
|
|
103
|
+
/*! exports provided: VERSION, self, window, global, document, process, console, isBrowser, isBrowserMainThread, getBrowser, isMobile, isElectron, assert */
|
|
104
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
"use strict";
|
|
107
|
+
__webpack_require__.r(__webpack_exports__);
|
|
108
|
+
/* harmony import */ var _utils_globals__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/globals */ "../../node_modules/@probe.gl/env/dist/esm/utils/globals.js");
|
|
109
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return _utils_globals__WEBPACK_IMPORTED_MODULE_0__["VERSION"]; });
|
|
110
|
+
|
|
111
|
+
/* harmony import */ var _lib_globals__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lib/globals */ "../../node_modules/@probe.gl/env/dist/esm/lib/globals.js");
|
|
112
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "self", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["self"]; });
|
|
113
|
+
|
|
114
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "window", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["window"]; });
|
|
115
|
+
|
|
116
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "global", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["global"]; });
|
|
117
|
+
|
|
118
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "document", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["document"]; });
|
|
119
|
+
|
|
120
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "process", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["process"]; });
|
|
121
|
+
|
|
122
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "console", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["console"]; });
|
|
123
|
+
|
|
124
|
+
/* harmony import */ var _lib_is_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./lib/is-browser */ "../../node_modules/@probe.gl/env/dist/esm/lib/is-browser.js");
|
|
125
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isBrowser", function() { return _lib_is_browser__WEBPACK_IMPORTED_MODULE_2__["default"]; });
|
|
126
|
+
|
|
127
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isBrowserMainThread", function() { return _lib_is_browser__WEBPACK_IMPORTED_MODULE_2__["isBrowserMainThread"]; });
|
|
128
|
+
|
|
129
|
+
/* harmony import */ var _lib_get_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./lib/get-browser */ "../../node_modules/@probe.gl/env/dist/esm/lib/get-browser.js");
|
|
130
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getBrowser", function() { return _lib_get_browser__WEBPACK_IMPORTED_MODULE_3__["default"]; });
|
|
131
|
+
|
|
132
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isMobile", function() { return _lib_get_browser__WEBPACK_IMPORTED_MODULE_3__["isMobile"]; });
|
|
133
|
+
|
|
134
|
+
/* harmony import */ var _lib_is_electron__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./lib/is-electron */ "../../node_modules/@probe.gl/env/dist/esm/lib/is-electron.js");
|
|
135
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isElectron", function() { return _lib_is_electron__WEBPACK_IMPORTED_MODULE_4__["default"]; });
|
|
136
|
+
|
|
137
|
+
/* harmony import */ var _utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/assert */ "../../node_modules/@probe.gl/env/dist/esm/utils/assert.js");
|
|
138
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "assert", function() { return _utils_assert__WEBPACK_IMPORTED_MODULE_5__["default"]; });
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
//# sourceMappingURL=index.js.map
|
|
147
|
+
|
|
148
|
+
/***/ }),
|
|
149
|
+
|
|
150
|
+
/***/ "../../node_modules/@probe.gl/env/dist/esm/lib/get-browser.js":
|
|
151
|
+
/*!******************************************************************************************!*\
|
|
152
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/env/dist/esm/lib/get-browser.js ***!
|
|
153
|
+
\******************************************************************************************/
|
|
154
|
+
/*! exports provided: isMobile, default */
|
|
155
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
156
|
+
|
|
157
|
+
"use strict";
|
|
158
|
+
__webpack_require__.r(__webpack_exports__);
|
|
159
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isMobile", function() { return isMobile; });
|
|
160
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getBrowser; });
|
|
161
|
+
/* harmony import */ var _is_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./is-browser */ "../../node_modules/@probe.gl/env/dist/esm/lib/is-browser.js");
|
|
162
|
+
/* harmony import */ var _is_electron__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./is-electron */ "../../node_modules/@probe.gl/env/dist/esm/lib/is-electron.js");
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
const window = globalThis;
|
|
166
|
+
function isMobile() {
|
|
167
|
+
return typeof window.orientation !== 'undefined';
|
|
110
168
|
}
|
|
169
|
+
function getBrowser(mockUserAgent) {
|
|
170
|
+
if (!mockUserAgent && !Object(_is_browser__WEBPACK_IMPORTED_MODULE_0__["default"])()) {
|
|
171
|
+
return 'Node';
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
if (Object(_is_electron__WEBPACK_IMPORTED_MODULE_1__["default"])(mockUserAgent)) {
|
|
175
|
+
return 'Electron';
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
const navigator_ = typeof navigator !== 'undefined' ? navigator : {};
|
|
179
|
+
const userAgent = mockUserAgent || navigator_.userAgent || '';
|
|
180
|
+
|
|
181
|
+
if (userAgent.indexOf('Edge') > -1) {
|
|
182
|
+
return 'Edge';
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
const isMSIE = userAgent.indexOf('MSIE ') !== -1;
|
|
186
|
+
const isTrident = userAgent.indexOf('Trident/') !== -1;
|
|
187
|
+
|
|
188
|
+
if (isMSIE || isTrident) {
|
|
189
|
+
return 'IE';
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
if (window.chrome) {
|
|
193
|
+
return 'Chrome';
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
if (window.safari) {
|
|
197
|
+
return 'Safari';
|
|
198
|
+
}
|
|
111
199
|
|
|
112
|
-
|
|
200
|
+
if (window.mozInnerScreenX) {
|
|
201
|
+
return 'Firefox';
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
return 'Unknown';
|
|
205
|
+
}
|
|
206
|
+
//# sourceMappingURL=get-browser.js.map
|
|
113
207
|
|
|
114
208
|
/***/ }),
|
|
115
209
|
|
|
116
|
-
/***/ "../../node_modules/@
|
|
117
|
-
|
|
118
|
-
!*** /Users/
|
|
119
|
-
|
|
120
|
-
/*!
|
|
121
|
-
/***/ (function(module,
|
|
210
|
+
/***/ "../../node_modules/@probe.gl/env/dist/esm/lib/globals.js":
|
|
211
|
+
/*!**************************************************************************************!*\
|
|
212
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/env/dist/esm/lib/globals.js ***!
|
|
213
|
+
\**************************************************************************************/
|
|
214
|
+
/*! exports provided: self, window, global, document, process, console */
|
|
215
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
216
|
+
|
|
217
|
+
"use strict";
|
|
218
|
+
__webpack_require__.r(__webpack_exports__);
|
|
219
|
+
/* WEBPACK VAR INJECTION */(function(global, process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "self", function() { return self_; });
|
|
220
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "window", function() { return window_; });
|
|
221
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "global", function() { return global_; });
|
|
222
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "document", function() { return document_; });
|
|
223
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "process", function() { return process_; });
|
|
224
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "console", function() { return console_; });
|
|
225
|
+
const globals = {
|
|
226
|
+
self: typeof self !== 'undefined' && self,
|
|
227
|
+
window: typeof window !== 'undefined' && window,
|
|
228
|
+
global: typeof global !== 'undefined' && global,
|
|
229
|
+
document: typeof document !== 'undefined' && document,
|
|
230
|
+
process: typeof process === 'object' && process
|
|
231
|
+
};
|
|
232
|
+
const global_ = globalThis;
|
|
233
|
+
const self_ = globals.self || globals.window || globals.global;
|
|
234
|
+
const window_ = globals.window || globals.self || globals.global;
|
|
235
|
+
const document_ = globals.document || {};
|
|
236
|
+
const process_ = globals.process || {};
|
|
237
|
+
const console_ = console;
|
|
122
238
|
|
|
123
|
-
|
|
124
|
-
|
|
239
|
+
//# sourceMappingURL=globals.js.map
|
|
240
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../../../../../process/browser.js */ "../../node_modules/process/browser.js")))
|
|
125
241
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
242
|
+
/***/ }),
|
|
243
|
+
|
|
244
|
+
/***/ "../../node_modules/@probe.gl/env/dist/esm/lib/is-browser.js":
|
|
245
|
+
/*!*****************************************************************************************!*\
|
|
246
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/env/dist/esm/lib/is-browser.js ***!
|
|
247
|
+
\*****************************************************************************************/
|
|
248
|
+
/*! exports provided: default, isBrowserMainThread */
|
|
249
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
250
|
+
|
|
251
|
+
"use strict";
|
|
252
|
+
__webpack_require__.r(__webpack_exports__);
|
|
253
|
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return isBrowser; });
|
|
254
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBrowserMainThread", function() { return isBrowserMainThread; });
|
|
255
|
+
/* harmony import */ var _is_electron__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./is-electron */ "../../node_modules/@probe.gl/env/dist/esm/lib/is-electron.js");
|
|
256
|
+
|
|
257
|
+
function isBrowser() {
|
|
258
|
+
const isNode = typeof process === 'object' && String(process) === '[object process]' && !process.browser;
|
|
259
|
+
return !isNode || Object(_is_electron__WEBPACK_IMPORTED_MODULE_0__["default"])();
|
|
260
|
+
}
|
|
261
|
+
function isBrowserMainThread() {
|
|
262
|
+
return isBrowser() && typeof document !== 'undefined';
|
|
263
|
+
}
|
|
264
|
+
//# sourceMappingURL=is-browser.js.map
|
|
265
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../process/browser.js */ "../../node_modules/process/browser.js")))
|
|
266
|
+
|
|
267
|
+
/***/ }),
|
|
268
|
+
|
|
269
|
+
/***/ "../../node_modules/@probe.gl/env/dist/esm/lib/is-electron.js":
|
|
270
|
+
/*!******************************************************************************************!*\
|
|
271
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/env/dist/esm/lib/is-electron.js ***!
|
|
272
|
+
\******************************************************************************************/
|
|
273
|
+
/*! exports provided: default */
|
|
274
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
275
|
+
|
|
276
|
+
"use strict";
|
|
277
|
+
__webpack_require__.r(__webpack_exports__);
|
|
278
|
+
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return isElectron; });
|
|
279
|
+
function isElectron(mockUserAgent) {
|
|
280
|
+
if (typeof window !== 'undefined' && typeof window.process === 'object' && window.process.type === 'renderer') {
|
|
281
|
+
return true;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
if (typeof process !== 'undefined' && typeof process.versions === 'object' && Boolean(process.versions.electron)) {
|
|
285
|
+
return true;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
const realUserAgent = typeof navigator === 'object' && typeof navigator.userAgent === 'string' && navigator.userAgent;
|
|
289
|
+
const userAgent = mockUserAgent || realUserAgent;
|
|
290
|
+
|
|
291
|
+
if (userAgent && userAgent.indexOf('Electron') >= 0) {
|
|
292
|
+
return true;
|
|
134
293
|
}
|
|
135
294
|
|
|
136
|
-
return
|
|
295
|
+
return false;
|
|
296
|
+
}
|
|
297
|
+
//# sourceMappingURL=is-electron.js.map
|
|
298
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../process/browser.js */ "../../node_modules/process/browser.js")))
|
|
299
|
+
|
|
300
|
+
/***/ }),
|
|
301
|
+
|
|
302
|
+
/***/ "../../node_modules/@probe.gl/env/dist/esm/utils/assert.js":
|
|
303
|
+
/*!***************************************************************************************!*\
|
|
304
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/env/dist/esm/utils/assert.js ***!
|
|
305
|
+
\***************************************************************************************/
|
|
306
|
+
/*! exports provided: default */
|
|
307
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
308
|
+
|
|
309
|
+
"use strict";
|
|
310
|
+
__webpack_require__.r(__webpack_exports__);
|
|
311
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return assert; });
|
|
312
|
+
function assert(condition, message) {
|
|
313
|
+
if (!condition) {
|
|
314
|
+
throw new Error(message || 'Assertion failed');
|
|
315
|
+
}
|
|
137
316
|
}
|
|
317
|
+
//# sourceMappingURL=assert.js.map
|
|
318
|
+
|
|
319
|
+
/***/ }),
|
|
320
|
+
|
|
321
|
+
/***/ "../../node_modules/@probe.gl/env/dist/esm/utils/globals.js":
|
|
322
|
+
/*!****************************************************************************************!*\
|
|
323
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/env/dist/esm/utils/globals.js ***!
|
|
324
|
+
\****************************************************************************************/
|
|
325
|
+
/*! exports provided: self, window, global, document, process, console, VERSION, isBrowser */
|
|
326
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
327
|
+
|
|
328
|
+
"use strict";
|
|
329
|
+
__webpack_require__.r(__webpack_exports__);
|
|
330
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return VERSION; });
|
|
331
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBrowser", function() { return isBrowser; });
|
|
332
|
+
/* harmony import */ var _lib_is_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lib/is-browser */ "../../node_modules/@probe.gl/env/dist/esm/lib/is-browser.js");
|
|
333
|
+
/* harmony import */ var _lib_globals__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../lib/globals */ "../../node_modules/@probe.gl/env/dist/esm/lib/globals.js");
|
|
334
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "self", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["self"]; });
|
|
335
|
+
|
|
336
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "window", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["window"]; });
|
|
337
|
+
|
|
338
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "global", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["global"]; });
|
|
339
|
+
|
|
340
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "document", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["document"]; });
|
|
341
|
+
|
|
342
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "process", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["process"]; });
|
|
343
|
+
|
|
344
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "console", function() { return _lib_globals__WEBPACK_IMPORTED_MODULE_1__["console"]; });
|
|
345
|
+
|
|
138
346
|
|
|
139
|
-
|
|
347
|
+
|
|
348
|
+
const VERSION = true ? "8.5.10" : undefined;
|
|
349
|
+
const isBrowser = Object(_lib_is_browser__WEBPACK_IMPORTED_MODULE_0__["default"])();
|
|
350
|
+
//# sourceMappingURL=globals.js.map
|
|
140
351
|
|
|
141
352
|
/***/ }),
|
|
142
353
|
|
|
143
354
|
/***/ "../../node_modules/@probe.gl/stats/dist/esm/index.js":
|
|
144
|
-
|
|
145
|
-
!*** /Users/
|
|
146
|
-
|
|
355
|
+
/*!**********************************************************************************!*\
|
|
356
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/stats/dist/esm/index.js ***!
|
|
357
|
+
\**********************************************************************************/
|
|
147
358
|
/*! exports provided: Stats, Stat, _getHiResTimestamp */
|
|
148
359
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
149
360
|
|
|
@@ -166,9 +377,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
166
377
|
/***/ }),
|
|
167
378
|
|
|
168
379
|
/***/ "../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js":
|
|
169
|
-
|
|
170
|
-
!*** /Users/
|
|
171
|
-
|
|
380
|
+
/*!*************************************************************************************!*\
|
|
381
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/stats/dist/esm/lib/stat.js ***!
|
|
382
|
+
\*************************************************************************************/
|
|
172
383
|
/*! exports provided: default */
|
|
173
384
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
174
385
|
|
|
@@ -305,9 +516,9 @@ class Stat {
|
|
|
305
516
|
/***/ }),
|
|
306
517
|
|
|
307
518
|
/***/ "../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js":
|
|
308
|
-
|
|
309
|
-
!*** /Users/
|
|
310
|
-
|
|
519
|
+
/*!**************************************************************************************!*\
|
|
520
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/stats/dist/esm/lib/stats.js ***!
|
|
521
|
+
\**************************************************************************************/
|
|
311
522
|
/*! exports provided: default */
|
|
312
523
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
313
524
|
|
|
@@ -398,9 +609,9 @@ class Stats {
|
|
|
398
609
|
/***/ }),
|
|
399
610
|
|
|
400
611
|
/***/ "../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js":
|
|
401
|
-
|
|
402
|
-
!*** /Users/
|
|
403
|
-
|
|
612
|
+
/*!***************************************************************************************************!*\
|
|
613
|
+
!*** /Users/missx/Source/luma.gl/node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js ***!
|
|
614
|
+
\***************************************************************************************************/
|
|
404
615
|
/*! exports provided: default */
|
|
405
616
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
406
617
|
|
|
@@ -426,298 +637,10 @@ function getHiResTimestamp() {
|
|
|
426
637
|
|
|
427
638
|
/***/ }),
|
|
428
639
|
|
|
429
|
-
/***/ "../../node_modules/probe.gl/dist/es5/env/get-browser.js":
|
|
430
|
-
/*!************************************************************************************!*\
|
|
431
|
-
!*** /Users/alasarr/dev/luma.gl/node_modules/probe.gl/dist/es5/env/get-browser.js ***!
|
|
432
|
-
\************************************************************************************/
|
|
433
|
-
/*! no static exports found */
|
|
434
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
435
|
-
|
|
436
|
-
"use strict";
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
|
440
|
-
|
|
441
|
-
Object.defineProperty(exports, "__esModule", {
|
|
442
|
-
value: true
|
|
443
|
-
});
|
|
444
|
-
exports.isMobile = isMobile;
|
|
445
|
-
exports.default = getBrowser;
|
|
446
|
-
|
|
447
|
-
var _globals = __webpack_require__(/*! ./globals */ "../../node_modules/probe.gl/dist/es5/env/globals.js");
|
|
448
|
-
|
|
449
|
-
var _isBrowser = _interopRequireDefault(__webpack_require__(/*! ./is-browser */ "../../node_modules/probe.gl/dist/es5/env/is-browser.js"));
|
|
450
|
-
|
|
451
|
-
var _isElectron = _interopRequireDefault(__webpack_require__(/*! ./is-electron */ "../../node_modules/probe.gl/dist/es5/env/is-electron.js"));
|
|
452
|
-
|
|
453
|
-
function isMobile() {
|
|
454
|
-
return typeof _globals.window.orientation !== 'undefined';
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
function getBrowser(mockUserAgent) {
|
|
458
|
-
if (!mockUserAgent && !(0, _isBrowser.default)()) {
|
|
459
|
-
return 'Node';
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
if ((0, _isElectron.default)(mockUserAgent)) {
|
|
463
|
-
return 'Electron';
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
var navigator_ = typeof navigator !== 'undefined' ? navigator : {};
|
|
467
|
-
var userAgent = mockUserAgent || navigator_.userAgent || '';
|
|
468
|
-
|
|
469
|
-
if (userAgent.indexOf('Edge') > -1) {
|
|
470
|
-
return 'Edge';
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
var isMSIE = userAgent.indexOf('MSIE ') !== -1;
|
|
474
|
-
var isTrident = userAgent.indexOf('Trident/') !== -1;
|
|
475
|
-
|
|
476
|
-
if (isMSIE || isTrident) {
|
|
477
|
-
return 'IE';
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
if (_globals.window.chrome) {
|
|
481
|
-
return 'Chrome';
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
if (_globals.window.safari) {
|
|
485
|
-
return 'Safari';
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
if (_globals.window.mozInnerScreenX) {
|
|
489
|
-
return 'Firefox';
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
return 'Unknown';
|
|
493
|
-
}
|
|
494
|
-
//# sourceMappingURL=get-browser.js.map
|
|
495
|
-
|
|
496
|
-
/***/ }),
|
|
497
|
-
|
|
498
|
-
/***/ "../../node_modules/probe.gl/dist/es5/env/globals.js":
|
|
499
|
-
/*!********************************************************************************!*\
|
|
500
|
-
!*** /Users/alasarr/dev/luma.gl/node_modules/probe.gl/dist/es5/env/globals.js ***!
|
|
501
|
-
\********************************************************************************/
|
|
502
|
-
/*! no static exports found */
|
|
503
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
504
|
-
|
|
505
|
-
"use strict";
|
|
506
|
-
/* WEBPACK VAR INJECTION */(function(global, process) {
|
|
507
|
-
|
|
508
|
-
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
|
509
|
-
|
|
510
|
-
Object.defineProperty(exports, "__esModule", {
|
|
511
|
-
value: true
|
|
512
|
-
});
|
|
513
|
-
exports.console = exports.process = exports.document = exports.global = exports.window = exports.self = void 0;
|
|
514
|
-
|
|
515
|
-
var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../node_modules/@babel/runtime/helpers/typeof.js"));
|
|
516
|
-
|
|
517
|
-
var globals = {
|
|
518
|
-
self: typeof self !== 'undefined' && self,
|
|
519
|
-
window: typeof window !== 'undefined' && window,
|
|
520
|
-
global: typeof global !== 'undefined' && global,
|
|
521
|
-
document: typeof document !== 'undefined' && document,
|
|
522
|
-
process: (typeof process === "undefined" ? "undefined" : (0, _typeof2.default)(process)) === 'object' && process
|
|
523
|
-
};
|
|
524
|
-
var self_ = globals.self || globals.window || globals.global;
|
|
525
|
-
exports.self = self_;
|
|
526
|
-
var window_ = globals.window || globals.self || globals.global;
|
|
527
|
-
exports.window = window_;
|
|
528
|
-
var global_ = globals.global || globals.self || globals.window;
|
|
529
|
-
exports.global = global_;
|
|
530
|
-
var document_ = globals.document || {};
|
|
531
|
-
exports.document = document_;
|
|
532
|
-
var process_ = globals.process || {};
|
|
533
|
-
exports.process = process_;
|
|
534
|
-
var console_ = console;
|
|
535
|
-
exports.console = console_;
|
|
536
|
-
//# sourceMappingURL=globals.js.map
|
|
537
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../../../../process/browser.js */ "../../node_modules/process/browser.js")))
|
|
538
|
-
|
|
539
|
-
/***/ }),
|
|
540
|
-
|
|
541
|
-
/***/ "../../node_modules/probe.gl/dist/es5/env/index.js":
|
|
542
|
-
/*!******************************************************************************!*\
|
|
543
|
-
!*** /Users/alasarr/dev/luma.gl/node_modules/probe.gl/dist/es5/env/index.js ***!
|
|
544
|
-
\******************************************************************************/
|
|
545
|
-
/*! no static exports found */
|
|
546
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
547
|
-
|
|
548
|
-
"use strict";
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
|
552
|
-
|
|
553
|
-
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../node_modules/@babel/runtime/helpers/typeof.js");
|
|
554
|
-
|
|
555
|
-
Object.defineProperty(exports, "__esModule", {
|
|
556
|
-
value: true
|
|
557
|
-
});
|
|
558
|
-
Object.defineProperty(exports, "self", {
|
|
559
|
-
enumerable: true,
|
|
560
|
-
get: function get() {
|
|
561
|
-
return _globals.self;
|
|
562
|
-
}
|
|
563
|
-
});
|
|
564
|
-
Object.defineProperty(exports, "window", {
|
|
565
|
-
enumerable: true,
|
|
566
|
-
get: function get() {
|
|
567
|
-
return _globals.window;
|
|
568
|
-
}
|
|
569
|
-
});
|
|
570
|
-
Object.defineProperty(exports, "global", {
|
|
571
|
-
enumerable: true,
|
|
572
|
-
get: function get() {
|
|
573
|
-
return _globals.global;
|
|
574
|
-
}
|
|
575
|
-
});
|
|
576
|
-
Object.defineProperty(exports, "document", {
|
|
577
|
-
enumerable: true,
|
|
578
|
-
get: function get() {
|
|
579
|
-
return _globals.document;
|
|
580
|
-
}
|
|
581
|
-
});
|
|
582
|
-
Object.defineProperty(exports, "process", {
|
|
583
|
-
enumerable: true,
|
|
584
|
-
get: function get() {
|
|
585
|
-
return _globals.process;
|
|
586
|
-
}
|
|
587
|
-
});
|
|
588
|
-
Object.defineProperty(exports, "console", {
|
|
589
|
-
enumerable: true,
|
|
590
|
-
get: function get() {
|
|
591
|
-
return _globals.console;
|
|
592
|
-
}
|
|
593
|
-
});
|
|
594
|
-
Object.defineProperty(exports, "isBrowser", {
|
|
595
|
-
enumerable: true,
|
|
596
|
-
get: function get() {
|
|
597
|
-
return _isBrowser.default;
|
|
598
|
-
}
|
|
599
|
-
});
|
|
600
|
-
Object.defineProperty(exports, "isBrowserMainThread", {
|
|
601
|
-
enumerable: true,
|
|
602
|
-
get: function get() {
|
|
603
|
-
return _isBrowser.isBrowserMainThread;
|
|
604
|
-
}
|
|
605
|
-
});
|
|
606
|
-
Object.defineProperty(exports, "getBrowser", {
|
|
607
|
-
enumerable: true,
|
|
608
|
-
get: function get() {
|
|
609
|
-
return _getBrowser.default;
|
|
610
|
-
}
|
|
611
|
-
});
|
|
612
|
-
Object.defineProperty(exports, "isMobile", {
|
|
613
|
-
enumerable: true,
|
|
614
|
-
get: function get() {
|
|
615
|
-
return _getBrowser.isMobile;
|
|
616
|
-
}
|
|
617
|
-
});
|
|
618
|
-
Object.defineProperty(exports, "isElectron", {
|
|
619
|
-
enumerable: true,
|
|
620
|
-
get: function get() {
|
|
621
|
-
return _isElectron.default;
|
|
622
|
-
}
|
|
623
|
-
});
|
|
624
|
-
|
|
625
|
-
var _globals = __webpack_require__(/*! ./globals */ "../../node_modules/probe.gl/dist/es5/env/globals.js");
|
|
626
|
-
|
|
627
|
-
var _isBrowser = _interopRequireWildcard(__webpack_require__(/*! ./is-browser */ "../../node_modules/probe.gl/dist/es5/env/is-browser.js"));
|
|
628
|
-
|
|
629
|
-
var _getBrowser = _interopRequireWildcard(__webpack_require__(/*! ./get-browser */ "../../node_modules/probe.gl/dist/es5/env/get-browser.js"));
|
|
630
|
-
|
|
631
|
-
var _isElectron = _interopRequireDefault(__webpack_require__(/*! ./is-electron */ "../../node_modules/probe.gl/dist/es5/env/is-electron.js"));
|
|
632
|
-
|
|
633
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
634
|
-
|
|
635
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
636
|
-
//# sourceMappingURL=index.js.map
|
|
637
|
-
|
|
638
|
-
/***/ }),
|
|
639
|
-
|
|
640
|
-
/***/ "../../node_modules/probe.gl/dist/es5/env/is-browser.js":
|
|
641
|
-
/*!***********************************************************************************!*\
|
|
642
|
-
!*** /Users/alasarr/dev/luma.gl/node_modules/probe.gl/dist/es5/env/is-browser.js ***!
|
|
643
|
-
\***********************************************************************************/
|
|
644
|
-
/*! no static exports found */
|
|
645
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
646
|
-
|
|
647
|
-
"use strict";
|
|
648
|
-
/* WEBPACK VAR INJECTION */(function(process) {
|
|
649
|
-
|
|
650
|
-
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
|
651
|
-
|
|
652
|
-
Object.defineProperty(exports, "__esModule", {
|
|
653
|
-
value: true
|
|
654
|
-
});
|
|
655
|
-
exports.default = isBrowser;
|
|
656
|
-
exports.isBrowserMainThread = isBrowserMainThread;
|
|
657
|
-
|
|
658
|
-
var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../node_modules/@babel/runtime/helpers/typeof.js"));
|
|
659
|
-
|
|
660
|
-
var _isElectron = _interopRequireDefault(__webpack_require__(/*! ./is-electron */ "../../node_modules/probe.gl/dist/es5/env/is-electron.js"));
|
|
661
|
-
|
|
662
|
-
function isBrowser() {
|
|
663
|
-
var isNode = (typeof process === "undefined" ? "undefined" : (0, _typeof2.default)(process)) === 'object' && String(process) === '[object process]' && !process.browser;
|
|
664
|
-
return !isNode || (0, _isElectron.default)();
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
function isBrowserMainThread() {
|
|
668
|
-
return isBrowser() && typeof document !== 'undefined';
|
|
669
|
-
}
|
|
670
|
-
//# sourceMappingURL=is-browser.js.map
|
|
671
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ "../../node_modules/process/browser.js")))
|
|
672
|
-
|
|
673
|
-
/***/ }),
|
|
674
|
-
|
|
675
|
-
/***/ "../../node_modules/probe.gl/dist/es5/env/is-electron.js":
|
|
676
|
-
/*!************************************************************************************!*\
|
|
677
|
-
!*** /Users/alasarr/dev/luma.gl/node_modules/probe.gl/dist/es5/env/is-electron.js ***!
|
|
678
|
-
\************************************************************************************/
|
|
679
|
-
/*! no static exports found */
|
|
680
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
681
|
-
|
|
682
|
-
"use strict";
|
|
683
|
-
/* WEBPACK VAR INJECTION */(function(process) {
|
|
684
|
-
|
|
685
|
-
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
|
|
686
|
-
|
|
687
|
-
Object.defineProperty(exports, "__esModule", {
|
|
688
|
-
value: true
|
|
689
|
-
});
|
|
690
|
-
exports.default = isElectron;
|
|
691
|
-
|
|
692
|
-
var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../node_modules/@babel/runtime/helpers/typeof.js"));
|
|
693
|
-
|
|
694
|
-
function isElectron(mockUserAgent) {
|
|
695
|
-
if (typeof window !== 'undefined' && (0, _typeof2.default)(window.process) === 'object' && window.process.type === 'renderer') {
|
|
696
|
-
return true;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
if (typeof process !== 'undefined' && (0, _typeof2.default)(process.versions) === 'object' && Boolean(process.versions.electron)) {
|
|
700
|
-
return true;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
var realUserAgent = (typeof navigator === "undefined" ? "undefined" : (0, _typeof2.default)(navigator)) === 'object' && typeof navigator.userAgent === 'string' && navigator.userAgent;
|
|
704
|
-
var userAgent = mockUserAgent || realUserAgent;
|
|
705
|
-
|
|
706
|
-
if (userAgent && userAgent.indexOf('Electron') >= 0) {
|
|
707
|
-
return true;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
return false;
|
|
711
|
-
}
|
|
712
|
-
//# sourceMappingURL=is-electron.js.map
|
|
713
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ "../../node_modules/process/browser.js")))
|
|
714
|
-
|
|
715
|
-
/***/ }),
|
|
716
|
-
|
|
717
640
|
/***/ "../../node_modules/probe.gl/dist/esm/env/get-browser.js":
|
|
718
|
-
|
|
719
|
-
!*** /Users/
|
|
720
|
-
|
|
641
|
+
/*!*************************************************************************************!*\
|
|
642
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/env/get-browser.js ***!
|
|
643
|
+
\*************************************************************************************/
|
|
721
644
|
/*! exports provided: isMobile, default */
|
|
722
645
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
723
646
|
|
|
@@ -776,9 +699,9 @@ function getBrowser(mockUserAgent) {
|
|
|
776
699
|
/***/ }),
|
|
777
700
|
|
|
778
701
|
/***/ "../../node_modules/probe.gl/dist/esm/env/globals.js":
|
|
779
|
-
|
|
780
|
-
!*** /Users/
|
|
781
|
-
|
|
702
|
+
/*!*********************************************************************************!*\
|
|
703
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/env/globals.js ***!
|
|
704
|
+
\*********************************************************************************/
|
|
782
705
|
/*! exports provided: self, window, global, document, process, console */
|
|
783
706
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
784
707
|
|
|
@@ -810,9 +733,9 @@ const console_ = console;
|
|
|
810
733
|
/***/ }),
|
|
811
734
|
|
|
812
735
|
/***/ "../../node_modules/probe.gl/dist/esm/env/is-browser.js":
|
|
813
|
-
|
|
814
|
-
!*** /Users/
|
|
815
|
-
|
|
736
|
+
/*!************************************************************************************!*\
|
|
737
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/env/is-browser.js ***!
|
|
738
|
+
\************************************************************************************/
|
|
816
739
|
/*! exports provided: default, isBrowserMainThread */
|
|
817
740
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
818
741
|
|
|
@@ -835,9 +758,9 @@ function isBrowserMainThread() {
|
|
|
835
758
|
/***/ }),
|
|
836
759
|
|
|
837
760
|
/***/ "../../node_modules/probe.gl/dist/esm/env/is-electron.js":
|
|
838
|
-
|
|
839
|
-
!*** /Users/
|
|
840
|
-
|
|
761
|
+
/*!*************************************************************************************!*\
|
|
762
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/env/is-electron.js ***!
|
|
763
|
+
\*************************************************************************************/
|
|
841
764
|
/*! exports provided: default */
|
|
842
765
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
843
766
|
|
|
@@ -868,9 +791,9 @@ function isElectron(mockUserAgent) {
|
|
|
868
791
|
/***/ }),
|
|
869
792
|
|
|
870
793
|
/***/ "../../node_modules/probe.gl/dist/esm/index.js":
|
|
871
|
-
|
|
872
|
-
!*** /Users/
|
|
873
|
-
|
|
794
|
+
/*!***************************************************************************!*\
|
|
795
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/index.js ***!
|
|
796
|
+
\***************************************************************************/
|
|
874
797
|
/*! exports provided: VERSION, self, window, global, document, process, console, isBrowser, isBrowserMainThread, getBrowser, isMobile, isElectron, assert, Log, COLOR, default, addColor, leftPad, rightPad, autobind, LocalStorage, getHiResTimestamp, Stats, Stat */
|
|
875
798
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
876
799
|
|
|
@@ -960,9 +883,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
960
883
|
/***/ }),
|
|
961
884
|
|
|
962
885
|
/***/ "../../node_modules/probe.gl/dist/esm/init.js":
|
|
963
|
-
|
|
964
|
-
!*** /Users/
|
|
965
|
-
|
|
886
|
+
/*!**************************************************************************!*\
|
|
887
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/init.js ***!
|
|
888
|
+
\**************************************************************************/
|
|
966
889
|
/*! no exports provided */
|
|
967
890
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
968
891
|
|
|
@@ -976,9 +899,9 @@ _utils_globals__WEBPACK_IMPORTED_MODULE_0__["global"].probe = {};
|
|
|
976
899
|
/***/ }),
|
|
977
900
|
|
|
978
901
|
/***/ "../../node_modules/probe.gl/dist/esm/lib/log.js":
|
|
979
|
-
|
|
980
|
-
!*** /Users/
|
|
981
|
-
|
|
902
|
+
/*!*****************************************************************************!*\
|
|
903
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/lib/log.js ***!
|
|
904
|
+
\*****************************************************************************/
|
|
982
905
|
/*! exports provided: default, normalizeArguments */
|
|
983
906
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
984
907
|
|
|
@@ -1411,9 +1334,9 @@ function logImageInBrowser({
|
|
|
1411
1334
|
/***/ }),
|
|
1412
1335
|
|
|
1413
1336
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/assert.js":
|
|
1414
|
-
|
|
1415
|
-
!*** /Users/
|
|
1416
|
-
|
|
1337
|
+
/*!**********************************************************************************!*\
|
|
1338
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/utils/assert.js ***!
|
|
1339
|
+
\**********************************************************************************/
|
|
1417
1340
|
/*! exports provided: default */
|
|
1418
1341
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1419
1342
|
|
|
@@ -1430,9 +1353,9 @@ function assert(condition, message) {
|
|
|
1430
1353
|
/***/ }),
|
|
1431
1354
|
|
|
1432
1355
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/autobind.js":
|
|
1433
|
-
|
|
1434
|
-
!*** /Users/
|
|
1435
|
-
|
|
1356
|
+
/*!************************************************************************************!*\
|
|
1357
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/utils/autobind.js ***!
|
|
1358
|
+
\************************************************************************************/
|
|
1436
1359
|
/*! exports provided: autobind */
|
|
1437
1360
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1438
1361
|
|
|
@@ -1456,9 +1379,9 @@ function autobind(obj, predefined = ['constructor']) {
|
|
|
1456
1379
|
/***/ }),
|
|
1457
1380
|
|
|
1458
1381
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/color.js":
|
|
1459
|
-
|
|
1460
|
-
!*** /Users/
|
|
1461
|
-
|
|
1382
|
+
/*!*********************************************************************************!*\
|
|
1383
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/utils/color.js ***!
|
|
1384
|
+
\*********************************************************************************/
|
|
1462
1385
|
/*! exports provided: COLOR, addColor */
|
|
1463
1386
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1464
1387
|
|
|
@@ -1511,9 +1434,9 @@ function addColor(string, color, background) {
|
|
|
1511
1434
|
/***/ }),
|
|
1512
1435
|
|
|
1513
1436
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/formatters.js":
|
|
1514
|
-
|
|
1515
|
-
!*** /Users/
|
|
1516
|
-
|
|
1437
|
+
/*!**************************************************************************************!*\
|
|
1438
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/utils/formatters.js ***!
|
|
1439
|
+
\**************************************************************************************/
|
|
1517
1440
|
/*! exports provided: formatTime, leftPad, rightPad, formatValue, formatImage */
|
|
1518
1441
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1519
1442
|
|
|
@@ -1614,9 +1537,9 @@ function formatImage(image, message, scale, maxWidth = 600) {
|
|
|
1614
1537
|
/***/ }),
|
|
1615
1538
|
|
|
1616
1539
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/globals.js":
|
|
1617
|
-
|
|
1618
|
-
!*** /Users/
|
|
1619
|
-
|
|
1540
|
+
/*!***********************************************************************************!*\
|
|
1541
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/utils/globals.js ***!
|
|
1542
|
+
\***********************************************************************************/
|
|
1620
1543
|
/*! exports provided: self, window, global, document, process, console, VERSION, isBrowser */
|
|
1621
1544
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1622
1545
|
|
|
@@ -1640,16 +1563,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1640
1563
|
|
|
1641
1564
|
|
|
1642
1565
|
|
|
1643
|
-
const VERSION = true ? "8.5.
|
|
1566
|
+
const VERSION = true ? "8.5.10" : undefined;
|
|
1644
1567
|
const isBrowser = Object(_env_is_browser__WEBPACK_IMPORTED_MODULE_0__["default"])();
|
|
1645
1568
|
//# sourceMappingURL=globals.js.map
|
|
1646
1569
|
|
|
1647
1570
|
/***/ }),
|
|
1648
1571
|
|
|
1649
1572
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/hi-res-timestamp.js":
|
|
1650
|
-
|
|
1651
|
-
!*** /Users/
|
|
1652
|
-
|
|
1573
|
+
/*!********************************************************************************************!*\
|
|
1574
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/utils/hi-res-timestamp.js ***!
|
|
1575
|
+
\********************************************************************************************/
|
|
1653
1576
|
/*! exports provided: default */
|
|
1654
1577
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1655
1578
|
|
|
@@ -1677,9 +1600,9 @@ function getHiResTimestamp() {
|
|
|
1677
1600
|
/***/ }),
|
|
1678
1601
|
|
|
1679
1602
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/local-storage.js":
|
|
1680
|
-
|
|
1681
|
-
!*** /Users/
|
|
1682
|
-
|
|
1603
|
+
/*!*****************************************************************************************!*\
|
|
1604
|
+
!*** /Users/missx/Source/luma.gl/node_modules/probe.gl/dist/esm/utils/local-storage.js ***!
|
|
1605
|
+
\*****************************************************************************************/
|
|
1683
1606
|
/*! exports provided: default */
|
|
1684
1607
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1685
1608
|
|
|
@@ -1743,26 +1666,12 @@ class LocalStorage {
|
|
|
1743
1666
|
}
|
|
1744
1667
|
//# sourceMappingURL=local-storage.js.map
|
|
1745
1668
|
|
|
1746
|
-
/***/ }),
|
|
1747
|
-
|
|
1748
|
-
/***/ "../../node_modules/probe.gl/env.js":
|
|
1749
|
-
/*!***************************************************************!*\
|
|
1750
|
-
!*** /Users/alasarr/dev/luma.gl/node_modules/probe.gl/env.js ***!
|
|
1751
|
-
\***************************************************************/
|
|
1752
|
-
/*! no static exports found */
|
|
1753
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1754
|
-
|
|
1755
|
-
// This file enables: import 'probe.gl/bench'.
|
|
1756
|
-
// Note: Must be published using package.json "files" field
|
|
1757
|
-
module.exports = __webpack_require__(/*! ./dist/es5/env */ "../../node_modules/probe.gl/dist/es5/env/index.js");
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
1669
|
/***/ }),
|
|
1761
1670
|
|
|
1762
1671
|
/***/ "../../node_modules/process/browser.js":
|
|
1763
|
-
|
|
1764
|
-
!*** /Users/
|
|
1765
|
-
|
|
1672
|
+
/*!*******************************************************************!*\
|
|
1673
|
+
!*** /Users/missx/Source/luma.gl/node_modules/process/browser.js ***!
|
|
1674
|
+
\*******************************************************************/
|
|
1766
1675
|
/*! no static exports found */
|
|
1767
1676
|
/***/ (function(module, exports) {
|
|
1768
1677
|
|
|
@@ -2848,8 +2757,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2848
2757
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getContextDebugInfo", function() { return getContextDebugInfo; });
|
|
2849
2758
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "resizeGLContext", function() { return resizeGLContext; });
|
|
2850
2759
|
/* harmony import */ var _luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @luma.gl/constants */ "../constants/src/index.js");
|
|
2851
|
-
/* harmony import */ var
|
|
2852
|
-
/* harmony import */ var probe_gl_env__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(probe_gl_env__WEBPACK_IMPORTED_MODULE_1__);
|
|
2760
|
+
/* harmony import */ var _probe_gl_env__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @probe.gl/env */ "../../node_modules/@probe.gl/env/dist/esm/index.js");
|
|
2853
2761
|
/* harmony import */ var _state_tracker_track_context_state__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../state-tracker/track-context-state */ "../gltools/src/state-tracker/track-context-state.js");
|
|
2854
2762
|
/* harmony import */ var _utils_log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/log */ "../gltools/src/utils/log.js");
|
|
2855
2763
|
/* harmony import */ var _utils_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/assert */ "../gltools/src/utils/assert.js");
|
|
@@ -2869,7 +2777,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2869
2777
|
|
|
2870
2778
|
|
|
2871
2779
|
|
|
2872
|
-
const isBrowser = Object(
|
|
2780
|
+
const isBrowser = Object(_probe_gl_env__WEBPACK_IMPORTED_MODULE_1__["isBrowser"])();
|
|
2873
2781
|
const isPage = isBrowser && typeof document !== 'undefined';
|
|
2874
2782
|
|
|
2875
2783
|
const CONTEXT_DEFAULTS = {
|
|
@@ -2968,11 +2876,11 @@ function instrumentGLContext(gl, options = {}) {
|
|
|
2968
2876
|
// Add debug instrumentation to the context
|
|
2969
2877
|
if (isBrowser && debug) {
|
|
2970
2878
|
// @ts-ignore
|
|
2971
|
-
if (!
|
|
2879
|
+
if (!globalThis.makeDebugContext) {
|
|
2972
2880
|
_utils_log__WEBPACK_IMPORTED_MODULE_3__["log"].warn('WebGL debug mode not activated. import "@luma.gl/debug" to enable.')();
|
|
2973
2881
|
} else {
|
|
2974
2882
|
// @ts-ignore
|
|
2975
|
-
gl =
|
|
2883
|
+
gl = globalThis.makeDebugContext(gl, options);
|
|
2976
2884
|
// Debug forces log level to at least 1
|
|
2977
2885
|
_utils_log__WEBPACK_IMPORTED_MODULE_3__["log"].level = Math.max(_utils_log__WEBPACK_IMPORTED_MODULE_3__["log"].level, 1);
|
|
2978
2886
|
}
|
|
@@ -3378,7 +3286,7 @@ function getParameterPolyfill(gl, originalGetParameter, pname) {
|
|
|
3378
3286
|
|
|
3379
3287
|
"use strict";
|
|
3380
3288
|
__webpack_require__.r(__webpack_exports__);
|
|
3381
|
-
/*
|
|
3289
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "polyfillContext", function() { return polyfillContext; });
|
|
3382
3290
|
/* harmony import */ var _polyfill_vertex_array_object__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./polyfill-vertex-array-object */ "../gltools/src/polyfill/polyfill-vertex-array-object.js");
|
|
3383
3291
|
/* harmony import */ var _utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/assert */ "../gltools/src/utils/assert.js");
|
|
3384
3292
|
/* harmony import */ var _polyfill_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./polyfill-table */ "../gltools/src/polyfill/polyfill-table.js");
|
|
@@ -3420,9 +3328,8 @@ function polyfillContext(gl) {
|
|
|
3420
3328
|
}
|
|
3421
3329
|
|
|
3422
3330
|
// TODO - is this still required?
|
|
3423
|
-
const global_ = typeof global !== 'undefined' ? global : window;
|
|
3424
3331
|
// @ts-ignore
|
|
3425
|
-
|
|
3332
|
+
globalThis.polyfillContext = polyfillContext;
|
|
3426
3333
|
|
|
3427
3334
|
function initializeExtensions(gl) {
|
|
3428
3335
|
gl.luma.extensions = {};
|
|
@@ -3487,7 +3394,6 @@ function polyfillExtension(gl, {extension, target, target2}) {
|
|
|
3487
3394
|
}
|
|
3488
3395
|
}
|
|
3489
3396
|
|
|
3490
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js")))
|
|
3491
3397
|
|
|
3492
3398
|
/***/ }),
|
|
3493
3399
|
|
|
@@ -3682,8 +3588,6 @@ const WEBGL2_CONTEXT_OVERRIDES = {
|
|
|
3682
3588
|
"use strict";
|
|
3683
3589
|
__webpack_require__.r(__webpack_exports__);
|
|
3684
3590
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "polyfillVertexArrayObject", function() { return polyfillVertexArrayObject; });
|
|
3685
|
-
/* harmony import */ var probe_gl_env__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! probe.gl/env */ "../../node_modules/probe.gl/env.js");
|
|
3686
|
-
/* harmony import */ var probe_gl_env__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(probe_gl_env__WEBPACK_IMPORTED_MODULE_0__);
|
|
3687
3591
|
/*
|
|
3688
3592
|
** Copyright (c) 2015 The Khronos Group Inc.
|
|
3689
3593
|
**
|
|
@@ -3712,19 +3616,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3712
3616
|
|
|
3713
3617
|
// @ts-nocheck external code
|
|
3714
3618
|
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
3619
|
const glErrorShadow = {};
|
|
3718
3620
|
|
|
3719
3621
|
function error(msg) {
|
|
3720
|
-
if (
|
|
3721
|
-
|
|
3622
|
+
if (globalThis.console && globalThis.console.error) {
|
|
3623
|
+
globalThis.console.error(msg);
|
|
3722
3624
|
}
|
|
3723
3625
|
}
|
|
3724
3626
|
|
|
3725
3627
|
function log(msg) {
|
|
3726
|
-
if (
|
|
3727
|
-
|
|
3628
|
+
if (globalThis.console && globalThis.console.log) {
|
|
3629
|
+
globalThis.console.log(msg);
|
|
3728
3630
|
}
|
|
3729
3631
|
}
|
|
3730
3632
|
|
|
@@ -4058,7 +3960,7 @@ function polyfillVertexArrayObject(gl) {
|
|
|
4058
3960
|
|
|
4059
3961
|
"use strict";
|
|
4060
3962
|
__webpack_require__.r(__webpack_exports__);
|
|
4061
|
-
/*
|
|
3963
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "trackContextState", function() { return trackContextState; });
|
|
4062
3964
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pushContextState", function() { return pushContextState; });
|
|
4063
3965
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "popContextState", function() { return popContextState; });
|
|
4064
3966
|
/* harmony import */ var _webgl_parameter_tables__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./webgl-parameter-tables */ "../gltools/src/state-tracker/webgl-parameter-tables.js");
|
|
@@ -4233,9 +4135,8 @@ function trackContextState(gl, options = {}) {
|
|
|
4233
4135
|
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_2__["assert"])(copyState !== undefined);
|
|
4234
4136
|
// @ts-ignore
|
|
4235
4137
|
if (!gl.state) {
|
|
4236
|
-
const global_ = typeof global !== 'undefined' ? global : window;
|
|
4237
4138
|
// @ts-ignore
|
|
4238
|
-
const {polyfillContext} =
|
|
4139
|
+
const {polyfillContext} = globalThis;
|
|
4239
4140
|
if (polyfillContext) {
|
|
4240
4141
|
polyfillContext(gl);
|
|
4241
4142
|
}
|
|
@@ -4287,7 +4188,6 @@ function popContextState(gl) {
|
|
|
4287
4188
|
gl.state.pop();
|
|
4288
4189
|
}
|
|
4289
4190
|
|
|
4290
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js")))
|
|
4291
4191
|
|
|
4292
4192
|
/***/ }),
|
|
4293
4193
|
|
|
@@ -5228,16 +5128,14 @@ function assertWebGL2Context(gl) {
|
|
|
5228
5128
|
/*! no static exports found */
|
|
5229
5129
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5230
5130
|
|
|
5231
|
-
|
|
5131
|
+
const moduleExports = __webpack_require__(/*! ./index */ "./src/index.js");
|
|
5232
5132
|
|
|
5233
|
-
const _global = typeof window === 'undefined' ? global : window;
|
|
5234
5133
|
// @ts-ignore
|
|
5235
|
-
|
|
5134
|
+
globalThis.luma = globalThis.luma || {};
|
|
5236
5135
|
|
|
5237
5136
|
// @ts-ignore
|
|
5238
|
-
module.exports = Object.assign(
|
|
5137
|
+
module.exports = Object.assign(globalThis.luma, moduleExports);
|
|
5239
5138
|
|
|
5240
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js")))
|
|
5241
5139
|
|
|
5242
5140
|
/***/ }),
|
|
5243
5141
|
|
|
@@ -9022,14 +8920,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9022
8920
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Texture; });
|
|
9023
8921
|
/* harmony import */ var _luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @luma.gl/constants */ "../constants/src/index.js");
|
|
9024
8922
|
/* harmony import */ var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @luma.gl/gltools */ "../gltools/src/index.js");
|
|
9025
|
-
/* harmony import */ var
|
|
9026
|
-
/* harmony import */ var
|
|
9027
|
-
/* harmony import */ var
|
|
9028
|
-
/* harmony import */ var
|
|
9029
|
-
/* harmony import */ var
|
|
9030
|
-
/* harmony import */ var _utils_assert__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/assert */ "./src/utils/assert.js");
|
|
9031
|
-
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.js");
|
|
9032
|
-
|
|
8923
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./resource */ "./src/classes/resource.js");
|
|
8924
|
+
/* harmony import */ var _buffer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./buffer */ "./src/classes/buffer.js");
|
|
8925
|
+
/* harmony import */ var _texture_formats__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./texture-formats */ "./src/classes/texture-formats.js");
|
|
8926
|
+
/* harmony import */ var _utils_assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/assert */ "./src/utils/assert.js");
|
|
8927
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.js");
|
|
9033
8928
|
|
|
9034
8929
|
|
|
9035
8930
|
|
|
@@ -9044,15 +8939,15 @@ const NPOT_MIN_FILTERS = [_luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__["defau
|
|
|
9044
8939
|
|
|
9045
8940
|
// Polyfill
|
|
9046
8941
|
// Note (Tarek): Do we really need to support this API?
|
|
9047
|
-
const WebGLBuffer =
|
|
8942
|
+
const WebGLBuffer = globalThis.WebGLBuffer || function WebGLBuffer() {};
|
|
9048
8943
|
|
|
9049
|
-
class Texture extends
|
|
8944
|
+
class Texture extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
9050
8945
|
static isSupported(gl, opts = {}) {
|
|
9051
8946
|
const {format, linearFiltering} = opts;
|
|
9052
8947
|
let supported = true;
|
|
9053
8948
|
if (format) {
|
|
9054
|
-
supported = supported && Object(
|
|
9055
|
-
supported = supported && (!linearFiltering || Object(
|
|
8949
|
+
supported = supported && Object(_texture_formats__WEBPACK_IMPORTED_MODULE_4__["isFormatSupported"])(gl, format);
|
|
8950
|
+
supported = supported && (!linearFiltering || Object(_texture_formats__WEBPACK_IMPORTED_MODULE_4__["isLinearFilteringSupported"])(gl, format));
|
|
9056
8951
|
}
|
|
9057
8952
|
return supported;
|
|
9058
8953
|
}
|
|
@@ -9069,7 +8964,7 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9069
8964
|
// (while run-time).
|
|
9070
8965
|
constructor(gl, props) {
|
|
9071
8966
|
const {
|
|
9072
|
-
id = Object(
|
|
8967
|
+
id = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["uid"])('texture'),
|
|
9073
8968
|
handle,
|
|
9074
8969
|
target
|
|
9075
8970
|
// , magFilter, minFilter, wrapS, wrapT
|
|
@@ -9387,7 +9282,7 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9387
9282
|
|
|
9388
9283
|
break;
|
|
9389
9284
|
default:
|
|
9390
|
-
Object(
|
|
9285
|
+
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_5__["assert"])(false, 'Unknown image data type');
|
|
9391
9286
|
}
|
|
9392
9287
|
});
|
|
9393
9288
|
|
|
@@ -9395,8 +9290,8 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9395
9290
|
this._trackAllocatedMemory(data.byteLength, 'Texture');
|
|
9396
9291
|
} else {
|
|
9397
9292
|
// NOTE(Tarek): Default to RGBA bytes
|
|
9398
|
-
const channels =
|
|
9399
|
-
const channelSize =
|
|
9293
|
+
const channels = _texture_formats__WEBPACK_IMPORTED_MODULE_4__["DATA_FORMAT_CHANNELS"][this.dataFormat] || 4;
|
|
9294
|
+
const channelSize = _texture_formats__WEBPACK_IMPORTED_MODULE_4__["TYPE_SIZES"][this.type] || 1;
|
|
9400
9295
|
|
|
9401
9296
|
this._trackAllocatedMemory(this.width * this.height * channels * channelSize, 'Texture');
|
|
9402
9297
|
}
|
|
@@ -9462,7 +9357,7 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9462
9357
|
height
|
|
9463
9358
|
}));
|
|
9464
9359
|
|
|
9465
|
-
Object(
|
|
9360
|
+
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_5__["assert"])(this.depth === 0, 'texSubImage not supported for 3D textures');
|
|
9466
9361
|
|
|
9467
9362
|
// pixels variable is for API compatibility purpose
|
|
9468
9363
|
if (!data) {
|
|
@@ -9478,7 +9373,7 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9478
9373
|
}
|
|
9479
9374
|
|
|
9480
9375
|
// Support buffers
|
|
9481
|
-
if (data instanceof
|
|
9376
|
+
if (data instanceof _buffer__WEBPACK_IMPORTED_MODULE_3__["default"]) {
|
|
9482
9377
|
data = data.handle;
|
|
9483
9378
|
}
|
|
9484
9379
|
|
|
@@ -9580,7 +9475,7 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9580
9475
|
if (ArrayBuffer.isView(data)) {
|
|
9581
9476
|
return {data, dataType: 'typed-array'};
|
|
9582
9477
|
}
|
|
9583
|
-
if (data instanceof
|
|
9478
|
+
if (data instanceof _buffer__WEBPACK_IMPORTED_MODULE_3__["default"]) {
|
|
9584
9479
|
return {data: data.handle, dataType: 'buffer'};
|
|
9585
9480
|
}
|
|
9586
9481
|
if (data instanceof WebGLBuffer) {
|
|
@@ -9672,7 +9567,7 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9672
9567
|
let {width, height, dataFormat, type, compressed} = opts;
|
|
9673
9568
|
|
|
9674
9569
|
// Deduce format and type from format
|
|
9675
|
-
const textureFormat =
|
|
9570
|
+
const textureFormat = _texture_formats__WEBPACK_IMPORTED_MODULE_4__["TEXTURE_FORMATS"][format];
|
|
9676
9571
|
dataFormat = dataFormat || (textureFormat && textureFormat.dataFormat);
|
|
9677
9572
|
type = type || (textureFormat && textureFormat.types[0]);
|
|
9678
9573
|
|
|
@@ -9704,12 +9599,12 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9704
9599
|
size = {width, height};
|
|
9705
9600
|
}
|
|
9706
9601
|
|
|
9707
|
-
Object(
|
|
9708
|
-
Object(
|
|
9602
|
+
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_5__["assert"])(size, 'Could not deduced texture size');
|
|
9603
|
+
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_5__["assert"])(
|
|
9709
9604
|
width === undefined || size.width === width,
|
|
9710
9605
|
'Deduced texture width does not match supplied width'
|
|
9711
9606
|
);
|
|
9712
|
-
Object(
|
|
9607
|
+
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_5__["assert"])(
|
|
9713
9608
|
height === undefined || size.height === height,
|
|
9714
9609
|
'Deduced texture height does not match supplied height'
|
|
9715
9610
|
);
|
|
@@ -9759,7 +9654,7 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9759
9654
|
|
|
9760
9655
|
case _luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__["default"].TEXTURE_WIDTH:
|
|
9761
9656
|
case _luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__["default"].TEXTURE_HEIGHT:
|
|
9762
|
-
Object(
|
|
9657
|
+
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_5__["assert"])(false);
|
|
9763
9658
|
break;
|
|
9764
9659
|
|
|
9765
9660
|
default:
|
|
@@ -9780,7 +9675,7 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_3__["default"] {
|
|
|
9780
9675
|
if (!this.width || !this.height) {
|
|
9781
9676
|
return false;
|
|
9782
9677
|
}
|
|
9783
|
-
return !Object(
|
|
9678
|
+
return !Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["isPowerOfTwo"])(this.width) || !Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["isPowerOfTwo"])(this.height);
|
|
9784
9679
|
}
|
|
9785
9680
|
|
|
9786
9681
|
// Update default settings which are not supported by NPOT textures.
|
|
@@ -12574,8 +12469,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12574
12469
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lumaStats", function() { return lumaStats; });
|
|
12575
12470
|
/* harmony import */ var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @luma.gl/gltools */ "../gltools/src/index.js");
|
|
12576
12471
|
/* harmony import */ var probe_gl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! probe.gl */ "../../node_modules/probe.gl/dist/esm/index.js");
|
|
12577
|
-
/* harmony import */ var
|
|
12578
|
-
/* harmony import */ var probe_gl_env__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(probe_gl_env__WEBPACK_IMPORTED_MODULE_2__);
|
|
12472
|
+
/* harmony import */ var _probe_gl_env__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @probe.gl/env */ "../../node_modules/@probe.gl/env/dist/esm/index.js");
|
|
12579
12473
|
|
|
12580
12474
|
|
|
12581
12475
|
|
|
@@ -12583,7 +12477,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12583
12477
|
// Version detection using babel plugin
|
|
12584
12478
|
/* global __VERSION__ */
|
|
12585
12479
|
// @ts-ignore
|
|
12586
|
-
const VERSION = true ? "8.5.
|
|
12480
|
+
const VERSION = true ? "8.5.10" : undefined;
|
|
12587
12481
|
|
|
12588
12482
|
const STARTUP_MESSAGE = 'set luma.log.level=1 (or higher) to trace rendering';
|
|
12589
12483
|
// Assign luma.log.level in console to control logging: \
|
|
@@ -12606,16 +12500,16 @@ class StatsManager {
|
|
|
12606
12500
|
|
|
12607
12501
|
const lumaStats = new StatsManager();
|
|
12608
12502
|
|
|
12609
|
-
if (
|
|
12610
|
-
throw new Error(`luma.gl - multiple VERSIONs detected: ${
|
|
12503
|
+
if (globalThis.luma && globalThis.luma.VERSION !== VERSION) {
|
|
12504
|
+
throw new Error(`luma.gl - multiple VERSIONs detected: ${globalThis.luma.VERSION} vs ${VERSION}`);
|
|
12611
12505
|
}
|
|
12612
12506
|
|
|
12613
|
-
if (!
|
|
12614
|
-
if (Object(
|
|
12507
|
+
if (!globalThis.luma) {
|
|
12508
|
+
if (Object(_probe_gl_env__WEBPACK_IMPORTED_MODULE_2__["isBrowser"])()) {
|
|
12615
12509
|
_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__["log"].log(1, `luma.gl ${VERSION} - ${STARTUP_MESSAGE}`)();
|
|
12616
12510
|
}
|
|
12617
12511
|
|
|
12618
|
-
|
|
12512
|
+
globalThis.luma = globalThis.luma || {
|
|
12619
12513
|
VERSION,
|
|
12620
12514
|
version: VERSION,
|
|
12621
12515
|
log: _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__["log"],
|
|
@@ -12637,7 +12531,7 @@ if (!probe_gl_env__WEBPACK_IMPORTED_MODULE_2__["global"].luma) {
|
|
|
12637
12531
|
}
|
|
12638
12532
|
|
|
12639
12533
|
|
|
12640
|
-
/* harmony default export */ __webpack_exports__["default"] = (
|
|
12534
|
+
/* harmony default export */ __webpack_exports__["default"] = (globalThis.luma);
|
|
12641
12535
|
|
|
12642
12536
|
|
|
12643
12537
|
/***/ }),
|