Commit graph

3035 commits

Author SHA1 Message Date
Sunny Sachanandani
d96742b024 Fixed a huge bug with texture scaling. 2010-08-02 11:13:40 +05:30
Jim Grandpre
a4c4851398 Fixed some Gesture bugs 2010-08-02 00:14:53 -04:00
Eli Gottlieb
6c23f8c602 Fixed a couple of bugs in the general and X11 shape code, and fixed a bug in testshape that was keeping it from recognizing surfaces without alpha. Thanks to Andreas's bit-bashing tip, X11 shaped windows now work entirely, AFAICT. 2010-08-01 21:10:42 -04:00
Sam Lantinga
2a8820a2a9 Fixed sending motion and finger up events 2010-07-31 20:55:33 -07:00
Sam Lantinga
b7caec8ae2 Fixed various type and print format issues 2010-07-31 20:38:37 -07:00
jimtla
39ee818f98 Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working). 2010-07-31 20:02:54 +04:00
jimtla
598471cf71 Added Iphone project. Iphone multi-touch is now functional. 2010-07-31 01:24:50 +04:00
jimtla
c9b9312be3 Upgraded touchId/fingerId to long. Changed position variables to floats. 2010-07-30 23:18:35 +04:00
Sam Lantinga
4d435bce47 When querying the display size for a fullscreen window, the display size is the size of the fullscreen video mode. 2010-07-30 00:55:00 -07:00
Sam Lantinga
7685a1892c Documentation updates 2010-07-29 20:24:05 -07:00
Eli Gottlieb
d5e0ecb0f0 Added Andreas's patch to fix my silly C++-style errors. 2010-07-29 22:57:39 -04:00
Eli Gottlieb
980298285c Added the header to the repo. Oops. 2010-07-29 12:49:17 -04:00
Jim Grandpre
6ed8759bcc Added better logging 2010-07-29 12:26:59 -04:00
Jim Grandpre
a4a0897a1d Prevented SDL_SendDown from sending on nonexistent touch devices. 2010-07-29 12:24:34 -04:00
Sam Lantinga
73db548db1 Fixed the code so we receive Cocoa touch events 2010-07-28 23:32:13 -07:00
Eli Gottlieb
9a3f51f3c5 Wrote out the system for breaking shape-masks into quad-trees of rectangles, and added code to conglomerate those quad-trees of rectangles into regions for setting shapes under Win32. 2010-07-28 23:35:24 -04:00
Sunny Sachanandani
dd3e79b2df Oops! 2010-07-28 15:35:18 +05:30
Sunny Sachanandani
09828c4620 Depend on XRender version 0.10 or above and XFixes version 2.0 or above. Moved these dependency checks into CheckXRender() and CheckXFixes(). 2010-07-28 15:33:28 +05:30
Sunny Sachanandani
1771e1fe4a Set the default XRender filter to "fast". testoverlay2 works now. 2010-07-28 15:13:16 +05:30
Sam Lantinga
0a74c700e4 Fixed compiling without XRender enabled 2010-07-28 01:14:48 -07:00
Sam Lantinga
a8d497359f Moved brace to the beginning of the line for the beginning of functions 2010-07-28 01:05:58 -07:00
Sam Lantinga
d8e7cebd11 Merged Sunny's XRender changes from SDL-gsoc2010_xrender 2010-07-28 00:54:23 -07:00
Sunny Sachanandani
b277b530a1 Add some comments. 2010-07-28 13:08:14 +05:30
Sunny Sachanandani
457eb7e007 Add support for texture modulation (both color and alpha). testsprite2 works now with --cyclealpha and --cyclecolor. 2010-07-28 11:56:17 +05:30
Sam Lantinga
8d14ec12cc Andrey A.
I made a video driver GAPI/RAW for WinCE (SDL-1.3).
RAW mode has a priority, and also, GAPI mode works with environment
"SDL_VIDEO_RENDERER=gapi" and for RAW mode "SDL_VIDEO_RENDERER=raw".

I checked the work on the screens of VGA, WVGA, QVGA, WQVGA, HVGA,
 + tested all modes with WindowsMobile Emulator.

Also, correctly draws the pointer position and the scale of the pointer
for VGA/WVGA modes,
correctly draws top left position for DM orientation screen, and
portrait/landscape/square geometry the screen also correct.

Also, I added a small fix for GDI fullscreen mode.

Patch for latest revision SDL-1.3 in an attachment.
Also added small path for mingw32ce build.
2010-07-27 21:31:28 -07:00
Paul Hunkin
ef47472280 - Cleaned up a bunch of code
- Added 'feature' enable/disable so we're not running accel/sound/whatever in Java when we don't need to be
- More work on the sound system. But it still crashes pretty horribly, not sure why yet.
2010-07-27 21:21:24 +02:00
Paul Hunkin
9ac4bd2a17 Added accelerometer 'joystick' 2010-07-27 21:20:17 +02:00
jimtla
dafed2a5ce Added cocoatouch.h 2010-07-27 18:14:09 +04:00
Paul Hunkin
56e126ff14 Added stub android sound system 2010-07-27 11:34:43 +02:00
Paul Hunkin
088b758125 Added resize hander stub and initial screen size setter 2010-07-27 10:49:11 +02:00
Eli Gottlieb
807e0c5cca Working on Cocoa implementation. 2010-07-26 21:48:53 -04:00
jimtla
926bfd4056 Finished (untested) OS X code. 2010-07-27 05:21:24 +04:00
Eli Gottlieb
01cddf42c7 OK, it appears that dramatic hacks are not necessary to make Cocoa work... 2010-07-26 20:41:45 -04:00
Eli Gottlieb
155833dd81 Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself. 2010-07-26 17:27:04 -04:00
jimtla
f2cbd1683a Added preliminary touch code to SDL_cocoakeyboard.m 2010-07-24 22:28:38 +04:00
Sam Lantinga
4e19d730a1 Couriersud to Sam
I have done some quick changes and at least the code compiles again. It
also works with a number of the test executables with the DFB X11
backend. I hope to find time to get SDLMAME to work with latest SDL1.3
(i.e. rip out multi-keyboard, multi-mice & cursor support) next week to
test it further.

Regards,

André
2010-07-23 21:33:00 -07:00
Eli Gottlieb
6cc1b97fc5 More work on color-key mode. 2010-07-23 01:48:42 -04:00
Sam Lantinga
b0a24ac840 Daniel Wyatt to slouken
I also found a bug in the non-printable character fix.
In SDL_keyboard.c:SDL_SendKeyboardText:
    if (*text < ' ' || *text == 127) {
needs to be:
    if ((unsigned char)*text < ' ' || *text == 127) {

Otherwise bytes >= 128 will be considered non-printable.
2010-07-22 22:09:04 -07:00
Eli Gottlieb
abb4ad73c5 Added color-key mode and redid the code to work with it. 2010-07-22 23:11:01 -04:00
Sunny Sachanandani
fc86a602cf Fixed drawing rectangles. X is evil! 2010-07-22 16:00:18 +05:30
Sunny Sachanandani
d0ac065342 Code cleanup. 2010-07-22 12:08:33 +05:30
Sunny Sachanandani
30e8d22c80 Remove debugging code. 2010-07-22 11:55:32 +05:30
Sunny Sachanandani
f517fdfa39 Advertise support for all supported texture formats. 2010-07-22 10:53:41 +05:30
Sam Lantinga
106aea6ed1 Fixed memory corruption on AMD64 2010-07-21 21:53:41 -07:00
Sam Lantinga
5d2b7ba68b Fixed key repeat detection on X11, and simplified the code for everyone else. 2010-07-21 21:47:12 -07:00
jimtla
c1e63cf801 Fixed x11 compile bugs. 2010-07-22 08:12:28 +04:00
Sunny Sachanandani
5bb07d5c28 Advertise support for blending modes and scaling modes in the render driver. 2010-07-21 23:18:53 +05:30
Sunny Sachanandani
4915ca0980 Make the SW renderer work properly by fixing support for textures with no alpha channels. 2010-07-21 23:08:09 +05:30
Sunny Sachanandani
9684366030 Fix cleanup functions. 2010-07-21 18:38:40 +05:30
Sunny Sachanandani
23d259b82e Fix X11_DisplayModeChanged. 2010-07-21 18:33:13 +05:30