summaryrefslogtreecommitdiffstats
path: root/libdimension/canvas.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove a bunch of errno.h includes.Tavian Barnes2010-04-131-1/+0
|
* New dmnsn_malloc() function, and friends.Tavian Barnes2010-04-071-18/+9
| | | | | | I'm tired of checking for malloc failures everywhere, considering it never happens. So just bail out whenever it does. A lot of stuff is guaranteed to succeed if it returns now.
* Set errno on failures.Tavian Barnes2010-04-011-0/+4
|
* New dmnsn_clear_canvas() function.Tavian Barnes2010-03-241-0/+13
| | | | Makes valgrind happier about the GL test.
* Fix up license blurbs and copyright year.Tavian Barnes2010-01-271-1/+1
|
* Clean up some dmnsn_new_*() functions.Tavian Barnes2009-10-261-4/+4
| | | | | Rather than special-case every failed memory allocation, just make dmnsn_delete_*() more robust and call it.
* Don't check if it's too late to add canvas optimizers.Tavian Barnes2009-10-261-12/+2
| | | | This fixes some errors displayed by concurrency checkers like helgrind and drd.
* Add destructor callbacks for polymorphic C types, and use their baseTavian Barnes2009-07-161-0/+1
| | | | dmnsn_delete_*() function.
* Update license copyrights to 2009.Tavian Barnes2009-07-081-1/+1
|
* Comments and style adjustments, and a couple fixes.Tavian Barnes2009-07-081-2/+3
|
* Make optimizer registration fail if a canvas has already been writtenTavian Barnes2009-07-051-2/+11
| | | | to.
* New interface for optimizing canvas conversions by registeringTavian Barnes2009-07-041-0/+39
| | | | dmnsn_set_pixel() callbacks.
* Inline some functions: about a 5% performance boost.Tavian Barnes2009-07-011-22/+0
|
* Remove thread-synchronicity from canvases.Tavian Barnes2009-06-261-100/+10
|
* Add lots of comments, and some code fixes discovered in the process.Tavian Barnes2009-06-261-6/+3
|
* Add some comments.Tavian Barnes2009-04-121-3/+29
|
* Change argument order of dmnsn_set_pixel; write C++ canvas wrapper.Tavian Barnes2009-04-121-2/+2
|
* Clarify licenses; add libdimensionxx library.Tavian Barnes2009-04-101-8/+8
|
* Add read-write mutexes to canvas pixels. New error infrastructure.Tavian Barnes2009-04-081-6/+100
|
* Revamp color handling.Tavian Barnes2009-03-201-164/+2
|
* Use CIE xyY internally, rather than CIE XYZ.Tavian Barnes2009-03-011-23/+34
|
* Initial commit.Tavian Barnes2009-03-011-0/+203