Commit Graph

13 Commits

Author SHA1 Message Date
Sam Lantinga
4f6e1878af Restored SDL_BLENDMODE_MOD for MAME 2011-02-04 19:50:56 -08:00
Sam Lantinga
0efb1ea0b2 Making the API simpler, the blend modes are "none, blend, add" and are supported by all renderers. 2011-01-31 23:23:57 -08:00
Sam Lantinga
c49568972f Added a test to check the read/write pixels API 2009-12-14 06:35:59 +00:00
Sam Lantinga
c0f5e8a979 More fixes to compile under Visual C++ 2009-11-22 07:00:26 +00:00
Sam Lantinga
411ee2e374 Fixed include paths for Visual C++ 2009-11-22 06:42:58 +00:00
Sam Lantinga
7125fdbe63 We want to be strict on software renderer tests and opaque tests, but give a decent margin for blending inaccuracy for the blended tests. 2009-11-21 07:59:19 +00:00
Sam Lantinga
fc6a229f72 Increased tolerance a little bit more for multiple blending passes accumulating error. 2009-11-21 07:46:12 +00:00
Sam Lantinga
7863b8a31b Use 45 degree lines for the diagonal test to avoid aliasing errors in line drawing. 2009-11-21 06:28:25 +00:00
Sam Lantinga
98198245bc Allow some variation in the pixel values to account for blending accuracy differences. 2009-11-19 05:06:01 +00:00
Sam Lantinga
c14ffddbcc Debug info to help track down render test failures 2009-11-17 06:51:14 +00:00
Sam Lantinga
6820ff5982 Fixed some bugs in the automated test suite, revealed by working SDL_RenderReadPixels() 2009-11-17 05:17:11 +00:00
Sam Lantinga
7a40c23469 You can specify the format for pixel data in SDL_RenderReadPixels() and SDL_RenderWritePixels()
This code still doesn't quite work yet. :)
2009-11-16 07:13:07 +00:00
Sam Lantinga
30ebf925f0 Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00