You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Related to #7021 and #7035
Based on my analysis on the code, effects (pre and post render) and
LayerPass#render
would ended up filtering out invisible layer anyway.With 20k sublayers where mostly
visible: false
, every time filter happens, it takes away 5-7ms of my CPU time.If
DeckRenderer
doesn't need any invisible layer, might as well filter it out once when it's being called atdeck.gl/modules/core/src/lib/deck.ts
Line 967 in 13bed5d
That will save at least 5ms in my case.
Beta Was this translation helpful? Give feedback.
All reactions