Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pool: Use relaxed atomic_store() instead of atomic_init(). | Tavian Barnes | 2014-06-02 | 1 | -1/+1 |
| | | | | atomic_init() emits an mfence for some reason. | ||||
* | malloc: Add missing ATOMIC_VAR_INIT(). | Tavian Barnes | 2014-06-02 | 1 | -2/+2 |
| | |||||
* | Use C11 atomics. | Tavian Barnes | 2014-06-02 | 3 | -19/+18 |
| | |||||
* | bench: Run the future benchmark last becuase it's the slowest. | Tavian Barnes | 2014-05-31 | 1 | -2/+2 |
| | |||||
* | refcount: Remove. | Tavian Barnes | 2014-05-31 | 7 | -160/+0 |
| | |||||
* | object: Use pool. | Tavian Barnes | 2014-05-31 | 18 | -206/+151 |
| | |||||
* | texture: Use pool. | Tavian Barnes | 2014-05-31 | 7 | -61/+22 |
| | |||||
* | finish: Use pool. | Tavian Barnes | 2014-05-31 | 10 | -207/+59 |
| | |||||
* | pigment: Use pool. | Tavian Barnes | 2014-05-31 | 13 | -166/+73 |
| | |||||
* | scene: Put the light array on the pool. | Tavian Barnes | 2014-05-31 | 1 | -3/+3 |
| | |||||
* | array: Allow arrays to be allocated from pools. | Tavian Barnes | 2014-05-31 | 3 | -5/+79 |
| | |||||
* | array: Add DMNSN_NEW_ARRAY macro. | Tavian Barnes | 2014-05-31 | 11 | -19/+26 |
| | |||||
* | scene: Get rid of dmnsn_delete_scene(). | Tavian Barnes | 2014-05-30 | 5 | -49/+29 |
| | |||||
* | map: Use pool. | Tavian Barnes | 2014-05-30 | 7 | -39/+30 |
| | |||||
* | pattern: Use pool. | Tavian Barnes | 2014-05-30 | 10 | -75/+34 |
| | |||||
* | interior: Use pool. | Tavian Barnes | 2014-05-30 | 7 | -40/+12 |
| | |||||
* | light: Use pool. | Tavian Barnes | 2014-05-30 | 8 | -54/+17 |
| | |||||
* | camera: Use pool. | Tavian Barnes | 2014-05-30 | 8 | -51/+15 |
| | |||||
* | canvas: Use pool. | Tavian Barnes | 2014-05-30 | 15 | -130/+117 |
| | |||||
* | 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 | 5 | -10/+12 |
| | |||||
* | python: Add simple global pool interface. | Tavian Barnes | 2014-05-30 | 3 | -3/+31 |
| | |||||
* | 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 | 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 |
| |