-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[re_renderer] Introduce
DrawPhase
es for simplistic multi pass rende…
…ring (#1419) Or rather as a first and super easy step towards it. Also takes the first step towards supporting transparency, see #702 Replaces previous sorting key! Very simple idea: Every `Renderer` is invoked with every `DrawPhase` it registered for. `DrawPhase` have a strict order and implicitly describe the `wgpu::RenderPass` that is passed for drawing. For now and forseeable future, these passes are managed by the ViewBuilder (unchanged!). At some point we will probably make `DrawPhase` a more complex object, but this is not today!
- Loading branch information
Showing
9 changed files
with
69 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
96b3035
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rust Benchmark
datastore/insert/batch/rects/insert
555319
ns/iter (± 7961
)553475
ns/iter (± 2321
)1.00
datastore/latest_at/batch/rects/query
1836
ns/iter (± 2
)1849
ns/iter (± 45
)0.99
datastore/latest_at/missing_components/primary
355
ns/iter (± 6
)357
ns/iter (± 0
)0.99
datastore/latest_at/missing_components/secondaries
423
ns/iter (± 0
)438
ns/iter (± 1
)0.97
datastore/range/batch/rects/query
155778
ns/iter (± 717
)153348
ns/iter (± 109
)1.02
mono_points_arrow/generate_message_bundles
47066156
ns/iter (± 552759
)47887125
ns/iter (± 966688
)0.98
mono_points_arrow/generate_messages
125272147
ns/iter (± 1013961
)126221483
ns/iter (± 1199828
)0.99
mono_points_arrow/encode_log_msg
154626642
ns/iter (± 1935921
)160135846
ns/iter (± 1922368
)0.97
mono_points_arrow/encode_total
329391096
ns/iter (± 1923745
)332667330
ns/iter (± 2479116
)0.99
mono_points_arrow/decode_log_msg
177158498
ns/iter (± 855136
)178838297
ns/iter (± 1315718
)0.99
mono_points_arrow/decode_message_bundles
64683914
ns/iter (± 797128
)65131150
ns/iter (± 802289
)0.99
mono_points_arrow/decode_total
238620685
ns/iter (± 1581470
)241253413
ns/iter (± 1814790
)0.99
batch_points_arrow/generate_message_bundles
335338
ns/iter (± 1562
)334076
ns/iter (± 509
)1.00
batch_points_arrow/generate_messages
6169
ns/iter (± 19
)6141
ns/iter (± 13
)1.00
batch_points_arrow/encode_log_msg
367743
ns/iter (± 1719
)366232
ns/iter (± 2426
)1.00
batch_points_arrow/encode_total
731468
ns/iter (± 2703
)732741
ns/iter (± 2727
)1.00
batch_points_arrow/decode_log_msg
351244
ns/iter (± 2356
)349966
ns/iter (± 1421
)1.00
batch_points_arrow/decode_message_bundles
2005
ns/iter (± 3
)1987
ns/iter (± 2
)1.01
batch_points_arrow/decode_total
354866
ns/iter (± 8117
)354712
ns/iter (± 1035
)1.00
arrow_mono_points/insert
6084626601
ns/iter (± 32552656
)6199287558
ns/iter (± 26669187
)0.98
arrow_mono_points/query
1741364
ns/iter (± 14381
)1747844
ns/iter (± 13148
)1.00
arrow_batch_points/insert
2674337
ns/iter (± 63161
)2724636
ns/iter (± 54017
)0.98
arrow_batch_points/query
17351
ns/iter (± 45
)17375
ns/iter (± 79
)1.00
tuid/Tuid::random
34
ns/iter (± 0
)34
ns/iter (± 0
)1
This comment was automatically generated by workflow using github-action-benchmark.