- User Since
- Jul 25 2019, 7:30 PM (11 w, 5 d)
Aug 29 2019
Ensure the internal buffer will be recreated after size expand and size shrink. Shrink the internal buffer on immBegin.
Aug 27 2019
Since new buffer size will be the same value as bytes_needed, I thought if ((bytes_needed + pre_padding) <= available_bytes) conditional was always going to fail and the code was going to create a new fresh buffer with the new size. It will most of the time but not always. If imm.buffer_offset and pre_padding are 0, the conditional is going to succeed because available_bytes will be equal to bytes_needed and it is going to skip new buffer creation code. You are right @Jesse Y (deadpin), I should handle this case.
Aug 26 2019
IMM_BUFFER_SIZE is shrinks on immUnbindProgram
Aug 24 2019
Aug 23 2019
Aug 22 2019
@Clément Foucault (fclem) Is making IMM_BUFFER_SIZE stretchable, a better solution or not? I think it fixes this problem very easily with small amount code change.