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
2015-04-29Add macro BLI_SMALLSTACK_AS_TABLECampbell Barton
Use for edge-split (a little less overhead compare to popping each item).
2015-01-12BLI linkstack macros: do not prepend the 'anti-namespace-collision' to var name.Bastien Montagne
Issue was, in case of using such stack within a structure, the '_' underscore would be added in front of struct variable (e.g. `my_struct.my_stack` would lead to (try to) using `_my_struct.my_var_pool` ...). Now underscore is appended to var names, ugly but working. Note did not touch to the alloca variants of those macros, since in this case enforcing a pure local use is best I think.
2014-07-12Replace BLI_SMALLSTACK_FREE with fake user (quiet warnings in msvc)Campbell Barton
2014-07-09Correct IS_EMPTY macroCampbell Barton
also prevent reading from BM_ELEM_API_FLAG_ get/setters
2014-06-18Correct casts for IS_EQ and other macro tweaksCampbell Barton
- ensure GET_INT_FROM_POINTER us only used to get values - rename STACK_POP_ELSE -> STACK_POP_DEFAULT
2014-05-10Utility macros for linklist stack & asserts for bmeshCampbell Barton
2014-04-13LinkList stack macros to swap and pop into a separate stack.Campbell Barton
2014-04-08Mempool: delay allocating an initial chunk, its not always usedCampbell Barton
2014-04-05Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient nowCampbell Barton
2013-12-04User interface: internal change, collect panels to draw before drawing.Campbell Barton
avoids calling poll twice, in some cases
2013-10-09code cleanup: redundant includes and add minor comments.Campbell Barton
2013-09-10Possible fix for MSVC compiling (grr...).Bastien Montagne
2013-09-10add BLI_SMALLSTACK_***, macros: stack doesn't have a fixed size, it uses ↵Campbell Barton
stack memory and never allocates. it can be added and removed many times per function but will always remain the size of the maximum number of items. not used yet, added for normal calculation function from mont29.
2013-08-31mempool internal change, use unsigned ints where possible (less overhead),Campbell Barton
also quiet compiler warning for BLI_LINKSTACK_FREE macro.
2013-08-17add linklist stack macros, use where over allocating an array was previously ↵Campbell Barton
done.