Skip to content
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

Fix Ogre2DepthCamera random failures on some HW #796

Conversation

darksylinc
Copy link
Contributor

🦟 Bug fix

Fixes #332 (again)

Summary

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

darksylinc and others added 26 commits December 10, 2022 19:35
Use proper sRGB conversion in DepthCamera

Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
OgreNext has CompositorPassSceneDef::setVisibilityMask to prevent
overwriting reserved flags.

If user calls gz::Camera::SetVisibilityMask with the reserved flags set,
wrong rendering could happen.

Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Fix memory leak

Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Order of destruction was inverted

Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
So tell clang tidy to ignore that.

Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Signed-off-by: Matias N. Goldberg <[email protected]>
Now we only skip on Focal GH Actions (Focal only!) correctly

Signed-off-by: Matias N. Goldberg <[email protected]>
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Dec 24, 2022
@darksylinc darksylinc force-pushed the matias-depthCamera-Metal-DenormalsFlushFixAchannel branch from 2b4f792 to 304265e Compare December 24, 2022 22:15
@codecov
Copy link

codecov bot commented Dec 24, 2022

Codecov Report

Merging #796 (befc848) into gz-rendering7 (bf15100) will increase coverage by 0.09%.
The diff coverage is n/a.

@@                Coverage Diff                @@
##           gz-rendering7     #796      +/-   ##
=================================================
+ Coverage          76.10%   76.19%   +0.09%     
=================================================
  Files                164      164              
  Lines              14393    14393              
=================================================
+ Hits               10954    10967      +13     
+ Misses              3439     3426      -13     
Impacted Files Coverage Δ
ogre2/src/Ogre2DepthCamera.cc 88.17% <ø> (ø)
ogre2/src/Ogre2GpuRays.cc 93.64% <0.00%> (+2.23%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@darksylinc darksylinc closed this Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

INTEGRATION_depth_camera fails due to precision issue
2 participants