mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 21:59:21 +00:00
Before this change we were recording and executing sample/blit commands for each painting phase, even if there are no painting commands in-between sample and blit that produce result visible on a canvas. This change adds an optimization pass that goes through recorded painting commands list and marks sample and blit commands that could be skipped. Reduces sample and blit corners executing from 17% to 8% on Discord.
112 KiB
112 KiB