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

Port Electron rendering fix #169

Merged

Conversation

grahambates
Copy link
Contributor

Render flame graph using drawElements instead of drawArrays to avoid glitching as seen here.

Based in changes in microsoft/vscode-js-profile-visualizer#83

I've encountered this bug intermittently on Mac, usually when running multiple Electron apps and rendering complex graphs, so it seems to be performance / timing related. I haven't seen it since implementing this change.

Render using `drawElements` instead of `drawArrays` to avoid glitching
as seen
[here](https://eab.abime.net/showpost.php?p=1572510&postcount=28).

Based in changes in
microsoft/vscode-js-profile-visualizer#83

I've encountered this bug intermittently on Mac, usually when multiple
Electron apps and rendering complex graphs. I haven't seen it since
implementing this change.
@BartmanAbyss BartmanAbyss merged commit 24e8d06 into BartmanAbyss:master Nov 8, 2022
@grahambates grahambates deleted the flamegraph_rendering_fix branch November 13, 2022 13:18
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.

None yet

2 participants