-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename ScenePart -> ViewPartSystem + related renamings (#2674)
As discussed in todays call and detailed in https://github.com/rerun-io/rerun/blob/andreas/space_views-rfc/design/space_views.md#viewpartsystem (WIP rfc) There's a whole bunch of consecutive renames arising from that, none of which I brought up since they are much lower stakes: They all revolve around the idea that "scene" doesn't make sense for the temporary datastructure we build up every frame. That said, it is still around for the moment and will be likely removed or renamed as well very soon. Similarly, there's some follow-up to do in the docs (and the aforementioned rfc document) Obsoletes #2522 since it causes too many conflicts there - will reimplement key ideas from that PR though, seeing a bit clearer by now where we want to end up. This 100% pure refactoring, no logic has been touched, only renaming and moving things around. Renames: * ScenePart -> ViewPartSystem * SceneContextPart -> ViewContextSystem * ScenePartCollection -> ViewPartSystemCollection * SceneContext -> ViewContext (todo: weird discrepancy to system collection) * SceneQuery -> ViewQuery * derived types, mostly in SpatialSpaceView crate * related type fields * related argument names * file renamings, flattening out of `scene` folder for `SpatialSpaceView` ### What ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested [demo.rerun.io](https://demo.rerun.io/pr/2674) (if applicable) - [PR Build Summary](https://build.rerun.io/pr/2674) - [Docs preview](https://rerun.io/preview/pr%3Aandreas%2Fviewpartsystem-rename/docs) - [Examples preview](https://rerun.io/preview/pr%3Aandreas%2Fviewpartsystem-rename/examples)
- Loading branch information
Showing
56 changed files
with
461 additions
and
484 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
6 changes: 3 additions & 3 deletions
6
.../src/scene/contexts/annotation_context.rs → ...patial/src/contexts/annotation_context.rs
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
6 changes: 3 additions & 3 deletions
6
...cene/contexts/non_interactive_entities.rs → .../src/contexts/non_interactive_entities.rs
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
Oops, something went wrong.
05ff805
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.
Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.25
.batch_points_arrow/encode_log_msg
89844
ns/iter (± 690
)49922
ns/iter (± 490
)1.80
This comment was automatically generated by workflow using github-action-benchmark.