Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
5fedcb50d8
GIMP wrote bmp files in RGBX format. Huh.
2011-11-09 22:53:44 -05:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
069fbf4861
Gamma support is back!
...
New API functions:
SDL_SetWindowBrightness()
SDL_GetWindowBrightness()
SDL_SetWindowGammaRamp()
SDL_GetWindowGammaRamp()
SDL_CalculateGammaRamp()
2011-03-11 08:49:20 -08:00
Sam Lantinga
821c92eab1
Fixed bitmap order interpretation; SDL defaults to MSB ordering so a bitstream corresponds to a pixel stream.
...
The bitmap ordering is defined such that the numbering refers to the pixel index from left to right, and the number position refers to the bit position in the byte.
SDL_BITMAPORDER_4321 is the fourth pixel at the high bit and the first pixel at the low bit (LSBFirst)
SDL_BITMAPORDER_1234 is the first pixel at the high bit and the fourth pixel at the low bit (MSBFirst)
2011-03-07 00:30:05 -08:00
Sam Lantinga
f78f25504b
Added padding for better aligned access to *shift/*loss members
2011-03-06 23:54:20 -08:00
Sam Lantinga
c7b5cc946d
A few fixes:
...
Fixed creating render texture framebuffer.
Removed the need for palette watch, added surface format caching.
Added an SDL_DONTFREE flag so you can't free the window and 1.2 shadow surfaces.
2011-02-13 13:46:10 -08:00
Sam Lantinga
5e1535525c
Initial pass at shader YV12 support - doesn't quite work yet.
2011-02-12 00:25:02 -08:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
405d4ed7e4
Made it possible to create a texture of any format, even if not supported by the renderer.
...
This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.
2011-02-03 00:19:40 -08:00
Sam Lantinga
be09e4e9a0
Added some missing pixel formats and SDL_GetPixelFormatName()
2011-01-12 14:53:23 -08:00
Sam Lantinga
a517ddf4a5
Added SDL_FOURCC()
2010-07-07 21:36:09 -07:00
Sam Lantinga
7052036491
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Sam Lantinga
9bf59c5687
The SDL_PaletteWatch structure is really internal-only.
2009-12-13 08:00:25 +00:00
Sam Lantinga
2634a34422
Made the comment actually mean something. :)
2009-11-22 20:00:00 +00:00
Sam Lantinga
27294b7a4e
Partial fix for bug #859
...
Header file update from Ken for improved doxygen output
2009-10-19 13:31:58 +00:00
Sam Lantinga
93690caff9
Fixed 4 bit-per-pixel definition. Thanks Mike!
2009-06-09 04:34:50 +00:00
Mike Gorchak
bd93cb0220
Support for BGR565 pixel format has been added, mainly for OpenGL ES renderer. OpenGL ES renderer now have new texture formats.
2009-06-03 10:40:44 +00:00
Sam Lantinga
c1d386b7fe
Fixed alpha blending textures with the GDI renderer
2009-02-07 17:56:08 +00:00
Sam Lantinga
befb0f7f42
Updated copyright date
2008-12-08 00:27:32 +00:00
Sam Lantinga
9c4b835e49
Final merge of Google Summer of Code 2008 work...
...
Port SDL 1.3 to the Nintendo DS
by Darren Alton, mentored by Sam Lantinga
2008-08-27 15:10:03 +00:00
Sam Lantinga
4f2f07efff
Split out the SDL_rect and SDL_surface functions into their own headers.
...
Removed unused count from the dirty rect list.
2007-09-10 12:20:02 +00:00
Sam Lantinga
65b59716be
Moved the colorkey and per-surface alpha into the blit info,
...
in preparation for support for general color channel modulation.
Removed and consolidated some data in the blit info.
2007-08-17 00:54:53 +00:00
Sam Lantinga
5c79673fa0
Fixed bug #467
...
Remove trailing commas from enums
2007-07-22 13:22:47 +00:00
Sam Lantinga
5b0dc2c1d5
SDL constants are all uppercase.
2006-08-05 17:09:42 +00:00
Sam Lantinga
6bc598ea61
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
2006-07-10 21:04:37 +00:00