Baggers
Baggers
This gets gnarly as ubo, ssbo and transform feedback bindings have been cached seperately and I think we need to take all these into account.
Very cool. I'll start reading into this part of GL then, feature wont land *soon* but knowing someone is interested certainly makes it a much higher priority than it was...
Also @jobez seeing your thumbs up across the repos has been very motivating, I hope you're doing well.
I went down the coffee shop and had a read. Here's the notes so far: ------------------ PBOs are gpu-buffers PBOs are about pixel transfers to/from the user from/to images in...
haha well this feature uncovered some bugs :p https://github.com/cbaggers/cepl/issues/278 Code is progressing though, I needed to make all CEPL arrays aware of row-alignment so we could pack/unpack data whilst respecting...
data layout, row alignment & mutable textures fixes all merged to master. I can start thinking about pbos now :p
In the following I'm going to use type names a bunch `gpu-array-t` is texture-backed gpu-array, `gpu-array-bb` is buffer-backed gpu-array. The `feature/pbo` branch can how handle copying data: - gpu-array-bb ->...
merged to master. There is still more that can be done, but this is a nice start
Worth noting that I havent added read-pixels yet, that reads from bound framebuffers. I'll have a think about whether there is some more CEPL'ish way to present the functionality.
We can use this to make something like subseq-g for textures (`subtex-g`).