Search found 8 matches
- Thu Oct 14, 2010 18:34
- Forum: CEGUI Library Development Discussion
- Topic: CEGUI+Custom memory allocator
- Replies: 29
- Views: 28415
Re: CEGUI+Custom memory allocator
JUST Checked samples from svn and realize that i was't initializing cegui with awesome bootstrap, so with it no more leaks, hopefully there won't be any crashes either.
- Wed Oct 13, 2010 20:12
- Forum: CEGUI Library Development Discussion
- Topic: CEGUI+Custom memory allocator
- Replies: 29
- Views: 28415
Re: CEGUI+Custom memory allocator
here's more stable version of allocer it writes debug dump into file[pretty simple but enough to identify who crashes] btw CEGUI::String does like a 5000 allocations/deallocation[the leader of all] and may be greatly improved with mempool http://rapidshare.com/files/424888479/TestAlloc2.patch it req...
- Wed Oct 13, 2010 17:18
- Forum: CEGUI Library Development Discussion
- Topic: CEGUI+Custom memory allocator
- Replies: 29
- Views: 28415
Re: CEGUI+Custom memory allocator
Kulik i'l keep that in mind the only big problem i'm currently facing is runtime crashes on the exit from CEGUI +what to do with CEGUI script(lua) module, should i replace it, or keep it like it is, if' it's gonna be replaced by tolua++ anyway or where to modify tolua++ so it would print CEGUI_NEW(t...
- Tue Oct 12, 2010 11:13
- Forum: CEGUI Library Development Discussion
- Topic: CEGUI+Custom memory allocator
- Replies: 29
- Views: 28415
Re: CEGUI+Custom memory allocator
i'v integrated it in most of places, but there is still crash 
i'm working on it
i'm working on it
- Mon Oct 11, 2010 17:31
- Forum: CEGUI Library Development Discussion
- Topic: CEGUI+Custom memory allocator
- Replies: 29
- Views: 28415
Re: CEGUI+Custom memory allocator
here's my snippet class CEGUI_Allocator { public: CEGUI_Allocator(){}; ~CEGUI_Allocator(){}; void* Alloc(size_t sz,size_t Amount,CEGUI_MEM_Arr Creator,CEGUI_MEM_Arr Destroyer,char* FileName=NULL,long Line=0); bool Dealloc(void *obj); } CEGUI_ALLOC; inline void* operator new(size_t sz,CEGUI_Allocator...
- Fri Oct 08, 2010 07:12
- Forum: CEGUI Library Development Discussion
- Topic: CEGUI+Custom memory allocator
- Replies: 29
- Views: 28415
Re: CEGUI+Custom memory allocator
yes, thank you Jamarr i'm gonna go with 1 :)) "replace all new/delete calls within CEGUI with calls to a CEGUI allocate/deallocate " in my case i go with define CEGUI_NEW -> which will capture filename and line where new happens and CEGUI_DELETE which will call custom operator new(sz,"...
- Wed Oct 06, 2010 17:55
- Forum: CEGUI Library Development Discussion
- Topic: CEGUI+Custom memory allocator
- Replies: 29
- Views: 28415
Re: CEGUI+Custom memory allocator
so like last time[with d3d11 render], will anyone object if i implement it? because it would be very nice if CEGUI had it it will reduce amount of crashes becaue of debug/release dll and on subscriber as well it may speed up memory allocations and raise memory requrements for cegui[using aligned mem...
- Tue Oct 05, 2010 13:09
- Forum: CEGUI Library Development Discussion
- Topic: CEGUI+Custom memory allocator
- Replies: 29
- Views: 28415
CEGUI+Custom memory allocator
greetings
i'v read in ogre roadmap from here http://www.cegui.org.uk/wiki/index.php/ ... nt_Roadmap that there shoud'v been custom memory allocator.
Has it been implemented in CEGUI, or is it still in plans?
i'v read in ogre roadmap from here http://www.cegui.org.uk/wiki/index.php/ ... nt_Roadmap that there shoud'v been custom memory allocator.
Has it been implemented in CEGUI, or is it still in plans?