summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
Commit message (Collapse)AuthorAgeFilesLines
* pigment: Use pool.Tavian Barnes2014-05-313-28/+12
|
* array: Allow arrays to be allocated from pools.Tavian Barnes2014-05-311-5/+45
|
* array: Add DMNSN_NEW_ARRAY macro.Tavian Barnes2014-05-311-1/+8
|
* scene: Get rid of dmnsn_delete_scene().Tavian Barnes2014-05-301-6/+0
|
* map: Use pool.Tavian Barnes2014-05-302-10/+6
|
* pattern: Use pool.Tavian Barnes2014-05-302-21/+10
|
* interior: Use pool.Tavian Barnes2014-05-301-9/+2
|
* light: Use pool.Tavian Barnes2014-05-302-20/+7
|
* camera: Use pool.Tavian Barnes2014-05-302-18/+5
|
* canvas: Use pool.Tavian Barnes2014-05-303-33/+26
|
* pool: Separate dmnsn_palloc and dmnsn_palloc_tidy() APIs.Tavian Barnes2014-05-301-3/+20
|
* scene: Use pool.Tavian Barnes2014-05-301-2/+3
|
* pool: Rename pool_alloc to palloc.Tavian Barnes2014-05-301-2/+2
|
* pool: Add memory pool API.Tavian Barnes2014-05-301-0/+60
|
* finish: Remove ->ptr fields.Tavian Barnes2014-05-271-23/+36
|
* interior: Kill ->ptr field.Tavian Barnes2014-05-271-5/+4
|
* pattern: Kill ->ptr field.Tavian Barnes2014-05-271-4/+14
|
* pigment: Kill ->ptr field.Tavian Barnes2014-05-271-7/+16
|
* light: Get rid of ->ptr field.Tavian Barnes2014-05-263-7/+16
|
* camera: Kill the ->ptr field.Tavian Barnes2014-05-261-5/+15
|
* Coding style fixes.Tavian Barnes2014-05-261-1/+1
|
* object: Get rid of void *ptr field.Tavian Barnes2014-05-261-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 Barnes2014-05-221-0/+11
|
* geometry.h: Fix copy-pasta.Tavian Barnes2014-05-221-2/+2
|
* malloc: New DMNSN_MALLOC() macro to save a sizeof().Tavian Barnes2014-05-061-1/+9
|
* gl: Make drawing faster by using a better pixel format.Tavian Barnes2014-04-271-0/+11
|
* canvas: Avoid copying entire dmnsn_canvas_optimizer structs.Tavian Barnes2014-04-261-12/+8
|
* future: Add a dmnsn_future_is_done() function.Tavian Barnes2014-04-261-0/+7
|
* future: Add a race-free way to examine a partial computation.Tavian Barnes2014-04-231-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 Barnes2014-04-231-2/+2
|
* Don't check for NULL in DMNSN_INCREF().Tavian Barnes2014-04-101-8/+1
|
* Fix comment on dmnsn_sRGB_inverse_gamma().Tavian Barnes2014-04-101-3/+3
|
* Add some unit tests for dictionaries.Tavian Barnes2012-12-191-1/+1
|
* Make dmnsn_clear actually clear.Tavian Barnes2012-08-211-1/+1
|
* Add debugging tests for NaN values.Tavian Barnes2012-02-064-0/+54
|
* Print a backtrace on both warnings and errors.Tavian Barnes2012-01-011-2/+2
|
* Use macros to initialize refcounts.Tavian Barnes2011-12-241-3/+3
|
* Add dmnsn_tcolor printf macros.Tavian Barnes2011-12-171-0/+5
|
* Make triangles smooth.Tavian Barnes2011-12-171-4/+18
|
* Make refcount declarations uniform.Tavian Barnes2011-12-1510-29/+24
|
* Re-think colors.Tavian Barnes2011-12-147-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 Barnes2011-12-051-0/+0
|
* Be more consistent about using sRGB in the client.Tavian Barnes2011-11-281-2/+7
| | | | Also, expose the sRGB C and C^-1 functions.
* Fix up malloc.h documentation.Tavian Barnes2011-11-191-1/+1
|
* Get rid of dmnsn_vector_element().Tavian Barnes2011-11-171-33/+0
|
* Add a dmnsn_unreachable() macro.Tavian Barnes2011-11-162-7/+24
| | | | Also rename inline.h to compiler.h.
* Get rid of DMNSN_ARRAY_FOREACH_REVERSE.Tavian Barnes2011-11-131-11/+0
|
* Get rid of dmnsn_color_is_black().Tavian Barnes2011-11-071-10/+0
|
* Use Rouillier and Zimmerman's version of the Uspensky algorithm.Tavian Barnes2011-10-311-4/+9
|
* Make API more consistent.Tavian Barnes2011-10-3010-30/+21
| | | | Object methods should be dmnsn_<object>_<fn>().