Sam Lantinga
e4c73114dc
In the process of adding rectangle drawing
...
--HG--
rename : src/video/SDL_blendrect.c => src/video/SDL_blendfillrect.c
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404343
2009-12-18 07:03:09 +00:00
Sam Lantinga
c7fe958b6e
Fixed compile error on Windows.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404341
2009-12-17 07:47:03 +00:00
Sam Lantinga
0833d1cda2
Updated test code to use SDL_setenv()
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404340
2009-12-17 07:46:13 +00:00
Sam Lantinga
a9012609d3
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.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404339
2009-12-17 07:22:48 +00:00
Sam Lantinga
b634dea37a
Fixed bug #841
...
The redefinition of M_PI is no longer necessary...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404338
2009-12-17 06:08:20 +00:00
Sam Lantinga
8df92cace1
Fixed bug #843
...
Fixed colorkey comparison for 24 bits-per-pixel modes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404337
2009-12-17 05:57:37 +00:00
Sam Lantinga
8c0b853255
Implemented 64-bit version of cpuid code
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404336
2009-12-17 04:01:29 +00:00
Sam Lantinga
0624fd8333
Added support for querying the number of CPUs available on Linux. This also happens to work on Mac OS X.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404335
2009-12-17 03:04:04 +00:00
Ryan C. Gordon
8b304825b5
Initial band-aids on SDL_GetMouseState() API breakage. More work to come.
...
Fixes Bugzilla #758 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404334
2009-12-16 19:50:51 +00:00
Sam Lantinga
691ee6f7c0
Fixed cpuid assembly to work on PIC code
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404333
2009-12-16 16:42:04 +00:00
Sam Lantinga
c825464c2f
Allocate memory only if we're going to overwrite an environment variable
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404332
2009-12-16 16:08:17 +00:00
Ryan C. Gordon
510c961476
Updated svn:ignore.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404331
2009-12-16 11:03:38 +00:00
Ryan C. Gordon
791f5dbce4
Implemented SDL_setenv(), moved SDL_putenv() to compat.
...
Fixes Bugzilla #779 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404330
2009-12-16 10:59:51 +00:00
Sam Lantinga
034bfdf70d
Implemented Windows version of SDL_GetCPUCount()
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404329
2009-12-16 08:17:05 +00:00
Sam Lantinga
29601c280b
Added SDL_GetCPUCount() to see how many cores are available.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404328
2009-12-16 06:53:53 +00:00
Sam Lantinga
3f0f9188ed
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.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404327
2009-12-16 04:48:11 +00:00
Sam Lantinga
83fbb6981f
Fixed bug #736
...
Don't use the SSE cache instruction in MMX code if SSE isn't available. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404326
2009-12-16 03:02:31 +00:00
Sam Lantinga
777b877a72
Added testfill to test raw fill performance
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404325
2009-12-16 02:08:59 +00:00
Sam Lantinga
ad28ede924
Nuffin'
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404324
2009-12-16 01:19:58 +00:00
Sam Lantinga
62991bd546
Fixed bug #685
...
Added missing keysym shortcuts
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404323
2009-12-16 01:06:48 +00:00
Sam Lantinga
21ee5c056f
Fixed bug #666
...
Don't let the event queue overflow with resize events
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404322
2009-12-16 00:55:33 +00:00
Sam Lantinga
1ca4e2cee3
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.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404321
2009-12-16 00:44:53 +00:00
Sam Lantinga
240b5fcaab
Default to allow either accelerated or not
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404320
2009-12-15 20:53:09 +00:00
Sam Lantinga
fe2b42f86c
OpenGL hardware acceleration defaults on
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404319
2009-12-15 20:36:31 +00:00
Sam Lantinga
abec9e44fa
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.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404318
2009-12-15 20:14:50 +00:00
Sam Lantinga
ddbeadf670
Fixed bug #818
...
Daniele Forghieri 2009-10-12 02:52:02 PDT
Updated makefile & Doc for Open Watcom 1.8
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404317
2009-12-15 20:11:29 +00:00
Ryan C. Gordon
820021226c
Added a warning comment to SDL_putenv().
...
"Fixes" Bugzilla #779 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404316
2009-12-15 18:00:16 +00:00
Sam Lantinga
08bbf9ac95
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.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404315
2009-12-15 09:20:10 +00:00
Sam Lantinga
fb16cf8cac
Fixed bug #906
...
Added better error reporting for OpenGL context creation failing.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404314
2009-12-15 08:11:06 +00:00
Sam Lantinga
9f5a112e87
Add a dummy function if SDL doesn't have STDIO support
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404313
2009-12-15 05:34:58 +00:00
Sam Lantinga
db04a493f2
Added notes from e-mail on desktop window implementation
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404312
2009-12-15 02:16:01 +00:00
Sam Lantinga
e4877f62c1
Need to test the multi-draw APIs
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404311
2009-12-15 00:00:30 +00:00
Sam Lantinga
a7733bcb17
Added svn checkout install step
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404310
2009-12-14 23:43:57 +00:00
Sam Lantinga
0158b925d3
The SDL 1.3 tests have been cleaned up not to include any 1.2 compatibility code.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404309
2009-12-14 23:29:37 +00:00
Sam Lantinga
1bd0c772d9
Implemented read/write pixels for the X11 renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404307
2009-12-14 06:52:17 +00:00
Sam Lantinga
c2767e72dd
Added a test to check the read/write pixels API
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404306
2009-12-14 06:35:59 +00:00
Sam Lantinga
9ea9c7518d
Added support for SDL_PIXELFORMAT_RGB24 and SDL_PIXELFORMAT_BGR24 to SDL_PixelFormatEnumToMasks()
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404305
2009-12-14 06:35:27 +00:00
Sam Lantinga
e8b8ea1e0a
Added a BLENDMODE_MASK pixel shader so render tests succeed
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404304
2009-12-14 04:19:00 +00:00
Sam Lantinga
21611bcf67
The SDL_PaletteWatch structure is really internal-only.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404303
2009-12-13 08:00:25 +00:00
Sam Lantinga
e0e5f49b6a
Name the audio callback for documentation clarity.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404302
2009-12-13 06:21:22 +00:00
Sam Lantinga
29aecb01bf
Note that the WritePixels call is unsupported right now.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404301
2009-12-13 06:19:32 +00:00
Sam Lantinga
9b0681272d
Fixed windows.h include
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404300
2009-12-13 05:37:06 +00:00
Sam Lantinga
c43ba5edd7
Fixed line drawing for D3D
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404299
2009-12-12 20:31:28 +00:00
Sam Lantinga
4b9d4ff36a
Minor documentation fix
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404298
2009-12-12 20:30:25 +00:00
Sam Lantinga
15e7c4789c
Finished implementing RenderReadPixels()
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404297
2009-12-12 04:01:40 +00:00
Sam Lantinga
d122df1db0
Removed the obsolete testcdrom target
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404296
2009-12-12 01:04:57 +00:00
Sam Lantinga
3be3a8db09
Fixed building on iPhone
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404295
2009-12-12 00:55:13 +00:00
Sam Lantinga
9888012562
Allow points to be outside the window bounds, stress testing the clipping code.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404294
2009-12-12 00:08:45 +00:00
Sam Lantinga
0e0b96d72f
Added mouse position for button handling
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404293
2009-12-12 00:08:02 +00:00
Sam Lantinga
279b20b6d6
minor notes to self
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404292
2009-12-12 00:07:26 +00:00