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

Reverting Firefox OIT Fix #4815 #12213

Merged
merged 5 commits into from
Sep 25, 2024
Merged

Reverting Firefox OIT Fix #4815 #12213

merged 5 commits into from
Sep 25, 2024

Conversation

squrki
Copy link
Contributor

@squrki squrki commented Sep 23, 2024

Description

Reverts code change for Firefox OIT.

Issue number and link

Issue #4815
#4815

Testing plan

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have updated the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code
Copy link

Thank you for the pull request, @squrki!

✅ We can confirm we have a CLA on file for you.

@ggetz
Copy link
Contributor

ggetz commented Sep 23, 2024

@javagl Could you please review this PR?

Copy link
Contributor

@javagl javagl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change itself looks clean and straightforward. I think that this PR does not completely revert the fix, though: There seems to be a change in #5047 that addressed the same issue, in FramebufferSpec.js, and I think that it should be possble to revert that as well.

In terms of testing ... well... it's always interesting to see a PR that links to issues where, after 1 or 2 clicks through related issues, the year "2014" appears. Verifying the issue itself (as in a comparison of "before-after") is difficult in these cases, because ... I'd probably have to set up a VirtualBox with Windows XP in order to run a FireFox 50 😁

But what I did: I checked out the state from this PR, and ran the https://sandcastle.cesium.com/index.html?src=Geometry%20and%20Appearances.html , This does call the updateTextures function that was modified here. I tried this on Chrome 129.0.6668.59 and FireFox 130.0.1 , and it worked in both cases:

Cesium OIT Fix


In CI, there's that green checkmark. Locally, I do have some test failures, but these seem to mainly be timeouts, and therefore seem to be unrelated to the change here

@squrki
Copy link
Contributor Author

squrki commented Sep 24, 2024

@javagl I've reverted the changes to #5047 as well.

@javagl
Copy link
Contributor

javagl commented Sep 24, 2024

The current CI failure seems to only/mainly be at the linting stage. Doing an
npm run prettier
will probably remove some 'space' or newline somewhere, and that should fix it.

(There also is a test failure, but that seems pretty unrelated - that can be handled later if it is still there after the linting update)

@ggetz The "Review required" is new - I'm not sure whether I'm automatically expected to "Approve" this. But I'd do this as soon as CI passes (even though someone else will merge it)

@ggetz
Copy link
Contributor

ggetz commented Sep 24, 2024

The "Review required" is new - I'm not sure whether I'm automatically expected to "Approve" this. But I'd do this as soon as CI passes (even though someone else will merge it)

@javagl If you can do so, please do!

Copy link
Contributor

@javagl javagl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in the first comment: The changes look clean. CI passes. Should be good to go.

@ggetz
Copy link
Contributor

ggetz commented Sep 25, 2024

Thanks @squrki and @javagl!

@ggetz ggetz merged commit 355702e into CesiumGS:main Sep 25, 2024
4 checks passed
@squrki squrki deleted the fix_firefox_oit branch September 25, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants