Commit Graph

42 Commits

Author SHA1 Message Date
Sam Lantinga
6a6db94f54 First pass on the new SDL sensor API 2018-08-21 12:11:34 -07:00
Sam Lantinga
44087f9b2f Updated SDL's YUV support, many thanks to Adrien Descamps
New functions get and set the YUV colorspace conversion mode:
	SDL_SetYUVConversionMode()
	SDL_GetYUVConversionMode()
	SDL_GetYUVConversionModeForResolution()

SDL_ConvertPixels() converts between all supported RGB and YUV formats, with SSE acceleration for converting from planar YUV formats (YV12, NV12, etc) to common RGB/RGBA formats.

Added a new test program, testyuv, to verify correctness and speed of YUV conversion functionality.
2017-11-12 22:51:12 -08:00
Jonas Ådahl
d1f5d6d436 wayland: Build own version of core protocol
Since we are loading shared objects dynamically, build our own version of the
core protocol symbols, so that we in the future can include protocol
extensions.
2016-06-23 18:39:05 +08:00
Ryan C. Gordon
5b2b9fb1f8 audio: Initial bits to enable audio capture support. 2016-08-01 00:18:56 -04:00
Ryan C. Gordon
3373009f25 A simple test program for SDL_qsort(). 2016-03-10 01:50:43 -05:00
Ryan C. Gordon
34581fedd1 Added SDL_GetDisplayUsableBounds(). 2016-01-04 23:52:40 -05:00
Ryan C. Gordon
13cafe01a0 Added test/testdisplayinfo.c 2015-07-14 21:28:26 -04:00
Sam Lantinga
1838d55586 Cleaned up Xcode rules a little more 2015-06-19 23:32:37 -07:00
Sam Lantinga
bdd751991d Simplified Mercurial ignore rules for Xcode build products 2015-06-19 23:27:35 -07:00
Rohit Nirmal
0e38ee2c2c Ignore some more test binaries. 2015-04-10 22:31:52 -05:00
Alex Szpakowski
6a15f46238 Merged 'default' into branch 'iOS-improvements'
--HG--
branch : iOS-improvements
2014-07-31 03:14:10 -03:00
Ryan C. Gordon
01187b701d Added audio device buffer queueing API. 2014-07-22 21:41:49 -04:00
Alex Szpakowski
8e811c6753 Misc. iOS code improvements.
- Use @autoreleasepool instead of NSAutoReleasePool.

- Code style fixups.

--HG--
branch : iOS-improvements
2014-07-14 16:50:25 -03:00
Ryan C. Gordon
e59e44ff6b Merged Ryan's SDL-gui-backend branch.
Adds three APIs, and implements them on X11, Cocoa, and Windows:

- SDL_CaptureMouse()
- SDL_GetGlobalMouseState()
- SDL_SetWindowHitTest()
2014-06-25 17:06:12 -04:00
Sam Lantinga
1e4b9b0d19 Ignore Visual Studio test data files 2014-06-08 11:59:36 -07:00
Ryan C. Gordon
7af1c6e050 Changed drag area API to a hit-testing API.
There were several good arguments for this: it's how Windows works with
 WM_NCHITTEST, SDL doesn't need to manage a list of rects, it allows more
 control over the regions (how do you use rects to cleanly surround a circular
 button?), the callback can be more optimized than a iterating a list of
 rects, and you don't have to send an updated list of rects whenever the
 window resizes or layout changes.
2014-05-28 01:22:47 -04:00
Ryan C. Gordon
6146fd1f61 First shot at SDL_SetWindowDragAreas().
Only Cocoa implemented right now.
2014-05-27 01:27:42 -04:00
Ryan C. Gordon
1552338a1a Ignore the buildbot build directories. 2014-02-02 21:38:16 -05:00
Ryan C. Gordon
8fe1cf47f2 Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module. 2013-08-20 19:57:11 -04:00
Sam Lantinga
c2d6d45a9f Added extra Visual C++ files to the ignore list 2013-08-04 09:35:35 -07:00
Sam Lantinga
9bbe4b2a44 Need to generate aclocal.m4 when rebuilding configure, but we don't need to check it in. 2013-05-26 16:01:40 -07:00
Sam Lantinga
43143578b7 Added new tests to the .hgignore file 2013-03-03 22:06:27 -08:00
Sam Lantinga
a65e5a3850 Removed local.properties from android-project folder
Alexey Petruchik

Please remove local.properties from android-project folder and add it to hgignore
According to the local.properties:
# This file must *NOT* be checked in Version Control Systems,
2013-02-23 02:25:34 -08:00
Sam Lantinga
81d62b86a2 tree 83b195127130
parent 35774131eaaf
author Edward Rudd <urkle@outoforder.cc> 1358013805 18000
committer Edward Rudd <urkle@outoforder.cc> 1358013805 18000
revision 6805
branch default

ignore the workspace and userdir for all xcode projects
2013-02-11 21:04:46 -08:00
stopiccot
0bb179ae8a SetMinimumWindowSize for OS X 2012-11-18 15:45:12 +03:00
Sam Lantinga
b7b4b8b28a Added new test to ignore list 2012-11-06 10:20:14 -08:00
Sam Lantinga
258a8e642a Added a couple new test executables to be ignored 2012-09-29 17:22:32 -07:00
Sam Lantinga
70fe749a0f Ignore SVN metadata 2012-06-04 12:31:14 -04:00
Sam Lantinga
1cbd3b1798 Updated the .hgignore for the current set of test programs 2012-02-12 21:05:24 -05:00
Sam Lantinga
c484f884c5 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2 2012-01-22 17:21:00 -05:00
Sam Lantinga
9853ab62c8 Switched back to configure generating SDL_config.h
It was very confusing to have configure generate an SDL_config.h and then not have it be used when building on Mac OS X or Windows.  I'll just have to remember to use SDL_config_windows.h when building official releases that are supposed to be ABI compatible with Visual Studio.
2012-01-19 01:55:51 -05:00
Sam Lantinga
d4c4a98f59 Make sure that we use consistent configuration options on platforms like Windows so that command line builds and IDE builds have ABI compatibility.
Make sure we don't clobber SDL_revision.h when building from Mercurial
2012-01-14 13:21:19 -05:00
Ryan C. Gordon
ea20b29d4f Added more test programs to .hgignore 2011-08-23 06:28:28 -04:00
Sam Lantinga
f07d066c37 Removed obsolete test program 2011-03-08 16:58:45 -08:00
Sam Lantinga
fbf176acb4 Added missing test program 2011-03-08 16:58:25 -08:00
Sam Lantinga
6e4e39c100 Updated HG ignore file for Visual C++ files 2011-02-16 05:00:33 -08:00
Sam Lantinga
307a90d292 Made it possible to build SDL from a fresh checkout without any additional steps.
The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.

You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.
2011-02-16 02:37:09 -08:00
Sam Lantinga
b7c5d88e6a Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows 2010-08-22 13:45:56 -07:00
Jim Grandpre
19cbdaa0c7 Fixed hgIgnore to ignore test/gesturetest 2010-08-19 13:49:11 -04:00
Ryan C. Gordon
5d5a40c96b Removed compiled testeyes from revision control. Added it to ignore list. 2010-07-13 02:27:59 -04:00
Eric Wing
083a3e00de Added the automated test plist file and modified .hgignore to be less aggressive.
Discovered that the new plist file for the automated test was not checked in because the .hgignore file was too aggressive. I changed the .hgignore to not ignore the Xcode directory and instead added a longer list of things to ignore.
2010-05-12 12:49:28 -07:00
Ryan C. Gordon
b18efe7e17 Made an .hgignore to mostly match old svn:ignore properties. 2010-02-28 02:06:47 -05:00