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

Remove clipImageData completely #4201

Merged
merged 2 commits into from
Oct 13, 2022
Merged

Remove clipImageData completely #4201

merged 2 commits into from
Oct 13, 2022

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Oct 13, 2022

putImageData works a little differently to drawImage which confused me for a bit, you need to offset the destination as putImageData draws the 'dirty' parts of the texture using the same source image dimensions

Fixes #4197

putImageData works a little differently to drawImage which confused me
for a bit, you need to offset the destination as putImageData draws the
'dirty' parts of the texture using the same source image dimensions

Fixes xtermjs#4197
@Tyriar Tyriar added this to the 5.1.0 milestone Oct 13, 2022
@Tyriar Tyriar self-assigned this Oct 13, 2022
@Tyriar Tyriar enabled auto-merge October 13, 2022 13:26
@Tyriar Tyriar mentioned this pull request Oct 13, 2022
@Tyriar Tyriar merged commit 1e6dfec into xtermjs:master Oct 13, 2022
@Tyriar Tyriar deleted the 4197_2 branch October 13, 2022 13:43
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.

_clipImageData is GC expensive
1 participant