Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | camera: Use pool. | Tavian Barnes | 2014-05-30 | 6 | -42/+12 |
| | |||||
* | canvas: Use pool. | Tavian Barnes | 2014-05-30 | 13 | -121/+112 |
| | |||||
* | pool: Separate dmnsn_palloc and dmnsn_palloc_tidy() APIs. | Tavian Barnes | 2014-05-30 | 3 | -12/+35 |
| | |||||
* | scene: Use pool. | Tavian Barnes | 2014-05-30 | 3 | -8/+10 |
| | |||||
* | pool: Rename pool_alloc to palloc. | Tavian Barnes | 2014-05-30 | 3 | -9/+9 |
| | |||||
* | pool: Add memory pool API. | Tavian Barnes | 2014-05-30 | 6 | -2/+279 |
| | |||||
* | finish: Remove ->ptr fields. | Tavian Barnes | 2014-05-27 | 5 | -89/+128 |
| | |||||
* | interior: Kill ->ptr field. | Tavian Barnes | 2014-05-27 | 2 | -10/+5 |
| | |||||
* | pattern: Kill ->ptr field. | Tavian Barnes | 2014-05-27 | 3 | -23/+47 |
| | |||||
* | pigment: Kill ->ptr field. | Tavian Barnes | 2014-05-27 | 4 | -48/+81 |
| | |||||
* | light: Get rid of ->ptr field. | Tavian Barnes | 2014-05-26 | 5 | -33/+49 |
| | |||||
* | camera: Kill the ->ptr field. | Tavian Barnes | 2014-05-26 | 3 | -14/+33 |
| | |||||
* | Coding style fixes. | Tavian Barnes | 2014-05-26 | 6 | -58/+69 |
| | |||||
* | 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 | 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 |
| |