summaryrefslogtreecommitdiffstats
path: root/libdimension
Commit message (Collapse)AuthorAgeFilesLines
* finish: Remove ->ptr fields.Tavian Barnes2014-05-275-89/+128
|
* interior: Kill ->ptr field.Tavian Barnes2014-05-272-10/+5
|
* pattern: Kill ->ptr field.Tavian Barnes2014-05-273-23/+47
|
* pigment: Kill ->ptr field.Tavian Barnes2014-05-274-48/+81
|
* light: Get rid of ->ptr field.Tavian Barnes2014-05-265-33/+49
|
* camera: Kill the ->ptr field.Tavian Barnes2014-05-263-14/+33
|
* Coding style fixes.Tavian Barnes2014-05-266-58/+69
|
* object: Get rid of void *ptr field.Tavian Barnes2014-05-267-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 Barnes2014-05-221-15/+22
|
* geometry: Add a matrix constructor from column vectors.Tavian Barnes2014-05-221-0/+11
|
* bench: Add a triangle intersection benchmark.Tavian Barnes2014-05-222-2/+70
|
* geometry.h: Fix copy-pasta.Tavian Barnes2014-05-221-2/+2
|
* threads.h: Add missing newline.Tavian Barnes2014-05-091-0/+1
|
* png: Fix a trivial bug found by the last commit.Tavian Barnes2014-05-061-1/+1
|
* malloc: New DMNSN_MALLOC() macro to save a sizeof().Tavian Barnes2014-05-0629-69/+70
|
* 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
|