Sam Lantinga
eb7a0d4ec7
Updated with latest glext.h
2008-11-25 08:40:52 +00:00
Sam Lantinga
868d2ced9e
It turns out both the software and the OpenGL renderer had the same problem.
...
According to the spec, when SDL_SRCALPHA is set, the colorkey is ignored, so
we just need to convert the colorkey into the alpha channel.
2008-11-25 05:29:14 +00:00
Sam Lantinga
8f182d2156
indent
2008-11-25 02:21:53 +00:00
Sam Lantinga
5445c3f318
Fixed bug with converting colorkey surface to texture
2008-11-25 02:12:19 +00:00
Sam Lantinga
cb6c4de7d8
2008-11-25 00:48:25 +00:00
Sam Lantinga
b0b75884f3
Fixed Direct3D rendering
2008-11-25 00:29:44 +00:00
Sam Lantinga
1394a9a4dc
Added testsprite test projects for Visual Studio
2008-11-24 23:55:18 +00:00
Sam Lantinga
6a2047e7ea
Added software fallback for YUV overlay code when YUV textures aren't available.
2008-11-24 23:25:36 +00:00
Sam Lantinga
1e813b5f4d
Disable spurious warning
2008-11-24 21:43:02 +00:00
Sam Lantinga
825b0b08f1
Fixed Bugzilla bug #205
...
Removed SDL_KillThread() from the API, as it isn't safe on many platforms.
2008-11-24 00:18:42 +00:00
Sam Lantinga
93b7d9e6f8
Preliminary support for YUV textures
2008-11-22 06:59:22 +00:00
Sam Lantinga
21695e01dc
Adding SDL 1.3 release checklist, so we start getting a list of must-have features and bug fixes for a 1.3 release
2008-11-17 18:50:50 +00:00
Sam Lantinga
5ea99603f1
Sort by HID usage, which makes more sense and is more cross-platform
2008-11-08 07:34:21 +00:00
Sam Lantinga
94a87d0813
We'd never port SDL to Minix... would we? :)
2008-10-29 05:56:23 +00:00
Sam Lantinga
1d7c497a17
Added dummy shared object files, fixing linker errors
2008-10-18 04:03:41 +00:00
Sam Lantinga
3cd42cfe35
2008-10-18 03:21:32 +00:00
Sam Lantinga
ffeaf1e896
Added the SDL_haptic files to the project
2008-10-16 12:35:28 +00:00
Sam Lantinga
c1dc5d87c3
Disabled the Haptic API on iPhone, changed the order of the header to match
...
the other config headers.
2008-10-16 12:22:56 +00:00
Edgar Simo
ada44e87d4
Fixed compilation on mingw32.
2008-10-14 18:28:28 +00:00
Sam Lantinga
ab3c4fb876
Added missing math.h functionality for SDL_audiocvt.c
2008-10-12 16:30:42 +00:00
Sam Lantinga
24fa5e3a47
Don't include <math.h> when HAVE_MATH_H isn't defined
2008-10-12 16:21:36 +00:00
Sam Lantinga
45df39c52c
This can be static
2008-10-12 16:15:43 +00:00
Sam Lantinga
94879f84f3
Fixed memory leak in raw mouse input processing.
...
Corrected the mouse button indices.
2008-10-12 16:05:34 +00:00
Sam Lantinga
92c3984118
Final merge of Google Summer of Code 2008 work...
...
Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga
2008-10-04 06:46:59 +00:00
Ryan C. Gordon
c8c0e07da9
Add XInput support to Xcode project (untested!).
2008-09-17 08:24:51 +00:00
Ryan C. Gordon
5b27f96366
Some cleanups on the new XInput code.
...
One or two things got moved around, but largely this is hooked up correctly
in the Unix configure system now: it can be dynamically loaded and fallback
gracefully if not available, or libXi can be directly linked to libSDL.
XInput support can be --disable'd from the configure script, too (defaults to
enabled).
Please note that while the framework is in place to gracefully fallback, the
current state of the source requires XInput. We'll need to adjust a few
things still to correct this.
2008-09-17 08:20:57 +00:00
Ryan C. Gordon
83e289b238
Removed zap_ptr hack from Bugzilla #602...it was incorrect.
...
(The actual bug was in SDL code removed from the 1.3 codebase.)
2008-09-15 20:48:51 +00:00
Sam Lantinga
258a2014c7
Almost got this compiling on Cygwin32, just needs DirectInput 7
2008-09-15 08:41:03 +00:00
Sam Lantinga
e6e45a547d
Updated Visual C++ build
2008-09-15 07:34:36 +00:00
Sam Lantinga
6dfa39cc32
more more!
2008-09-15 06:49:23 +00:00
Sam Lantinga
e384f9cb8e
Yet more math...
2008-09-15 06:48:41 +00:00
Sam Lantinga
80988b9d30
Whoops, missed a file...
2008-09-15 06:46:23 +00:00
Sam Lantinga
6e802db3f0
Expanded the libm support and put it into a separate directory.
2008-09-15 06:33:23 +00:00
Sam Lantinga
b94b3e7baa
2008-09-15 05:14:11 +00:00
Ryan C. Gordon
539aad42ea
Merged r4087:4088 from branches/SDL-1.2: missing semicolon.
2008-09-15 05:09:45 +00:00
Sam Lantinga
458f7b5b0c
indent
2008-09-15 04:32:36 +00:00
Sam Lantinga
c5c81ebf59
http://sources.redhat.com/ml/newlib/2002/msg00230.html
...
Stephen L Moshier wrote:
>
> pow(x,y) returns 0 when x is very close to -1.0 and y is very large.
> The following test program prints
>
> pow(1.0000000000000002e+00 4.5035996273704970e+15) = 2.7182818284590455e+00
> pow(-1.0000000000000002e+00 4.5035996273704970e+15) =0.0000000000000000e+00
> pow(9.9999999999999978e-01 4.5035996273704970e+15) = 3.6787944117144222e-01
> pow(-9.9999999999999978e-01 4.5035996273704970e+15) = 0.0000000000000000e+00
>
> which is incorrect for the negative arguments raised to an odd integer
> power.
>
> -----
> double pow (double, double);
>
> int
> main ()
> {
> double x, y, z;
>
> x = 1.0 + pow (2.0, -52.0);
> y = 1.0 + pow (2.0, 52.0);
> z = pow (x, y);
> printf ("pow(%.16e %.16e) = %.16e\n", x, y, z);
> x = -x;
> z = pow (x, y);
> printf ("pow(%.16e %.16e) = %.16e\n", x, y, z);
> x = 1.0 - pow (2.0, -52.0);
> z = pow (x, y);
> printf ("pow(%.16e %.16e) = %.16e\n", x, y, z);
> x = -x;
> z = pow (x, y);
> printf ("pow(%.16e %.16e) = %.16e\n", x, y, z);
> }
> -----
>
> Here is a patch for newlib/libm/math/epow.c:
Patch checked in and duplicated for ef_pow.c. Thanks.
-- Jeff J.
2008-09-15 04:31:30 +00:00
Ryan C. Gordon
3b3a1b8cdf
Merged r4082:4083 from branches/SDL-1.2: sparc64 crash fix.
2008-09-08 07:38:41 +00:00
Darren Alton
242cd3897b
Fixes to the NDS sprite2 test. Illustrates partially working texture-as-sprite functionality.
2008-09-06 04:31:34 +00:00
Darren Alton
6fb0102145
Initial work for NDS haptic support.
2008-09-06 00:10:16 +00:00
Edgar Simo
1e595453ac
Allow testing haptic devices by index.
2008-09-04 13:43:39 +00:00
Holmes Futrell
2f926dac88
Added SDL_GL_RETAINED_BACKING attribute to SDL_GLattr
2008-09-02 20:27:47 +00:00
Holmes Futrell
c6aae19257
Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
2008-09-02 20:22:05 +00:00
Holmes Futrell
916349a04f
Added support for OpenGL ES renderer
2008-09-02 20:19:45 +00:00
Holmes Futrell
0de9882579
Ran GNU indent on file
2008-09-02 20:11:06 +00:00
Holmes Futrell
32c4f213db
Rolling back changes to revision 4071 ... made some mistakes, will try merging work again.
2008-09-02 20:05:33 +00:00
Holmes Futrell
f69769dfa3
Added retained backing attribute, reference to UIKit renderer
2008-09-02 19:53:56 +00:00
Holmes Futrell
449f371859
This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
2008-09-02 02:44:45 +00:00
Holmes Futrell
850aff64b6
Added OpenGL ES support
2008-09-02 02:27:06 +00:00
Holmes Futrell
7aae720160
These files are similar in purpose and structure as SDL_renderer_gl.c and SDL_renderer_gl.h, except they use OpenGL ES 1.1 for rendering.
2008-09-02 00:37:04 +00:00