Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-03-09image.depth, 96/128 for float color images, was 24/32 for byte images.Campbell Barton
also use <> for system includes
2011-02-22doxygen: add bullet to extern libs, some small changes in page names, and ↵Nathan Letwory
fixes around license blocks
2011-02-21doxygen: some code shuffle to prevent clashing file names, ensure ↵Nathan Letwory
MEM_guardedalloc.h also shows in docs
2011-02-21doxygen: add guardedalloc and AVINathan Letwory
2011-02-12fix for uninitialized value in BLI_path_cwd() if PWD wasn't defined and the ↵Campbell Barton
CWD was longer then 160.
2011-01-15misc edits, no functional changesCampbell Barton
- enabling/disabling no longer prints in the terminal unless in debug mode. - remove 'header' struct from BLI_storage_types.h, from revision 2 and is not used. - Add GCC property to guardedalloc to warn if the return value from allocation functions isn't used.
2010-10-18bugfix [#24302] Ctrl+Click Extrude gets old mouse eventsCampbell Barton
double click didnt check mouse distance moved so you could click twice in different areas of the screen very fast and generate a double click event which had old mouse coords copied into it but was sent to an operator set to run on single click (because the double click wasnt handled). Also added MEM_name_ptr function (included in debug mode only), prints the name of allocated memory. used for debugging where events came from.
2010-07-25from Luca's recent commit noticed there are more typo's: lenght -> lengthCampbell Barton
2010-05-04merging revisions 28564-28569 from render branch into trunkJoseph Eagar
2010-04-30use size_t for MEM_allocN_len as well as some of its callersCampbell Barton
2010-04-29Amendment to r28508 (Make Blender malloc be 64 bit ready)Nathan Letwory
- one function missed in header causes compile problems (intern/guardedalloc/intern/mallocn.c:352: error: conflicting types for ‘MEM_mapallocN’)
2010-04-29Make Blender malloc wrapper be 64 bit ready.Guillermo S. Romero
2010-02-16[#18961] Use const char * where appropriate (2.5)Campbell Barton
from Sean Bartell (wtachi) added own changes bpy_props.c
2010-02-12correct fsf addressCampbell Barton
2010-02-08Guardedalloc: added MEM_reallocN function to do simple alloc/memcpy/free,Brecht Van Lommel
not as optimized as a system realloc but I've had to do this often enough manually to justify a utility function.
2009-11-11Debug tools: new function MEM_testN(void*)Martin Poirier
returns 0 if pointer is not in memlist
2009-11-11New function:Martin Poirier
void MEM_callbackmemlist(void (*func)(void*)); Will call the function passed as argument with all allocated address as parameter. Useful for debuging.
2009-09-22SVN maintenance.Guillermo S. Romero
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-02-01Memory usage debugging: now with the -d debug option enabled, at the endBrecht Van Lommel
of rendering it prints memory usage for images and all memory blocks.
2008-01-03Split guardedalloc print into 2 funcs, 1 that prints on errors, another then ↵Campbell Barton
prints the memory blocks as a python dict, minor changes to help text
2006-11-27More debug goodies:Ton Roosendaal
WINDOWS CRASH EMULATION! If you use the -d (debug) argument for starting blender, it will now: - set all freed memory to 0xFFFFFFFF - set all malloced memory to 0xFFFFFFFF The first option will give nice crashers when you read from freed memory. The second option is for OSX especially, it has the nasty habit to give zeroed mallocs.
2006-09-06Added support for threadsafe MEM_mallocN/MEM_freeN in the guardedallocBrecht Van Lommel
module itself, replacing the special MEM_mallocT/MEM_freeT functions. Mutex locking is only enabled when threads are running. There was no good reason to have these separate, it just led to ugly hacks when calling functions with non-threadsafe malloc from threads.
2006-02-16Added new malloc type in our MEM module; using the unix feature 'mmap'.Ton Roosendaal
In Orange we've been fighting the past weeks with memory usage a lot... at the moment incredible huge scenes are being rendered, with multiple layers and all compositing, stressing limits of memory a lot. I had hoped that less frequently used blocks would be swapped away nicely, so fragmented memory could survive. Unfortunately (in OSX) the malloc range is limited to 2 GB only (upped half of address space). Other OS's have a limit too, but typically larger afaik. Now here's mmap to the rescue! It has a very nice feature to map to a virtual (non existing) file, allowing to allocate disk-mapped memory on the fly. For as long there's real memory it works nearly as fast as a regular malloc, and when you go to the swap boundary, it knows nicely what to swap first. The upcoming commit will use mmap for all large memory blocks, like the composit stack, render layers, lamp buffers and images. Tested here on my 1 GB system, and compositing huge images with a total of 2.5 gig still works acceptable here. :) http://www.blender.org/bf/memory.jpg This is a silly composit test, using 64 MB images with a load of nodes. Check the header print... the (2323.33M) is the mmap disk-cache in use. BTW: note that is still limited to the virtual address space of 4 GB. The new call is: MEM_mapalloc() Per definition, mmap() returns zero'ed memory, so a calloc isn't required. For Windows there's no mmap() available, but I'm pretty sure there's an equivalent. Windows gurus here are invited to insert that here in code! At the moment it's nicely ifdeffed, so for Windows the mmap defaults to a regular alloc.
2005-07-22 - got fed up with not being able to put a breakpoint on MEM_Daniel Dunbar
errors, switched MEM_set_error_stream to MEM_set_error_callback that calls a function to print result instead of just giving a FILE * Note: requires intern recompile
2002-12-26WooHoo me again ;)Kent Mein
I took out the following from the includes in the intern dir that still had it: -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif Kent -- mein@cs.umn.edu
2002-11-25Yes I did it again ;)Kent Mein
added the following 3 lines to everything in the intern dir: #ifdef HAVE_CONFIG_H #include <config.h> #endif Kent -- mein@cs.umn.edu
2002-10-30fixed spacing in the headers to get rid of some warnings and some otherKent Mein
little minor spacing issues.
2002-10-12Initial revisionv2.25Hans Lambermont