Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-19 | Math Lib: add shell_v3v3_normalized_to_dist and v2 version | Campbell Barton | |
bypass angle calculation to avoids (asin, sqrt, cos). | |||
2014-04-19 | Minor change to recent commit (avoid transpose) | Campbell Barton | |
2014-04-19 | Math Lib: minor optimization to barycentric_transform | Campbell Barton | |
replace rotation_between_vecs_to_quat with axis_dominant_v3_to_m3. | |||
2014-04-19 | Math Lib: add rotation_between_vecs_to_mat3 | Campbell Barton | |
- behaves like rotation_between_vecs_to_quat - avoids calling sin,cos calls (approx 1.6x faster). | |||
2014-04-19 | Math Lib: minor optimization for axis_angle_normalized_to_mat3 | Campbell Barton | |
2014-04-18 | CMake was missing header | Campbell Barton | |
2014-04-17 | Viewport Text Drawing: replace single allocs with a memarena | Campbell Barton | |
- pass label strlen since in many cases its already known. - use single linked list for cached text drawing. - add BLI_link_utils.h for single linked list macros. own tests give approx 22% overall speedup. | |||
2014-04-17 | Code cleanup: use bools | Campbell Barton | |
also rename BLI_omp_thread_count -> BLI_system_thread_count_omp | |||
2014-04-16 | Math Lib: optimize axis_dominant_v3_to_m3, approx 6x speedup | Campbell Barton | |
build the matrix directly rather then calculating with axis/angle also remove unused function calc_poly_plane | |||
2014-04-16 | Math Lib: increase epsilon for ortho_basis_v3v3_v3 | Campbell Barton | |
passing in a unit length vector wouldn't always compute unit length vectors because the epsilon tested was too small. | |||
2014-04-15 | Math Lib: avoid having to pass a pre-calculated normal tot area_poly_v3 | Campbell Barton | |
add normal_poly_v3 | |||
2014-04-15 | Fix compilation (size_t not defined) by including stddef.h in BLI_sys_types.h | Bastien Montagne | |
2014-04-15 | GHash: add BLI_ghashutil_uinthash_v4 for hashing 4 ints at once | Campbell Barton | |
2014-04-15 | GHash: add typed hash functions (were all (void *)) | Campbell Barton | |
- BLI_ghashutil_strhash_n takes string length, to avoid terminating the string before hashing. - BLI_ghashutil_inthash/uinthash take ints, to avoid casting to (void *) This also showed up incorrect use of inthash, which was using a pointer. | |||
2014-04-13 | LinkList stack macros to swap and pop into a separate stack. | Campbell Barton | |
2014-04-13 | Code cleanup: quiet warnings & style | Campbell Barton | |
2014-04-11 | Math Lib: use less strict epsilon with BLI_ASSERT_UNIT_QUAT | Campbell Barton | |
was causing issues with pointcache | |||
2014-04-11 | Code cleanup: use bool | Campbell Barton | |
2014-04-10 | Revert "Mempool: simplify memory chunk list building" | Campbell Barton | |
This reverts commit c82371fc06ffb8d2970c985b44167e9a5e0222f1. Caused regression in iterator | |||
2014-04-10 | Code cleanup: use struct type for mempool & style edits | Campbell Barton | |
2014-04-08 | GHash/Edgehash: make simple iterator checking functions inline. | Campbell Barton | |
also remove NULL check, only a few areas made use of this. | |||
2014-04-08 | Mempool: simplify memory chunk list building | Campbell Barton | |
2014-04-08 | Mempool: delay allocating an initial chunk, its not always used | Campbell Barton | |
2014-04-07 | Mempool: use define for used freeword and correct define | Campbell Barton | |
2014-04-07 | Mempool: minor optimization to building free pointer list | Campbell Barton | |
2014-04-07 | Mempool: fix own error in recent commit | Campbell Barton | |
chunks must be added in order for iteration. | |||
2014-04-05 | Math Lib: add power of 2 min/max for unsigned ints | Campbell Barton | |
2014-04-05 | Optimize mempool: round chunk size to powers of 2, account for slop-space | Campbell Barton | |
This helps to reduce memory fragmentation. | |||
2014-04-05 | Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient now | Campbell Barton | |
2014-04-05 | Optimize mempool: replace double linked list with single for memory chunks | Campbell Barton | |
2014-04-04 | Optimization for mempool initial chunk allocation | Campbell Barton | |
Almost all pools allocated 2 chunks on initialization, every element needed to be added to the free-list which would never be used for small pools. Now allocate only one, gives minor speedup for some bmesh operations. | |||
2014-04-03 | Optimize BLI_convexhull_aabb_fit_hull_2d, avoid atan2, sin, cos | Campbell Barton | |
add utility functions for using a 2d unit vector as a rotation matrix mul_v2_v2_cw & mul_v2_v2_ccw | |||
2014-04-02 | Rename "BLI_cpu.h" to "BLI_system.h" and add to it BLI_getpid() helper. | Bastien Montagne | |
There is not much sense to have a whole BLI file just to check SSE2 on CPUs... So idea is to rename it to more generic "BLI_system", and add to it more system-related utils, like e.g. an include helper for getpid(), which allows to hide unix/windows internals from rest of the code... Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D439 | |||
2014-04-02 | Fix for BLI_rng_shuffle_array noted by mont29 | Campbell Barton | |
2014-04-02 | Code cleanup: use uint64_t for BLI_rand | Campbell Barton | |
2014-04-01 | Fix an unused function warning without openmp present, some typos | Jens Verwiebe | |
2014-04-01 | Correction for error in own recent commit (makesrna c++ api, un-init var) | Campbell Barton | |
2014-04-01 | Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define | Campbell Barton | |
2014-03-31 | Code cleanup: use bool | Campbell Barton | |
2014-03-31 | Sculpt/dyntopo: Make the omp threads configurable to overcome performance issues | Jens Verwiebe | |
- autodetect optimal default, which typically avoids HT threads - can store setting in .blend per scene - this does not touch general omp max threads, due i found other areas where the calculations are fitting for huge corecount - Intel notes, some of the older generation processors with HyperThreading would not provide significant performance boost for FPU intensive applications. On those systems you might want to set OMP_NUM_THREADS = total number of cores (not total number of hardware theads). | |||
2014-03-31 | Tweak slerp assert to be less picky | Campbell Barton | |
2014-03-31 | Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functions | Campbell Barton | |
2014-03-31 | Fix for error in normalize_vn_vn(), add len_squared_vn | Campbell Barton | |
2014-03-30 | And another compile fix for M_PI and msvc2008... | Thomas Dinges | |
2014-03-30 | Correct own recent changes broke release builds | Campbell Barton | |
2014-03-30 | Code cleanup: warnings (clang) | Campbell Barton | |
2014-03-30 | Enable GCC pedantic warnings with strict flags, | Campbell Barton | |
also modify MIN/MAX macros to prevent shadowing. | |||
2014-03-30 | correct recent commit | Campbell Barton | |
2014-03-30 | Code cleanup: use strict flags for BLI_rand | Campbell Barton | |
2014-03-30 | BLI_rand: Add BLI_rng_get_float_unit_v3, was static rayshade func | Campbell Barton | |