Ryan C. Gordon
f30e120aa9
Added audio device buffer queueing API.
2014-07-22 21:41:49 -04:00
Sam Lantinga
eb1c6044b2
Fixed bug in AVX detection and added AVX2 detection
2014-07-11 22:02:50 -07:00
Ryan C. Gordon
b29740b88f
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
Ryan C. Gordon
8436956711
Changed SDL_GetAbsoluteMouseState() to SDL_GetGlobalMouseState().
...
This matches naming conventions in the main repository, between
SDL_GetRelativeMouseState() and SDL_WarpMouseGlobal().
2014-06-25 16:16:55 -04:00
Sam Lantinga
6101e4b20e
Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
2014-06-07 18:20:01 -07:00
Gabriel Jacobo
1e352d7929
Chrome's Native Client backend implementation
2014-06-06 15:45:59 -03:00
Ryan C. Gordon
b861efde14
Implemented SDL_GetAbsoluteMouseState().
...
X11 only for now, but this should be doable on every platform, I think.
2014-06-05 00:03:33 -04:00
Sam Lantinga
947a0b8bae
Ryan C. Gordon <icculus@icculus.org> 2014-05-24 01:23 -0400
...
Generated dynapi stuff for the new WinRT entry points.
http://hg.libsdl.org/SDL/rev/d54306e2b8a7
2014-06-04 10:57:12 -07:00
Sam Lantinga
da6d9a9f2a
Added annotations to help code analysis tools
...
CR: Bruce Dawson
2014-06-04 10:56:56 -07:00
Sam Lantinga
45ed5ee494
Added an API function to warp the mouse cursor in global screen space: SDL_WarpMouseGlobal()
2014-06-04 10:55:26 -07:00
Ryan C. Gordon
98c03f391d
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
3cbc83ef11
First shot at SDL_SetWindowDragAreas().
...
Only Cocoa implemented right now.
2014-05-27 01:27:42 -04:00
Ryan C. Gordon
b7d2c0e9d6
Implemented SDL_CaptureMouse().
2014-05-24 01:30:37 -04:00
Ryan C. Gordon
a2710516ef
Generated dynapi stuff for the new WinRT entry points.
2014-05-24 01:23:57 -04:00
J?rgen P. Tjern?
defd90b6f6
Render: Allow empty cliprect.
...
This fixes an issue where an empty cliprect is treated the same as a NULL
cliprect, causing the render backends to disable clipping.
Also adds a new API, SDL_RenderIsClipEnabled(render) that allows you to
differentiate between:
- SDL_RenderSetClipRect(render, NULL)
- SDL_Rect r = {0,0,0,0}; SDL_RenderSetClipRect(render, &r);
Fixes https://bugzilla.libsdl.org/show_bug.cgi?id=2504
2014-04-19 13:15:41 -07:00
Sam Lantinga
03afd0de40
SDL_DXGIGetOutputInfo() checks input parameters and returns a boolean value whether or not it succeeded.
2014-04-18 12:43:04 -07:00
David Ludwig
3dcb451f85
Added a README file regarding WinRT support
...
To note, this file is currently formatted with CRLF line endings, rather than
LF, to allow the file to be viewed with Notepad.
2014-04-09 21:29:19 -04:00