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

skip empty draw calls in GLMakie #4704

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Conversation

ffreyer
Copy link
Collaborator

@ffreyer ffreyer commented Jan 6, 2025

Description

While debugging I noticed that GLMakie produces a bunch of 0-element draw calls. Most of them are probably the result of the linesegments in text not being set to visible = false, but I don't think we should rely on that anyway. This pr introduces a check for that in GLMakie instead.

Type of change

  • Internal improvement

@ffreyer ffreyer added the skip-changelog Skips changelog enforcer label Jan 6, 2025
@MakieBot
Copy link
Collaborator

MakieBot commented Jan 6, 2025

Benchmark Results

SHA: 98e1b9a09b9ef0993ed576c1782240200e9127ec

Warning

These results are subject to substantial noise because GitHub's CI runs on shared machines that are not ideally suited for benchmarking.

GLMakie
CairoMakie
WGLMakie

@ffreyer ffreyer marked this pull request as ready for review January 6, 2025 20:35
@SimonDanisch SimonDanisch merged commit 6431881 into master Jan 7, 2025
23 checks passed
@SimonDanisch SimonDanisch deleted the ff/skip-empty-draw-calls branch January 7, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Skips changelog enforcer
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

3 participants