danfragoso / thdwb

🌭 The hotdog web browser and browser engine 🌭
MIT License
1.13k stars 58 forks source link

[Mustard] Compositing step #9

Closed danfragoso closed 4 years ago

danfragoso commented 4 years ago

Today there's no compositing at all on mustard, all the pixel data of the nodes are written directly to the window fb. The problem with this is that there's no easy way to overlap things. To fix this issue we need to add a fb to each mustard node, and then composite the node onto the window fb before the texture generation, with this we should be able to deprecate the "overlays" code.