logoalt Hacker News

tacomagicktoday at 2:26 AM1 replyview on HN

Of course it does, with one you have to render twice and store two layers which costs you both compute and storage. With the other you can just take the image mid decode at a point and display it. Single decode operation, no layer mess.


Replies

charcircuittoday at 2:29 AM

You have to render twice and have 2 different layers in both scenarios. Writing to a buffer / layer is not an atomic operation so they need to be separated.