szeged / webrender

A GPU-based renderer for the web
https://doc.servo.org/webrender/
Mozilla Public License 2.0
45 stars 7 forks source link

Rework render target allocation #351

Closed zakorgy closed 4 years ago

zakorgy commented 4 years ago

This is the first step toward https://github.com/szeged/webrender/issues/348 . We allocate a large chunk of linear memory which we can use for render targets between consecutive frames. ~Right now the PR just allows us to reuse that chunk between frames, the next step would be reuse it between render passes.~


This change is Reviewable