Commit Graph

20 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri e6db6ad10b Fix bug with out-of-screen paiting in software_16
Things like expedite's "Image Qualit Scale" that blited with x,y
negative were giving incorrect clip rectangle.


SVN revision: 33326
2008-01-02 20:58:29 +00:00
Gustavo Sverzut Barbieri 3a64b46646 Fix possible memory leak with software_16.
If image data is not loaded at all, engine must free associated 32 bit
structure.


SVN revision: 32781
2007-11-19 22:27:02 +00:00
Gustavo Sverzut Barbieri a807f3805b Missing rename.
SVN revision: 32213
2007-10-30 13:48:44 +00:00
Gustavo Sverzut Barbieri 55f6c5f046 Add software_16 cache.
SVN revision: 32169
2007-10-26 18:53:39 +00:00
Gustavo Sverzut Barbieri 3209b5f4e8 Fix image alpha_set() and fix compiler warning, minor fixes.
SVN revision: 32165
2007-10-25 22:09:49 +00:00
Gustavo Sverzut Barbieri e12c298619 Line, Polygon and minor fixes for software_16.
Line is a complete rewrite based on my university works. It's much
cleaner than the engine/common and works better (the later is
producing weird results, I still have to debug why), but I don't
provide anti-aliased drawings.

Polygon is almost the same code, with minor changes to draw the spans
as soon as possible and then no malloc/free is required for each of
them.

Minor fixes to remove unused variables, gotos...


SVN revision: 32161
2007-10-25 16:17:19 +00:00
Gustavo Sverzut Barbieri 06c6b24a3e Implement extra operations for image.
I tried to get those right, but I'd like someone else to review these.


SVN revision: 31150
2007-08-03 23:11:56 +00:00
Gustavo Sverzut Barbieri 81ebda3087 Use dither mask when importing images.
SVN revision: 30913
2007-07-20 00:18:07 +00:00
Carsten Haitzler 6c167c3a6d cedric's sdl patch.
SVN revision: 30845
2007-07-16 07:25:35 +00:00
ningerso 47b408af54 Initialize the error code before returning.
SVN revision: 30483
2007-06-28 14:36:50 +00:00
ningerso fb53f7e913 Prevent a segv when setting a image path to NULL.
SVN revision: 30479
2007-06-28 03:32:58 +00:00
Gustavo Sverzut Barbieri ac04de0ffd Name clip structure, make it simple to save and restore clip info.
SVN revision: 30423
2007-06-21 20:10:13 +00:00
Gustavo Sverzut Barbieri 10258eaf02 Clean up structure, split image operations into files.
SVN revision: 30420
2007-06-21 19:57:56 +00:00
Gustavo Sverzut Barbieri 807b2d1912 Implement image scale.
SVN revision: 30419
2007-06-21 19:56:32 +00:00
Gustavo Sverzut Barbieri ca8f71f595 Clean up structure, split into files.
SVN revision: 30413
2007-06-20 19:10:15 +00:00
Gustavo Sverzut Barbieri 0cf249a46f Add font/text support for software_16.
SVN revision: 30408
2007-06-19 22:52:12 +00:00
Gustavo Sverzut Barbieri 4f1b4fb1aa Improve _soft16_scanline_fill_transp_solid(), with bugfix.
Author: Gustavo Sverzut Barbieri <barbieri@gmail.com>


SVN revision: 30407
2007-06-19 22:51:39 +00:00
Gustavo Sverzut Barbieri 02dbcb720a More image blend and rectangle.
Image blend not supports alpha and colorization.
Rectangle operations are now implemented.


SVN revision: 30394
2007-06-18 16:50:37 +00:00
Gustavo Sverzut Barbieri f70b4e9dcf Clean up and optimize, step 1: unscaled operations.
SVN revision: 30391
2007-06-18 16:48:34 +00:00
Carsten Haitzler 16df9e0047 add in the work I did for a 16bit engine - for now, a dormant project until i
can be convinced it provides real and significant speedups that warrant the
significant effort.


SVN revision: 29770
2007-04-29 15:45:40 +00:00