@gnsx/three 0.185.13 → 0.185.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.
package/package.json
CHANGED
|
@@ -1386,7 +1386,6 @@ class Renderer {
|
|
|
1386
1386
|
|
|
1387
1387
|
// WITH_GENESYS
|
|
1388
1388
|
const label = `Renderer.render (${scene.name || scene.type})`;
|
|
1389
|
-
ProfilerService.begin( label );
|
|
1390
1389
|
const handle = ProfilerService.beginGpu( label, this );
|
|
1391
1390
|
try {
|
|
1392
1391
|
|
|
@@ -1395,7 +1394,6 @@ class Renderer {
|
|
|
1395
1394
|
} finally {
|
|
1396
1395
|
|
|
1397
1396
|
ProfilerService.endGpu( handle );
|
|
1398
|
-
ProfilerService.end( label );
|
|
1399
1397
|
|
|
1400
1398
|
}
|
|
1401
1399
|
// !WITH_GENESYS
|
|
@@ -1551,10 +1549,6 @@ class Renderer {
|
|
|
1551
1549
|
|
|
1552
1550
|
if ( this._isDeviceLost === true ) return;
|
|
1553
1551
|
|
|
1554
|
-
// WITH_GENESYS
|
|
1555
|
-
ProfilerService.begin( 'Renderer._renderScene' );
|
|
1556
|
-
// !WITH_GENESYS
|
|
1557
|
-
|
|
1558
1552
|
//
|
|
1559
1553
|
|
|
1560
1554
|
const frameBufferTarget = useFrameBufferTarget ? this._getFrameBufferTarget() : null;
|
|
@@ -1791,6 +1785,12 @@ class Renderer {
|
|
|
1791
1785
|
renderContext.activeMipmapLevel = activeMipmapLevel;
|
|
1792
1786
|
renderContext.occlusionQueryCount = renderList.occlusionQueryCount;
|
|
1793
1787
|
|
|
1788
|
+
// WITH_GENESYS
|
|
1789
|
+
// Size is finalized above from the active RT or drawing buffer.
|
|
1790
|
+
const profilerLabel = `Renderer._renderScene (${renderContext.width}x${renderContext.height})`;
|
|
1791
|
+
ProfilerService.begin( profilerLabel );
|
|
1792
|
+
// !WITH_GENESYS
|
|
1793
|
+
|
|
1794
1794
|
//
|
|
1795
1795
|
|
|
1796
1796
|
renderContext.scissorValue.max( _vector4.set( 0, 0, 0, 0 ) );
|
|
@@ -1866,7 +1866,7 @@ class Renderer {
|
|
|
1866
1866
|
//
|
|
1867
1867
|
|
|
1868
1868
|
// WITH_GENESYS
|
|
1869
|
-
ProfilerService.end(
|
|
1869
|
+
ProfilerService.end( profilerLabel );
|
|
1870
1870
|
// !WITH_GENESYS
|
|
1871
1871
|
|
|
1872
1872
|
return renderContext;
|