Optimize order rendering and border drawing (#3762)

Reverts zed-industries/zed#3761

There was a bug in the previous implementation of `BatchIterator` that
was being masked by how we were using the BSP tree. The bug caused us to
render primitives without honoring the `PrimitiveKind` implicit
ordering.
3d5b903f78Antonio Scandurra committed on 12/22/2023, 8:40:54 AM· committed by GitHubparents2659b2701ce204
6 files changedLine totals unavailable