summaryrefslogtreecommitdiffstats
path: root/libdimension
Commit message (Collapse)AuthorAgeFilesLines
...
* canvas.c: Fix whitespace.Tavian Barnes2014-05-011-1/+1
|
* gl: Make drawing faster by using a better pixel format.Tavian Barnes2014-04-278-43/+100
|
* canvas: Avoid copying entire dmnsn_canvas_optimizer structs.Tavian Barnes2014-04-264-23/+19
|
* future: Add to benchmark.Tavian Barnes2014-04-262-30/+83
|
* future.c: Don't let people join futures while they're paused.Tavian Barnes2014-04-261-0/+2
|
* future: Add a dmnsn_future_is_done() function.Tavian Barnes2014-04-265-9/+30
|
* future: Add a race-free way to examine a partial computation.Tavian Barnes2014-04-239-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 Barnes2014-04-231-2/+2
|
* threads.h: Fix some internal documentation.Tavian Barnes2014-04-231-5/+5
|
* Rename future-impl.h to future-internal.h.Tavian Barnes2014-04-233-3/+3
|
* Don't check for NULL in DMNSN_INCREF().Tavian Barnes2014-04-102-13/+5
|
* Fix whitespace in refcount-internal.h.Tavian Barnes2014-04-101-1/+1
|
* Fix comment on dmnsn_sRGB_inverse_gamma().Tavian Barnes2014-04-101-3/+3
|
* Fix some warnings found by higher warning levels than -Wall.Tavian Barnes2014-03-013-6/+6
|
* Fix a bug in cubic polynomial solver, and add more tests.Tavian Barnes2014-02-032-35/+163
|
* Use strerror_r if available instead of sys_errlist.Tavian Barnes2014-02-038-15/+28
|
* prtree: Sort large workloads in parallel.Tavian Barnes2014-02-013-10/+55
| | | | Performance benefit is around 33% for more than 1000 objects.
* prtree: Optimize dmnsn_new_prtree() by avoiding some allocation.Tavian Barnes2013-09-051-97/+115
| | | | Around 11% faster.
* bvh: Store the intersection cache right in the BVH struct.Tavian Barnes2013-09-031-56/+15
| | | | This saves a lot of complexity and a little bit of time.
* Don't normalize normal vectors unnecessarily.Tavian Barnes2013-06-092-6/+4
|
* Fix a race in the future benchmark.Tavian Barnes2013-03-221-1/+5
|
* Also benchmark cycles/increment for futures.Tavian Barnes2013-03-201-3/+14
|
* Don't use pointer indirection to emulate mutable for futures.Tavian Barnes2013-03-192-38/+37
| | | | We can just cast away the const, as they're all on the heap anyway.
* Simplify future implementation.Tavian Barnes2013-03-192-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 Barnes2013-03-192-1/+71
|
* Fix the polynomial solver when the bounds are exact.Tavian Barnes2012-12-212-1/+31
|
* Add some basic reference counting tests.Tavian Barnes2012-12-192-0/+76
|
* Add more dictionary tests.Tavian Barnes2012-12-191-5/+44
|
* Add some unit tests for dictionaries.Tavian Barnes2012-12-193-1/+98
|
* Add tcolor.h to the distributed headers.Tavian Barnes2012-12-181-0/+1
|
* Don't print a memory leak message on failed tests.Tavian Barnes2012-12-181-1/+8
|
* Improve the unit test macro API a bit.Tavian Barnes2012-12-183-38/+105
|
* Convert the polynomial tests to the new testing framework.Tavian Barnes2012-12-184-35/+164
|
* Allow other BVH implementations to be used.Tavian Barnes2012-12-1710-472/+600
| | | | | dmnsn_bvh is now a generic API, which could potentially support octrees, etc, in addition to PR-trees.
* Replace INCLUDES with AM_CFLAGS.Tavian Barnes2012-12-162-4/+3
|
* Make dmnsn_clear actually clear.Tavian Barnes2012-08-211-1/+1
|
* Fix --disable-png build.Tavian Barnes2012-08-201-2/+2
|
* Add debugging tests for NaN values.Tavian Barnes2012-02-065-0/+55
|
* Add custom fatal error handler test.Tavian Barnes2012-01-012-0/+41
|
* Print a backtrace on both warnings and errors.Tavian Barnes2012-01-012-7/+12
|
* Print errno in dmnsn_report_error().Tavian Barnes2011-12-261-5/+19
|
* Use macros to initialize refcounts.Tavian Barnes2011-12-2413-34/+43
|
* Add dmnsn_tcolor printf macros.Tavian Barnes2011-12-171-0/+5
|
* Make triangles smooth.Tavian Barnes2011-12-173-9/+49
|
* Make refcount declarations uniform.Tavian Barnes2011-12-1511-30/+26
|
* Re-think colors.Tavian Barnes2011-12-1424-824/+613
| | | | | | | | | 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.
* Fix reading of 8-bit PNG files.Tavian Barnes2011-12-061-7/+7
|
* Rename raytrace.{c,h} to ray_trace.{c,h}.Tavian Barnes2011-12-054-3/+3
|
* Use correct D65 values for dmnsn_color_intensity().Tavian Barnes2011-12-031-2/+1
|
* Evaluate specular highlights before reflection.Tavian Barnes2011-12-011-9/+11
|