Replies: 1 comment 1 reply
-
I started looking at multithreading with one layer per thread. I can only work on this on weekends though, so I won't have a PR ready until the last week of August or first week of September if you can wait that long. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made a fleeting vain attempt at adding multithreaded rendering and discovered that, near as I can see, it isn't any faster or slower. Perhaps searching for rectangles dominates?
Any thoughts? Anyone else who wants to have a go? :-)
#3813
My theory, which didn't seem to hold up, was:
KISS multithreaded rendering: one subrectangle per thread.
This means that a search for objects to draw into each subrectangle is done once per thread, so that might be more wasteful than searching for rectangles once and then rendering one layer per thread.
However, in terms of the rendering time this might not matter, because no rendering starts until the search for objects to draw within a rectangle as completed.
Beta Was this translation helpful? Give feedback.
All reactions