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
2014-04-19Math Lib: add shell_v3v3_normalized_to_dist and v2 versionCampbell Barton
bypass angle calculation to avoids (asin, sqrt, cos).
2014-04-19Minor change to recent commit (avoid transpose)Campbell Barton
2014-04-19Math Lib: minor optimization to barycentric_transformCampbell Barton
replace rotation_between_vecs_to_quat with axis_dominant_v3_to_m3.
2014-04-19Math Lib: add rotation_between_vecs_to_mat3Campbell Barton
- behaves like rotation_between_vecs_to_quat - avoids calling sin,cos calls (approx 1.6x faster).
2014-04-19Math Lib: minor optimization for axis_angle_normalized_to_mat3Campbell Barton
2014-04-18CMake was missing headerCampbell Barton
2014-04-17Viewport Text Drawing: replace single allocs with a memarenaCampbell 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-17Code cleanup: use boolsCampbell Barton
also rename BLI_omp_thread_count -> BLI_system_thread_count_omp
2014-04-16Math Lib: optimize axis_dominant_v3_to_m3, approx 6x speedupCampbell Barton
build the matrix directly rather then calculating with axis/angle also remove unused function calc_poly_plane
2014-04-16Math Lib: increase epsilon for ortho_basis_v3v3_v3Campbell Barton
passing in a unit length vector wouldn't always compute unit length vectors because the epsilon tested was too small.
2014-04-15Math Lib: avoid having to pass a pre-calculated normal tot area_poly_v3Campbell Barton
add normal_poly_v3
2014-04-15Fix compilation (size_t not defined) by including stddef.h in BLI_sys_types.hBastien Montagne
2014-04-15GHash: add BLI_ghashutil_uinthash_v4 for hashing 4 ints at onceCampbell Barton
2014-04-15GHash: 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-13LinkList stack macros to swap and pop into a separate stack.Campbell Barton
2014-04-13Code cleanup: quiet warnings & styleCampbell Barton
2014-04-11Math Lib: use less strict epsilon with BLI_ASSERT_UNIT_QUATCampbell Barton
was causing issues with pointcache
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-10Revert "Mempool: simplify memory chunk list building"Campbell Barton
This reverts commit c82371fc06ffb8d2970c985b44167e9a5e0222f1. Caused regression in iterator
2014-04-10Code cleanup: use struct type for mempool & style editsCampbell Barton
2014-04-08GHash/Edgehash: make simple iterator checking functions inline.Campbell Barton
also remove NULL check, only a few areas made use of this.
2014-04-08Mempool: simplify memory chunk list buildingCampbell Barton
2014-04-08Mempool: delay allocating an initial chunk, its not always usedCampbell Barton
2014-04-07Mempool: use define for used freeword and correct defineCampbell Barton
2014-04-07Mempool: minor optimization to building free pointer listCampbell Barton
2014-04-07Mempool: fix own error in recent commitCampbell Barton
chunks must be added in order for iteration.
2014-04-05Math Lib: add power of 2 min/max for unsigned intsCampbell Barton
2014-04-05Optimize mempool: round chunk size to powers of 2, account for slop-spaceCampbell Barton
This helps to reduce memory fragmentation.
2014-04-05Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient nowCampbell Barton
2014-04-05Optimize mempool: replace double linked list with single for memory chunksCampbell Barton
2014-04-04Optimization for mempool initial chunk allocationCampbell 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-03Optimize BLI_convexhull_aabb_fit_hull_2d, avoid atan2, sin, cosCampbell Barton
add utility functions for using a 2d unit vector as a rotation matrix mul_v2_v2_cw & mul_v2_v2_ccw
2014-04-02Rename "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-02Fix for BLI_rng_shuffle_array noted by mont29Campbell Barton
2014-04-02Code cleanup: use uint64_t for BLI_randCampbell Barton
2014-04-01Fix an unused function warning without openmp present, some typosJens Verwiebe
2014-04-01Correction for error in own recent commit (makesrna c++ api, un-init var)Campbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-31Code cleanup: use boolCampbell Barton
2014-03-31Sculpt/dyntopo: Make the omp threads configurable to overcome performance issuesJens 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-31Tweak slerp assert to be less pickyCampbell Barton
2014-03-31Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functionsCampbell Barton
2014-03-31Fix for error in normalize_vn_vn(), add len_squared_vnCampbell Barton
2014-03-30And another compile fix for M_PI and msvc2008...Thomas Dinges
2014-03-30Correct own recent changes broke release buildsCampbell Barton
2014-03-30Code cleanup: warnings (clang)Campbell Barton
2014-03-30Enable GCC pedantic warnings with strict flags,Campbell Barton
also modify MIN/MAX macros to prevent shadowing.
2014-03-30correct recent commitCampbell Barton
2014-03-30Code cleanup: use strict flags for BLI_randCampbell Barton
2014-03-30BLI_rand: Add BLI_rng_get_float_unit_v3, was static rayshade funcCampbell Barton