@endge/nova 0.13.11 → 0.13.14

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.
Files changed (47) hide show
  1. package/dist/model/input/NovaCaretBlinkController.d.ts +8 -8
  2. package/dist/model/input/NovaInputValidationController.d.ts +5 -5
  3. package/dist/model/input/NovaTextInputController.d.ts +18 -18
  4. package/dist/model/motion/NovaMotionEngine.d.ts +80 -80
  5. package/dist/model/platform/NovaCanvas.d.ts +3 -3
  6. package/dist/model/platform/NovaGraphics.d.ts +1 -1
  7. package/dist/model/render/backends/canvas2d/NovaCanvas2DTargetManager.d.ts +1 -1
  8. package/dist/model/render/backends/canvas2d/NovaRenderer2D.d.ts +7 -7
  9. package/dist/model/render/backends/webgl/NovaRendererWebGL.d.ts +1 -1
  10. package/dist/model/render/backends/webgl/NovaWebGLDevice.d.ts +1 -1
  11. package/dist/model/render/backends/webgl/NovaWebGLFrameRenderer.d.ts +227 -227
  12. package/dist/model/render/backends/webgl/NovaWebGLProgram.d.ts +2 -2
  13. package/dist/model/render/compiler/NovaRenderBuilder.d.ts +3 -3
  14. package/dist/model/render/compiler/NovaRenderCommandWriter.d.ts +9 -9
  15. package/dist/model/render/compiler/NovaRenderCompiler.d.ts +3 -3
  16. package/dist/model/render/graph/nova-render-stream.d.ts +1 -1
  17. package/dist/model/render/orchestration/NovaRenderOrchestrator.d.ts +11 -11
  18. package/dist/model/render/resources/NovaTextLayoutEngine.d.ts +1 -1
  19. package/dist/model/render/resources/NovaTextureAtlasManager.d.ts +3 -3
  20. package/dist/model/render/schema/NovaRenderContext.d.ts +1 -1
  21. package/dist/model/runtime/app/Nova.d.ts +1 -1
  22. package/dist/model/runtime/app/NovaApp.d.ts +14 -14
  23. package/dist/model/runtime/assets/NovaAssetRegistry.d.ts +18 -18
  24. package/dist/model/runtime/commands/NovaCommandBus.d.ts +3 -3
  25. package/dist/model/runtime/components/NovaComponentNode.d.ts +12 -12
  26. package/dist/model/runtime/components/NovaSchemaRegistry.d.ts +2 -2
  27. package/dist/model/runtime/components/nova-component-metadata.d.ts +3 -3
  28. package/dist/model/runtime/cursor/NovaCursorManager.d.ts +15 -15
  29. package/dist/model/runtime/debug/NovaDebug.d.ts +2 -2
  30. package/dist/model/runtime/debug/NovaMetrics.d.ts +3 -3
  31. package/dist/model/runtime/diagnostics/NovaDiagnostics_Module.d.ts +13 -13
  32. package/dist/model/runtime/interaction/NovaEvents.d.ts +23 -23
  33. package/dist/model/runtime/interaction/NovaHitIndex.d.ts +3 -3
  34. package/dist/model/runtime/scene/nova-scene-components.d.ts +10 -11
  35. package/dist/model/runtime/state/NovaStore.d.ts +1 -1
  36. package/dist/model/runtime/state/nova-store-decorators.d.ts +4 -2
  37. package/dist/model/runtime/sync/NovaSyncScope.d.ts +18 -18
  38. package/dist/model/runtime/template/NovaTemplateRuntime.d.ts +7 -7
  39. package/dist/model/runtime/tree/NovaNode.d.ts +18 -18
  40. package/dist/model/semantic/NovaSemanticService.d.ts +10 -10
  41. package/dist/model/sound/NovaSoundEngine.d.ts +50 -50
  42. package/dist/model/telemetry.d.ts +2 -2
  43. package/dist/model/text-selection/NovaTextSelectionService.d.ts +12 -12
  44. package/dist/model/theme/NovaGlobalThemeRegistry.d.ts +8 -8
  45. package/dist/model/theme/NovaThemeService.d.ts +4 -4
  46. package/dist/nova.js +3883 -3876
  47. package/package.json +1 -1
@@ -118,854 +118,854 @@ export declare class NovaWebGLFrameRenderer {
118
118
  /**
119
119
  * Выполняет внутреннюю операцию draw render item.
120
120
  */
121
- private drawRenderItem;
121
+ private _drawRenderItem;
122
122
  /**
123
123
  * Вычисляет schema content version.
124
124
  */
125
- private resolveSchemaContentVersion;
125
+ private _resolveSchemaContentVersion;
126
126
  /**
127
127
  * Возвращает retained dirty indices for schema batch.
128
128
  */
129
- private resolveSchemaDirtyIndices;
129
+ private _resolveSchemaDirtyIndices;
130
130
  /**
131
131
  * Переносит dirty indices исходного semantic batch на дочерний layer batch.
132
132
  */
133
- private applyLayerDirtyIndices;
133
+ private _applyLayerDirtyIndices;
134
134
  /**
135
135
  * Выполняет внутреннюю операцию draw schema batch.
136
136
  */
137
- private drawSchemaBatch;
137
+ private _drawSchemaBatch;
138
138
  /**
139
139
  * Выполняет внутреннюю операцию draw plain rect schema batch.
140
140
  */
141
- private drawPlainRectSchemaBatch;
141
+ private _drawPlainRectSchemaBatch;
142
142
  /**
143
143
  * Рисует cacheable schema rect batch из собственного GPU buffer.
144
144
  */
145
- private drawResidentRectSchemaBatch;
145
+ private _drawResidentRectSchemaBatch;
146
146
  /**
147
147
  * Создает resident GPU resources для schema rect batch при первом использовании.
148
148
  */
149
- private ensureRectSchemaBatchCache;
149
+ private _ensureRectSchemaBatchCache;
150
150
  /**
151
151
  * Освобождает resident resources schema rect batch.
152
152
  */
153
- private disposeRectSchemaBatchCache;
153
+ private _disposeRectSchemaBatchCache;
154
154
  /**
155
155
  * Выполняет внутреннюю операцию draw non overlap layered schema batch.
156
156
  */
157
- private drawNonOverlapLayeredSchemaBatch;
157
+ private _drawNonOverlapLayeredSchemaBatch;
158
158
  /**
159
159
  * Вычисляет non overlap layered batch.
160
160
  */
161
- private resolveNonOverlapLayeredBatch;
161
+ private _resolveNonOverlapLayeredBatch;
162
162
  /**
163
163
  * Обновляет cached semantic child arrays свежими item references из mutable source schema.
164
164
  */
165
- private refreshNonOverlapLayeredBatch;
165
+ private _refreshNonOverlapLayeredBatch;
166
166
  /**
167
167
  * Выполняет внутреннюю операцию build rect batch.
168
168
  */
169
- private buildRectBatch;
169
+ private _buildRectBatch;
170
170
  /**
171
171
  * Выполняет внутреннюю операцию build plain rect batch.
172
172
  */
173
- private buildPlainRectBatch;
173
+ private _buildPlainRectBatch;
174
174
  /**
175
175
  * Обновляет rect batch.
176
176
  */
177
- private updateRectBatch;
177
+ private _updateRectBatch;
178
178
  /**
179
179
  * Обновляет plain rect batch.
180
180
  */
181
- private updatePlainRectBatch;
181
+ private _updatePlainRectBatch;
182
182
  /**
183
183
  * Выполняет внутреннюю операцию draw texture schema batch.
184
184
  */
185
- private drawTextureSchemaBatch;
185
+ private _drawTextureSchemaBatch;
186
186
  /**
187
187
  * Выполняет внутреннюю операцию build texture batch.
188
188
  */
189
- private buildTextureBatch;
189
+ private _buildTextureBatch;
190
190
  /**
191
191
  * Обновляет texture batch.
192
192
  */
193
- private updateTextureBatch;
193
+ private _updateTextureBatch;
194
194
  /**
195
195
  * Вычисляет texture batch item.
196
196
  */
197
- private resolveTextureBatchItem;
197
+ private _resolveTextureBatchItem;
198
198
  /**
199
199
  * Проверяет culled marker для texture batch.
200
200
  */
201
- private isCulledTextureBatchItem;
201
+ private _isCulledTextureBatchItem;
202
202
  /**
203
203
  * Создает signature для culled text без rasterize.
204
204
  */
205
- private createCulledTextSignature;
205
+ private _createCulledTextSignature;
206
206
  /**
207
207
  * Создает rect signature.
208
208
  */
209
- private createRectSignature;
209
+ private _createRectSignature;
210
210
  /**
211
211
  * Возвращает shader metadata schema item.
212
212
  */
213
- private resolveShaderRenderMeta;
213
+ private _resolveShaderRenderMeta;
214
214
  /**
215
215
  * Создает signature для shader metadata, которая меняется только при смене конфигурации.
216
216
  */
217
- private createShaderMetaSignature;
217
+ private _createShaderMetaSignature;
218
218
  /**
219
219
  * Проверяет plain rect.
220
220
  */
221
- private isPlainRect;
221
+ private _isPlainRect;
222
222
  /**
223
223
  * Выполняет внутреннюю операцию draw primitive.
224
224
  */
225
- private drawPrimitive;
225
+ private _drawPrimitive;
226
226
  /**
227
227
  * Выполняет внутреннюю операцию draw rect.
228
228
  */
229
- private drawRect;
229
+ private _drawRect;
230
230
  /**
231
231
  * Рисует border прямоугольника без rounded shader, когда radius равен нулю.
232
232
  */
233
- private queueRectBorderLines;
233
+ private _queueRectBorderLines;
234
234
  /**
235
235
  * Выполняет внутреннюю операцию draw border.
236
236
  */
237
- private drawBorder;
237
+ private _drawBorder;
238
238
  /**
239
239
  * Выполняет внутреннюю операцию draw text.
240
240
  */
241
- private drawText;
241
+ private _drawText;
242
242
  /**
243
243
  * Рисует текст как последовательность glyph quads.
244
244
  */
245
- private drawGlyphText;
245
+ private _drawGlyphText;
246
246
  /**
247
247
  * Возвращает left glyph quad с учетом transparent padding внутри atlas entry.
248
248
  */
249
- private resolveGlyphQuadX;
249
+ private _resolveGlyphQuadX;
250
250
  /**
251
251
  * Возвращает top glyph quad так, чтобы line box, а не вся padded texture, центрировался в text box.
252
252
  */
253
- private resolveGlyphQuadY;
253
+ private _resolveGlyphQuadY;
254
254
  /**
255
255
  * Возвращает horizontal padding glyph texture в logical px.
256
256
  */
257
- private resolveGlyphPaddingX;
257
+ private _resolveGlyphPaddingX;
258
258
  /**
259
259
  * Возвращает vertical padding glyph texture в logical px.
260
260
  */
261
- private resolveGlyphPaddingY;
261
+ private _resolveGlyphPaddingY;
262
262
  /**
263
263
  * Возвращает glyph entry из atlas или rasterize-ит новый glyph.
264
264
  */
265
- private resolveGlyphAtlasEntry;
265
+ private _resolveGlyphAtlasEntry;
266
266
  /**
267
267
  * Выполняет rasterize одного glyph в alpha texture.
268
268
  */
269
- private rasterizeGlyph;
270
- private resolveGlyphDistanceFieldSource;
271
- private resolveSdfPxRange;
272
- private resolvePrebuiltMsdfGlyphAtlasEntry;
273
- private resolvePrebuiltMsdfAtlasSource;
274
- private isCanvasImageSource;
269
+ private _rasterizeGlyph;
270
+ private _resolveGlyphDistanceFieldSource;
271
+ private _resolveSdfPxRange;
272
+ private _resolvePrebuiltMsdfGlyphAtlasEntry;
273
+ private _resolvePrebuiltMsdfAtlasSource;
274
+ private _isCanvasImageSource;
275
275
  /**
276
276
  * Кодирует single-channel runtime SDF в alpha channel glyph canvas.
277
277
  */
278
- private encodeRuntimeSdf;
278
+ private _encodeRuntimeSdf;
279
279
  /**
280
280
  * Загружает rasterized glyph в glyph atlas.
281
281
  */
282
- private uploadGlyphAtlasEntry;
282
+ private _uploadGlyphAtlasEntry;
283
283
  /**
284
284
  * Возвращает страницу glyph atlas с местом под glyph.
285
285
  */
286
- private resolveGlyphAtlasPage;
286
+ private _resolveGlyphAtlasPage;
287
287
  /**
288
288
  * Создает пустую WebGL texture для glyph atlas page.
289
289
  */
290
- private createEmptyGlyphAtlasTexture;
290
+ private _createEmptyGlyphAtlasTexture;
291
291
  /**
292
292
  * Освобождает старые glyph atlas pages под memory budget.
293
293
  */
294
- private evictGlyphAtlasPagesFor;
294
+ private _evictGlyphAtlasPagesFor;
295
295
  /**
296
296
  * Проверяет поддержку glyph path для text item.
297
297
  */
298
- private isGlyphTextSupported;
298
+ private _isGlyphTextSupported;
299
299
  /**
300
300
  * Проверяет shaping cases, где glyph-atlas без HarfBuzz может разложить строку некорректно.
301
301
  */
302
- private hasComplexGlyphText;
302
+ private _hasComplexGlyphText;
303
303
  /**
304
304
  * Возвращает true для Unicode ranges, требующих shaping, bidi или combining mark handling.
305
305
  */
306
- private isComplexGlyphTextCodePoint;
306
+ private _isComplexGlyphTextCodePoint;
307
307
  /**
308
308
  * Вычисляет эффективный режим текста с учетом item metadata и зон.
309
309
  */
310
- private resolveTextRenderMode;
310
+ private _resolveTextRenderMode;
311
311
  /**
312
312
  * Выбирает text path в auto-режиме по форме строки, а не только по роли.
313
313
  */
314
- private resolveAutoTextRenderMode;
314
+ private _resolveAutoTextRenderMode;
315
315
  /**
316
316
  * Возвращает true для строк, где run-atlas дешевле или корректнее glyph-atlas.
317
317
  */
318
- private shouldUseRunAtlasForAutoText;
318
+ private _shouldUseRunAtlasForAutoText;
319
319
  /**
320
320
  * Считает Unicode code points для coarse auto-routing эвристики.
321
321
  */
322
- private countTextCodePoints;
322
+ private _countTextCodePoints;
323
323
  /**
324
324
  * Возвращает режим текста для продуктовой роли.
325
325
  */
326
- private resolveTextRoleMode;
326
+ private _resolveTextRoleMode;
327
327
  /**
328
328
  * Нормализует режим текста из metadata.
329
329
  */
330
- private normalizeTextRenderMode;
330
+ private _normalizeTextRenderMode;
331
331
  /**
332
332
  * Нормализует роль текста из metadata.
333
333
  */
334
- private normalizeTextRenderRole;
334
+ private _normalizeTextRenderRole;
335
335
  /**
336
336
  * Возвращает scope bucket state для независимых ролей текста.
337
337
  */
338
- private resolveTextRasterScope;
338
+ private _resolveTextRasterScope;
339
339
  /**
340
340
  * Возвращает context для измерения glyph.
341
341
  */
342
- private measureContext;
342
+ private _measureContext;
343
343
  /**
344
344
  * Измеряет advance glyph.
345
345
  */
346
- private measureGlyphAdvance;
346
+ private _measureGlyphAdvance;
347
347
  /**
348
348
  * Вычисляет texture raster scale.
349
349
  */
350
- private resolveTextureRasterScale;
350
+ private _resolveTextureRasterScale;
351
351
  /**
352
352
  * Вычисляет text raster scale.
353
353
  */
354
- private resolveTextRasterScale;
354
+ private _resolveTextRasterScale;
355
355
  /**
356
356
  * Возвращает drawable text atlas item или откладывает растеризацию по frame budget.
357
357
  */
358
- private resolveTextAtlasItem;
358
+ private _resolveTextAtlasItem;
359
359
  /**
360
360
  * Подготавливает соседние text buckets в рамках оставшегося raster budget.
361
361
  */
362
- private prewarmAdjacentTextBuckets;
362
+ private _prewarmAdjacentTextBuckets;
363
363
  /**
364
364
  * Возвращает соседние raster scales для prewarm.
365
365
  */
366
- private resolveAdjacentTextRasterScales;
366
+ private _resolveAdjacentTextRasterScales;
367
367
  /**
368
368
  * Возвращает fallback entry другого scale для того же text run.
369
369
  */
370
- private resolveTextFallbackEntry;
370
+ private _resolveTextFallbackEntry;
371
371
  /**
372
372
  * Создает drawable item из text atlas entry.
373
373
  */
374
- private createTextAtlasDrawableItem;
374
+ private _createTextAtlasDrawableItem;
375
375
  /**
376
376
  * Возвращает world-space quad для atlas entry с сохранением implicit box clip.
377
377
  */
378
- private resolveTextAtlasQuad;
378
+ private _resolveTextAtlasQuad;
379
379
  /**
380
380
  * Записывает diagnostics по размеру rasterized run-atlas entry.
381
381
  */
382
- private recordTextRasterDiagnostics;
382
+ private _recordTextRasterDiagnostics;
383
383
  /**
384
384
  * Загружает rasterized text run в atlas page через texSubImage2D.
385
385
  */
386
- private uploadTextAtlasEntry;
386
+ private _uploadTextAtlasEntry;
387
387
  /**
388
388
  * Возвращает atlas page с местом под rasterized text.
389
389
  */
390
- private resolveTextAtlasPage;
390
+ private _resolveTextAtlasPage;
391
391
  /**
392
392
  * Проверяет, поместится ли entry на существующую atlas page.
393
393
  */
394
- private tryFitTextAtlasPage;
394
+ private _tryFitTextAtlasPage;
395
395
  /**
396
396
  * Создает пустую WebGL texture для text atlas page.
397
397
  */
398
- private createEmptyTextAtlasTexture;
398
+ private _createEmptyTextAtlasTexture;
399
399
  /**
400
400
  * Освобождает старые text atlas pages под memory budget.
401
401
  */
402
- private evictTextAtlasPagesFor;
402
+ private _evictTextAtlasPagesFor;
403
403
  /**
404
404
  * Проверяет screen-space видимость rect.
405
405
  */
406
- private isRectVisible;
406
+ private _isRectVisible;
407
407
  /**
408
408
  * Проверяет screen-space LOD для text run и обновляет diagnostics.
409
409
  */
410
- private shouldDrawTextRun;
410
+ private _shouldDrawTextRun;
411
411
  /**
412
412
  * Проверяет, нужно ли скрыть text run по LOD.
413
413
  */
414
- private shouldDropTextRunByLod;
414
+ private _shouldDropTextRunByLod;
415
415
  /**
416
416
  * Проверяет, включена ли policy-driven culling для text runs.
417
417
  */
418
- private shouldCullTextRuns;
418
+ private _shouldCullTextRuns;
419
419
  /**
420
420
  * Проверяет, включен ли culling для texture stream.
421
421
  */
422
- private shouldCullTextureItems;
422
+ private _shouldCullTextureItems;
423
423
  /**
424
424
  * Проверяет, включен ли viewport culling для geometry streams.
425
425
  */
426
- private shouldCullGeometryItems;
426
+ private _shouldCullGeometryItems;
427
427
  /**
428
428
  * Создает ключ viewport visibility для batches, зависящих от transform.
429
429
  */
430
- private resolveBatchVisibilityKey;
430
+ private _resolveBatchVisibilityKey;
431
431
  /**
432
432
  * Возвращает frame budget для rasterization с учетом resolved mode и interaction policy.
433
433
  */
434
- private resolveTextRasterBudgetMs;
434
+ private _resolveTextRasterBudgetMs;
435
435
  /**
436
436
  * Проверяет, разрешен ли prewarm соседних buckets.
437
437
  */
438
- private shouldPrewarmTextBuckets;
438
+ private _shouldPrewarmTextBuckets;
439
439
  /**
440
440
  * Возвращает max raster scale с учетом interaction policy.
441
441
  */
442
- private resolveMaxTextRasterScale;
442
+ private _resolveMaxTextRasterScale;
443
443
  /**
444
444
  * Проверяет, нужно ли заморозить bucket во время interaction profile.
445
445
  */
446
- private shouldFreezeTextBuckets;
446
+ private _shouldFreezeTextBuckets;
447
447
  /**
448
448
  * Выполняет внутреннюю операцию draw line.
449
449
  */
450
- private drawLine;
450
+ private _drawLine;
451
451
  /**
452
452
  * Выполняет внутреннюю операцию draw circle.
453
453
  */
454
- private drawCircle;
454
+ private _drawCircle;
455
455
  /**
456
456
  * Выполняет внутреннюю операцию draw arc.
457
457
  */
458
- private drawArc;
458
+ private _drawArc;
459
459
  /**
460
460
  * Выполняет внутреннюю операцию draw polygon.
461
461
  */
462
- private drawPolygon;
462
+ private _drawPolygon;
463
463
  /**
464
464
  * Выполняет внутреннюю операцию draw icon.
465
465
  */
466
- private drawIcon;
466
+ private _drawIcon;
467
467
  /**
468
468
  * Выполняет внутреннюю операцию draw nine-slice image.
469
469
  */
470
- private drawNineSliceImage;
470
+ private _drawNineSliceImage;
471
471
  /**
472
472
  * Рисует процедурный pattern rect одним fullscreen-quad shader проходом.
473
473
  */
474
- private drawPatternRect;
474
+ private _drawPatternRect;
475
475
  /**
476
476
  * Рисует retained rect batch через specialized instanced stream.
477
477
  */
478
- private drawRectBatch;
478
+ private _drawRectBatch;
479
479
  /**
480
480
  * Рисует retained time-range segment batch, вычисляя x/width в shader uniforms.
481
481
  */
482
- private drawTimeRangeSegmentBatch;
482
+ private _drawTimeRangeSegmentBatch;
483
483
  /**
484
484
  * Рисует retained stripe batch через texture repeat stream.
485
485
  */
486
- private drawStripeBatch;
486
+ private _drawStripeBatch;
487
487
  /**
488
488
  * Рисует retained icon batch через texture stream.
489
489
  */
490
- private drawIconBatch;
490
+ private _drawIconBatch;
491
491
  /**
492
492
  * Рисует retained text batch через retained text atlas.
493
493
  */
494
- private drawTextBatch;
494
+ private _drawTextBatch;
495
495
  /**
496
496
  * Выбирает text path для retained batch без полного прохода по всем строкам.
497
497
  */
498
- private resolveTextBatchRenderMode;
498
+ private _resolveTextBatchRenderMode;
499
499
  /**
500
500
  * Выбирает auto text path для retained batch.
501
501
  */
502
- private resolveAutoTextBatchRenderMode;
502
+ private _resolveAutoTextBatchRenderMode;
503
503
  /**
504
504
  * Проверяет bounded sample batch-а для auto-routing.
505
505
  */
506
- private shouldUseRunAtlasForAutoTextBatch;
506
+ private _shouldUseRunAtlasForAutoTextBatch;
507
507
  /**
508
508
  * Рисует retained text batch через glyph/MSDF atlas.
509
509
  */
510
- private drawGlyphTextBatch;
510
+ private _drawGlyphTextBatch;
511
511
  /**
512
512
  * Возвращает retained glyph text cache.
513
513
  */
514
- private resolveGlyphTextBatchCache;
514
+ private _resolveGlyphTextBatchCache;
515
515
  /**
516
516
  * Создает retained glyph text cache.
517
517
  */
518
- private createGlyphTextBatchCache;
518
+ private _createGlyphTextBatchCache;
519
519
  /**
520
520
  * Обновляет dirty ranges retained glyph cache, если topology glyph groups не изменилась.
521
521
  */
522
- private updateGlyphTextBatchCache;
522
+ private _updateGlyphTextBatchCache;
523
523
  /**
524
524
  * Создает retained glyph stream group.
525
525
  */
526
- private createGlyphTextStreamGroupCache;
526
+ private _createGlyphTextStreamGroupCache;
527
527
  /**
528
528
  * Записывает один glyph quad в retained buffers.
529
529
  */
530
- private writeGlyphTextQuad;
531
- private resolveGlyphTextStaticStride;
530
+ private _writeGlyphTextQuad;
531
+ private _resolveGlyphTextStaticStride;
532
532
  /**
533
533
  * Рисует retained glyph text cache.
534
534
  */
535
- private drawGlyphTextBatchCache;
535
+ private _drawGlyphTextBatchCache;
536
536
  /**
537
537
  * Проверяет, что retained glyph cache не ссылается на evicted atlas pages.
538
538
  */
539
- private isGlyphTextBatchCacheStale;
539
+ private _isGlyphTextBatchCacheStale;
540
540
  /**
541
541
  * Проверяет, что retained run-atlas cache не ссылается на evicted atlas pages.
542
542
  */
543
- private isTextStreamBatchCacheStale;
543
+ private _isTextStreamBatchCacheStale;
544
544
  /**
545
545
  * Проверяет, что retained source texture cache не ссылается на evicted textures.
546
546
  */
547
- private isSourceTextureStreamBatchCacheStale;
547
+ private _isSourceTextureStreamBatchCacheStale;
548
548
  /**
549
549
  * Создает glyph quads для одного text run.
550
550
  */
551
- private createGlyphTextQuads;
551
+ private _createGlyphTextQuads;
552
552
  /**
553
553
  * Возвращает shaped run из LRU cache.
554
554
  */
555
- private resolveTextRunShape;
555
+ private _resolveTextRunShape;
556
556
  /**
557
557
  * Повторяет старое поведение Canvas renderer: если строка не помещается в
558
558
  * content-box, center/right превращаются в left, чтобы clip показывал начало.
559
559
  */
560
- private resolveTextOverflowHorizontalAlign;
560
+ private _resolveTextOverflowHorizontalAlign;
561
561
  /**
562
562
  * Ограничивает размер shaped run cache.
563
563
  */
564
- private evictTextRunShapeCache;
564
+ private _evictTextRunShapeCache;
565
565
  /**
566
566
  * Возвращает NovaText для item retained text batch.
567
567
  */
568
- private createTextFromBatch;
568
+ private _createTextFromBatch;
569
569
  /**
570
570
  * Создает coarse visibility key для retained text batches.
571
571
  */
572
- private resolveTextBatchVisibilityKey;
572
+ private _resolveTextBatchVisibilityKey;
573
573
  /**
574
574
  * Проверяет, что texture все еще принадлежит соответствующему atlas pool.
575
575
  */
576
- private isTextureAlive;
576
+ private _isTextureAlive;
577
577
  /**
578
578
  * Проверяет, что retained texture batch ссылается на живую source или atlas texture.
579
579
  */
580
- private isRetainedTextureAlive;
580
+ private _isRetainedTextureAlive;
581
581
  /**
582
582
  * Проверяет, что source texture все еще принадлежит renderer texture cache.
583
583
  */
584
- private isSourceTextureAlive;
584
+ private _isSourceTextureAlive;
585
585
  /**
586
586
  * Проверяет, что texture не была удалена в WebGL context.
587
587
  */
588
- private isTextureBindable;
588
+ private _isTextureBindable;
589
589
  /**
590
590
  * Закрепляет atlas page на текущий кадр, если retained cache рисует ее без нового resolve.
591
591
  */
592
- private pinAtlasPageForTexture;
592
+ private _pinAtlasPageForTexture;
593
593
  /**
594
594
  * Возвращает retained icon stream cache.
595
595
  */
596
- private resolveIconStreamBatchCache;
596
+ private _resolveIconStreamBatchCache;
597
597
  /**
598
598
  * Создает retained icon stream cache.
599
599
  */
600
- private createIconStreamBatchCache;
600
+ private _createIconStreamBatchCache;
601
601
  /**
602
602
  * Обновляет geometry старого retained texture batch cache без пересоздания static texture groups.
603
603
  */
604
- private updateTextureRectStreamBatchCacheGeometry;
604
+ private _updateTextureRectStreamBatchCacheGeometry;
605
605
  /**
606
606
  * Возвращает retained text stream cache.
607
607
  */
608
- private resolveTextStreamBatchCache;
608
+ private _resolveTextStreamBatchCache;
609
609
  /**
610
610
  * Создает retained text stream cache.
611
611
  */
612
- private createTextStreamBatchCache;
612
+ private _createTextStreamBatchCache;
613
613
  /**
614
614
  * Возвращает style object для text batch.
615
615
  */
616
- private createTextBatchStyleBase;
616
+ private _createTextBatchStyleBase;
617
617
  /**
618
618
  * Создает retained texture rect group cache.
619
619
  */
620
- private createTextureRectStreamGroupCache;
620
+ private _createTextureRectStreamGroupCache;
621
621
  /**
622
622
  * Записывает dynamic geometry для retained texture rect group.
623
623
  */
624
- private writeTextureRectGeometry;
624
+ private _writeTextureRectGeometry;
625
625
  /**
626
626
  * Возвращает clipped rect для retained texture stream item.
627
627
  */
628
- private resolveClippedTextureRect;
628
+ private _resolveClippedTextureRect;
629
629
  /**
630
630
  * Возвращает per-item clip для text batch, если batch его содержит.
631
631
  */
632
- private resolveTextBatchClip;
632
+ private _resolveTextBatchClip;
633
633
  /**
634
634
  * Записывает static uv/opacity для retained texture rect group.
635
635
  */
636
- private writeTextureRectStaticData;
636
+ private _writeTextureRectStaticData;
637
637
  /**
638
638
  * Рисует retained texture rect cache через instanced stream.
639
639
  */
640
- private drawTextureRectStreamBatchCache;
640
+ private _drawTextureRectStreamBatchCache;
641
641
  /**
642
642
  * Возвращает retained analytic stripe stream cache.
643
643
  */
644
- private resolveStripeStreamBatchCache;
644
+ private _resolveStripeStreamBatchCache;
645
645
  /**
646
646
  * Создает retained analytic stripe stream cache.
647
647
  */
648
- private createStripeStreamBatchCache;
648
+ private _createStripeStreamBatchCache;
649
649
  /**
650
650
  * Записывает dynamic stripe geometry.
651
651
  */
652
- private writeStripeBatchGeometry;
652
+ private _writeStripeBatchGeometry;
653
653
  /**
654
654
  * Записывает static stripe material.
655
655
  */
656
- private writeStripeBatchStaticData;
656
+ private _writeStripeBatchStaticData;
657
657
  /**
658
658
  * Рисует retained analytic stripe cache.
659
659
  */
660
- private drawStripeStreamBatchCache;
660
+ private _drawStripeStreamBatchCache;
661
661
  /**
662
662
  * Возвращает stripe descriptor для asset ref.
663
663
  */
664
- private resolveStripeDescriptor;
664
+ private _resolveStripeDescriptor;
665
665
  /**
666
666
  * Рисует stripe batch старым texture path, если fill не является stripe descriptor.
667
667
  */
668
- private drawStripeTextureFallbackBatch;
668
+ private _drawStripeTextureFallbackBatch;
669
669
  /**
670
670
  * Рисует retained particle batch через specialized instanced stream.
671
671
  */
672
- private drawParticleBatch;
672
+ private _drawParticleBatch;
673
673
  /**
674
674
  * Рисует circle particles через analytic shader.
675
675
  */
676
- private drawCircleParticleBatch;
676
+ private _drawCircleParticleBatch;
677
677
  /**
678
678
  * Рисует sprite particles через texture instancing.
679
679
  */
680
- private drawSpriteParticleBatch;
680
+ private _drawSpriteParticleBatch;
681
681
  /**
682
682
  * Выполняет внутреннюю операцию draw texture source.
683
683
  */
684
- private drawTextureSource;
684
+ private _drawTextureSource;
685
685
  /**
686
686
  * Возвращает texture entry для drawable asset/source.
687
687
  */
688
- private resolveTextureEntry;
688
+ private _resolveTextureEntry;
689
689
  /**
690
690
  * Создает cache для circle particle batch.
691
691
  */
692
- private createCircleParticleCache;
692
+ private _createCircleParticleCache;
693
693
  /**
694
694
  * Создает cache для sprite particle batch.
695
695
  */
696
- private createSpriteParticleCache;
696
+ private _createSpriteParticleCache;
697
697
  /**
698
698
  * Создает cache для instanced rect batch.
699
699
  */
700
- private createRectStreamBatchCache;
700
+ private _createRectStreamBatchCache;
701
701
  /**
702
702
  * Записывает dynamic rect geometry.
703
703
  */
704
- private writeRectBatchGeometry;
704
+ private _writeRectBatchGeometry;
705
705
  /**
706
706
  * Записывает static rect paint/state attributes.
707
707
  */
708
- private writeRectBatchStaticData;
708
+ private _writeRectBatchStaticData;
709
709
  /**
710
710
  * Создает cache для GPU-resident time-range segment batch.
711
711
  */
712
- private createTimeRangeSegmentBatchCache;
712
+ private _createTimeRangeSegmentBatchCache;
713
713
  /**
714
714
  * Записывает dynamic time-range segment geometry.
715
715
  */
716
- private writeTimeRangeSegmentGeometry;
716
+ private _writeTimeRangeSegmentGeometry;
717
717
  /**
718
718
  * Записывает static time-range segment colors.
719
719
  */
720
- private writeTimeRangeSegmentStaticData;
720
+ private _writeTimeRangeSegmentStaticData;
721
721
  /**
722
722
  * Записывает dynamic particle positions.
723
723
  */
724
- private writeParticlePositions;
724
+ private _writeParticlePositions;
725
725
  /**
726
726
  * Записывает static circle particle attributes.
727
727
  */
728
- private writeCircleParticleStaticData;
728
+ private _writeCircleParticleStaticData;
729
729
  /**
730
730
  * Записывает static sprite particle attributes.
731
731
  */
732
- private writeSpriteParticleStaticData;
732
+ private _writeSpriteParticleStaticData;
733
733
  /**
734
734
  * Выполняет внутреннюю операцию queue rounded rect.
735
735
  */
736
- private queueRoundedRect;
736
+ private _queueRoundedRect;
737
737
  /**
738
738
  * Выполняет внутреннюю операцию queue plain rect.
739
739
  */
740
- private queuePlainRect;
740
+ private _queuePlainRect;
741
741
  /**
742
742
  * Выполняет внутреннюю операцию push rounded rect vertices.
743
743
  */
744
- private pushRoundedRectVertices;
744
+ private _pushRoundedRectVertices;
745
745
  /**
746
746
  * Записывает rounded rect vertices.
747
747
  */
748
- private writeRoundedRectVertices;
748
+ private _writeRoundedRectVertices;
749
749
  /**
750
750
  * Выполняет внутреннюю операцию push solid rect vertices.
751
751
  */
752
- private pushSolidRectVertices;
752
+ private _pushSolidRectVertices;
753
753
  /**
754
754
  * Записывает solid rect vertices.
755
755
  */
756
- private writeSolidRectVertices;
756
+ private _writeSolidRectVertices;
757
757
  /**
758
758
  * Выполняет внутреннюю операцию queue solid triangle.
759
759
  */
760
- private queueSolidTriangle;
760
+ private _queueSolidTriangle;
761
761
  /**
762
762
  * Выполняет внутреннюю операцию queue solid line.
763
763
  */
764
- private queueSolidLine;
764
+ private _queueSolidLine;
765
765
  /**
766
766
  * Выполняет внутреннюю операцию queue dashed line.
767
767
  */
768
- private queueDashedLine;
768
+ private _queueDashedLine;
769
769
  /**
770
770
  * Выполняет внутреннюю операцию queue texture quad.
771
771
  */
772
- private queueTextureQuad;
772
+ private _queueTextureQuad;
773
773
  /**
774
774
  * Добавляет texture quad с CPU clipping и пересчетом UV без смены scissor.
775
775
  */
776
- private queueClippedTextureQuad;
776
+ private _queueClippedTextureQuad;
777
777
  /**
778
778
  * Выполняет внутреннюю операцию queue distance-field glyph quad.
779
779
  */
780
- private queueDistanceFieldGlyphQuad;
780
+ private _queueDistanceFieldGlyphQuad;
781
781
  /**
782
782
  * Добавляет distance-field glyph quad с CPU clipping и пересчетом UV.
783
783
  */
784
- private queueClippedDistanceFieldGlyphQuad;
784
+ private _queueClippedDistanceFieldGlyphQuad;
785
785
  /**
786
786
  * Переключает WebGL output в offscreen framebuffer.
787
787
  */
788
- private beginRenderTarget;
788
+ private _beginRenderTarget;
789
789
  /**
790
790
  * Возвращает WebGL output в предыдущий framebuffer.
791
791
  */
792
- private endRenderTarget;
792
+ private _endRenderTarget;
793
793
  /**
794
794
  * Рисует offscreen framebuffer texture как обычный texture quad.
795
795
  */
796
- private drawRenderTarget;
796
+ private _drawRenderTarget;
797
797
  /**
798
798
  * Создает или обновляет WebGL texture/framebuffer для render target.
799
799
  */
800
- private ensureRenderTargetTexture;
800
+ private _ensureRenderTargetTexture;
801
801
  /**
802
802
  * Обрезает destination rect и UV относительно clip rect.
803
803
  */
804
- private clipTextureRect;
804
+ private _clipTextureRect;
805
805
  /**
806
806
  * Выполняет внутреннюю операцию push texture quad vertices.
807
807
  */
808
- private pushTextureQuadVertices;
808
+ private _pushTextureQuadVertices;
809
809
  /**
810
810
  * Выполняет внутреннюю операцию push distance-field glyph quad vertices.
811
811
  */
812
- private pushDistanceFieldQuadVertices;
812
+ private _pushDistanceFieldQuadVertices;
813
813
  /**
814
814
  * Записывает texture quad vertices.
815
815
  */
816
- private writeTextureQuadVertices;
816
+ private _writeTextureQuadVertices;
817
817
  /**
818
818
  * Выполняет внутреннюю операцию push solid vertex.
819
819
  */
820
- private pushSolidVertex;
820
+ private _pushSolidVertex;
821
821
  /**
822
822
  * Выполняет внутреннюю операцию push solid vertex to.
823
823
  */
824
- private pushSolidVertexTo;
824
+ private _pushSolidVertexTo;
825
825
  /**
826
826
  * Сбрасывает накопленные операции в следующий слой runtime.
827
827
  */
828
- private flush;
828
+ private _flush;
829
829
  /**
830
830
  * Выполняет внутреннюю операцию prepare rounded transform.
831
831
  */
832
- private prepareRoundedTransform;
832
+ private _prepareRoundedTransform;
833
833
  /**
834
834
  * Выполняет внутреннюю операцию prepare solid transform.
835
835
  */
836
- private prepareSolidTransform;
836
+ private _prepareSolidTransform;
837
837
  /**
838
838
  * Выполняет внутреннюю операцию prepare texture transform.
839
839
  */
840
- private prepareTextureTransform;
840
+ private _prepareTextureTransform;
841
841
  /**
842
842
  * Выполняет внутреннюю операцию prepare distance-field transform.
843
843
  */
844
- private prepareDistanceFieldTransform;
844
+ private _prepareDistanceFieldTransform;
845
845
  /**
846
846
  * Сбрасывает накопленные операции в следующий слой runtime.
847
847
  */
848
- private flushRounded;
848
+ private _flushRounded;
849
849
  /**
850
850
  * Сбрасывает накопленные операции в следующий слой runtime.
851
851
  */
852
- private flushSolid;
852
+ private _flushSolid;
853
853
  /**
854
854
  * Сбрасывает накопленные операции в следующий слой runtime.
855
855
  */
856
- private flushTexture;
856
+ private _flushTexture;
857
857
  /**
858
858
  * Сбрасывает накопленные distance-field glyph операции в следующий слой runtime.
859
859
  */
860
- private flushDistanceField;
860
+ private _flushDistanceField;
861
861
  /**
862
862
  * Выполняет внутреннюю операцию upload array buffer.
863
863
  */
864
- private uploadArrayBuffer;
864
+ private _uploadArrayBuffer;
865
865
  /**
866
866
  * Создает buffer.
867
867
  */
868
- private createBuffer;
868
+ private _createBuffer;
869
869
  /**
870
870
  * Создает rounded vao.
871
871
  */
872
- private createRoundedVao;
872
+ private _createRoundedVao;
873
873
  /**
874
874
  * Создает solid vao.
875
875
  */
876
- private createSolidVao;
876
+ private _createSolidVao;
877
877
  /**
878
878
  * Создает texture vao.
879
879
  */
880
- private createTextureVao;
880
+ private _createTextureVao;
881
881
  /**
882
882
  * Создает distance-field glyph vao.
883
883
  */
884
- private createDistanceFieldVao;
884
+ private _createDistanceFieldVao;
885
885
  /**
886
886
  * Создает VAO для процедурного pattern rect.
887
887
  */
888
- private createPatternRectVao;
888
+ private _createPatternRectVao;
889
889
  /**
890
890
  * Создает VAO для circle particle stream.
891
891
  */
892
- private createParticleCircleVao;
892
+ private _createParticleCircleVao;
893
893
  /**
894
894
  * Создает VAO для sprite particle stream.
895
895
  */
896
- private createParticleSpriteVao;
896
+ private _createParticleSpriteVao;
897
897
  /**
898
898
  * Создает VAO для rect batch stream.
899
899
  */
900
- private createRectBatchVao;
900
+ private _createRectBatchVao;
901
901
  /**
902
902
  * Создает VAO для GPU-resident time-range segment stream.
903
903
  */
904
- private createTimeRangeSegmentBatchVao;
904
+ private _createTimeRangeSegmentBatchVao;
905
905
  /**
906
906
  * Создает VAO для retained texture rect stream.
907
907
  */
908
- private createTextureRectBatchVao;
908
+ private _createTextureRectBatchVao;
909
909
  /**
910
910
  * Создает VAO для retained distance-field glyph stream.
911
911
  */
912
- private createDistanceFieldGlyphBatchVao;
912
+ private _createDistanceFieldGlyphBatchVao;
913
913
  /**
914
914
  * Создает VAO для retained analytic stripe stream.
915
915
  */
916
- private createStripeBatchVao;
916
+ private _createStripeBatchVao;
917
917
  /**
918
918
  * Создает vao.
919
919
  */
920
- private createVao;
920
+ private _createVao;
921
921
  /**
922
922
  * Выполняет внутреннюю операцию bind attrib.
923
923
  */
924
- private bindAttrib;
924
+ private _bindAttrib;
925
925
  /**
926
926
  * Привязывает instanced attribute.
927
927
  */
928
- private bindAttribDivisor;
928
+ private _bindAttribDivisor;
929
929
  /**
930
930
  * Загружает shared unit quad для instanced particle streams.
931
931
  */
932
- private initializeParticleQuadBuffer;
932
+ private _initializeParticleQuadBuffer;
933
933
  /**
934
934
  * Вычисляет texture buffer.
935
935
  */
936
- private resolveTextureBuffer;
936
+ private _resolveTextureBuffer;
937
937
  /**
938
938
  * Вычисляет texture vao.
939
939
  */
940
- private resolveTextureVao;
940
+ private _resolveTextureVao;
941
941
  /**
942
942
  * Создает texture from source.
943
943
  */
944
- private createTextureFromSource;
944
+ private _createTextureFromSource;
945
945
  /**
946
946
  * Выполняет внутреннюю операцию rasterize text.
947
947
  */
948
- private rasterizeText;
948
+ private _rasterizeText;
949
949
  /**
950
950
  * Вычисляет layout текста до выбора raster rectangle.
951
951
  */
952
- private resolveTextRasterLayout;
952
+ private _resolveTextRasterLayout;
953
953
  /**
954
954
  * Выбирает full-box или tight raster rectangle для run-atlas entry.
955
955
  */
956
- private resolveTextRasterBounds;
956
+ private _resolveTextRasterBounds;
957
957
  /**
958
958
  * Создает text key.
959
959
  */
960
- private createTextKey;
960
+ private _createTextKey;
961
961
  /**
962
962
  * Создает text key без raster scale для fallback между buckets.
963
963
  */
964
- private createTextBaseKey;
964
+ private _createTextBaseKey;
965
965
  /**
966
966
  * Вычисляет source key.
967
967
  */
968
- private resolveSourceKey;
968
+ private _resolveSourceKey;
969
969
  /**
970
970
  * Выполняет внутреннюю операцию source texture keys size.
971
971
  */
@@ -973,41 +973,41 @@ export declare class NovaWebGLFrameRenderer {
973
973
  /**
974
974
  * Вычисляет border sides.
975
975
  */
976
- private resolveBorderSides;
976
+ private _resolveBorderSides;
977
977
  /**
978
978
  * Обновляет scissor.
979
979
  */
980
- private setScissor;
980
+ private _setScissor;
981
981
  /**
982
982
  * Выполняет внутреннюю операцию texture memory mb.
983
983
  */
984
- private textureMemoryMB;
984
+ private _textureMemoryMB;
985
985
  /**
986
986
  * Возвращает memory bytes text atlas pages.
987
987
  */
988
- private textAtlasMemoryBytes;
988
+ private _textAtlasMemoryBytes;
989
989
  /**
990
990
  * Возвращает memory bytes glyph atlas pages.
991
991
  */
992
- private glyphAtlasMemoryBytes;
992
+ private _glyphAtlasMemoryBytes;
993
993
  /**
994
994
  * Возвращает число atlas pages, которые использовались в текущем кадре.
995
995
  */
996
- private countPinnedAtlasPages;
996
+ private _countPinnedAtlasPages;
997
997
  /**
998
998
  * Освобождает все text atlas pages.
999
999
  */
1000
- private destroyTextAtlas;
1000
+ private _destroyTextAtlas;
1001
1001
  /**
1002
1002
  * Освобождает все glyph atlas pages.
1003
1003
  */
1004
- private destroyGlyphAtlas;
1004
+ private _destroyGlyphAtlas;
1005
1005
  /**
1006
1006
  * Выполняет внутреннюю операцию evict textures if needed.
1007
1007
  */
1008
- private evictTexturesIfNeeded;
1008
+ private _evictTexturesIfNeeded;
1009
1009
  /**
1010
1010
  * Проверяет, что texture сейчас используется активной draw batch и не может быть evicted.
1011
1011
  */
1012
- private isTextureProtectedFromEviction;
1012
+ private _isTextureProtectedFromEviction;
1013
1013
  }