[PD] GEM on PIII memory problem?

Cyrille Henry ch at chnry.net
Mon Jan 16 13:29:36 CET 2012



Le 16/01/2012 13:23, rolf meesters a écrit :
>
>
> On Sun, Jan 15, 2012 at 10:47 PM, Cyrille Henry <ch at chnry.net <mailto:ch at chnry.net>> wrote:
>
>
>
>     Le 15/01/2012 18:13, rolf meesters a écrit :
>
>         it's at the max of 64 Mb.
>
>     do you have 16 pix_image?
>     if you load 16 time the same image, you need 16 time more memory than necessary.
>
>     then, you could use a single gemhead / pix_image / pix_texture to load the image and share the texture Id.
>     then using gemhead/pix_texture(to load the texture Id)/pix_coordinate on your abstraction.
>
>
>     also, you can only resize the image in order to fit in the available GPU memory.
>
>     anyway, pd/GEM should not exit without warning. pd bug report should be made.
>
>
>     Cyrille
>
>
> i have 16 pieces, which are parts of 1 big picture; like with a puzzle they have to be displayed at their specific coordinates.
> there's no pix_image involved.
> (the abstraction is attached)
ah, ok.
you're using a pix_buffer. good, the image is not loaded many time.

so the only solution i can imagine is to resize the image in order to use less memory.
c

>
> rolf
> btw thanks for reacting



More information about the Pd-list mailing list