Ryan C. Gordon
b2a30cdcb1
Merged r3808:3809 from branches/SDL-1.2: install_name_tool fix for fatbuild.sh.
2010-01-06 06:44:23 +00:00
Ryan C. Gordon
f498df4891
Merged r3787:3788 from branches/SDL-1.2: better failures for joystick opening.
2010-01-06 06:40:16 +00:00
Sam Lantinga
2ce50c80a2
Fixed GL_RenderWritePixels() - thanks Ryan!
2010-01-06 06:12:01 +00:00
Sam Lantinga
8eaf7c78b9
Fixed bug #924
...
Only use sysconf if _SC_NPROCESSORS_ONLN is available. Fortunately the case for this was Mac OS X 10.4, which has sysctlbyname()
2010-01-06 04:33:31 +00:00
Sam Lantinga
4386417754
We're using GNU recursive mutexes
2009-12-30 19:48:23 +00:00
Sam Lantinga
dca29a1b79
Fixed bug #915
...
GNU-isms should be avoided wherever possible for portability, please avoid the use of GNU-isms in your code, this may be problematic when using this library in projects which use non-GNU-compliant compilers.
2009-12-30 19:38:08 +00:00
Sam Lantinga
25ddd3c390
Removed in the interest of actually finishing 1.3. :)
...
They can be done later, either by me or by someone else.
2009-12-30 19:10:41 +00:00
Ryan C. Gordon
d3cffb3167
Fixed buffer overflows in resamplers.
...
I'm not confident this is a complete fix, but I'm not confident the current
resamplers are really worth keeping at all, either.
2009-12-28 08:28:24 +00:00
Sam Lantinga
6491208ef7
Added missing include for stdio
2009-12-24 21:00:42 +00:00
Sam Lantinga
4c1edf5a4e
Updated to include new files
2009-12-24 19:18:41 +00:00
Sam Lantinga
a29c410b7e
Updated to compile on Windows
2009-12-24 19:18:05 +00:00
Sam Lantinga
5837d39cf6
Added rectangle test
2009-12-24 19:16:08 +00:00
Sam Lantinga
d3a2d0d8b7
Fixed bug #912
...
SDL_MasksToPixelFormatEnum() wasn't correctly returning RGB24 formats
2009-12-23 06:39:18 +00:00
Sam Lantinga
c3629ff44a
Added SDL_RenderClear() as a fast method of clearing the screen to the drawing color.
...
Renamed SDL_RenderPoint() and SDL_RenderLine() to SDL_RenderDrawPoint() and SDL_RenderDrawLine().
Added API for rectangle drawing (as opposed to filling)
Added placeholder API functions for circles and ellipses ... I'm not sure whether these will stay.
Optimized software line drawing quite a bit.
Added support for Wu's anti-aliased line drawing, currently disabled by default.
2009-12-23 01:55:00 +00:00
Sam Lantinga
787e704e24
Make it possible to slim SDL down quite a bit for people who just want OpenGL
2009-12-18 08:19:18 +00:00
Sam Lantinga
1d00894214
Added SDL_DrawRect(), SDL_DrawRects(), SDL_BlendRect() and SDL_BlendRects()
...
Fixed line drawing so when blending a sequence of lines there are no overlapping pixels drawn.
2009-12-18 07:41:59 +00:00
Sam Lantinga
786e01f737
In the process of adding rectangle drawing
2009-12-18 07:03:09 +00:00
Sam Lantinga
5ba602a897
Fixed compile error on Windows.
2009-12-17 07:47:03 +00:00
Sam Lantinga
ab09986ef7
Updated test code to use SDL_setenv()
2009-12-17 07:46:13 +00:00
Sam Lantinga
3fc0e26901
Fixed crash in joystick handling code. Newer 2.6 kernels add an additional 'resolution' field to input_absinfo. Note that we don't use that structure since we want to have enough space for the values even when building with an older kernel.
2009-12-17 07:22:48 +00:00
Sam Lantinga
ba9b7bf6ff
Fixed bug #841
...
The redefinition of M_PI is no longer necessary...
2009-12-17 06:08:20 +00:00
Sam Lantinga
d7affbbbaa
Fixed bug #843
...
Fixed colorkey comparison for 24 bits-per-pixel modes
2009-12-17 05:57:37 +00:00
Sam Lantinga
be4c0844af
Implemented 64-bit version of cpuid code
2009-12-17 04:01:29 +00:00
Sam Lantinga
4a157f0629
Added support for querying the number of CPUs available on Linux. This also happens to work on Mac OS X.
2009-12-17 03:04:04 +00:00
Ryan C. Gordon
61382a9f93
Initial band-aids on SDL_GetMouseState() API breakage. More work to come.
...
Fixes Bugzilla #758 .
2009-12-16 19:50:51 +00:00
Sam Lantinga
c7df2f4089
Fixed cpuid assembly to work on PIC code
2009-12-16 16:42:04 +00:00
Sam Lantinga
438cca0d46
Allocate memory only if we're going to overwrite an environment variable
2009-12-16 16:08:17 +00:00
Ryan C. Gordon
66f3dfdcab
Updated svn:ignore.
2009-12-16 11:03:38 +00:00
Ryan C. Gordon
f644ae86a9
Implemented SDL_setenv(), moved SDL_putenv() to compat.
...
Fixes Bugzilla #779 .
2009-12-16 10:59:51 +00:00
Sam Lantinga
76f674f021
Implemented Windows version of SDL_GetCPUCount()
2009-12-16 08:17:05 +00:00
Sam Lantinga
dc1ed9e7ef
Added SDL_GetCPUCount() to see how many cores are available.
2009-12-16 06:53:53 +00:00
Sam Lantinga
75e75ae0c3
Fixed bug #741
...
The thread ID is an unsigned long so it can hold pthread_t so people can do naughty things with it.
I'm going to be adding additional useful thread API functions, but this should prevent crashes in people's existing code on 64-bit architectures.
2009-12-16 04:48:11 +00:00
Sam Lantinga
1a0cbf83f1
Fixed bug #736
...
Don't use the SSE cache instruction in MMX code if SSE isn't available. :)
2009-12-16 03:02:31 +00:00
Sam Lantinga
b06c70e89d
Added testfill to test raw fill performance
2009-12-16 02:08:59 +00:00
Sam Lantinga
e8d7dbce07
Nuffin'
2009-12-16 01:19:58 +00:00
Sam Lantinga
6484431a44
Fixed bug #685
...
Added missing keysym shortcuts
2009-12-16 01:06:48 +00:00
Sam Lantinga
587ab6b056
Fixed bug #666
...
Don't let the event queue overflow with resize events
2009-12-16 00:55:33 +00:00
Sam Lantinga
fbcae020cf
Fixed bug #642
...
Gerry JJ 2008-11-09 02:11:49 PST
The SDL_MouseMotionEvent struct has a field named "tilt" (currently marked "for
future use"), for tablet stylus tilt information. However, one value is not
enough for this, as tilt is two-dimensional. Reserving only one field for
future use is no good when you're going to need two, so there should be two
fields, tilt_x and tilt_y.
2009-12-16 00:44:53 +00:00
Sam Lantinga
e250d2e0f5
Default to allow either accelerated or not
2009-12-15 20:53:09 +00:00
Sam Lantinga
0493dd19b1
OpenGL hardware acceleration defaults on
2009-12-15 20:36:31 +00:00
Sam Lantinga
a4cb5a9a72
Fixed bug #815
...
Daniele Forghieri 2009-10-12 02:57:03 PDT
Patch to use stdlib.h with Open Watcom
Open Watcom 1.8 has <stdlib.h> so instead of patch the single part when stdlib
features are used we use directly the include file as with GCC.
2009-12-15 20:14:50 +00:00
Sam Lantinga
d5f47bca6d
Fixed bug #818
...
Daniele Forghieri 2009-10-12 02:52:02 PDT
Updated makefile & Doc for Open Watcom 1.8
2009-12-15 20:11:29 +00:00
Ryan C. Gordon
59ea17f263
Added a warning comment to SDL_putenv().
...
"Fixes" Bugzilla #779 .
2009-12-15 18:00:16 +00:00
Sam Lantinga
fbbac023cd
Fixed bug #905
...
Give the foreign window message proc more control over Windows events.
This may need to be adjusted when we add the capability for the app to specify whether it wants SDL to handle input for the window or not.
2009-12-15 09:20:10 +00:00
Sam Lantinga
1a1477bcc6
Fixed bug #906
...
Added better error reporting for OpenGL context creation failing.
2009-12-15 08:11:06 +00:00
Sam Lantinga
df50338fda
Add a dummy function if SDL doesn't have STDIO support
2009-12-15 05:34:58 +00:00
Sam Lantinga
bb095c6df0
Added notes from e-mail on desktop window implementation
2009-12-15 02:16:01 +00:00
Sam Lantinga
708f44d4d1
Need to test the multi-draw APIs
2009-12-15 00:00:30 +00:00
Sam Lantinga
ceba80cfd0
Added svn checkout install step
2009-12-14 23:43:57 +00:00
Sam Lantinga
2ac49a53bd
The SDL 1.3 tests have been cleaned up not to include any 1.2 compatibility code.
2009-12-14 23:29:37 +00:00