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
fix linegaps #2828
fix linegaps #2828
Conversation
Oh yeah, I guess we gathered strong evidence for |
f_uv_minmax.x = step(segment_length, abs(length_a * dot(miter_a, v1))) *
((u1 - g_thickness[1] * abs(dot(miter_a, v1) / dot(miter_a, n1))) * px2uv - f_uv_minmax.x) +
f_uv_minmax.x;
f_uv_minmax.y = step(segment_length, abs(length_b * dot(miter_b, v1))) *
((u2 + g_thickness[2] * abs(dot(miter_b, v1) / dot(miter_b, n1))) * px2uv - f_uv_minmax.y) +
f_uv_minmax.y; This also creates gaps on ym arc gpu, but maybe it works on other gpus? |
Compile Times benchmarkNote, that these numbers may fluctuate on the CI servers, so take them with a grain of salt. All benchmark results are based on the mean time and negative percent mean faster than the base branch. Note, that GLMakie + WGLMakie run on an emulated GPU, so the runtime benchmark is much slower. Results are from running: using_time = @ctime using Backend
# Compile time
create_time = @ctime fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @ctime Makie.colorbuffer(display(fig))
# Runtime
create_time = @benchmark fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @benchmark Makie.colorbuffer(display(fig))
|
Thanks <3 |
Description
Fixes #2826 for me on windows with arc.
Though given that this is the second issue with
ifelse
we come across we should probably just remove it all together :(Type of change
Checklist