Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | object: Don't give every object a child array. | Tavian Barnes | 2014-06-04 | 2 | -13/+19 |
| | |||||
* | triangles: Use a different implementation for flat and smooth triangles. | Tavian Barnes | 2014-06-04 | 1 | -37/+67 |
| | |||||
* | triangles: Don't forget to transform normals. | Tavian Barnes | 2014-06-04 | 2 | -15/+17 |
| | | | | This fixes the artifacts seen when rendering meshes. | ||||
* | triangles: Better API. | Tavian Barnes | 2014-06-04 | 4 | -51/+39 |
| | |||||
* | canvas: Use the pool for the pixels too. | Tavian Barnes | 2014-06-02 | 1 | -6/+3 |
| | |||||
* | 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 | 2 | -17/+16 |
| | |||||
* | 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 | 16 | -158/+120 |
| | |||||
* | texture: Use pool. | Tavian Barnes | 2014-05-31 | 5 | -48/+19 |
| | |||||
* | finish: Use pool. | Tavian Barnes | 2014-05-31 | 8 | -184/+48 |
| | |||||
* | pigment: Use pool. | Tavian Barnes | 2014-05-31 | 11 | -144/+66 |
| | |||||
* | 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 | 3 | -45/+29 |
| | |||||
* | map: Use pool. | Tavian Barnes | 2014-05-30 | 5 | -35/+28 |
| | |||||
* | pattern: Use pool. | Tavian Barnes | 2014-05-30 | 8 | -64/+27 |
| | |||||
* | interior: Use pool. | Tavian Barnes | 2014-05-30 | 5 | -30/+10 |
| | |||||
* | light: Use pool. | Tavian Barnes | 2014-05-30 | 6 | -46/+14 |
| | |||||
* | 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. |