Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bench: Add a triangle intersection benchmark. | Tavian Barnes | 2014-05-22 | 2 | -2/+70 | |
| | ||||||
* | geometry.h: Fix copy-pasta. | Tavian Barnes | 2014-05-22 | 1 | -2/+2 | |
| | ||||||
* | threads.h: Add missing newline. | Tavian Barnes | 2014-05-09 | 1 | -0/+1 | |
| | ||||||
* | png: Fix a trivial bug found by the last commit. | Tavian Barnes | 2014-05-06 | 1 | -1/+1 | |
| | ||||||
* | malloc: New DMNSN_MALLOC() macro to save a sizeof(). | Tavian Barnes | 2014-05-06 | 29 | -69/+70 | |
| | ||||||
* | canvas.c: Fix whitespace. | Tavian Barnes | 2014-05-01 | 1 | -1/+1 | |
| | ||||||
* | gl: Make drawing faster by using a better pixel format. | Tavian Barnes | 2014-04-27 | 8 | -43/+100 | |
| | ||||||
* | canvas: Avoid copying entire dmnsn_canvas_optimizer structs. | Tavian Barnes | 2014-04-26 | 4 | -23/+19 | |
| | ||||||
* | future: Add to benchmark. | Tavian Barnes | 2014-04-26 | 2 | -30/+83 | |
| | ||||||
* | future.c: Don't let people join futures while they're paused. | Tavian Barnes | 2014-04-26 | 1 | -0/+2 | |
| | ||||||
* | future: Add a dmnsn_future_is_done() function. | Tavian Barnes | 2014-04-26 | 5 | -9/+30 | |
| | ||||||
* | future: Add a race-free way to examine a partial computation. | Tavian Barnes | 2014-04-23 | 9 | -35/+202 | |
| | | | | | | This allows safe OpenGL previews, for example. dmnsn_future* learned the dmnsn_future_{pause,resume}() functions which cause all worker threads to block. render.test now survives Helgrind with no errors. | |||||
* | compiler.h: Fix extra semicolon in macro. | Tavian Barnes | 2014-04-23 | 1 | -2/+2 | |
| | ||||||
* | threads.h: Fix some internal documentation. | Tavian Barnes | 2014-04-23 | 1 | -5/+5 | |
| | ||||||
* | Rename future-impl.h to future-internal.h. | Tavian Barnes | 2014-04-23 | 3 | -3/+3 | |
| | ||||||
* | Don't check for NULL in DMNSN_INCREF(). | Tavian Barnes | 2014-04-10 | 2 | -13/+5 | |
| | ||||||
* | Fix whitespace in refcount-internal.h. | Tavian Barnes | 2014-04-10 | 1 | -1/+1 | |
| | ||||||
* | Fix comment on dmnsn_sRGB_inverse_gamma(). | Tavian Barnes | 2014-04-10 | 1 | -3/+3 | |
| | ||||||
* | Fix some warnings found by higher warning levels than -Wall. | Tavian Barnes | 2014-03-01 | 3 | -6/+6 | |
| | ||||||
* | Fix a bug in cubic polynomial solver, and add more tests. | Tavian Barnes | 2014-02-03 | 2 | -35/+163 | |
| | ||||||
* | Use strerror_r if available instead of sys_errlist. | Tavian Barnes | 2014-02-03 | 8 | -15/+28 | |
| | ||||||
* | prtree: Sort large workloads in parallel. | Tavian Barnes | 2014-02-01 | 3 | -10/+55 | |
| | | | | Performance benefit is around 33% for more than 1000 objects. | |||||
* | prtree: Optimize dmnsn_new_prtree() by avoiding some allocation. | Tavian Barnes | 2013-09-05 | 1 | -97/+115 | |
| | | | | Around 11% faster. | |||||
* | bvh: Store the intersection cache right in the BVH struct. | Tavian Barnes | 2013-09-03 | 1 | -56/+15 | |
| | | | | This saves a lot of complexity and a little bit of time. | |||||
* | Don't normalize normal vectors unnecessarily. | Tavian Barnes | 2013-06-09 | 2 | -6/+4 | |
| | ||||||
* | Fix a race in the future benchmark. | Tavian Barnes | 2013-03-22 | 1 | -1/+5 | |
| | ||||||
* | Also benchmark cycles/increment for futures. | Tavian Barnes | 2013-03-20 | 1 | -3/+14 | |
| | ||||||
* | Don't use pointer indirection to emulate mutable for futures. | Tavian Barnes | 2013-03-19 | 2 | -38/+37 | |
| | | | | We can just cast away the const, as they're all on the heap anyway. | |||||
* | Simplify future implementation. | Tavian Barnes | 2013-03-19 | 2 | -31/+28 | |
| | | | | | A read-write lock was a bad idea, as most consumers are probably writers, not readers. | |||||
* | Add a benchmark for dmnsn_future. | Tavian Barnes | 2013-03-19 | 2 | -1/+71 | |
| | ||||||
* | Fix the polynomial solver when the bounds are exact. | Tavian Barnes | 2012-12-21 | 2 | -1/+31 | |
| | ||||||
* | Add some basic reference counting tests. | Tavian Barnes | 2012-12-19 | 2 | -0/+76 | |
| | ||||||
* | Add more dictionary tests. | Tavian Barnes | 2012-12-19 | 1 | -5/+44 | |
| | ||||||
* | Add some unit tests for dictionaries. | Tavian Barnes | 2012-12-19 | 3 | -1/+98 | |
| | ||||||
* | Add tcolor.h to the distributed headers. | Tavian Barnes | 2012-12-18 | 1 | -0/+1 | |
| | ||||||
* | Don't print a memory leak message on failed tests. | Tavian Barnes | 2012-12-18 | 1 | -1/+8 | |
| | ||||||
* | Improve the unit test macro API a bit. | Tavian Barnes | 2012-12-18 | 3 | -38/+105 | |
| | ||||||
* | Convert the polynomial tests to the new testing framework. | Tavian Barnes | 2012-12-18 | 4 | -35/+164 | |
| | ||||||
* | Allow other BVH implementations to be used. | Tavian Barnes | 2012-12-17 | 10 | -472/+600 | |
| | | | | | dmnsn_bvh is now a generic API, which could potentially support octrees, etc, in addition to PR-trees. | |||||
* | Replace INCLUDES with AM_CFLAGS. | Tavian Barnes | 2012-12-16 | 2 | -4/+3 | |
| | ||||||
* | Make dmnsn_clear actually clear. | Tavian Barnes | 2012-08-21 | 1 | -1/+1 | |
| | ||||||
* | Fix --disable-png build. | Tavian Barnes | 2012-08-20 | 1 | -2/+2 | |
| | ||||||
* | Add debugging tests for NaN values. | Tavian Barnes | 2012-02-06 | 5 | -0/+55 | |
| | ||||||
* | Add custom fatal error handler test. | Tavian Barnes | 2012-01-01 | 2 | -0/+41 | |
| | ||||||
* | Print a backtrace on both warnings and errors. | Tavian Barnes | 2012-01-01 | 2 | -7/+12 | |
| | ||||||
* | Print errno in dmnsn_report_error(). | Tavian Barnes | 2011-12-26 | 1 | -5/+19 | |
| | ||||||
* | Use macros to initialize refcounts. | Tavian Barnes | 2011-12-24 | 13 | -34/+43 | |
| | ||||||
* | Add dmnsn_tcolor printf macros. | Tavian Barnes | 2011-12-17 | 1 | -0/+5 | |
| | ||||||
* | Make triangles smooth. | Tavian Barnes | 2011-12-17 | 3 | -9/+49 | |
| | ||||||
* | Make refcount declarations uniform. | Tavian Barnes | 2011-12-15 | 11 | -30/+26 | |
| |