Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pigment: Use pool. | Tavian Barnes | 2014-05-31 | 3 | -28/+12 |
| | |||||
* | array: Allow arrays to be allocated from pools. | Tavian Barnes | 2014-05-31 | 1 | -5/+45 |
| | |||||
* | array: Add DMNSN_NEW_ARRAY macro. | Tavian Barnes | 2014-05-31 | 1 | -1/+8 |
| | |||||
* | scene: Get rid of dmnsn_delete_scene(). | Tavian Barnes | 2014-05-30 | 1 | -6/+0 |
| | |||||
* | map: Use pool. | Tavian Barnes | 2014-05-30 | 2 | -10/+6 |
| | |||||
* | pattern: Use pool. | Tavian Barnes | 2014-05-30 | 2 | -21/+10 |
| | |||||
* | interior: Use pool. | Tavian Barnes | 2014-05-30 | 1 | -9/+2 |
| | |||||
* | light: Use pool. | Tavian Barnes | 2014-05-30 | 2 | -20/+7 |
| | |||||
* | camera: Use pool. | Tavian Barnes | 2014-05-30 | 2 | -18/+5 |
| | |||||
* | canvas: Use pool. | Tavian Barnes | 2014-05-30 | 3 | -33/+26 |
| | |||||
* | pool: Separate dmnsn_palloc and dmnsn_palloc_tidy() APIs. | Tavian Barnes | 2014-05-30 | 1 | -3/+20 |
| | |||||
* | scene: Use pool. | Tavian Barnes | 2014-05-30 | 1 | -2/+3 |
| | |||||
* | pool: Rename pool_alloc to palloc. | Tavian Barnes | 2014-05-30 | 1 | -2/+2 |
| | |||||
* | pool: Add memory pool API. | Tavian Barnes | 2014-05-30 | 1 | -0/+60 |
| | |||||
* | finish: Remove ->ptr fields. | Tavian Barnes | 2014-05-27 | 1 | -23/+36 |
| | |||||
* | interior: Kill ->ptr field. | Tavian Barnes | 2014-05-27 | 1 | -5/+4 |
| | |||||
* | pattern: Kill ->ptr field. | Tavian Barnes | 2014-05-27 | 1 | -4/+14 |
| | |||||
* | pigment: Kill ->ptr field. | Tavian Barnes | 2014-05-27 | 1 | -7/+16 |
| | |||||
* | light: Get rid of ->ptr field. | Tavian Barnes | 2014-05-26 | 3 | -7/+16 |
| | |||||
* | camera: Kill the ->ptr field. | Tavian Barnes | 2014-05-26 | 1 | -5/+15 |
| | |||||
* | Coding style fixes. | Tavian Barnes | 2014-05-26 | 1 | -1/+1 |
| | |||||
* | object: Get rid of void *ptr field. | Tavian Barnes | 2014-05-26 | 1 | -4/+14 |
| | | | | | | Instead, allow dmnsn_object to be embedded in a larger struct. This gives a consistent 1% speed boost. | ||||
* | geometry: Add a matrix constructor from column vectors. | Tavian Barnes | 2014-05-22 | 1 | -0/+11 |
| | |||||
* | geometry.h: Fix copy-pasta. | Tavian Barnes | 2014-05-22 | 1 | -2/+2 |
| | |||||
* | malloc: New DMNSN_MALLOC() macro to save a sizeof(). | Tavian Barnes | 2014-05-06 | 1 | -1/+9 |
| | |||||
* | gl: Make drawing faster by using a better pixel format. | Tavian Barnes | 2014-04-27 | 1 | -0/+11 |
| | |||||
* | canvas: Avoid copying entire dmnsn_canvas_optimizer structs. | Tavian Barnes | 2014-04-26 | 1 | -12/+8 |
| | |||||
* | future: Add a dmnsn_future_is_done() function. | Tavian Barnes | 2014-04-26 | 1 | -0/+7 |
| | |||||
* | future: Add a race-free way to examine a partial computation. | Tavian Barnes | 2014-04-23 | 1 | -1/+14 |
| | | | | | | 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 |
| | |||||
* | Don't check for NULL in DMNSN_INCREF(). | Tavian Barnes | 2014-04-10 | 1 | -8/+1 |
| | |||||
* | Fix comment on dmnsn_sRGB_inverse_gamma(). | Tavian Barnes | 2014-04-10 | 1 | -3/+3 |
| | |||||
* | Add some unit tests for dictionaries. | Tavian Barnes | 2012-12-19 | 1 | -1/+1 |
| | |||||
* | Make dmnsn_clear actually clear. | Tavian Barnes | 2012-08-21 | 1 | -1/+1 |
| | |||||
* | Add debugging tests for NaN values. | Tavian Barnes | 2012-02-06 | 4 | -0/+54 |
| | |||||
* | Print a backtrace on both warnings and errors. | Tavian Barnes | 2012-01-01 | 1 | -2/+2 |
| | |||||
* | Use macros to initialize refcounts. | Tavian Barnes | 2011-12-24 | 1 | -3/+3 |
| | |||||
* | Add dmnsn_tcolor printf macros. | Tavian Barnes | 2011-12-17 | 1 | -0/+5 |
| | |||||
* | Make triangles smooth. | Tavian Barnes | 2011-12-17 | 1 | -4/+18 |
| | |||||
* | Make refcount declarations uniform. | Tavian Barnes | 2011-12-15 | 10 | -29/+24 |
| | |||||
* | Re-think colors. | Tavian Barnes | 2011-12-14 | 7 | -97/+249 |
| | | | | | | | | | Color is a property of light, and thus doesn't include information about transparency. But canvas pixels and object pigments represent a color and a degree of transparency. The new type dmnsn_tcolor/ TColor encapsulates that information. Also, fix the transparent shadow implementation. | ||||
* | Rename raytrace.{c,h} to ray_trace.{c,h}. | Tavian Barnes | 2011-12-05 | 1 | -0/+0 |
| | |||||
* | Be more consistent about using sRGB in the client. | Tavian Barnes | 2011-11-28 | 1 | -2/+7 |
| | | | | Also, expose the sRGB C and C^-1 functions. | ||||
* | Fix up malloc.h documentation. | Tavian Barnes | 2011-11-19 | 1 | -1/+1 |
| | |||||
* | Get rid of dmnsn_vector_element(). | Tavian Barnes | 2011-11-17 | 1 | -33/+0 |
| | |||||
* | Add a dmnsn_unreachable() macro. | Tavian Barnes | 2011-11-16 | 2 | -7/+24 |
| | | | | Also rename inline.h to compiler.h. | ||||
* | Get rid of DMNSN_ARRAY_FOREACH_REVERSE. | Tavian Barnes | 2011-11-13 | 1 | -11/+0 |
| | |||||
* | Get rid of dmnsn_color_is_black(). | Tavian Barnes | 2011-11-07 | 1 | -10/+0 |
| | |||||
* | Use Rouillier and Zimmerman's version of the Uspensky algorithm. | Tavian Barnes | 2011-10-31 | 1 | -4/+9 |
| | |||||
* | Make API more consistent. | Tavian Barnes | 2011-10-30 | 10 | -30/+21 |
| | | | | Object methods should be dmnsn_<object>_<fn>(). |