Sam Lantinga
e9ee7f6f0d
Fixed building SDL applications with Visual Studio and the clang toolset
...
Also fixed building 64-bit SDL with clang. 32-bit doesn't build because of the inline assembly for C runtime support.
2017-08-19 03:07:44 -07:00
Ryan C. Gordon
6e1edca849
audio: Wired up new SSE code to build system.
...
--HG--
extra : rebase_source : 3c94cdc92b94864eb43d7429032724227b798cf2
2017-01-23 01:05:44 -05:00
Sam Lantinga
1b24bfad38
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
91e0a1d094
Renaming of guard header names to quiet -Wreserved-id-macro
...
Patch contributed by Sylvain
2016-11-20 21:34:54 -08:00
Ryan C. Gordon
79c41b1692
cpuinfo: first attempt at SDL_HasNEON() implementation.
2016-11-17 01:15:16 -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
Sam Lantinga
4d8562f23f
Fixed bug in AVX detection and added AVX2 detection
2014-07-11 22:02:50 -07:00
Sam Lantinga
a7d2ebb8d6
Integrated David Ludwig's support for Windows RT
2014-03-09 11:36:47 -07:00
Sam Lantinga
d7940a513e
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Sam Lantinga
420a70436c
Fixed bug 2376 - no SDL_HasAVX
...
Haneef Mubarak
AVX is the successor to SSE* and is fairly widely available. As such, it really ought to be detectable.
This functionality ought to be trivial to implement, and not having it means being forced to write an ugly workaround to check for AVX (so that normal SSE can be used if AVX is not available).
Here is an example on detecting AVX from SO (it actually shows ways to cehck for all of teh fancy instructions):
http://stackoverflow.com/questions/6121792/how-to-check-if-a-cpu-supports-the-sse3-instruction-set
2014-02-02 00:33:31 -08:00
David Ludwig
59df93166d
WinRT: merged with SDL 2.0.1 codebase
2013-10-27 21:26:46 -04:00
Sam Lantinga
a04ca13c2d
Added an API to get the amount of system RAM
2013-10-17 11:32:56 -07:00
David Ludwig
88461d442a
WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d6a8fa507a45)
...
--HG--
rename : README.iOS => README-ios.txt
2013-08-12 22:29:55 -04:00
Sam Lantinga
0cb6385637
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
David Ludwig
776ebe3bda
WinRT: merged with latest, official, SDL 2.x code
2013-02-23 20:01:46 -05:00
Sam Lantinga
95dcfa4c28
Happy New Year!
2013-02-15 08:47:44 -08:00
David Ludwig
b513e6f8f0
WinRT: made SDL.dll compile for ARM (and not just x86 or x64)
2012-10-27 18:39:09 -04:00
Ryan C. Gordon
5c732d6324
Removed Windows CE support from SDL 2.0.
...
It's a long-dead platform, and we don't have any way to build for, test, or
maintain it, so there's no sense in doing acrobatics to support it.
If you need Windows CE support, use SDL 1.2. If you need Windows Phone support,
send SDL 2.0 patches for the newer Windows Mobile platform.
2012-09-15 10:59:39 -04:00
Sam Lantinga
028e5dcdbd
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
b0660ba5ff
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
a17d0eb586
The MMX and 3DNow! instructions can't be compiled by 64-bit Visual Studio.
2011-03-07 22:04:10 -08:00
Sam Lantinga
e32b25be9e
Fixed compiling AltiVec blitters
2011-02-27 22:22:58 -08:00
Sam Lantinga
d79f7ed02d
Fixed altivec.h include on Mac OS X
2011-02-22 22:17:44 -08:00
Sam Lantinga
e4a0db291e
Re-added the 3DNow! and AltiVec instruction support.
2011-02-22 21:44:36 -08:00
Sam Lantinga
8ecd7110d2
Fixed SSE4 detection, and split it into SSE 4.1 and 4.2
2011-02-11 23:02:35 -08:00
Sam Lantinga
e5803d148c
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
0314fd4e0f
Updated CPU detection code for SSE3 and SSE4 and removed obsolete 3DNow! and Altivec support.
2011-02-11 14:51:04 -08:00
Sam Lantinga
b2ff9dc39f
Added API function to get CPU cache line size.
2011-01-27 20:46:45 -08:00
Sam Lantinga
772009b691
Bump up the default cache line size.
2011-01-27 16:51:47 -08:00
Sam Lantinga
fb824f9a04
Added cache line size info in SDL_cpuinfo.h
...
I also added an implementation to dynamically query it, but didn't expose it since most x86 CPUs have an L1 cache line size of 64 bytes.
2011-01-27 16:46:15 -08:00
Sam Lantinga
4d3df8b3e3
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404453
2010-01-24 21:10:53 +00:00
Sam Lantinga
29601c280b
Added SDL_GetCPUCount() to see how many cores are available.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404328
2009-12-16 06:53:53 +00:00
Sam Lantinga
1cbfd5b6e0
Partial fix for bug #859
...
Header file update from Ken for improved doxygen output
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404127
2009-10-19 13:31:58 +00:00
Sam Lantinga
0c30a927ed
Updated copyright date
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403321
2008-12-08 00:27:32 +00:00
Sam Lantinga
0f030a1802
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401938
2006-07-10 21:04:37 +00:00
Sam Lantinga
b25211fd37
*** empty log message ***
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401430
2006-02-24 10:23:49 +00:00
Sam Lantinga
c36118165e
Use consistent identifiers for the various platforms we support.
...
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401406
2006-02-21 08:46:50 +00:00
Sam Lantinga
3732b0b8bd
*** empty log message ***
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401360
2006-02-10 03:19:02 +00:00
Sam Lantinga
0e9a85e9de
Started the process of improving configure support, and merging C types
...
and library support into a single header.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401357
2006-02-09 09:07:13 +00:00
Sam Lantinga
eea4857268
Updated copyright information and removed rcs id lines (problematic in branch merges)
...
I batch edited these files, so please let me know if I've accidentally removed anybody's
credit here.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401315
2006-02-01 06:32:25 +00:00
Sam Lantinga
faea93909a
Fixed bugs in CPU feature detection and added extended feature detection
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40786
2004-01-24 05:47:19 +00:00
Sam Lantinga
522cd2a8c4
Date: Tue, 6 Jan 2004 12:42:19 +0100
...
From: Max Horn
Subject: SDL_HasAltiVec; BUGS file
the attached patch adds SDL_HasAltiVec to SDL CVS. Note that at this
point, this only works on MacOSX (and maybe darwin). I don't know how
to properly add a test for e.g. Linux/PPC at this point. I found an
email which might help in doing so:
http://zebra.fh-weingarten.de/~maxi/html/mplayer-dev-eng/2003-01msg00783.html
However, since I have no way to test on a non-OSX PowerPC system, I am
not comfortable blindly adding such code... I just hope that if
somebody from the Linux/PPC (or FreeBSD/PPC, or whatever) community
notices this, they'll jump up and provide a patch for us ;-)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40779
2004-01-06 17:18:38 +00:00
Sam Lantinga
cb9c2efd17
Updated copyright information for 2004 (Happy New Year!)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40770
2004-01-04 16:49:27 +00:00
Sam Lantinga
fb25886c0e
Greatly simplified the SDL CPU info code
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40746
2003-11-24 09:16:52 +00:00
Sam Lantinga
9842d74f34
Added SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE() in SDL_cpuinfo.h
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40740
2003-11-18 01:27:06 +00:00