Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-24 | Spelling fixes in comments and descriptions, patch by luzpaz. | Brecht Van Lommel | |
Differential Revision: https://developer.blender.org/D3719 | |||
2018-09-19 | BLI_utildefines: rename pointer conversion macros | Campbell 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-10 | Task scheduler: Use const qualifier in callbacks for parallel range | Sergey Sharybin | |
2018-01-10 | Task scheduler: Use restrict pointer qualifier | Sergey 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-09 | Task scheduler: Use single parallel range function with more flexible function | Sergey 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-09 | Task scheduler: Get rid of extended version of parallel range callback | Sergey 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-26 | Cleanup: 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-26 | Removing OMP: BKE's mask_rasterize.c | Bastien Montagne | |
Once again nothing much to say here, except that whole mask rendering process from VSE is about 25% quicker now. ;) | |||
2015-04-26 | Add inverse-square falloff to bmesh, mask & compo. | Campbell Barton | |
2014-11-16 | Cleanup: use BLI_listbase_*** prefix for count,sort,sort_r | Campbell Barton | |
2014-07-12 | Code Cleanup: use const | Campbell Barton | |
2014-04-26 | Code cleanup: use 'const' for arrays (blenkernel) | Campbell Barton | |
2014-04-16 | Fix for half pixel offset rasterizing masks | Campbell Barton | |
2014-04-01 | Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define | Campbell Barton | |
2014-03-30 | Correct own recent changes broke release builds | Campbell Barton | |
2014-03-20 | Code cleanup: use bools | Campbell Barton | |
2014-02-17 | Mask: fix for intel openmp which doesn't support casts in for loops | Campbell Barton | |
2014-02-17 | Clear +x flag from source file | Sergey Sharybin | |
2014-02-16 | MSVC: add errors for BLI_strict_flags.h | Campbell Barton | |
2014-02-13 | Mask: add option to detect self intersections | Campbell Barton | |
2014-02-13 | Mask: option not to treat overlapping curves as holes | Campbell Barton | |
2014-02-04 | Scanfill: optimize filling curves, text, masks - skip calculating holes | Campbell 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-03 | Code cleanup: use bools where possible | Campbell Barton | |
2014-01-21 | Code Cleanup: use bool for return values and correct comments | Campbell Barton | |
also remove CDDM_Check, theres no need for it. | |||
2014-01-12 | Style Cleanup: whitespace | Campbell Barton | |
2013-12-22 | Style Cleanup: remove preprocessor indentation (updated wiki style guide too) | Campbell Barton | |
2013-12-20 | Don't use with_resol suffix for functions which doesn't get resolution | Sergey Sharybin | |
2013-10-10 | add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space. | Campbell Barton | |
2013-09-01 | move 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-28 | scanfill 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-19 | enable type limits warning when compiling with gcc. | Campbell Barton | |
2013-07-13 | fix bad uses of sizeof() with memory allocation. | Campbell Barton | |
2013-06-23 | add strict conversion flags for mask_rasterize and reduce some ↵ | Campbell Barton | |
signed/unsigned comparisons. | |||
2013-05-08 | use unsigned int, for mask rasterizer. | Campbell Barton | |
2013-02-05 | remove stringify macro from alloc's | Campbell Barton | |
2012-12-27 | add 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-27 | fix/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-03 | code cleanup: float <> double conversion. | Campbell Barton | |
2012-10-29 | style cleanup: also quiet harmless compiler warning. | Campbell Barton | |
2012-10-23 | rename api functions... | Campbell Barton | |
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii | |||
2012-10-21 | code cleanup: spelling | Campbell Barton | |
2012-09-27 | incorrect spelling in comments | Campbell Barton | |
2012-09-15 | code cleanup: replace macro for BLI_rect size/center with inline functions. | Campbell Barton | |
2012-09-15 | quiet -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-13 | code cleanup: reduce calls to CTX_ functions inline, add some docs to mask ↵ | Campbell Barton | |
rasterizer. | |||
2012-08-23 | code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵ | Campbell Barton | |
our naming convention. | |||
2012-08-22 | add new mask blend mode: 'Merge Subtract'. gives better results when using ↵ | Campbell Barton | |
feather on overlapping masks when one subtracts from another. | |||
2012-08-20 | fix 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-20 | macros for rectangle center and size | Campbell Barton | |
2012-08-06 | Mask feather self-intersection check | Sergey 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. |