Commit Graph

297 Commits

Author SHA1 Message Date
Michael Jumper
844afb6478 Fix segfault in layer/buffer alloc. 2012-04-10 16:12:03 -07:00
Michael Jumper
6a9c959da0 Properly add layers/buffers to available layer/buffer pool. 2012-04-10 11:08:52 -07:00
Michael Jumper
ecec3a1099 Fix size of palette hash table (should be 0x1000, not 0xFFF), don't free palette until AFTER done... 2012-04-02 13:27:28 -07:00
Michael Jumper
71de5606bf Should not install palette.h 2012-04-01 23:27:57 -07:00
Michael Jumper
d2523c062c Restore Cairo PNG support. 2012-04-01 23:16:58 -07:00
Michael Jumper
b4ad24ccd6 Use appropriate BPP and packing. 2012-04-01 23:10:52 -07:00
Michael Jumper
d300688a5b Fix palette find. 2012-04-01 23:01:53 -07:00
Michael Jumper
e8833857b9 Removed debug fprintf. 2012-04-01 22:37:25 -07:00
Michael Jumper
ec652af924 Store palette in libpng format, add PLTE section. 2012-04-01 22:36:55 -07:00
Michael Jumper
969f96f1b7 Use libpng if palette possible, otherwise use Cairo (stub). 2012-04-01 22:28:45 -07:00
Michael Jumper
1489ae902d Store sequential array of colors in palette. 2012-04-01 22:06:34 -07:00
Michael Jumper
314e8c9222 Add palette find function. 2012-04-01 21:57:19 -07:00
Michael Jumper
e22323c4d9 Function rename + palette alloc test. 2012-04-01 21:54:03 -07:00
Michael Jumper
859395022f Move palette functions into own files. 2012-04-01 21:49:15 -07:00
Michael Jumper
4974f5a082 Handle formats, basic palette mapping implementation. 2012-04-01 21:20:08 -07:00
Michael Jumper
3cae4f016f Use libpng for writing of PNGs (currently only works with RGB/RGBA surfaces, and only writes RGB) 2012-04-01 20:19:12 -07:00
Michael Jumper
bd864f3f8f Check for pngstruct.h 2012-04-01 19:25:33 -07:00
Michael Jumper
9118f593b3 Restore checks for libpng. 2012-04-01 19:22:26 -07:00
Michael Jumper
1aa594bd8b __guac_fill_instructionbuf() should report errors. 2012-03-15 11:30:52 -07:00
Michael Jumper
eb73b52e69 Fix output of arc instruction. 2012-03-13 19:12:37 -07:00
Michael Jumper
b71eca8183 Add new negative parameter to arc. 2012-03-13 19:07:24 -07:00
Michael Jumper
a5fdb711c5 Fix documentation of log handlers. 2012-03-13 15:54:55 -07:00
Michael Jumper
7f293df34c Modify guac_client_plugin_get_client() to allow logging to be set up before guac_client_init is called (fixes ticket #85). 2012-03-13 15:45:22 -07:00
Michael Jumper
fa27d7b11e Added layer to set instruction. 2012-03-13 12:06:11 -07:00
Michael Jumper
e3c3eea764 Refactored path into curve, added line, arc, and start instructions. Added close instruction. Added identity instruction. 2012-03-12 17:22:04 -07:00
Michael Jumper
39c0977b9d Corrected spelling of miter. 2012-03-11 23:17:16 -07:00
Michael Jumper
fbe43e917e Refactored rstroke/rfill to lstroke/lfill. 2012-03-11 21:05:34 -07:00
Michael Jumper
eee3fc4fd7 Removed commas at end of last entries in enums. 2012-03-11 19:19:42 -07:00
Michael Jumper
0479d71563 Added all remaining new instructions (and old client-only instructions) 2012-03-11 13:15:45 -07:00
Michael Jumper
55ac0eee0b Implemented around 1/3 of all new instructions. 2012-03-11 12:57:15 -07:00
Michael Jumper
d93108767b Reorganized functions, alphabetized. 2012-03-10 21:34:42 -08:00
Michael Jumper
1a9521074c Added prototypes for TODO functions. 2012-03-10 20:56:00 -08:00
Michael Jumper
4595ed51f3 Alphabetized and organized instruction functions, reformatted and fixed comments. 2012-03-10 12:56:59 -08:00
Michael Jumper
878d8a406c Add line cap and join styles. 2012-03-06 12:42:38 -08:00
Michael Jumper
33e028f1f4 Refactored guac_client_alloc_layer(), implement guac_client_free_layer(). 2012-02-27 22:56:38 -08:00
Michael Jumper
ee324aed69 Fixed merge of unstable, refactored rect and clip. 2012-02-27 16:01:02 -08:00
Michael Jumper
f6659c5264 Merge branch 'unstable' into drawing-instructions 2012-02-27 15:56:48 -08:00
Michael Jumper
c55bef0c41 Fix transfer function indices. 2012-02-27 13:14:19 -08:00
Michael Jumper
554d6e1ec1 Implemented transfer instruction, initial transfer function definitions. 2012-02-27 12:28:12 -08:00
Michael Jumper
54cc87093a Removed execute permissions from source. 2012-02-27 10:36:46 -08:00
Michael Jumper
13db6307b6 Changed tabs to spaces. 2012-02-27 10:27:46 -08:00
Michael Jumper
3942cabfd0 Improved comments for raster ops. 2012-02-27 10:26:58 -08:00
Michael Jumper
f77e0dbcc8 Fully enumerate raster operations. 2012-02-27 01:02:04 -08:00
Michael Jumper
3a047ea465 Merge branch 'MBH' into raster 2012-02-26 18:57:28 -08:00
Michael Jumper
e110b9ce92 LICENSE and Doxyfile should be present in source tarball (fixes ticket #84). 2012-02-23 14:44:48 -08:00
Michael Jumper
8348900db9 Prototypes for new instruction functions. 2012-02-23 14:41:33 -08:00
Matt Hortman
7d7a0260bf added constants for raster operations 2012-02-21 11:20:32 -05:00
Michael Jumper
28e2d41e16 Added dispose instruction. 2012-02-20 12:41:23 -08:00
Michael Jumper
124460b5d9 New cursor instruction format (allowing buffering of cursors). 2012-02-15 10:04:31 -08:00
Michael Jumper
a17cd6202b Modified size to be layer-specific, adding layer move instruction. 2012-02-11 19:00:55 -08:00