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

Enable the webgl renderer on safari 16 and above #4255

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Nov 8, 2022

This does not fix the issue where webkit browsers cannot use it, I looked at webkit versions in safari and was a bit confused. The wikipedia page for safari shows v15 having webkit v612+ but I have safari v16 and it's webkit v605, so trying to detect it based on webkit version is a risky change.

Note that webgl2 shipped in safari 15, but it didn't work in webgl until safari 16.

Fixes #3357
Related #3575
Related microsoft/vscode#165416

This does not fix the issue where webkit browsers cannot use it, I looked
at webkit versions in safari and was a bit confused. The wikipedia page
for safari shows v15 having webkit v612+ but I have safari v16 and it's
webkit v605, so trying to detect it based on webkit version is a risky
change.

Note that webgl2 shipped in safari 15, but it didn't work in webgl until
safari 16.

Fixes xtermjs#3357
Related xtermjs#3575
Related microsoft/vscode#165416
@Tyriar Tyriar added this to the 5.1.0 milestone Nov 8, 2022
@Tyriar Tyriar self-assigned this Nov 8, 2022
@Tyriar Tyriar enabled auto-merge November 8, 2022 20:25
@Tyriar Tyriar merged commit a351f57 into xtermjs:master Nov 8, 2022
@Tyriar Tyriar deleted the safari16 branch November 8, 2022 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebGL rendering is broken on Safari Preview
1 participant