Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTerrible performance on giant dotted and dashed border corners #2712
Comments
|
Showing (as in - |
|
This is somewhat mitigated by #2795 - which stores dashed / dotted borders in the texture cache, to be re-used across display lists and frames. We should still apply some optimizations to the number of pixels touched by drawing the dashes though. |
|
@nical added a patch which calculates a much tighter bounding rect for each dash / dot to draw into, so I believe this is resolved now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When dotted and dashed border corners use very, very shallow angles, they create hundreds or thousands of dots and dashes. This leads to very bad performance. We should work to improve this situation. Some examples of web content that produces this issue are:
Wrench yaml that demonstrates this is: