cepl icon indicating copy to clipboard operation
cepl copied to clipboard

assuming small values for GLuint results in out of memory error?

Open gregcman opened this issue 6 years ago • 1 comments

https://computergraphics.stackexchange.com/questions/5105/range-of-integers-returned-by-glgenbuffers

in cepl-context.lisp register-texture, register-fbo, and register-gpu-buffer index into an array in the cepl context object based on their opengl id, for example: (setf (aref fbos id) fbo) indexes into fbos based on id. But since id is a GLuint, this can lead to large array values. So maybe we can have a different data structure, one that can also store large values of GLuint, like a hybrid array/hash-table

maybe related: https://github.com/cbaggers/cepl/issues/306

gregcman avatar Apr 09 '19 02:04 gregcman

also, is it possible to integrate CEPL with other opengl libraries? I really want to use cepl in my project but can't figure out how to integrate it with other opengl libraries.

gregcman avatar Apr 09 '19 03:04 gregcman