Commit graph

3719 commits

Author SHA1 Message Date
Sam Lantinga
cd68729bb4 Split out the Visual C++ 2005 and 2008 projects explicitly.
Added the test programs to the Visual C++ 2008 project.

--HG--
rename : VisualC/SDL/SDL.vcproj => VisualC/SDL/SDL_VS2005.vcproj
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
rename : VisualC/SDLmain/SDLmain.vcproj => VisualC/SDLmain/SDLmain_VS2005.vcproj
rename : VisualC/tests/automated/automated.vcproj => VisualC/tests/automated/automated_VS2008.vcproj
rename : VisualC/tests/checkkeys/checkkeys.vcproj => VisualC/tests/checkkeys/checkkeys_VS2005.vcproj
rename : VisualC/tests/graywin/graywin.vcproj => VisualC/tests/graywin/graywin_VS2005.vcproj
rename : VisualC/tests/loopwave/loopwave.vcproj => VisualC/tests/loopwave/loopwave_VS2005.vcproj
rename : VisualC/tests/testalpha/testalpha.vcproj => VisualC/tests/testalpha/testalpha_VS2005.vcproj
rename : VisualC/tests/testdraw2/testdraw2.vcproj => VisualC/tests/testdraw2/testdraw2_VS2005.vcproj
rename : VisualC/tests/testfile/testfile.vcproj => VisualC/tests/testfile/testfile_VS2005.vcproj
rename : VisualC/tests/testgamma/testgamma.vcproj => VisualC/tests/testgamma/testgamma_VS2005.vcproj
rename : VisualC/tests/testgl/testgl.vcproj => VisualC/tests/testgl/testgl_VS2005.vcproj
rename : VisualC/tests/testgl2/testgl2.vcproj => VisualC/tests/testgl2/testgl2_VS2005.vcproj
rename : VisualC/tests/testjoystick/testjoystick.vcproj => VisualC/tests/testjoystick/testjoystick_VS2005.vcproj
rename : VisualC/tests/testoverlay/testoverlay.vcproj => VisualC/tests/testoverlay/testoverlay_VS2005.vcproj
rename : VisualC/tests/testoverlay2/testoverlay2.vcproj => VisualC/tests/testoverlay2/testoverlay2_VS2005.vcproj
rename : VisualC/tests/testpalette/testpalette.vcproj => VisualC/tests/testpalette/testpalette_VS2005.vcproj
rename : VisualC/tests/testplatform/testplatform.vcproj => VisualC/tests/testplatform/testplatform_VS2005.vcproj
rename : VisualC/tests/testpower/testpower.vcproj => VisualC/tests/testpower/testpower_VS2005.vcproj
rename : VisualC/tests/testsprite/testsprite.vcproj => VisualC/tests/testsprite/testsprite_VS2005.vcproj
rename : VisualC/tests/testsprite2/testsprite2.vcproj => VisualC/tests/testsprite2/testsprite2_VS2005.vcproj
rename : VisualC/tests/testvidinfo/testvidinfo.vcproj => VisualC/tests/testvidinfo/testvidinfo_VS2005.vcproj
rename : VisualC/tests/testwin/testwin.vcproj => VisualC/tests/testwin/testwin_VS2005.vcproj
rename : VisualC/tests/testwm/testwm.vcproj => VisualC/tests/testwm/testwm_VS2005.vcproj
2010-07-05 17:10:34 -07:00
Sam Lantinga
e03c43c49b Fixed revision type for SDL 1.3 2010-07-05 13:10:47 -07:00
Sam Lantinga
02dc648ea2 Added missing file to the automated test project 2010-07-05 13:10:31 -07:00
Sam Lantinga
feac47e6de Make sure SDL gets installed to the correct prefix for the new cross-compiler tools. 2010-07-05 12:41:28 -07:00
Sam Lantinga
7ea6ef0d5a Fixed compile warning with latest mingw32 compiler 2010-07-05 12:32:44 -07:00
dewyatt
71f0192c59 Fixed window title (from GLTSF to GLIMM). 2010-07-04 06:15:42 -04:00
dewyatt
6d7e820588 Added Get_IMM method to Window.
Added focus gain/loss events for IMM.
2010-07-04 06:07:38 -04:00
Eli Gottlieb
a50bf48eac Added SDL_x11shape.h and removed unnecessary header includes from SDL_x11shape.c. This should help Andreas and Sam to compile the new code. 2010-07-02 12:05:47 -04:00
Eli Gottlieb
911e4c49b8 Added SDL_x11shape.h. 2010-07-02 12:02:18 -04:00
Sunny Sachanandani
f0e9e6ac76 Fix blending modes for primitives. 2010-07-01 07:35:15 +05:30
dewyatt
825ef53157 Added GLIMM (using IMM instead of TSF)
Uses small bit of TSF to fully disable cicero (TSF for non-TSF enabled apps)
2010-06-30 17:29:20 -04:00
Eli Gottlieb
ea29eee83c Finished X11 shaped-window functionality and removed ellipse+polygon rendering. 2010-06-30 16:19:44 -04:00
Paul Hunkin
26a7c00433 Code cleanup 2010-06-29 01:30:11 +12:00
Paul Hunkin
482a87c499 - Restructured threads and application structure.
- Moved to SurfaceView instead of GLSurfaceView
- Moved to C++ for the android library
2010-06-29 00:40:12 +12:00
Paul Hunkin
3ad2c1bdbf Last test version with GLSurface 2010-06-28 21:35:28 +12:00
Sam Lantinga
5f38782163 Typo in documentation 2010-06-27 23:17:36 -07:00
dewyatt
cbda698ad4 Added condition check macros to make the code clear and easier to debug.
Updated code to use macros.
2010-06-27 22:03:08 -04:00
Sunny Sachanandani
b8d6bdfa5a Preliminary support for blending modes on drawing operations. 2010-06-27 09:51:51 +05:30
Sam Lantinga
09f20dba54 Removed one more use of () 2010-06-26 08:58:06 -07:00
Sam Lantinga
95fbd50b15 Mostly cleaned up warnings with -Wmissing-prototypes 2010-06-26 08:56:48 -07:00
Sunny Sachanandani
d0033d15a1 Texture rendering mostly works now. Even SDL_TEXTUREACCESS_STREAMING is supported now with a little overhead. Scaling of textures happens using XRender. :D 2010-06-22 20:01:38 +05:30
Eli Gottlieb
2c8b1ce8f7 Added Andreas's fixes to the header and stub file for SDL_shape. 2010-06-21 23:08:10 -04:00
dewyatt
4b2cb56c12 Starting to implement ITextStoreACP.
It's very incomplete and will probably change quite a bit but it's a start.
ITextStoreACP is the minimum interface to be considered TSF-aware.
2010-06-21 17:16:37 -04:00
Eli Gottlieb
00e7bc8b93 Replaced the model of treating a window's shape as a render target with treating a window's shape as a surface passed into an SDL_SetWindowShape() function. I'll send this off to Andreas and Sam and start coding. 2010-06-19 23:10:57 -04:00
Jim Grandpre
06e66b928e Fixed bugs in input, cleaned up $1 2010-06-18 01:43:02 -04:00
Sam Lantinga
b46edfbdc6 Hello Sam.
I did fix/update the SDL 1.3 pandora port today ( 11 june 2010 ) and you can find the "hg diff" attached :)

David Carré ( Cpasjuste )
2010-06-17 22:23:20 -07:00
Sam Lantinga
8840de14d1 Fixed mouse focus window reporting
FIXME: Should the window be a parameter to the mouse events again?
2010-06-17 12:33:05 -07:00
Paul Hunkin
904e7b4511 Tweaks to the libsdl side 2010-06-18 01:29:14 +12:00
Paul Hunkin
d4cfca1cdb Added egl headers so we can use eglMakeCurrent() 2010-06-18 01:28:39 +12:00
Paul Hunkin
c67e5f7bcb Removed old video subsystem, along with (now-unncessary) egl files. 2010-06-18 00:03:09 +12:00
Paul Hunkin
2adfec26ab Testing out pthread support in android. Appears to work. 2010-06-18 00:02:13 +12:00
Paul Hunkin
5a619d67b2 Rotating pyramid! 2010-06-17 23:04:16 +12:00
Paul Hunkin
db5022f8c4 Added minimal test project 2010-06-17 22:19:27 +12:00
Jim Grandpre
66e6be2acd Added $1 gesture recognition.
Functional.
2010-06-17 03:41:27 -04:00
Sunny Sachanandani
3782e9a0c5 SDL_Textures should work with XRender now provided that the texture format and screen format match. This is only a temporary limitation. 2010-06-16 10:50:01 +05:30
Sunny Sachanandani
f499e5e7e5 X11_RenderDrawLines and X11_RenderDrawPoints use XRender now. 2010-06-15 19:10:06 +05:30
Jim Grandpre
f4e36d6a9b Started adding vectorization of touch data. 2010-06-15 02:12:16 -04:00
Sunny Sachanandani
bc858ad7cd X11_RenderFillRects and X11_RenderDrawRects use a server side mask pixmap of 1 bit depth now. All drawing on these pixmaps is done by server side functions such as XDrawRectangles and XFillRectangles. 2010-06-14 18:22:48 +05:30
Jim Grandpre
9610eb78b6 Just updated 2010-06-14 01:46:08 -04:00
Jim Grandpre
9452f337e9 Added gesture test c file. Beginning of gesture recognition. 2010-06-14 01:44:04 -04:00
dewyatt
4ec949ec5b Added support for On_Resized event to App.
Added OpenGL code to draw a rotating triangle.
Rearranged main loop code.
2010-06-12 03:21:54 -04:00
dewyatt
f5b3329281 Renamed Window::Update to Window::Handle_Events.
Removed Window::Clear.
Added Window::Show_Cursor/Hide_Cursor.
Added On_Resized event.
2010-06-12 03:19:43 -04:00
dewyatt
fca96b4c82 Added vs2008 project files for GLTSF (2008 is much faster on my old computer) 2010-06-11 18:32:18 -04:00
Eli Gottlieb
6cc179de3d Doxygen commenting is all finished up. 2010-06-10 17:50:38 -04:00
Eli Gottlieb
3389f25629 Stubbed out the new get/set parameter functions, added the start of the enum, union, and struct for those parameters themselves, and added doxygen comments throughout the SDL_shape.h header. 2010-06-10 17:37:19 -04:00
Paul Hunkin
a633daa196 Fixed #includes to fix naming conventions 2010-06-10 19:25:55 +12:00
Paul Hunkin
84cd073e6f Renamed some files to fit naming conventions
--HG--
rename : src/video/android/SDL_androidevents_c.h => src/video/android/SDL_androidevents.h
rename : src/video/android/SDL_androidrender_c.h => src/video/android/SDL_androidrender.h
2010-06-10 19:02:55 +12:00
Paul Hunkin
dc9ee5ef88 Added (partially implemented) android video backend and associated files needed to build 2010-06-10 18:54:23 +12:00
jimtla
cc8ad7be79 More fixes for windows. Disabled tablet code. 2010-06-10 00:15:17 -04:00
dewyatt
36437b89ca Added else to make things clear. 2010-06-09 21:36:32 -04:00