Ryan C. Gordon
8a882c26bb
Disable MMX inline assembly on Clang for now.
...
We should probably rewrite this with SSE compiler intrinsics or something
anyhow.
2017-07-26 13:43:25 -04:00
Sam Lantinga
1b24bfad38
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Ryan C. Gordon
893f89bb1c
Fixed all known static analysis bugs, with checker-279 on macOS.
...
--HG--
extra : rebase_source : 340383a2099de0ed7e61343fb21f59685d11a87e
2016-11-24 21:41:09 -05:00
Sam Lantinga
7ee8dda270
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Sam Lantinga
56b58afdbe
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Ryan C. Gordon
320c2fa386
Static analysis fix: division by zero.
2014-03-19 18:25:21 -04:00
Sam Lantinga
d7940a513e
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
82edee6971
Make internal SDL sources include SDL_internal.h instead of SDL_config.h
...
The new header will include SDL_config.h, but allows for other global stuff.
--HG--
extra : rebase_source : ddf4a4c0dc2c554b98c82700798f343cd91b16e3
2013-11-24 23:56:17 -05:00
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