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

Got map inefficient when using cairo #1957

Open
kokeliang opened this issue Mar 27, 2024 · 0 comments
Open

Got map inefficient when using cairo #1957

kokeliang opened this issue Mar 27, 2024 · 0 comments

Comments

@kokeliang
Copy link

When using cairo to generate global map from submaps, the following code costed a lot of time. Would someone know how to get the global map more efficiently?

  CairoPaintSubmapSlices(1. / resolution, submaps, cr.get(),
                         [&cr](const SubmapSlice& submap_slice) {
                           cairo_set_source_surface(
                               cr.get(), submap_slice.surface.get(), 0., 0.);
                           cairo_paint(cr.get());
                         });
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

No branches or pull requests

1 participant