Skip to content

Commit

Permalink
newsletter: Mention new painting model in October newsletter (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalenikaliaksandr authored Oct 29, 2024
1 parent fc81cde commit d796471
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/content/newsletters/2024-10-31.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ We've added two new board members:

- [Mike Shaver](https://ladybird.org/posts/mike-shaver-joins-board/): a browser industry veteran, former VP of Engineering at Mozilla, Director of Engineering at Facebook, and many other things. Mike is a hardcore engineering leader and will help us raise the bar for Ladybird and ourselves.

### Fixing excessing repainting by locking refresh rate

Until recently, we used a "push" model for repainting. Any event that might invalidate rendering, like scrolling a page, would schedule event loop processing to perform style, layout, or painting updates if necessary. Repainting in this fashion often resulted in excessive work, as we produced more frames than the display could render.

This month, we solved this issue by switching to a "pull" model, where the repainting task is always scheduled 60 times per second and performs style, layout, and paint updates if necessary. Making this change also aligned us more closely with the model described in the HTML specification.

### Credits

We thank the following people who contributed code to Ladybird in October 2024:
Expand Down

0 comments on commit d796471

Please sign in to comment.