Sam Lantinga
c7790bdb2b
Added NV12 and NV21 texture support for OpenGL and OpenGL ES 2.0 renderers
2014-08-06 11:34:54 -07:00
Ryan C. Gordon
a261470598
Added audio device buffer queueing API.
...
--HG--
extra : rebase_source : a454256d88e413a4898b5005472625f755abfad4
2014-07-22 21:41:49 -04:00
Andreas Schiffler
2494eee648
Update audio testautomation: more coverage; added SDL_PauseAudio test /w callback coverage
2014-07-07 23:33:57 -07:00
Andreas Schiffler
77c619573f
Enable 2 disabled audio tests (since bug 1396 is fixed and they pass now)
2014-07-07 20:26:21 -07:00
Sam Lantinga
f6529a1ba6
Fixed compiler warning
2014-07-07 10:39:02 -07:00
Shawn Walker
f2c61cdaa5
2620 solaris port missing atomics if not using gcc
2014-07-05 16:11:23 -07:00
Ryan C. Gordon
b273873297
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
29eae011c5
Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings
2014-06-23 11:06:50 -07:00
Sam Lantinga
9e25cdad8c
commit 9e211e646f9d51dc1372c9f3c8f47a78caf4f2a5
...
Author: Sam Clegg <sbc@chromium.org>
Date: Fri Jun 20 12:52:11 2014
Fix win32 build which was failing due to missing PRIs64.
This change adds definitions for the C99 PRIs16 and PRIu64
which are missing from <stdint.h> on at last win32 and
possibly other platforms.
These already existed in testgesture.c so I removed them
from there also.
2014-06-21 11:24:06 -07:00
Philipp Wiesemann
a871c0c206
Fixed format string faults in audio tests.
...
They were found by the recent code annotations.
2014-06-09 17:25:03 +02:00
Gabriel Jacobo
37f6d3cb88
Fixes audio for Native Client, and other fixes...
...
- SDL_NaClMount, SDL_NaClUmount
- Default mounting of https at / in SDL's main function
- More documentation in README-nacl.txt
2014-06-08 18:18:13 -03:00
Sam Lantinga
4886b4d9d9
Fixed compile warnings
2014-06-07 18:20:25 -07:00
Sam Lantinga
26f1f2a9a1
Fixed initializing test event queue
2014-06-07 17:25:56 -07:00
Sam Lantinga
96f0009c02
Fixed another loopwave crash with no command line arguments
2014-06-07 17:25:35 -07:00
Sam Lantinga
7b1dba9aaa
Fixed loopwave crash with no command line arguments
2014-06-07 17:09:32 -07:00
Gabriel Jacobo
c6434e2416
Adds missing Makefile for NACL test and a couple of smaller fixes
2014-06-06 18:33:17 -03:00
Gabriel Jacobo
c330e8e9e2
Chrome's Native Client backend implementation
2014-06-06 15:45:59 -03:00
Ryan C. Gordon
efa3e07bc9
Minor tweaks to testhittesting.
2014-06-05 00:49:25 -04:00
Ionut Leonte
3465f8e461
Added SDL_HITTEST_RESIZE_*, and implemented for X11.
2014-06-05 00:45:16 -04:00
Ryan C. Gordon
9fb513d81f
Patched to compile on Visual Studio.
2014-05-30 01:48:26 -04:00
Ryan C. Gordon
719a77b576
Make some printf() calls into SDL_Log() so I can see them on Windows. :)
2014-05-30 01:48:08 -04:00
Philipp Wiesemann
6f8e4f99dc
Added missing stdio include in test program.
2014-05-29 22:48:10 +02:00
Philipp Wiesemann
4e8cb4d7be
Fixed use of uninitialized variable warning in test program.
2014-05-29 22:44:08 +02:00
Ryan C. Gordon
bcf0b09879
Added a few debug printf() calls.
2014-05-28 01:27:27 -04:00
Ryan C. Gordon
9e98d09104
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.
--HG--
rename : test/testdragareas.c => test/testhittesting.c
2014-05-28 01:22:47 -04:00
Ryan C. Gordon
cce4ce44d4
First shot at SDL_SetWindowDragAreas().
...
Only Cocoa implemented right now.
--HG--
extra : amend_source : b178ad0ae25b933b284ed1bda89df750ddd27fb3
2014-05-27 01:27:42 -04:00
Philipp Wiesemann
ed89f98f5b
Changed C++ style comments.
2014-05-18 21:11:30 +02:00
Philipp Wiesemann
423d8d1a17
Changed C++ style comments to fix pedantic warnings.
2014-05-17 22:02:25 +02:00
Gabriel Jacobo
04d8bb1069
A few more ANDROID for __ANDROID__ replacements
2014-05-10 15:57:09 -03:00
Dimitris Zenios
873297a269
__ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK.
2014-05-05 22:21:26 +03:00
Sam Lantinga
16cdcde614
Fixed the inertia effect in the test program
2014-04-26 12:29:40 -07:00
Philipp Wiesemann
b3dcc0988c
Removed global variable from test program.
2014-04-19 15:28:13 +02:00
Sam Lantinga
d1263a074d
Fixed bug 2475 - Incorrect SDL_Log() format specifiers in test/testgesture.c
...
rettichschnidi
The floats should not be interpreted as integers. Patch against the current head attached.
2014-04-17 22:40:57 -07:00
Philipp Wiesemann
e68f76da43
Removed empty statements.
2014-04-05 23:50:09 +02:00
Philipp Wiesemann
8158274826
Removed unused variable from test program.
2014-04-04 23:56:15 +02:00
Sam Lantinga
07f74cbbcc
Fixed assertion loading button.bmp in testgamecontroller
2014-03-29 12:27:27 -07:00
Gabriel Jacobo
e79e6a8637
Fixes #2456 , controllermap's undo does not work correctly (by Bogdan Marinov)
2014-03-24 11:42:09 -03:00
Sam Lantinga
4d02b5b07d
Fixed warning on Mac OS X
2014-03-23 23:08:26 -07:00
Andreas Schiffler
5c3a763f09
Fix visualstudio build break introduced by changeset 8645
2014-03-19 21:48:32 -07:00
Andreas Schiffler
721340f510
Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite
2014-03-19 21:39:55 -07:00
Ryan C. Gordon
14e7c1e341
controllermap: Don't treat SDL_HAT_CENTERED as a valid input.
...
--HG--
extra : rebase_source : d3d69e6f0f44f04fb8bf910b5888a5040be579d3
2014-03-18 12:33:57 -04:00
Andreas Schiffler
abd90144b3
Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError
2014-03-11 07:17:56 -07:00
Sam Lantinga
a7d2ebb8d6
Integrated David Ludwig's support for Windows RT
2014-03-09 11:36:47 -07:00
Sam Lantinga
211b54deef
Fixed line endings on WinRT source code
2014-03-09 11:06:11 -07:00
Gabriel Jacobo
42a3d5f36d
Improve testgles2 exit behavior (useful on Android)
2014-02-20 16:12:11 -03:00
Ryan C. Gordon
f4f293ae2a
Make controllermap, etc, work on platforms with hardcoded window sizes.
...
This makes sure everything renders correctly, even if, say, an Android device
gives you a certain "window" size no matter what you ask for.
2014-02-10 11:29:48 -05:00
Gabriel Jacobo
fddd6a295f
Backed out 51935d107921
...
The render target usage in controllermap is required if you are forced to use
the app at a different resolution than the one the art has been made for, for
example on Android, where you don't control the resolution.
(The coordinates for each button are hardcoded to the art size, and appear out
of place otherwise)
2014-02-10 09:26:22 -03:00
Ryan C. Gordon
a2021a76d6
Removed unused function.
2014-02-10 01:43:01 -05:00
Ryan C. Gordon
49fd59d20d
Replace testgamecontroller visualization mode with something more useful.
2014-02-10 01:41:58 -05:00
Ryan C. Gordon
755c18bf87
No need to use a render target here.
2014-02-09 15:20:41 -05:00