Commit Graph

  • 4c8858b49b Do error checking in SDL_GetDisplayForWindow() Sam Lantinga 2011-02-21 15:08:36 -08:00
  • 65c20a99ce SDL still supports older iPod Touch and first generation iPhones. Sam Lantinga 2011-02-21 11:04:27 -08:00
  • 008bb00d2b Fixed the responder chain for event handling, the listener fully handles mouse events - even in fullscreen mode. The only reason we need a custom view is to handle right mouse down. Sam Lantinga 2011-02-21 10:50:53 -08:00
  • 829c30596a The valid mouse coordinates actually range from 0 to w-1 and h-1 Sam Lantinga 2011-02-20 23:51:59 -08:00
  • 0bdae7b3a1 Reverted the experiment, it didn't work. Sam Lantinga 2011-02-20 23:51:31 -08:00
  • 575ff5fa0d Experiment to try to account for source clipping Sam Lantinga 2011-02-20 23:16:58 -08:00
  • 187d10d92c Fixed bug 1105 (SDL_GetMouseState returns wrong location upon window re-activation) Sam Lantinga 2011-02-20 20:49:31 -08:00
  • 5e0f2c8b85 Updated the template code Sam Lantinga 2011-02-20 19:15:00 -08:00
  • 53afa21ba1 Fixed the fireworks demo Sam Lantinga 2011-02-20 14:59:36 -08:00
  • 1c678cefe8 Fixed bug 1137, updated the keyboard demo with latest rendering API changes. Sam Lantinga 2011-02-20 14:22:27 -08:00
  • 437682d6dc Fixed testgles on iOS (bug 1136) Sam Lantinga 2011-02-20 14:16:11 -08:00
  • 5d2d0a1574 Fixed compiler warning Sam Lantinga 2011-02-20 13:56:57 -08:00
  • ba24205a8a Fixed compiling on Mac OS X 10.4 Sam Lantinga 2011-02-20 12:39:59 -08:00
  • 2788694b17 Simple rumble API for haptic Sam Lantinga 2011-02-20 10:54:44 -08:00
  • a0a3c805a2 Added a revision number for easy compile-time tests. Sam Lantinga 2011-02-20 10:42:51 -08:00
  • c963d8f53b Untested fix for bug 946 (SDL_HapticIndex returns 0 for all devices) Sam Lantinga 2011-02-20 09:28:13 -08:00
  • d72eb6eedc Reset the viewport since we're stretching to the entire window. Sam Lantinga 2011-02-20 09:24:02 -08:00
  • 8d5c5d31ab Linker and deployment target fixes for the test programs. Sam Lantinga 2011-02-19 23:39:04 -08:00
  • 13c5239a36 Added OpenGL state caching for decent speed improvement. Sam Lantinga 2011-02-19 21:51:21 -08:00
  • d098d4f399 SDL works on older iPod Touch and first generation iPhones running iOS 3.1.3. Sam Lantinga 2011-02-19 21:51:03 -08:00
  • 2b98447805 Fixed linking the demos Sam Lantinga 2011-02-19 21:35:35 -08:00
  • 1994fb2f46 Yes, it compiles now. Sam Lantinga 2011-02-19 16:41:01 -08:00
  • dda4a8e368 Fixed warning on Mac OS X 10.4 Sam Lantinga 2011-02-19 14:27:16 -08:00
  • 8223c4bf6f Autogenerated full mask checks for pixel format match Sam Lantinga 2011-02-19 14:19:15 -08:00
  • b8b0cce2e0 We have the correct window, we don't have to search for it, duh. :) Sam Lantinga 2011-02-19 11:26:49 -08:00
  • 3296f115b7 Added missing log debug function Sam Lantinga 2011-02-19 11:23:56 -08:00
  • 664f75eeff Add assertions to the default API set. Sam Lantinga 2011-02-19 11:23:41 -08:00
  • 402ac229d0 update-revision is still phony. :) Sam Lantinga 2011-02-18 11:23:25 -08:00
  • 6ec7646870 Added a better way to include build rules in the Makefile Cleaned up dependencies on generating SDL_revision.h Fixed 'make install' if you are not building from a Mercurial repository Sam Lantinga 2011-02-18 11:19:34 -08:00
  • 594e403a0f Whoops, the format parameter was off the page. Sam Lantinga 2011-02-18 09:30:09 -08:00
  • 6b2b174db0 The file is actually SDL_config.h now. Sam Lantinga 2011-02-17 19:00:29 -08:00
  • 147196ba05 Zero streaming textures to reduce confusion. (See mailing list message with subject "Streaming textures not properly initialized?") Sam Lantinga 2011-02-17 18:58:43 -08:00
  • b898d2680a Don't remove the pseudo-generated headers because this command might be run from the repo directory and it confuses people, especially if they have no way of regenerating SDL_revision.h :) Sam Lantinga 2011-02-17 18:55:56 -08:00
  • 573fa3a100 Fixed make install Sam Lantinga 2011-02-17 18:54:11 -08:00
  • c2092ce469 Fixed debug format Sam Lantinga 2011-02-17 18:53:46 -08:00
  • 579f2fc55e Removed the obsolete NoSTDIO configurations Sam Lantinga 2011-02-17 12:16:01 -08:00
  • b807895313 Allow the application to explicitly request a software renderer. Sam Lantinga 2011-02-17 12:03:48 -08:00
  • acbbcf8bfd Our minimum Windows version is Windows 2000, so it's okay to directly call InitializeCriticalSectionAndSpinCount().. Sam Lantinga 2011-02-17 09:26:15 -08:00
  • 37df96b8c7 Fixed bug 1128 Sam Lantinga 2011-02-17 09:13:12 -08:00
  • 2f91270700 Implemented OpenGL ES RenderClear() Sam Lantinga 2011-02-17 02:23:48 -08:00
  • 834553b492 Fixed warnings about unused variables and so forth. Sam Lantinga 2011-02-17 02:18:41 -08:00
  • dc6b8539ff Fixed SDL_RenderClear() if the render driver doesn't implement it. Sam Lantinga 2011-02-17 02:17:38 -08:00
  • 4aaf8a6795 Fixed crash when drawing non-textured primitives Sam Lantinga 2011-02-17 02:16:30 -08:00
  • c45d18ec73 Updated deployment target to iPhone/iPad 3.2, and added dependencies on SDL for the demos. Sam Lantinga 2011-02-16 20:19:02 -08:00
  • 7390f75299 Fixed bug 1122 (spinlock fails to compile with -march=armv4t) Sam Lantinga 2011-02-16 17:17:21 -08:00
  • 684f838e9d There are bindings to Go at https://github.com/banthar/Go-SDL Sam Lantinga 2011-02-16 15:56:37 -08:00
  • dbb0a44739 Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion. Sam Lantinga 2011-02-16 15:46:12 -08:00
  • b5513f44c8 Fixed bug #1090 (SDL_BlitCopyOverlap() assumes memcpy() operates in order) Sam Lantinga 2011-02-16 15:25:10 -08:00
  • 74aaa6a21d The library target directly depends on SDL_revision.h Sam Lantinga 2011-02-16 14:38:49 -08:00
  • 03aaebb738 Updated to remove stdio redirect option Sam Lantinga 2011-02-16 14:35:38 -08:00
  • db51534426 Fixed SDL_revision.h dependencies Sam Lantinga 2011-02-16 13:02:37 -08:00
  • c6e3f767cc Source is not executable... Sam Lantinga 2011-02-16 12:52:09 -08:00
  • 349a9bf3ce Allow you to override SDL's main override Sam Lantinga 2011-02-16 12:27:29 -08:00
  • e3883e9792 The scripts to generate header files are no longer necessary. Sam Lantinga 2011-02-16 12:15:04 -08:00
  • 6e4e39c100 Updated HG ignore file for Visual C++ files Sam Lantinga 2011-02-16 05:00:33 -08:00
  • 4e23998953 Fixed bug #1121 (More than one device through SDL_JOYSTICK_DEVICE) Sam Lantinga 2011-02-16 04:51:13 -08:00
  • d3919b512d Fixed bug #1085 (Jump to NULL function pointer on ALSA_OpenDevice) Sam Lantinga 2011-02-16 04:08:28 -08:00
  • 305a0b92b2 Fixed bug #1064 (configure still has --enable-stdio-redirect option) Sam Lantinga 2011-02-16 03:59:39 -08:00
  • 7537a3d9e3 Setup the screensaver in the OpenGL case as well. Sam Lantinga 2011-02-16 02:57:00 -08:00
  • 9e66acd263 Fixed bug #963 (Crash with OpenGL & window resizing) Sam Lantinga 2011-02-16 02:55:46 -08:00
  • eca9d95e67 Building SDL_revision.h is a dependency of installing the headers. :) Sam Lantinga 2011-02-16 02:55:32 -08:00
  • 307a90d292 Made it possible to build SDL from a fresh checkout without any additional steps. Sam Lantinga 2011-02-16 02:37:09 -08:00
  • 139e1c3bca Needed to allocate memory for the shadow surface if we needed to create one. Sam Lantinga 2011-02-16 01:40:44 -08:00
  • 3c7e4f7d74 Okay, _now_ SDL_WM_ToggleFullScreen() works on all platforms. :) Sam Lantinga 2011-02-16 01:26:39 -08:00
  • dc4e118053 Hot damn, SDL_WM_ToggleFullScreen() works on all platforms now. :) Sam Lantinga 2011-02-16 00:45:10 -08:00
  • f948a0679c Fixed resetting the Direc3D renderer on mode change Sam Lantinga 2011-02-16 00:11:48 -08:00
  • 18c4439bb9 Fixed a host of issues with Windows fullscreen modes. Toggling fullscreen OpenGL works now in my test environment. Sam Lantinga 2011-02-15 23:07:14 -08:00
  • 749abb9261 Allow centering on a different display Sam Lantinga 2011-02-15 22:51:29 -08:00
  • b7d670c8ca Fixed gcc -pedantic warning Sam Lantinga 2011-02-15 21:57:31 -08:00
  • f79be99af3 Implemented X11 fullscreen toggling with modern window managers Sam Lantinga 2011-02-15 17:23:02 -08:00
  • 572c033148 Patch to fix includes from Frank Zago Sam Lantinga 2011-02-15 16:41:04 -08:00
  • e5780896f6 Don't accidentally pick a YV12 format as the closest format. Sam Lantinga 2011-02-15 15:50:21 -08:00
  • 2e54bfdc19 Don't reset the viewport unless you have to. Sam Lantinga 2011-02-15 14:17:42 -08:00
  • 83c480de5c Whoops, need to actually clip to the viewport in the software renderer. Sam Lantinga 2011-02-15 14:10:50 -08:00
  • b59da3ffdc Changed the concept of a render clip rect to a render viewport. The render viewport is automatically re-centered when the window changes size, so applications that don't care will not have to handle recalculating their rendering coordinates. Sam Lantinga 2011-02-15 13:59:59 -08:00
  • 8c8191deef Software scaling support. Not very fast, but it seems to work. Ken Rogoway 2011-02-14 11:50:18 -06:00
  • e66826bbdf Patch from Ken Rogoway: Migrate all of the recent changes into the SDL VS2005 project file. Fix missing return value in SDL_pixels.c Fix compile error in testscale.c, variable was incorrectly named. Added VS2005 project file for testscale Sam Lantinga 2011-02-14 00:45:16 -08:00
  • 416f3ec4e0 Center the old SDL 1.2 screen in the window if we can't get the size we wanted. Sam Lantinga 2011-02-13 23:09:18 -08:00
  • 675f896925 Fixed crash while resizing a window on Mac OS X. Sam Lantinga 2011-02-13 22:53:12 -08:00
  • 2ad2f08f4d The format_version isn't used anymore. Sam Lantinga 2011-02-13 22:30:06 -08:00
  • 02677f3644 Fixed renderer variable scope. Sam Lantinga 2011-02-13 14:05:33 -08:00
  • 789241249f Removed renderer definition, removed extra -I statements since no other platform has them (files should be explicit in their include paths). Sam Lantinga 2011-02-13 14:02:37 -08:00
  • 35db143abf Frank Zago to SDL Sam Lantinga 2011-02-13 14:01:02 -08:00
  • c7b5cc946d A few fixes: Fixed creating render texture framebuffer. Removed the need for palette watch, added surface format caching. Added an SDL_DONTFREE flag so you can't free the window and 1.2 shadow surfaces. Sam Lantinga 2011-02-13 13:46:10 -08:00
  • a4031e9f9f Whoops, work in progress, didn't mean to commit. Sam Lantinga 2011-02-13 01:31:07 -08:00
  • ea3c0c473a Updated the platform test for the new CPU feature functions. Sam Lantinga 2011-02-13 01:29:29 -08:00
  • 0b39bed131 Needed to pass the renderer in. Sam Lantinga 2011-02-13 00:18:05 -08:00
  • f7271a7775 Changed output directory of Universal libSDL.a for iOS to respect build configurations. Template generator was updated to reflect these changes as well. Eric Wing 2011-02-12 21:52:30 -08:00
  • cfe2553f50 merged Eric Wing 2011-02-12 21:34:36 -08:00
  • 79313ce09b merged Eric Wing 2011-02-12 19:16:09 -08:00
  • e6ec7f6b28 Fixed bug #1117 Sam Lantinga 2011-02-12 19:02:14 -08:00
  • dcfeae7397 Fixed bug #1116 Sam Lantinga 2011-02-12 17:51:47 -08:00
  • f1441f7929 changeset: 5278:b4b71ec2af73 tag: tip user: Martin Decky <martin@decky.cz> date: Sat Feb 12 22:27:14 2011 +0100 summary: fix typo (assigning height value into displayrect.w instead of displayrect.h) Sam Lantinga 2011-02-12 17:36:09 -08:00
  • 43c2c12758 This should match the header change. Sam Lantinga 2011-02-12 12:04:23 -08:00
  • c3265bbc90 changeset: 5272:cb08ef104ac4 tag: tip user: Martin Decky <martin@decky.cz> date: Sat Feb 12 20:53:06 2011 +0100 summary: improve header files compatibility with SDL 1.2 applications (namely QEMU) Sam Lantinga 2011-02-12 12:04:00 -08:00
  • fd246efe1e Removed the atomic file for the old API Sam Lantinga 2011-02-12 11:43:22 -08:00
  • 362639036a Frank Zago to sdl Sam Lantinga 2011-02-12 11:36:56 -08:00
  • 52f11a9f4f The YV12 image isn't w*h*2, it's actually w*h + w*h/4 + w*h/4 Sam Lantinga 2011-02-12 10:13:53 -08:00
  • 8fed295309 Fixed a crash caused by the 1.2 code path getting a YV12 texture. :) Sam Lantinga 2011-02-12 08:17:58 -08:00
  • 5645af4067 Only expose the OpenGL flag to SDL 1.2 if it was requested. The window flags mean the window is OpenGL capable. The surface flag means that the surface is a stub surface representing a window that has an OpenGL context attached. Sam Lantinga 2011-02-12 08:17:37 -08:00