Commit graph

3761 commits

Author SHA1 Message Date
jimtla
94b3f88fb2 Addition of VC project for touchTest.c 2010-06-05 01:58:56 -04:00
Eli Gottlieb
c8581d3a82 Fixed up new functions and files so that they build as part of SDL. 2010-06-03 17:21:40 -04:00
Eli Gottlieb
af2813acd5 Stubbed out the new drawing, filling, and geometry functions for ellipses and polygons. 2010-06-03 16:21:04 -04:00
Eli Gottlieb
52ed282081 Added management and drawing functions for ellipses and polygons. 2010-06-03 14:43:38 -04:00
jimtla
36b60b6ffd Fixed windo build errors. Should now be compilable. 2010-06-03 13:21:35 -04:00
jimtla
2ab139c207 Fixed some windows compilation bugs - Still does not compile. 2010-06-03 11:08:17 -04:00
Sunny Sachanandani
440a6894f5 It seems that the off-screen buffers (or pixmaps) only need to be cleared while initializing. 2010-06-02 11:55:40 +05:30
Sunny Sachanandani
75d7bf45f9 Fix X11_FillRects to work with double buffering as well as triple buffering. This requires that the buffer pixmap be cleared after every render. 2010-06-02 11:45:15 +05:30
Sunny Sachanandani
c323705090 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
4960f0aff9 Added include/touch.h Now reading in resolution of touch pad. 2010-06-01 02:54:33 -04:00
Eli Gottlieb
caf743a102 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
99aee647e0 X11_RenderPresent now uses XRender to blit back-buffers to the screen. 2010-05-31 17:04:20 +05:30
Sunny Sachanandani
6f98c350da 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
b4651b2a51 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
f75117cf0f Auto-detects Wacom touch devices. 2010-05-31 00:24:37 -04:00
dewyatt
a1f1bc8952 Implementing base parts of TSF 2010-05-30 15:48:16 -04:00
Sunny Sachanandani
9de49fce8f Add Xrender support to X11_FillRectangles. 2010-05-30 20:06:30 +05:30
Jim Grandpre
3dcae4341c Added pressure support for touch events. 2010-05-29 02:09:16 -04:00
Jim Grandpre
11b6823d3f Bug fixes. Basic touch events (finger up, finger down, finger move) supported. 2010-05-29 01:47:19 -04:00
Sunny Sachanandani
722be21623 Fix typo. 2010-05-28 20:48:58 +05:30
Sunny Sachanandani
66ba8d9f53 Fix initial value of the xrender_available boolean in X11_CreateTexture. 2010-05-28 20:47:24 +05:30
Sunny Sachanandani
7373f666db 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
72c5a40b07 Added reading of event* for touch events. 2010-05-28 01:26:52 -04:00
dewyatt
301e0597a3 Adding some initial TSF code 2010-05-27 20:47:52 -04:00
Eli Gottlieb
608b696abd 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
f806d39746 Added touch event definitions. Heavily modified events/SDL_touch*. 2010-05-27 01:21:37 -04:00
Sunny Sachanandani
aef216819f 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
27ad25a09d 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
249f46e706 Adding GLTSF (somewhat based on SFML, no actual TSF code yet) 2010-05-25 18:53:09 -04:00
Sam Lantinga
52154ae7e4 SDL_KillThread() is no longer supported - it was always dangerous! :) 2010-05-24 22:56:36 -07:00
Eli Gottlieb
3e7fb6f4a8 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
bc2e106a8b 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
dabea2387f 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
125761a0a1 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
6251bfb6a1 Added some android build stuff 2010-05-23 15:18:16 +12:00
Paul Hunkin
e3367d6ac7 Added some wrapper shell scripts to make android compiling easier 2010-05-23 15:13:39 +12:00
Paul Hunkin
3634d8ffac Fix a compile error when SDL_JOYSTICK_DISABLED is set 2010-05-23 15:12:41 +12:00
Paul Hunkin
26026fcdaa 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
df6f09b78d Fixed comment style 2010-05-23 15:08:30 +12:00
Eli Gottlieb
1f57c052c4 Moved SDL_shape.h, and building out the API as needed by SDL_Eyes. 2010-05-21 17:28:12 -04:00
Eli Gottlieb
c40fb5a65d Added stub files, working on sample program SDLeyes. 2010-05-21 14:50:04 -04:00
Sunny Sachanandani
4ee62ed9e7 Adding a few #defines for Xrender support. 2010-05-19 18:58:28 +05:30
Sam Lantinga
21099fe988 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
dece536bfc Initial commit, adding __ANDROID__ to the platform list 2010-05-17 15:14:34 +12:00
Eric Wing
9919f22b4f 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
338f95eb06 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
d12afdaedb Add a default revision string if we can't find hg 2010-05-09 19:55:28 -07:00
Sam Lantinga
36bb08a19e Don't assume .bashrc exists. :) 2010-05-09 19:51:21 -07:00
Sam Lantinga
cc3f18a315 Tagging version before everything gets ripped out. 2010-05-09 17:00:56 -07:00
Sam Lantinga
76cf0cd0c0 Make the compiler even happier 2010-05-09 16:16:11 -07:00