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 upRender tiles in parallel #160
Closed
Comments
|
Done. |
glennw
pushed a commit
to glennw/servo
that referenced
this issue
Jan 16, 2017
Before this patch, there was a chance that batch updates could be delivered to the compositor thread (destroying old resources) and then a render operation could be invoked before arrival of the new frame. This would cause the compositor thread to attempt to render frame N with the resources of frame N+1, which would usually crash. Closes servo#160.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably we'll want some sort of task pool with a font cache per task. The display list should be ARCable without too much trouble.
When I experimented with this I saw some potential thread safety warning signs (segfaults in the font cache code, although I was using a lot of unsafety so it might have been my fault). We will need to carefully look at what Azure/Cairo/Quartz/D2D/Skia are doing to make sure this is OK.