[Corona-users] Re: corona flip? texcoords differ between corona, Max/Cal3d
Brought to you by:
aegis
From: Chad A. <ae...@vr...> - 2003-02-25 22:01:33
|
I'll go ahead and make FlipImage operate in-place. Are you using Corona on a console or with a custom memory manager? If so, I'd be interested to hear about it. About iterators... the idea seems good to me, but it would take a little planning. For now, I think doing standard row swaps is fine. Chad Kevin Meinert wrote: > I posted a feature request on the corona sf.net... > The problem with making a copy of the image is memory fragmentation. Not > a huge problem on the PC, but it can matter, especially when confined to a > fixed heap size (custom memory manager, or like on a console with small > memory). fragmentation can get so bad that you cannot allocate any more > objects since there isn't contiguous space left. > > Since we can do it in place, it probably should be done, plus then you > don't need to allocate the new image, which takes time. Can the code I > submitted be added to CVS now? I can do it if you want. > > I like the iterator idea I had, but it would take a little planning... > What do you think? If you're just mem-mapping the images from file to > memory (like a memcpy) then the iterator wouldn't work I suppose. > > - kevin > > >>Chad >> >> > |