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

Revert recent anti-aliasing improvements #24289

Merged
merged 2 commits into from
Feb 5, 2025
Merged

Conversation

SomeoneToIgnore
Copy link
Contributor

@SomeoneToIgnore SomeoneToIgnore commented Feb 5, 2025

This reverts commit 31fa414.
This reverts commit b9e0aae.

lyon commit revert:
image

MSAA commit revert:
image

cc @huacnlee , @\as-cii had decided to revert this PR due to a selection right corner rendering bug.
Not sure what to propose for a fix from my side

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 5, 2025
@SomeoneToIgnore SomeoneToIgnore enabled auto-merge (squash) February 5, 2025 16:56
@huacnlee
Copy link
Contributor

huacnlee commented Feb 5, 2025

This is can't revert, because MSAA need this. Unless that, the path draw will have a unexpected cross line.

@huacnlee
Copy link
Contributor

huacnlee commented Feb 5, 2025

If this is just a wavy line problem, maybe you can try to solve it.

@SomeoneToIgnore
Copy link
Contributor Author

Thank you for the addition, will revert that too.
Sorry, I'm quite out of the context here, I'm afraid, and won't be able to do an educated fix — hence, will have to revert based on other team members' feedback.

It would be great to have this back, though, I loved the image difference overall.

@SomeoneToIgnore SomeoneToIgnore changed the title Revert "gpui: Add PathBuilder based on lyon to build Path (#22808)" Revert recent anti-aliasing improvements Feb 5, 2025
@SomeoneToIgnore SomeoneToIgnore enabled auto-merge (squash) February 5, 2025 17:06
@SomeoneToIgnore SomeoneToIgnore merged commit aaf432f into main Feb 5, 2025
14 checks passed
@SomeoneToIgnore SomeoneToIgnore deleted the kb/selection-bug branch February 5, 2025 17:17
@SomeoneToIgnore
Copy link
Contributor Author

/cherry-pick v0.173.x

@huacnlee
Copy link
Contributor

huacnlee commented Feb 5, 2025

OK, until there is a new repair solution, I can temporarily extract it and use it first.

gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Feb 5, 2025
This reverts commit 31fa414.
This reverts commit b9e0aae.

`lyon` commit revert:

![image](https://github.com/user-attachments/assets/0243f61c-0713-416d-b8db-47372e04abaa)

`MSAA` commit revert:

![image](https://github.com/user-attachments/assets/b1a4a9fe-0192-47ef-be6f-52e03c025724)

cc @huacnlee , @\as-cii had decided to revert this PR due to a selection
right corner rendering bug.
Not sure what to propose for a fix from my side

Release Notes:

- N/A
@SomeoneToIgnore
Copy link
Contributor Author

No rush, we are bumping versions today hence will ship the old version, and starting tomorrow we have the entire week to test whatever.

SomeoneToIgnore added a commit that referenced this pull request Feb 5, 2025
Cherry-picked Revert recent anti-aliasing improvements (#24289)

This reverts commit 31fa414.
This reverts commit b9e0aae.

`lyon` commit revert:


![image](https://github.com/user-attachments/assets/0243f61c-0713-416d-b8db-47372e04abaa)

`MSAA` commit revert:


![image](https://github.com/user-attachments/assets/b1a4a9fe-0192-47ef-be6f-52e03c025724)


Release Notes:

- N/A

Co-authored-by: Kirill Bulatov <[email protected]>
osiewicz pushed a commit to RemcoSmitsDev/zed that referenced this pull request Feb 5, 2025
This reverts commit 31fa414.
This reverts commit b9e0aae.

`lyon` commit revert:

![image](https://github.com/user-attachments/assets/0243f61c-0713-416d-b8db-47372e04abaa)

`MSAA` commit revert:

![image](https://github.com/user-attachments/assets/b1a4a9fe-0192-47ef-be6f-52e03c025724)

cc @huacnlee , @\as-cii had decided to revert this PR due to a selection
right corner rendering bug.
Not sure what to propose for a fix from my side

Release Notes:

- N/A
@huacnlee
Copy link
Contributor

huacnlee commented Feb 6, 2025

image image

Is this issue (Red arrow)?

@huacnlee
Copy link
Contributor

huacnlee commented Feb 6, 2025

I got it.

image

After fix

image image

@SomeoneToIgnore
Copy link
Contributor Author

Yeah, that was the one.
🚀 thank you for the follow-up!

SomeoneToIgnore pushed a commit that referenced this pull request Feb 6, 2025
…lection top right corner radius issue (#24342)

Release Notes:

- N/A

----

To fix #24289 mention issue and revert PathBuilder and MSAA.

I'm sorry about of this, in #22808 I was forgotten this bit of detail.


![image](https://github.com/user-attachments/assets/112afda2-088c-41d0-83bd-808f6cd2f9d5)

So, add `move_to` here, we can fix the selection top right corner radius
issue.

## After change

<img width="1383" alt="image"
src="https://github.com/user-attachments/assets/28ea103c-d652-41d6-bbe0-7fd042d81e77"
/>
maxdeviant added a commit that referenced this pull request Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants