Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | object: Get rid of void *ptr field. | Tavian Barnes | 2014-05-26 | 7 | -156/+191 | |
| | | | | | | Instead, allow dmnsn_object to be embedded in a larger struct. This gives a consistent 1% speed boost. | |||||
* | triangle: Make intersections simpler and faster with a change of basis. | Tavian Barnes | 2014-05-22 | 1 | -15/+22 | |
| | ||||||
* | geometry: Add a matrix constructor from column vectors. | Tavian Barnes | 2014-05-22 | 1 | -0/+11 | |
| | ||||||
* | 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 | 9 | -44/+101 | |
| | ||||||
* | canvas: Avoid copying entire dmnsn_canvas_optimizer structs. | Tavian Barnes | 2014-04-26 | 4 | -23/+19 | |
| | ||||||
* | client: Don't swallow import errors from the preview module. | Tavian Barnes | 2014-04-26 | 1 | -10/+2 | |
| | ||||||
* | preview: Handle ^C in more places. | Tavian Barnes | 2014-04-26 | 1 | -5/+10 | |
| | ||||||
* | 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 | 8 | -10/+35 | |
| | ||||||
* | future: Add a race-free way to examine a partial computation. | Tavian Barnes | 2014-04-23 | 12 | -38/+216 | |
| | | | | | | 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 | 4 | -6/+9 | |
| | ||||||
* | 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 | 9 | -16/+43 | |
| | ||||||
* | Use set -e in autogen.sh. | Tavian Barnes | 2014-02-01 | 1 | -5/+7 | |
| | ||||||
* | 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 | |
| | ||||||
* | Use the unit-testing framework "Check" | Tavian Barnes | 2012-12-17 | 1 | -1/+5 | |
| | ||||||
* | client: Respond to ^C right away if possible. | Tavian Barnes | 2012-12-17 | 3 | -8/+27 | |
| | ||||||
* | 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 | 3 | -7/+4 | |
| | ||||||
* | 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 | |
| |