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
2018-09-24Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3719
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-01-10Task scheduler: Use const qualifier in callbacks for parallel rangeSergey Sharybin
2018-01-10Task scheduler: Use restrict pointer qualifierSergey Sharybin
Those pointers are never to be aliased, so let's be explicit about this and hope compiler does save some CPU ticks.
2018-01-09Task scheduler: Use single parallel range function with more flexible functionSergey Sharybin
Now all the fine-tuning is happening using parallel range settings structure, which avoid passing long lists of arguments, allows extend fine-tuning further, avoid having lots of various functions which basically does the same thing.
2018-01-09Task scheduler: Get rid of extended version of parallel range callbackSergey Sharybin
Wrap all arguments into TLS type of argument. Avoids some branching and also makes it easier to extend things in the future.
2017-11-26Cleanup: ImageEditor's mask drawing code was re-implementing ↵Bastien Montagne
`BKE_maskrasterize_buffer`! So this deduplicates and simplifies code, yeah. Also, as an odd bonus, new code seems slighly quicker than previous one (about 5 to 10% quicker).
2017-11-26Removing OMP: BKE's mask_rasterize.cBastien Montagne
Once again nothing much to say here, except that whole mask rendering process from VSE is about 25% quicker now. ;)
2015-04-26Add inverse-square falloff to bmesh, mask & compo.Campbell Barton
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-07-12Code Cleanup: use constCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenkernel)Campbell Barton
2014-04-16Fix for half pixel offset rasterizing masksCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-30Correct own recent changes broke release buildsCampbell Barton
2014-03-20Code cleanup: use boolsCampbell Barton
2014-02-17Mask: fix for intel openmp which doesn't support casts in for loopsCampbell Barton
2014-02-17Clear +x flag from source fileSergey Sharybin
2014-02-16MSVC: add errors for BLI_strict_flags.hCampbell Barton
2014-02-13Mask: add option to detect self intersectionsCampbell Barton
2014-02-13Mask: option not to treat overlapping curves as holesCampbell Barton
2014-02-04Scanfill: optimize filling curves, text, masks - skip calculating holesCampbell Barton
Support for tagging polygon numbers when adding scanfill data, saves having to calculate connectivity afterwards (which can take approx half overall scanfill time for complex curves).
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-12Style Cleanup: whitespaceCampbell Barton
2013-12-22Style Cleanup: remove preprocessor indentation (updated wiki style guide too)Campbell Barton
2013-12-20Don't use with_resol suffix for functions which doesn't get resolutionSergey Sharybin
2013-10-10add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space.Campbell Barton
2013-09-01move strict compiler checks into a header so its easier to manage in one ↵Campbell Barton
place (pragmas were copied around). also enable more strict warnings for BLF (which had some incorrect casts).
2013-08-28scanfill curves, ngons, masks had their own memarena code and would allocate ↵Campbell Barton
a new one for every fill. now use BLI_memarena and support passing the arena into the fill function, so the arena is re-used, when scanfill is called in a loop.
2013-07-19enable type limits warning when compiling with gcc.Campbell Barton
2013-07-13fix bad uses of sizeof() with memory allocation.Campbell Barton
2013-06-23add strict conversion flags for mask_rasterize and reduce some ↵Campbell Barton
signed/unsigned comparisons.
2013-05-08use unsigned int, for mask rasterizer.Campbell Barton
2013-02-05remove stringify macro from alloc'sCampbell Barton
2012-12-27add option to BLI_scanfill_calc() - BLI_SCANFILL_CALC_HOLES, gives some ↵Campbell Barton
speedup for BMesh ngons which never have holes and ensures predictable triangle count (totvert - 2), which is needed for pre-calculating array size.
2012-11-27fix/workaround [#33281] script goes into not responding Campbell Barton
scanfill remove-doubles pass assumes ordered edges (as with curves), otherwise it can hang. workaround this problem by skipping removing-doubles for mesh ngons, since this isnt such a common case as it is with curves and we can just not support it.
2012-11-03code cleanup: float <> double conversion.Campbell Barton
2012-10-29style cleanup: also quiet harmless compiler warning.Campbell Barton
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-21code cleanup: spellingCampbell Barton
2012-09-27incorrect spelling in commentsCampbell Barton
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-13code cleanup: reduce calls to CTX_ functions inline, add some docs to mask ↵Campbell Barton
rasterizer.
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-22add new mask blend mode: 'Merge Subtract'. gives better results when using ↵Campbell Barton
feather on overlapping masks when one subtracts from another.
2012-08-20fix for mask feather intersection checks not working right for non-filled, ↵Campbell Barton
feathered masks. now do intersection checks for both sides of the feather.
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-06Mask feather self-intersection checkSergey Sharybin
Enable self-intersection check for preview. In own tests average time for this operation on mango files was ~0.0015sec, and it was like 20 splines max which still gives pretty smooth performance on my core quad machine. Would think let's check how it works for now, if it'll give some issues here, would just avoid tessellation on every redraw by storing tessellation in some cache (probably in mask user). Another change is related on a way which loop to collapse. Changed length check with AABB size check. A bit slower but should be a bit more predictable.