Commit graph

3761 commits

Author SHA1 Message Date
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
dewyatt
649b23090a Added On_Char method to Window_Listener for WM_CHAR messages.
Removed a lot of TSF code because part of it was wrong and part was too complicated.
Added Clear method to clear the window.

IME input should work in both windowed mode and fullscreen mode with these changes.
I have tested on Windows XP SP3 and Windows 7 Ultimate in VirtualBox.
When you type a character (with an IME or not), the console will show the code point as U+XXXX.
You use Left Alt+Shift (or whatever you have it set to) to switch input languages as usual.
Hit ESC to exit (or close the window in windowed mode).
The program will pause before exiting so you can review the console output (press a key to exit).
2010-06-09 00:03:54 -04:00
Sunny Sachanandani
843724af72 X11_DrawRects now uses a very hacky way of drawing rectangles with XRender. This will be improved in some time. 2010-06-08 19:26:32 +05:30
dewyatt
52def78851 Change SDL to not use DefWindowProc as the window class' window procedure.
For some reason, having lpfnWndProc=DefWindowProc during window class registration causes IME input to not work in windows.
With this small change, IME input should now work in SDL windows but not in fullscreen mode.
2010-06-08 05:22:49 -04:00
Sam Lantinga
82f6deccfd Fixed wording for consistency 2010-06-06 21:09:45 -07:00
Eli Gottlieb
350a2b464e Fixed names of driver-specific implementation files. 2010-06-05 15:12:27 -04:00
Eli Gottlieb
3b75623708 Removed and added back SDL_shape.{c,h} wholesale. Will this get them tracked properly? 2010-06-05 15:07:14 -04:00
Eli Gottlieb
17e8b4796b Took away a line break to make SDL_shape.c new. Why isn't hg tracking these two files properly? 2010-06-05 15:02:26 -04:00
Eli Gottlieb
58b84350ec Updated SDL_shape.h by adding a line break... somehow it's not being tracked correctly.` 2010-06-05 15:01:40 -04:00