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

Is there a fast way to skip the work in PTCL? #409

Open
caxieyou opened this issue Nov 9, 2023 · 0 comments
Open

Is there a fast way to skip the work in PTCL? #409

caxieyou opened this issue Nov 9, 2023 · 0 comments

Comments

@caxieyou
Copy link

caxieyou commented Nov 9, 2023

Hello there

When I was using vello, I found that it works very well when the stuff I want to draw is in full screen.

However when I zoom out to make it very small, the speed starts dropping down quickly.

The root cause is that I want to draw too much stuff in the same pixel.

I know there is a lot of pre-culling work been done, such as if the bbox of a path to less than a pixel, just skip it.

But I think there might be some edge cases, a lot of stuff is been queued in a same small area.

The truth is when a pixel is drawing stuff according to the PTCL, most of the later command is an opaque thing, which can override the current one, which means if there is 1000 things to draw, the first 999 is useless.

I am thinking if there is any optimize way to speed this process up.

Thanks a lot!

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