summaryrefslogtreecommitdiffstats
path: root/libdimension/gl.c
Commit message (Collapse)AuthorAgeFilesLines
* gl: Make drawing faster by using a better pixel format.Tavian Barnes2014-04-271-13/+13
|
* Re-think colors.Tavian Barnes2011-12-141-21/+19
| | | | | | | | | 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.
* Make PNG and GL share the same optimizer.Tavian Barnes2011-10-301-35/+3
|
* Make API more consistent.Tavian Barnes2011-10-301-4/+4
| | | | Object methods should be dmnsn_<object>_<fn>().
* Round correctly when converting colors to integers.Tavian Barnes2011-09-181-10/+10
|
* Update copyright years.Tavian Barnes2011-08-311-1/+1
|
* Simplify canvas export functions a bit.Tavian Barnes2011-08-271-80/+19
|
* Handle sRGB gamma correctly.Tavian Barnes2011-05-281-2/+7
|
* Calculate alpha correctly for canvas exports.Tavian Barnes2011-05-201-2/+2
|
* Switch to Blender model of filtered transparency.Tavian Barnes2011-05-201-10/+8
|
* Make colors less abstract.Tavian Barnes2011-04-221-39/+28
|
* Take into account color intensity for filtered transparency in canvas export.Tavian Barnes2011-04-221-4/+16
|
* Don't use awkward (*fptr)() syntax.Tavian Barnes2011-04-031-4/+4
|
* Update email address.Tavian Barnes2011-03-081-1/+1
|
* Document libdimension with Doxygen.Tavian Barnes2010-11-141-8/+13
|
* Missed some free() -> dmnsn_free() conversions.Tavian Barnes2010-10-181-1/+1
|
* Add dmnsn_free() to match dmnsn_malloc().Tavian Barnes2010-09-261-3/+3
|
* Fix some copyright dates.Tavian Barnes2010-05-101-1/+1
|
* Clean up some unused variables.Tavian Barnes2010-05-091-1/+0
|
* New DMNSN_ARRAY_FOREACH() macro, faster than iterating with dmnsn_array_get().Tavian Barnes2010-05-081-9/+6
|
* Use C99 for loop initializers.Tavian Barnes2010-05-051-15/+12
|
* Remove a bunch of errno.h includes.Tavian Barnes2010-04-131-1/+0
|
* New dmnsn_malloc() function, and friends.Tavian Barnes2010-04-071-20/+3
| | | | | | 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-2/+6
|
* Fix up license blurbs and copyright year.Tavian Barnes2010-01-271-1/+1
|
* Don't check if it's too late to add canvas optimizers.Tavian Barnes2009-10-261-6/+1
| | | | This fixes some errors displayed by concurrency checkers like helgrind and drd.
* Update license copyrights to 2009.Tavian Barnes2009-07-081-1/+1
|
* Comments and style adjustments, and a couple fixes.Tavian Barnes2009-07-081-3/+12
|
* Make optimizer registration fail if a canvas has already been writtenTavian Barnes2009-07-051-1/+4
| | | | to.
* New interface for optimizing canvas conversions by registeringTavian Barnes2009-07-041-24/+112
| | | | dmnsn_set_pixel() callbacks.
* Implement dmnsn_gl_read_canvas.Tavian Barnes2009-07-021-2/+38
|
* Provide interface to export canvas to openGL.Tavian Barnes2009-07-021-0/+91