Sunny Sachanandani
0ed5e53314
Fix the rendering color channels to be premultiplied with the alpha channel as thats what Xrender expects. Small fixes in X11_CreateTexture. Add some new functions in SDL_x11sym.h as well as support for Xrender.
2010-06-02 09:01:37 +05:30
Jim Grandpre
60450688f9
Added include/touch.h Now reading in resolution of touch pad.
2010-06-01 02:54:33 -04:00
Eli Gottlieb
fbdbdbcac3
Moved the SDL_Eyes test program for shaped windows into the Hg repository and got it building and linking as a test.
2010-05-31 21:23:06 -04:00
Sunny Sachanandani
6b6045f236
X11_RenderPresent now uses XRender to blit back-buffers to the screen.
2010-05-31 17:04:20 +05:30
Sunny Sachanandani
e07a3ef80c
Xrender uses 16 bit color per channel. Fixed the color handling in X11_RenderFillRects to match this. Xrender just works now for filling rectangles :D .
2010-05-31 15:09:36 +05:30
Sunny Sachanandani
bc6683eed7
Modified configure.in to allow building with Xrender. Fixed all problems that prevented compilation.
...
Builds fine now :)
2010-05-31 13:27:27 +05:30
Jim Grandpre
b0ec80e373
Auto-detects Wacom touch devices.
2010-05-31 00:24:37 -04:00
dewyatt
b6b16ecd84
Implementing base parts of TSF
2010-05-30 15:48:16 -04:00
Sunny Sachanandani
503af03024
Add Xrender support to X11_FillRectangles.
2010-05-30 20:06:30 +05:30
Jim Grandpre
80ecbb9011
Added pressure support for touch events.
2010-05-29 02:09:16 -04:00
Jim Grandpre
cd768e2013
Bug fixes. Basic touch events (finger up, finger down, finger move) supported.
2010-05-29 01:47:19 -04:00
Sunny Sachanandani
ab9cb8143c
Fix typo.
2010-05-28 20:48:58 +05:30
Sunny Sachanandani
e9e630c7e0
Fix initial value of the xrender_available boolean in X11_CreateTexture.
2010-05-28 20:47:24 +05:30
Sunny Sachanandani
e049cc403a
Completed work on X11_CreateTexture. Added lots of safety features.
...
These include support for drawing a texture using the core protocol
while other textures are drawn using Xrender if Xrender does not support
the color format of the said texture or any other fault with Xrender.
2010-05-28 20:40:09 +05:30
Jim Grandpre
a1401afe42
Added reading of event* for touch events.
2010-05-28 01:26:52 -04:00
dewyatt
72b5168bca
Adding some initial TSF code
2010-05-27 20:47:52 -04:00
Eli Gottlieb
fee0949a87
Added the standard headers and footers that make SDL_shape.h and SDL_shape.c integrate properly into the build.
2010-05-27 16:44:35 -04:00
Jim Grandpre
4a3ed7b859
Added touch event definitions. Heavily modified events/SDL_touch*.
2010-05-27 01:21:37 -04:00
Sunny Sachanandani
b88a72e774
Correctly handle the availability of Xrender in X11_CreateRenderer and X11_DisplayModeChanged.
...
Fixed the XRenderPictureAttributes value in X11_CreateRenderer with graphics_exposures = False.
Start work on Xrender specific additions to X11_TextureData and X11_CreateTexture.
2010-05-26 20:11:56 +05:30
Jim Grandpre
8deb256a6b
Added SDL_touch.c/SDL_touch_c.h as slightly modifeind SDL_mouse*. Made reads in touchSimp non-blocking.
2010-05-25 23:23:23 -04:00
dewyatt
c4cce4c1eb
Adding GLTSF (somewhat based on SFML, no actual TSF code yet)
2010-05-25 18:53:09 -04:00
Sam Lantinga
b8da79e726
SDL_KillThread() is no longer supported - it was always dangerous! :)
2010-05-24 22:56:36 -07:00
Eli Gottlieb
46a886a498
Changed API for shaped windows to make it much, much simpler. A shaped window's shape mask is now accessed as a render target, which means we can get at it with blit and draw functions, as well as (most likely) OpenGL.
2010-05-25 00:23:41 -04:00
Jim Grandpre
16b269a2c8
Added Test Directory. Touch input works in touchSimp for wacom bamboo fun on Ubuntu linux. Not yet integrated into library. Should support other touch devices and other linux distros, but not tested on anything else.
2010-05-24 23:44:24 -04:00
Sunny Sachanandani
d5fe34e303
Added a #define option for compile time Xrender support.
...
Added some more attributes (specific to Xrender) to the X11 structs.
Added some code for querying the Xrender extension.
2010-05-24 21:02:58 +05:30
Eli Gottlieb
89f8f1be75
I'm actually going to have to alter this proposed API a fair bit, but it's coming along. I want to keep it as orthogonal to the rest of SDL as possible.
2010-05-23 01:27:09 -04:00
Paul Hunkin
99ccaa6680
Added some android build stuff
2010-05-23 15:18:16 +12:00
Paul Hunkin
4d51917753
Added some wrapper shell scripts to make android compiling easier
2010-05-23 15:13:39 +12:00
Paul Hunkin
4b5db3080a
Fix a compile error when SDL_JOYSTICK_DISABLED is set
2010-05-23 15:12:41 +12:00
Paul Hunkin
6b8d32ccde
Fix compile errors under Android toolchain. Seems to have the same issue as the NDS.
2010-05-23 15:10:18 +12:00
Paul Hunkin
3ca3ae0c70
Fixed comment style
2010-05-23 15:08:30 +12:00
Eli Gottlieb
1e5d71184b
Moved SDL_shape.h, and building out the API as needed by SDL_Eyes.
2010-05-21 17:28:12 -04:00
Eli Gottlieb
0b3c3e9554
Added stub files, working on sample program SDLeyes.
2010-05-21 14:50:04 -04:00
Sunny Sachanandani
7551aa6dd9
Adding a few #defines for Xrender support.
2010-05-19 18:58:28 +05:30
Sam Lantinga
85db8e6efd
author Eric Wing <ewing . public |-at-| gmail . com>
...
Wed May 12 12:49:28 2010 -0700 (5 days ago)
Added the automated test plist file and modified .hgignore to be less aggressive.
Discovered that the new plist file for the automated test was not checked in because the .hgignore file was too aggressive. I changed the .hgignore to not ignore the Xcode directory and instead added a longer list of things to ignore.
2010-05-17 23:13:33 -07:00
Paul Hunkin
205e65f689
Initial commit, adding __ANDROID__ to the platform list
2010-05-17 15:14:34 +12:00
Eric Wing
083a3e00de
Added the automated test plist file and modified .hgignore to be less aggressive.
...
Discovered that the new plist file for the automated test was not checked in because the .hgignore file was too aggressive. I changed the .hgignore to not ignore the Xcode directory and instead added a longer list of things to ignore.
2010-05-12 12:49:28 -07:00
Sam Lantinga
4b1c945432
Removed multi-mouse / multi-keyboard support in anticipation of a real multi-mouse and multi-touch API.
...
Plus, this lets me start implementing cursor support.
2010-05-09 20:47:22 -07:00
Sam Lantinga
9a5b4a1a84
Add a default revision string if we can't find hg
2010-05-09 19:55:28 -07:00
Sam Lantinga
47c0e1e892
Don't assume .bashrc exists. :)
2010-05-09 19:51:21 -07:00
Sam Lantinga
6f968d9e3f
Tagging version before everything gets ripped out.
2010-05-09 17:00:56 -07:00
Sam Lantinga
861f7cd38a
Make the compiler even happier
2010-05-09 16:16:11 -07:00
Sam Lantinga
1b3a6fb5b7
Make sure events are current before flushing them.
2010-05-09 16:15:14 -07:00
Sam Lantinga
29596b2204
Added missing header
2010-05-09 15:47:21 -07:00
Sam Lantinga
0b0a5e0be5
Removed unused variables
2010-05-09 15:46:19 -07:00
Sam Lantinga
69b841b3e3
Fixed compiler warnings
2010-05-09 15:33:10 -07:00
Sam Lantinga
a5bb8cf382
Fixed variable use before initialize warnings
2010-05-09 15:24:31 -07:00
Sam Lantinga
3b0aa4bb4c
Removed unused variables
2010-05-09 15:24:05 -07:00
Sam Lantinga
fb9e73dd09
Fixed Eric's changes to allow building from the command line.
2010-05-09 10:00:33 -07:00
Sam Lantinga
98918d160e
Updated with the SDL 1.3 list of supported operating systems
2010-05-09 09:53:57 -07:00