Commit Graph

25 Commits

Author SHA1 Message Date
Glenn Maynard d97f579dba fail gracefully if banner cache has an unexpected pitch 2004-12-14 08:14:44 +00:00
Glenn Maynard aab53e70d8 split RageSurfaceUtils::CorrectBorderPixels 2004-09-27 01:12:13 +00:00
Glenn Maynard cc55c46033 fix scaling glitch that could cause images to be slightly transparent
when blitting bit depth up
2004-09-26 08:22:46 +00:00
Glenn Maynard 65b0be2513 cleanup 2004-09-09 03:09:39 +00:00
Glenn Maynard 2defb1963a cleanup 2004-09-05 23:34:49 +00:00
Glenn Maynard b28fb1d5c9 cleanup 2004-09-05 23:24:48 +00:00
Glenn Maynard 26b22b5f31 simplify 2004-09-05 23:20:04 +00:00
Glenn Maynard d990cc92f8 improve color conversion 2004-09-05 22:54:49 +00:00
Glenn Maynard 9f38c2237c simplify blit selection by letting each blit decide for itself 2004-09-05 22:35:53 +00:00
Glenn Maynard 174810d286 Fix blit_rgba_to_rgba: converting channels that were at least 1bpp
to a higher bit depth resulted in 0s.  This caused banners to be transparent
on Macs.  This also fixes scaling: scale colors instead of truncating them.
This is a little slower; I might need to add an optimized blit for the d3d movie
code path ...
2004-09-05 22:18:14 +00:00
Glenn Maynard dec895409a ApplyHotPinkColorKey: simplify, fix quick alpha enable, and disable it
for now
2004-09-05 08:48:45 +00:00
Glenn Maynard d49851d12f dumb fix 2004-09-05 07:23:25 +00:00
Glenn Maynard f3c1629853 store ncolors 2004-09-05 03:31:47 +00:00
Glenn Maynard 059d9b3783 short circuit FindSurfaceTraits for RGB 2004-09-05 03:30:14 +00:00
Glenn Maynard 5035321672 short circuit FixHiddenAlpha for RGB 2004-09-05 03:27:57 +00:00
Glenn Maynard 8879e7c2f1 s/Palettize/PalettizeToGrayscale/ 2004-09-04 04:10:56 +00:00
Glenn Maynard 5ec0d7034f update comment 2004-08-31 01:37:17 +00:00
Glenn Maynard 296ac24e3b const fixes 2004-08-31 01:36:40 +00:00
Glenn Maynard b152c30512 simplify, const fixes 2004-08-31 01:28:51 +00:00
Glenn Maynard bb90bca544 remove unused ckey parameter to RageSurfaceUtils::Blit 2004-08-31 01:15:12 +00:00
Glenn Maynard 1771747c0c RageSurfaceUtils::FlipVertically 2004-08-26 20:36:44 +00:00
Glenn Maynard de4b0cc408 update comment 2004-08-08 17:17:11 +00:00
Glenn Maynard a7badfb3ba simplify/optimize blit_same_type 2004-08-07 17:43:22 +00:00
Glenn Maynard 17bc5b0025 palette handling fixes
don't free pixels passed to CreateSurfaceFrom
2004-07-14 21:02:49 +00:00
Glenn Maynard b44f1404ce RageSurface, to replace SDL_Surface.
Most of SDL_utils is moved to RageSurfaceUtils, and does not require
SDL; SDL_utils is now only utils that actually need SDL.
(My goal isn't to eliminate SDL; it's to make it a back-end library, that
can be disabled on some platforms, rather than a required library as it
is now.)
2004-06-14 00:37:55 +00:00