Sam Lantinga
201fa56aaa
Fixed const/non-const warning
2013-10-03 03:31:05 -07:00
Sam Lantinga
43cc5c1cbb
Added optimized YUV texture upload path with SDL_UpdateYUVTexture()
2013-09-28 14:06:47 -07:00
Sam Lantinga
62d7359fd5
Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
2013-08-29 08:29:51 -07:00
Sam Lantinga
08dfaaa2e6
Christoph Mallon: Remove pointless if (x) before SDL_free(x)
2013-08-29 08:29:21 -07:00
Gabriel Jacobo
298ce1c1a7
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Gabriel Jacobo
271e0d67c4
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03:00
Ryan C. Gordon
0002acb775
Include SDL_assert.h to fix broken build.
2013-07-20 21:22:37 -04:00
Ryan C. Gordon
20b4bd0c6a
Don't allocate memory if we're just going to fail when checking parameters.
2013-07-20 21:19:20 -04:00
Sam Lantinga
de9566518f
Fixed some Visual Studio analyze warnings
2013-06-15 02:46:32 -07:00
Sam Lantinga
0cb6385637
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Ryan C. Gordon
4f438b70a2
Make SDL_SetError and friends unconditionally return -1.
...
This lets us change things like this...
if (Failed) {
SDL_SetError("We failed");
return -1;
}
...into this...
if (Failed) {
return SDL_SetError("We failed");
}
Fixes Bugzilla #1778 .
2013-03-31 12:48:50 -04:00
Sam Lantinga
95dcfa4c28
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
8fef68eb90
Fixed memory leak in an error case
2012-09-28 02:43:13 -07:00
Sam Lantinga
f380ecb137
Removed executable bit from source files
2012-09-27 14:35:28 -07:00
Sam Lantinga
028e5dcdbd
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
5e38454931
Added the ability to update a subrect of a YV12/IYUV texture.
2011-12-30 18:19:35 -05:00
Sam Lantinga
b0660ba5ff
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
5fc9a80e24
The YV12 image isn't w*h*2, it's actually w*h + w*h/4 + w*h/4
2011-02-12 10:13:53 -08:00
Sam Lantinga
e5803d148c
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
d2b54f7d24
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.
--HG--
rename : src/video/SDL_yuv_mmx.c => src/render/SDL_yuv_mmx.c
rename : src/video/SDL_yuv_sw.c => src/render/SDL_yuv_sw.c
rename : src/video/SDL_yuv_sw_c.h => src/render/SDL_yuv_sw_c.h
rename : src/video/mmx.h => src/render/mmx.h
2011-02-03 00:19:40 -08:00