Commit Graph

  • 3b8277d35f Fixed mouse focus window reporting Sam Lantinga 2010-06-17 12:33:05 -07:00
  • 5ea5611051 Tweaks to the libsdl side Paul Hunkin 2010-06-18 01:29:14 +12:00
  • 751564d7e8 Added egl headers so we can use eglMakeCurrent() Paul Hunkin 2010-06-18 01:28:39 +12:00
  • 3ea075ff59 Removed old video subsystem, along with (now-unncessary) egl files. Paul Hunkin 2010-06-18 00:03:09 +12:00
  • 2e9955cc5e Testing out pthread support in android. Appears to work. Paul Hunkin 2010-06-18 00:02:13 +12:00
  • fd07eb5990 Rotating pyramid! Paul Hunkin 2010-06-17 23:04:16 +12:00
  • 5def4b1273 Added minimal test project Paul Hunkin 2010-06-17 22:19:27 +12:00
  • 37a59b7433 Added $1 gesture recognition. Functional. Jim Grandpre 2010-06-17 03:41:27 -04:00
  • ed2719210f SDL_Textures should work with XRender now provided that the texture format and screen format match. This is only a temporary limitation. Sunny Sachanandani 2010-06-16 10:50:01 +05:30
  • 7da64e5b57 X11_RenderDrawLines and X11_RenderDrawPoints use XRender now. Sunny Sachanandani 2010-06-15 19:10:06 +05:30
  • 2b82c20da7 Started adding vectorization of touch data. Jim Grandpre 2010-06-15 02:12:16 -04:00
  • 5725c79231 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. Sunny Sachanandani 2010-06-14 18:22:48 +05:30
  • 680e9a966a Just updated Jim Grandpre 2010-06-14 01:46:08 -04:00
  • 7d8f7d2a1e Added gesture test c file. Beginning of gesture recognition. Jim Grandpre 2010-06-14 01:44:04 -04:00
  • 1501ab5243 Added support for On_Resized event to App. Added OpenGL code to draw a rotating triangle. Rearranged main loop code. dewyatt 2010-06-12 03:21:54 -04:00
  • cc57e7b57c Renamed Window::Update to Window::Handle_Events. Removed Window::Clear. Added Window::Show_Cursor/Hide_Cursor. Added On_Resized event. dewyatt 2010-06-12 03:19:43 -04:00
  • 0ef74d648d Added vs2008 project files for GLTSF (2008 is much faster on my old computer) dewyatt 2010-06-11 18:32:18 -04:00
  • 390be0affb Doxygen commenting is all finished up. Eli Gottlieb 2010-06-10 17:50:38 -04:00
  • 847ce12a33 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. Eli Gottlieb 2010-06-10 17:37:19 -04:00
  • 82cf0563e5 Fixed #includes to fix naming conventions Paul Hunkin 2010-06-10 19:25:55 +12:00
  • 23ef6d2153 Renamed some files to fit naming conventions Paul Hunkin 2010-06-10 19:02:55 +12:00
  • 61ddab05c6 Added (partially implemented) android video backend and associated files needed to build Paul Hunkin 2010-06-10 18:54:23 +12:00
  • 02a308063c More fixes for windows. Disabled tablet code. jimtla 2010-06-10 00:15:17 -04:00
  • 81c3f5c611 Added else to make things clear. dewyatt 2010-06-09 21:36:32 -04:00
  • 52d35dd5ee 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. dewyatt 2010-06-09 00:03:54 -04:00
  • 64241e7956 X11_DrawRects now uses a very hacky way of drawing rectangles with XRender. This will be improved in some time. Sunny Sachanandani 2010-06-08 19:26:32 +05:30
  • 937bf58b98 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. dewyatt 2010-06-08 05:22:49 -04:00
  • 3a228f30bf Fixed wording for consistency Sam Lantinga 2010-06-06 21:09:45 -07:00
  • 5cbb32b33d Fixed names of driver-specific implementation files. Eli Gottlieb 2010-06-05 15:12:27 -04:00
  • 2ace9d0f8c Removed and added back SDL_shape.{c,h} wholesale. Will this get them tracked properly? Eli Gottlieb 2010-06-05 15:07:14 -04:00
  • 042c9e80f0 Took away a line break to make SDL_shape.c new. Why isn't hg tracking these two files properly? Eli Gottlieb 2010-06-05 15:02:26 -04:00
  • 9f0bc591c6 Updated SDL_shape.h by adding a line break... somehow it's not being tracked correctly.` Eli Gottlieb 2010-06-05 15:01:40 -04:00
  • ea0c984c8e Addition of VC project for touchTest.c jimtla 2010-06-05 01:58:56 -04:00
  • 0566e957f7 Fixed up new functions and files so that they build as part of SDL. Eli Gottlieb 2010-06-03 17:21:40 -04:00
  • b24db2415a Stubbed out the new drawing, filling, and geometry functions for ellipses and polygons. Eli Gottlieb 2010-06-03 16:21:04 -04:00
  • 46c89257a5 Added management and drawing functions for ellipses and polygons. Eli Gottlieb 2010-06-03 14:43:38 -04:00
  • 98983f18f4 Fixed windo build errors. Should now be compilable. jimtla 2010-06-03 13:21:35 -04:00
  • abf13d5afd Fixed some windows compilation bugs - Still does not compile. jimtla 2010-06-03 11:08:17 -04:00
  • a067ba2b4f It seems that the off-screen buffers (or pixmaps) only need to be cleared while initializing. Sunny Sachanandani 2010-06-02 11:55:40 +05:30
  • e51d41dac5 Fix X11_FillRects to work with double buffering as well as triple buffering. This requires that the buffer pixmap be cleared after every render. Sunny Sachanandani 2010-06-02 11:45:15 +05:30
  • 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. Sunny Sachanandani 2010-06-02 09:01:37 +05:30
  • 60450688f9 Added include/touch.h Now reading in resolution of touch pad. Jim Grandpre 2010-06-01 02:54:33 -04:00
  • fbdbdbcac3 Moved the SDL_Eyes test program for shaped windows into the Hg repository and got it building and linking as a test. Eli Gottlieb 2010-05-31 21:23:06 -04:00
  • 6b6045f236 X11_RenderPresent now uses XRender to blit back-buffers to the screen. Sunny Sachanandani 2010-05-31 17:04:20 +05:30
  • 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 . Sunny Sachanandani 2010-05-31 15:09:36 +05:30
  • bc6683eed7 Modified configure.in to allow building with Xrender. Fixed all problems that prevented compilation. Builds fine now :) Sunny Sachanandani 2010-05-31 13:27:27 +05:30
  • b0ec80e373 Auto-detects Wacom touch devices. Jim Grandpre 2010-05-31 00:24:37 -04:00
  • b6b16ecd84 Implementing base parts of TSF dewyatt 2010-05-30 15:48:16 -04:00
  • 503af03024 Add Xrender support to X11_FillRectangles. Sunny Sachanandani 2010-05-30 20:06:30 +05:30
  • 80ecbb9011 Added pressure support for touch events. Jim Grandpre 2010-05-29 02:09:16 -04:00
  • cd768e2013 Bug fixes. Basic touch events (finger up, finger down, finger move) supported. Jim Grandpre 2010-05-29 01:47:19 -04:00
  • ab9cb8143c Fix typo. Sunny Sachanandani 2010-05-28 20:48:58 +05:30
  • e9e630c7e0 Fix initial value of the xrender_available boolean in X11_CreateTexture. Sunny Sachanandani 2010-05-28 20:47:24 +05:30
  • 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. Sunny Sachanandani 2010-05-28 20:40:09 +05:30
  • a1401afe42 Added reading of event* for touch events. Jim Grandpre 2010-05-28 01:26:52 -04:00
  • 72b5168bca Adding some initial TSF code dewyatt 2010-05-27 20:47:52 -04:00
  • fee0949a87 Added the standard headers and footers that make SDL_shape.h and SDL_shape.c integrate properly into the build. Eli Gottlieb 2010-05-27 16:44:35 -04:00
  • 4a3ed7b859 Added touch event definitions. Heavily modified events/SDL_touch*. Jim Grandpre 2010-05-27 01:21:37 -04:00
  • b88a72e774 Correctly handle the availability of Xrender in X11_CreateRenderer and X11_DisplayModeChanged. Fixed the XRenderPictureAttributes value in X11_CreateRenderer with graphics_exposures = False. Sunny Sachanandani 2010-05-26 20:11:56 +05:30
  • 8deb256a6b Added SDL_touch.c/SDL_touch_c.h as slightly modifeind SDL_mouse*. Made reads in touchSimp non-blocking. Jim Grandpre 2010-05-25 23:23:23 -04:00
  • c4cce4c1eb Adding GLTSF (somewhat based on SFML, no actual TSF code yet) dewyatt 2010-05-25 18:53:09 -04:00
  • b8da79e726 SDL_KillThread() is no longer supported - it was always dangerous! :) Sam Lantinga 2010-05-24 22:56:36 -07:00
  • 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. Eli Gottlieb 2010-05-25 00:23:41 -04:00
  • 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. Jim Grandpre 2010-05-24 23:44:24 -04:00
  • 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. Sunny Sachanandani 2010-05-24 21:02:58 +05:30
  • 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. Eli Gottlieb 2010-05-23 01:27:09 -04:00
  • 99ccaa6680 Added some android build stuff Paul Hunkin 2010-05-23 15:18:16 +12:00
  • 4d51917753 Added some wrapper shell scripts to make android compiling easier Paul Hunkin 2010-05-23 15:13:39 +12:00
  • 4b5db3080a Fix a compile error when SDL_JOYSTICK_DISABLED is set Paul Hunkin 2010-05-23 15:12:41 +12:00
  • 6b8d32ccde Fix compile errors under Android toolchain. Seems to have the same issue as the NDS. Paul Hunkin 2010-05-23 15:10:18 +12:00
  • 3ca3ae0c70 Fixed comment style Paul Hunkin 2010-05-23 15:08:30 +12:00
  • 1e5d71184b Moved SDL_shape.h, and building out the API as needed by SDL_Eyes. Eli Gottlieb 2010-05-21 17:28:12 -04:00
  • 0b3c3e9554 Added stub files, working on sample program SDLeyes. Eli Gottlieb 2010-05-21 14:50:04 -04:00
  • 7551aa6dd9 Adding a few #defines for Xrender support. Sunny Sachanandani 2010-05-19 18:58:28 +05:30
  • 85db8e6efd author Eric Wing <ewing . public |-at-| gmail . com> Wed May 12 12:49:28 2010 -0700 (5 days ago) Sam Lantinga 2010-05-17 23:13:33 -07:00
  • 205e65f689 Initial commit, adding __ANDROID__ to the platform list Paul Hunkin 2010-05-17 15:14:34 +12:00
  • 083a3e00de Added the automated test plist file and modified .hgignore to be less aggressive. Eric Wing 2010-05-12 12:49:28 -07:00
  • 4b1c945432 Removed multi-mouse / multi-keyboard support in anticipation of a real multi-mouse and multi-touch API. Sam Lantinga 2010-05-09 20:47:22 -07:00
  • 9a5b4a1a84 Add a default revision string if we can't find hg Sam Lantinga 2010-05-09 19:55:28 -07:00
  • 47c0e1e892 Don't assume .bashrc exists. :) Sam Lantinga 2010-05-09 19:51:21 -07:00
  • 6f968d9e3f Tagging version before everything gets ripped out. Sam Lantinga 2010-05-09 17:00:56 -07:00
  • 861f7cd38a Make the compiler even happier pre-touch-removal Sam Lantinga 2010-05-09 16:16:11 -07:00
  • 1b3a6fb5b7 Make sure events are current before flushing them. Sam Lantinga 2010-05-09 16:15:14 -07:00
  • 29596b2204 Added missing header Sam Lantinga 2010-05-09 15:47:21 -07:00
  • 0b0a5e0be5 Removed unused variables Sam Lantinga 2010-05-09 15:46:19 -07:00
  • 69b841b3e3 Fixed compiler warnings Sam Lantinga 2010-05-09 15:33:10 -07:00
  • a5bb8cf382 Fixed variable use before initialize warnings Sam Lantinga 2010-05-09 15:24:31 -07:00
  • 3b0aa4bb4c Removed unused variables Sam Lantinga 2010-05-09 15:24:05 -07:00
  • fb9e73dd09 Fixed Eric's changes to allow building from the command line. Sam Lantinga 2010-05-09 10:00:33 -07:00
  • 98918d160e Updated with the SDL 1.3 list of supported operating systems Sam Lantinga 2010-05-09 09:53:57 -07:00
  • f4b7b16da7 Updated Mac Xcode project for refactored rwops automated test changes. Eric Wing 2010-05-09 07:00:28 -07:00
  • f0650b31dc Refactored automated rwops tests so read and write directories can be more easily customized. Eric Wing 2010-05-09 06:58:30 -07:00
  • ef6951c458 Fixes to automated test target for iPhone Xcode project. Eric Wing 2010-05-08 08:23:46 -07:00
  • 95b8bdedff Exempted writable modes from bundle check on OS X since bundle areas are typically read-only. Eric Wing 2010-05-08 04:52:17 -07:00
  • 36478c7ce3 Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project). Eric Wing 2010-05-08 01:12:55 -07:00
  • dada7f15bc Added automated test to Xcode project plus needed changes to SDL_RWFromFile to be OS X bundle aware. Eric Wing 2010-05-08 00:54:22 -07:00
  • 6ecdb723d8 Much improved multi-display support for iPad. Ryan C. Gordon 2010-05-02 05:08:12 -04:00
  • cf2d0ef2ba Test for system version in the Apple Recommended way. Ryan C. Gordon 2010-05-01 13:50:56 -04:00
  • 8524311b24 Implemented SDL power APIs for iPhoneOS. Ryan C. Gordon 2010-04-30 00:39:31 -04:00
  • 742dfdc4e7 Implemented display mode functionality for UIKit. Ryan C. Gordon 2010-04-29 22:53:18 -04:00