Sam Lantinga
738f971adb
Implemented translation from Android keycodes to SDL scancodes
2011-01-12 21:21:21 -08:00
Sam Lantinga
6e69fae33e
Added an extra line for consistency
2011-01-12 21:21:08 -08:00
Sam Lantinga
d6dc10e868
Improved error message for unsupported texture format
2011-01-12 19:33:04 -08:00
Sam Lantinga
0fa1d9fe61
More Android cleanup:
...
* Formalized the interface with Java methods in SDL_android.h
* We don't need the feature system, at least right now
* Fixed waiting for the SDLMain thread
2011-01-12 17:53:06 -08:00
Sam Lantinga
36207555fb
Set blend mode for textures that were created from surfaces with a colorkey
2011-01-12 15:58:53 -08:00
Sam Lantinga
ce6f23bcc6
Renderer didn't advertise texture format SDL_PIXELFORMAT_ABGR8888
2011-01-12 15:42:26 -08:00
Sam Lantinga
aaa6a02fb0
Fixed blue-red channel swap in OpenGL ES 16-bit texture formats
2011-01-12 15:23:19 -08:00
Sam Lantinga
a4231ad5d8
Support the new 16-bit pixel formats in SDL_CreateTextureFromSurface()
2011-01-12 15:22:29 -08:00
Sam Lantinga
067058ff3a
Support the new 16-bit formats in SDL_MasksToPixelFormatEnum()
2011-01-12 15:21:12 -08:00
Sam Lantinga
fdea37a756
Added some missing pixel formats and SDL_GetPixelFormatName()
2011-01-12 14:53:23 -08:00
Sam Lantinga
25101525df
Fill in the video mode with the correct screen format
2011-01-12 14:29:01 -08:00
Sam Lantinga
a410db1ae6
A bit of cleanup in the Android driver
2011-01-12 13:52:41 -08:00
Sam Lantinga
74b33811bd
Added SDL errors to the Android log stream if DEBUG_ERROR is defined
2011-01-12 13:52:27 -08:00
Sam Lantinga
835dde1a18
You can't change the resolution on some devices
2011-01-12 13:46:37 -08:00
Sam Lantinga
9ec38356d0
Use a valid window when creating the default renderer
2011-01-12 13:38:10 -08:00
Sam Lantinga
ca871fdc4b
Fixed return value
2011-01-07 09:53:08 -08:00
Sam Lantinga
606b0cda7f
Build the SDL library as a shared object on Android, so it will work correctly with SDL_image and SDL_ttf.
2011-01-06 16:11:21 -08:00
Sam Lantinga
e92a0428c3
Fixed screen texture format on Android
...
I think this also fixes some of the red/blue channel swap bugs reported on iPhone.
2011-01-05 00:09:19 -08:00
Sam Lantinga
63925f3c8f
Fixed 2D video on Android
...
There was a dummy renderer left in there which was overriding the OpenGL ES renderer.
2011-01-04 20:36:39 -08:00
Sam Lantinga
fc43aba7be
Don't continually print stub message for testgles
2011-01-04 20:30:54 -08:00
Sam Lantinga
c7c6cb464a
The source rectangle isn't modified in SDL_UpperBlit
2011-01-04 10:19:24 -08:00
Sam Lantinga
0398104662
Fixed crash on Windows XP
2011-01-03 14:39:41 -08:00
Sam Lantinga
794752a10c
Fixed trying to create an XRender texture for YUV formats
2011-01-01 20:46:39 -08:00
Sam Lantinga
3927b4a33c
Final touches on renaming SDL_eventtouch to SDL_x11touch
2011-01-01 20:04:50 -08:00
Sam Lantinga
124315bff4
I am using SDL 1.3 on FreeBSD. I found two problems.
...
(1) SDL_atomic dummy version in SDL 1.3 is not used.
Because src/atomic/dummy/*.c are not used.
(2) Typo in src/joystick/bsd/SDL_sysjoystick.c.
Thanks,
IWATSUKI Hiroyuki
2011-01-01 19:50:50 -08:00
Sam Lantinga
35a1f5fbe0
Fixed restoring the desktop resolution when toggling fullscreen mode
2011-01-01 16:41:29 -08:00
Sam Lantinga
2ccdb31cb2
Fixed compiling on Android
2010-12-31 16:51:03 -08:00
Sam Lantinga
56d603e6e1
Don't crash when resizing non-shaped windows
2010-12-31 08:50:06 -08:00
Sam Lantinga
9854e3dd2d
Fixed compiling X11 touch interface
2010-12-30 13:21:39 -08:00
Sam Lantinga
85637106eb
Hopefully fix X11 compile error
2010-12-30 10:45:36 -08:00
Sam Lantinga
cd31bd4a56
Removed carriage returns
2010-12-29 15:23:54 -08:00
Sam Lantinga
35cc558917
Use the enumerated type for blend and scale mode instead of int
...
Renamed SDL_TextureScaleMode to SDL_ScaleMode
2010-12-12 15:19:05 -08:00
Sam Lantinga
0893ec9ce4
Fixed touch events on Mac OS X 10.6
2010-12-02 11:56:23 -08:00
Sam Lantinga
091cd521e3
Removed support for 10.3.9
...
Fixed building on Mac OS X 10.5
2010-12-01 12:23:16 -08:00
Sam Lantinga
556d9a92c2
Renamed X11 touch files for consistency
...
--HG--
rename : src/video/x11/SDL_eventtouch.c => src/video/x11/SDL_x11touch.c
rename : src/video/x11/SDL_eventtouch.h => src/video/x11/SDL_x11touch.h
2010-12-01 12:17:12 -08:00
Sam Lantinga
3d9620ed0a
Fixed massive stack memory usage in the gesture functions
2010-11-30 18:07:31 -08:00
Sam Lantinga
56c7ba92fb
First pass at Windows multi-touch gesture support
2010-11-30 17:58:51 -08:00
Daniel Wyatt
3dea87cdc7
Better horizontal candidate list rendering.
...
Added horzcandspacing constant to add space between horizontal candidates.
2010-11-28 22:30:16 -05:00
Jjgod Jiang
4312d18cf7
Fix right mouse event handling in Cocoa
...
NSView in Cocoa has a different event handling procedure for
right mouse events (rightMouseDown: etc.)
2010-05-09 12:58:58 +08:00
Daniel Wyatt
10fe7475a2
Code style updates.
2010-11-23 20:29:45 -05:00
Daniel Wyatt
423b30c5df
Windows candidate list support.
...
Candidate list should now be drawn and function normally.
Tested in XP and 7.
2010-11-23 17:46:47 -05:00
Daniel Wyatt
86c3638a9b
Add variables needed for win32 candidate list support.
2010-11-23 17:44:10 -05:00
Daniel Wyatt
f896125696
Add ITfCandidateListUIElement to SDL_msctf.h for MinGW.
2010-11-23 17:43:10 -05:00
Andreas Schiffler
ea576e6386
Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
...
--HG--
rename : VisualC/tests/automated/automated.vcxproj => VisualC/tests/automated/automated_VS2010.vcxproj
rename : VisualC/tests/checkkeys/checkkeys.vcxproj => VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj
rename : VisualC/tests/graywin/graywin.vcxproj => VisualC/tests/graywin/graywin_VS2010.vcxproj
rename : VisualC/tests/loopwave/loopwave.vcxproj => VisualC/tests/loopwave/loopwave_VS2010.vcxproj
rename : VisualC/tests/testalpha/testalpha.vcxproj => VisualC/tests/testalpha/testalpha_VS2010.vcxproj
rename : VisualC/tests/testdraw2/testdraw2.vcxproj => VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj
rename : VisualC/tests/testfile/testfile.vcxproj => VisualC/tests/testfile/testfile_VS2010.vcxproj
rename : VisualC/tests/testgamma/testgamma.vcxproj => VisualC/tests/testgamma/testgamma_VS2010.vcxproj
rename : VisualC/tests/testgl/testgl.vcxproj => VisualC/tests/testgl/testgl_VS2010.vcxproj
rename : VisualC/tests/testgl2/testgl2.vcxproj => VisualC/tests/testgl2/testgl2_VS2010.vcxproj
rename : VisualC/tests/testjoystick/testjoystick.vcxproj => VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj
rename : VisualC/tests/testoverlay/testoverlay.vcxproj => VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj
rename : VisualC/tests/testoverlay2/testoverlay2.vcxproj => VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj
rename : VisualC/tests/testpalette/testpalette.vcxproj => VisualC/tests/testpalette/testpalette_VS2010.vcxproj
rename : VisualC/tests/testplatform/testplatform.vcxproj => VisualC/tests/testplatform/testplatform_VS2010.vcxproj
rename : VisualC/tests/testpower/testpower.vcxproj => VisualC/tests/testpower/testpower_VS2010.vcxproj
rename : VisualC/tests/testshape/testshape.vcproj => VisualC/tests/testshape/testshape_VS2008.vcproj
rename : VisualC/tests/testshape/testshape.vcxproj => VisualC/tests/testshape/testshape_VS2010.vcxproj
rename : VisualC/tests/testsprite/testsprite.vcxproj => VisualC/tests/testsprite/testsprite_VS2010.vcxproj
rename : VisualC/tests/testsprite2/testsprite2.vcxproj => VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj
rename : VisualC/tests/testvidinfo/testvidinfo.vcxproj => VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj
rename : VisualC/tests/testwin/testwin.vcxproj => VisualC/tests/testwin/testwin_VS2010.vcxproj
rename : VisualC/tests/testwm/testwm.vcxproj => VisualC/tests/testwm/testwm_VS2010.vcxproj
2010-11-19 21:51:33 -08:00
Daniel Wyatt
8cc72d1d79
Use SDL endian macros in libm.
...
This fixes problems (specifically with SDL_floor) for systems where __BYTE_ORDER is not defined.
2010-11-16 13:24:55 -05:00
Andreas Schiffler
d1159d9a1b
Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX builds.
...
--
user: Andreas Schiffler <aschiffler@ferzkopp.net>
branch 'default'
changed include/SDL_config_macosx.h
changed src/video/cocoa/SDL_cocoashape.m
2010-11-16 07:03:26 -08:00
Sam Lantinga
fa1e7172fc
This fixes some keyboard defs for Haiku.
...
From: François Revol <revol@free.fr>
Checked By: Scott McCreary <scottmc2@gmail.com>
2010-10-16 17:15:19 -07:00
Sam Lantinga
6340df79b2
This fixes SDL_renderer_gl so that it builds with c89.
...
From: François Revol <revol@free.fr>
Checked By: Scott McCreary <scottmc2@gmail.com>
2010-10-16 17:14:04 -07:00
Sam Lantinga
2b7c14949b
Removed debug output
2010-10-10 15:45:58 -07:00
Sam Lantinga
3189c43f85
Make the union nameless to reduce the complexity of the API.
...
(Are there any compilers still in use that don't support this?)
2010-09-29 21:13:52 -07:00