Re: [GEM-dev] Growing pix_buffer?

2010-03-13 Thread B. Bogart
Great idea Chris! Why did I not think of it... .b. chris clepper wrote: Ben I don't see how setting a max number to grow to is any different than allocating N number of frames to begin with. GEM only grabs memory when you put an image into a slot the first time or replace one with a

[GEM-dev] Growing pix_buffer?

2010-03-12 Thread B. Bogart
Hey all, I'm use pix_buffers to store non-sequential images based on index. I'd like to be able to grow a pix_buffer by 1 element at a time. [add would add a single slot to the end of the buffer. Its index would be calculated from the length of the buffer. The object could initiated as a

Re: [GEM-dev] Growing pix_buffer?

2010-03-12 Thread Jack
Le vendredi 12 mars 2010 à 14:12 -0800, B. Bogart a écrit : Hey all, I'm use pix_buffers to store non-sequential images based on index. I'd like to be able to grow a pix_buffer by 1 element at a time. [add would add a single slot to the end of the buffer. Its index would be calculated