getpixel/putpixel separated per color depth; function pointer arrays used now

(should cause _slight_ speed improvement)
This commit is contained in:
William Kendrick 2005-01-11 08:09:07 +00:00
parent a6c0ef3a7a
commit ed7b62c414
2 changed files with 248 additions and 71 deletions

View file

@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
2005.January.09 (0.9.15)
2005.January.11 (0.9.15)
* Stamp tool improvements:
------------------------
* Greatly improved stamp outlining (to avoid empty rows or columns
@ -133,6 +133,10 @@ http://www.newbreedsoftware.com/tuxpaint/
(to improve Magic tools like 'Blur')
Albert Cahalan <albert@users.sf.net>
* getpixel and putpixel functions split into four, one for each
color depth (1, 2, 3 or 4 bytes per pixel), to reduce BPP tests
when reading or drawing pixels.
* drawtext_callback() prototype forces useless arg.; voided it
Albert Cahalan <albert@users.sf.net>