-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable re_renderer
for all tests using the TestContext
if graphics adapter is present
#8606
Merged
Merged
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
fdac6ba
make viewer test context tests only
Wumpf bbd8b90
enable re_renderer in test context tests
Wumpf 8ae9f1d
cargo deny & typo fixes
Wumpf b078f9b
toml fmt
Wumpf 34cbdae
make render adapter creation optional for the moment
Wumpf ce464f8
clippy fix
Wumpf cc7df52
remove renderer config method that doesn't belong here
Wumpf 436c094
Merge remote-tracking branch 'origin/main' into andreas/re_renderer-i…
Wumpf b22cd8f
comment improvements
Wumpf 10f9533
fix doc comment issue
Wumpf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 2 additions & 2 deletions
4
...ent_ui/tests/snapshots/all_components_list_item_narrow/Colormap_placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...onent_ui/tests/snapshots/all_components_list_item_wide/Colormap_placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,16 +45,17 @@ deny = [ | |
{ name = "openssl" }, # We prefer rustls | ||
] | ||
skip = [ | ||
{ name = "ahash" }, # Popular crate + fast release schedule = lots of crates still using old versions | ||
{ name = "base64" }, # Too popular | ||
{ name = "cargo_metadata" }, # Older version used by ply-rs. It's small, and it's build-time only! | ||
{ name = "cfg_aliases" }, # Tiny macro-only crate. wgpu/naga is using an old version | ||
{ name = "hashbrown" }, # Old version used by polar-rs | ||
{ name = "memoffset" }, # Small crate | ||
{ name = "prettyplease" }, # Old version being used by prost | ||
{ name = "pulldown-cmark" }, # Build-dependency via `ply-rs` (!). TODO(emilk): use a better crate for .ply parsing | ||
{ name = "redox_syscall" }, # Plenty of versions in the wild | ||
{ name = "pollster" }, # rfd is still on 0.3 | ||
{ name = "accesskit_consumer" }, # Duplicate as when used as dev dependency - eframe & egui_kittest are on different versions. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this line is new, nothing else changed |
||
{ name = "ahash" }, # Popular crate + fast release schedule = lots of crates still using old versions | ||
{ name = "base64" }, # Too popular | ||
{ name = "cargo_metadata" }, # Older version used by ply-rs. It's small, and it's build-time only! | ||
{ name = "cfg_aliases" }, # Tiny macro-only crate. wgpu/naga is using an old version | ||
{ name = "hashbrown" }, # Old version used by polar-rs | ||
{ name = "memoffset" }, # Small crate | ||
{ name = "pollster" }, # rfd is still on 0.3 | ||
{ name = "prettyplease" }, # Old version being used by prost | ||
{ name = "pulldown-cmark" }, # Build-dependency via `ply-rs` (!). TODO(emilk): use a better crate for .ply parsing | ||
{ name = "redox_syscall" }, # Plenty of versions in the wild | ||
] | ||
skip-tree = [ | ||
{ name = "cargo-run-wasm" }, # Dev-tool | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Random thought: currently we silently opt-out when
ViewerContext::render_ctx
isNone
.Maybe we should panic instead in debug builds?
That way we can run tests that don't require the render_ctx by setting it to
None
, but will not accidentally forget to set it for tests that do need it (like the colormap). i.e., forgetting to callsetup_kittest_for_rendering
will be a hard error.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.
we're soooo close to having this be a thing of the past 😄
let's hold on for a bit