Commit Graph

  • fe2f3cf720 Merged r4991:5154 from branches/SDL-1.2/src/audio/alsa: many 1.2.14 ALSA fixes. Ryan C. Gordon 2010-01-10 07:40:12 +00:00
  • 2c3d75ad93 Merged r5016:5017 from branches/SDL-1.2: PS2 DMA mapping fix. Ryan C. Gordon 2010-01-10 06:32:41 +00:00
  • 23a7f67e85 Merged r4992:4993 from branches/SDL-1.2: increased alpha blend accuracy. Ryan C. Gordon 2010-01-10 06:18:39 +00:00
  • d3fddfb2b4 Merged r4866:4867 from branches/SDL-1.2: 64-bit Mac OS X 10.5 SDK fix. Ryan C. Gordon 2010-01-10 05:39:46 +00:00
  • 609eb81e23 Reverted r5460 ... this was merged from 1.2, but was later reverted there. Ryan C. Gordon 2010-01-10 05:06:03 +00:00
  • b7bf9f415e Merged r4784:4785 from branches/SDL-1.2: Mac OS X linker command line fixes. Ryan C. Gordon 2010-01-10 04:42:45 +00:00
  • f8378c78bc Made the comment more readable Sam Lantinga 2010-01-07 04:39:44 +00:00
  • 53023c5ff5 The OS/2 support has been removed, so we don't need this now. Sam Lantinga 2010-01-07 04:38:58 +00:00
  • 0833108f35 Removed comment referring to previously-removed CD-ROM subsystem. Ryan C. Gordon 2010-01-06 21:04:11 +00:00
  • 1fad5ac7c1 Merged r4717:4718 from branches/SDL-1.2: minor OS/2 DECLSPEC/SDLCALL fixes. Ryan C. Gordon 2010-01-06 20:58:03 +00:00
  • 8d46b44026 Merged r4713:4714 from branches/SDL-1.2: CoreAudio 64-bit & Snow Leopard fixes. Ryan C. Gordon 2010-01-06 20:31:21 +00:00
  • 4b5c236a0d Merged r4710:4711 from branches/SDL-1.2: Mac OS X SDL_stdlib qsort build fixes. Ryan C. Gordon 2010-01-06 20:17:35 +00:00
  • b4ed725c0b Merged r4433:4434 from branches/SDL-1.2: fbcon fgets() return value test fix. Ryan C. Gordon 2010-01-06 07:45:58 +00:00
  • d3e020766d Merged r4412:4413 from branches/SDL-1.2: rwops documentation fix. Ryan C. Gordon 2010-01-06 07:39:35 +00:00
  • 4e5f91ec7c Removed the obsolete SDL 1.2 GAPI driver Sam Lantinga 2010-01-06 07:39:09 +00:00
  • 6d445389ca I can't compile this, but it should be updated for the new rendering API now. Sam Lantinga 2010-01-06 07:37:15 +00:00
  • af25176933 Merged r4121:4122 from branches/SDL-1.2: more double-free fixes. Ryan C. Gordon 2010-01-06 07:34:20 +00:00
  • 67bd8e2549 Merged r4121:4122 from branches/SDL-1.2: win32 joystick double-free fix. Ryan C. Gordon 2010-01-06 07:26:49 +00:00
  • b2a30cdcb1 Merged r3808:3809 from branches/SDL-1.2: install_name_tool fix for fatbuild.sh. Ryan C. Gordon 2010-01-06 06:44:23 +00:00
  • f498df4891 Merged r3787:3788 from branches/SDL-1.2: better failures for joystick opening. Ryan C. Gordon 2010-01-06 06:40:16 +00:00
  • 2ce50c80a2 Fixed GL_RenderWritePixels() - thanks Ryan! Sam Lantinga 2010-01-06 06:12:01 +00:00
  • 8eaf7c78b9 Fixed bug #924 Sam Lantinga 2010-01-06 04:33:31 +00:00
  • 4386417754 We're using GNU recursive mutexes Sam Lantinga 2009-12-30 19:48:23 +00:00
  • dca29a1b79 Fixed bug #915 Sam Lantinga 2009-12-30 19:38:08 +00:00
  • 25ddd3c390 Removed in the interest of actually finishing 1.3. :) They can be done later, either by me or by someone else. Sam Lantinga 2009-12-30 19:10:41 +00:00
  • d3cffb3167 Fixed buffer overflows in resamplers. Ryan C. Gordon 2009-12-28 08:28:24 +00:00
  • 6491208ef7 Added missing include for stdio Sam Lantinga 2009-12-24 21:00:42 +00:00
  • 4c1edf5a4e Updated to include new files Sam Lantinga 2009-12-24 19:18:41 +00:00
  • a29c410b7e Updated to compile on Windows Sam Lantinga 2009-12-24 19:18:05 +00:00
  • 5837d39cf6 Added rectangle test Sam Lantinga 2009-12-24 19:16:08 +00:00
  • d3a2d0d8b7 Fixed bug #912 Sam Lantinga 2009-12-23 06:39:18 +00:00
  • c3629ff44a Added SDL_RenderClear() as a fast method of clearing the screen to the drawing color. Renamed SDL_RenderPoint() and SDL_RenderLine() to SDL_RenderDrawPoint() and SDL_RenderDrawLine(). Added API for rectangle drawing (as opposed to filling) Added placeholder API functions for circles and ellipses ... I'm not sure whether these will stay. Optimized software line drawing quite a bit. Added support for Wu's anti-aliased line drawing, currently disabled by default. Sam Lantinga 2009-12-23 01:55:00 +00:00
  • 787e704e24 Make it possible to slim SDL down quite a bit for people who just want OpenGL Sam Lantinga 2009-12-18 08:19:18 +00:00
  • 1d00894214 Added SDL_DrawRect(), SDL_DrawRects(), SDL_BlendRect() and SDL_BlendRects() Fixed line drawing so when blending a sequence of lines there are no overlapping pixels drawn. Sam Lantinga 2009-12-18 07:41:59 +00:00
  • 786e01f737 In the process of adding rectangle drawing Sam Lantinga 2009-12-18 07:03:09 +00:00
  • 5ba602a897 Fixed compile error on Windows. Sam Lantinga 2009-12-17 07:47:03 +00:00
  • ab09986ef7 Updated test code to use SDL_setenv() Sam Lantinga 2009-12-17 07:46:13 +00:00
  • 3fc0e26901 Fixed crash in joystick handling code. Newer 2.6 kernels add an additional 'resolution' field to input_absinfo. Note that we don't use that structure since we want to have enough space for the values even when building with an older kernel. Sam Lantinga 2009-12-17 07:22:48 +00:00
  • ba9b7bf6ff Fixed bug #841 Sam Lantinga 2009-12-17 06:08:20 +00:00
  • d7affbbbaa Fixed bug #843 Sam Lantinga 2009-12-17 05:57:37 +00:00
  • be4c0844af Implemented 64-bit version of cpuid code Sam Lantinga 2009-12-17 04:01:29 +00:00
  • 4a157f0629 Added support for querying the number of CPUs available on Linux. This also happens to work on Mac OS X. Sam Lantinga 2009-12-17 03:04:04 +00:00
  • 61382a9f93 Initial band-aids on SDL_GetMouseState() API breakage. More work to come. Ryan C. Gordon 2009-12-16 19:50:51 +00:00
  • c7df2f4089 Fixed cpuid assembly to work on PIC code Sam Lantinga 2009-12-16 16:42:04 +00:00
  • 438cca0d46 Allocate memory only if we're going to overwrite an environment variable Sam Lantinga 2009-12-16 16:08:17 +00:00
  • 66f3dfdcab Updated svn:ignore. Ryan C. Gordon 2009-12-16 11:03:38 +00:00
  • f644ae86a9 Implemented SDL_setenv(), moved SDL_putenv() to compat. Ryan C. Gordon 2009-12-16 10:59:51 +00:00
  • 76f674f021 Implemented Windows version of SDL_GetCPUCount() Sam Lantinga 2009-12-16 08:17:05 +00:00
  • dc1ed9e7ef Added SDL_GetCPUCount() to see how many cores are available. Sam Lantinga 2009-12-16 06:53:53 +00:00
  • 75e75ae0c3 Fixed bug #741 Sam Lantinga 2009-12-16 04:48:11 +00:00
  • 1a0cbf83f1 Fixed bug #736 Sam Lantinga 2009-12-16 03:02:31 +00:00
  • b06c70e89d Added testfill to test raw fill performance Sam Lantinga 2009-12-16 02:08:59 +00:00
  • e8d7dbce07 Nuffin' Sam Lantinga 2009-12-16 01:19:58 +00:00
  • 6484431a44 Fixed bug #685 Sam Lantinga 2009-12-16 01:06:48 +00:00
  • 587ab6b056 Fixed bug #666 Sam Lantinga 2009-12-16 00:55:33 +00:00
  • fbcae020cf Fixed bug #642 Sam Lantinga 2009-12-16 00:44:53 +00:00
  • e250d2e0f5 Default to allow either accelerated or not Sam Lantinga 2009-12-15 20:53:09 +00:00
  • 0493dd19b1 OpenGL hardware acceleration defaults on Sam Lantinga 2009-12-15 20:36:31 +00:00
  • a4cb5a9a72 Fixed bug #815 Sam Lantinga 2009-12-15 20:14:50 +00:00
  • d5f47bca6d Fixed bug #818 Sam Lantinga 2009-12-15 20:11:29 +00:00
  • 59ea17f263 Added a warning comment to SDL_putenv(). Ryan C. Gordon 2009-12-15 18:00:16 +00:00
  • fbbac023cd Fixed bug #905 Sam Lantinga 2009-12-15 09:20:10 +00:00
  • 1a1477bcc6 Fixed bug #906 Sam Lantinga 2009-12-15 08:11:06 +00:00
  • df50338fda Add a dummy function if SDL doesn't have STDIO support Sam Lantinga 2009-12-15 05:34:58 +00:00
  • bb095c6df0 Added notes from e-mail on desktop window implementation Sam Lantinga 2009-12-15 02:16:01 +00:00
  • 708f44d4d1 Need to test the multi-draw APIs Sam Lantinga 2009-12-15 00:00:30 +00:00
  • ceba80cfd0 Added svn checkout install step Sam Lantinga 2009-12-14 23:43:57 +00:00
  • 2ac49a53bd The SDL 1.3 tests have been cleaned up not to include any 1.2 compatibility code. Sam Lantinga 2009-12-14 23:29:37 +00:00
  • 1ee0e98c97 Implemented read/write pixels for the X11 renderer Sam Lantinga 2009-12-14 06:52:17 +00:00
  • c49568972f Added a test to check the read/write pixels API Sam Lantinga 2009-12-14 06:35:59 +00:00
  • ff38dae142 Added support for SDL_PIXELFORMAT_RGB24 and SDL_PIXELFORMAT_BGR24 to SDL_PixelFormatEnumToMasks() Sam Lantinga 2009-12-14 06:35:27 +00:00
  • 1f4190a259 Added a BLENDMODE_MASK pixel shader so render tests succeed Sam Lantinga 2009-12-14 04:19:00 +00:00
  • 9bf59c5687 The SDL_PaletteWatch structure is really internal-only. Sam Lantinga 2009-12-13 08:00:25 +00:00
  • ed8e1e54ad Name the audio callback for documentation clarity. Sam Lantinga 2009-12-13 06:21:22 +00:00
  • 5edd3788ef Note that the WritePixels call is unsupported right now. Sam Lantinga 2009-12-13 06:19:32 +00:00
  • db0f3081da Fixed windows.h include Sam Lantinga 2009-12-13 05:37:06 +00:00
  • cbdba43759 Fixed line drawing for D3D Sam Lantinga 2009-12-12 20:31:28 +00:00
  • 4f4f40f930 Minor documentation fix Sam Lantinga 2009-12-12 20:30:25 +00:00
  • 8306adb559 Finished implementing RenderReadPixels() Sam Lantinga 2009-12-12 04:01:40 +00:00
  • d423bfa8a8 Removed the obsolete testcdrom target Sam Lantinga 2009-12-12 01:04:57 +00:00
  • 159e0ed15f Fixed building on iPhone Sam Lantinga 2009-12-12 00:55:13 +00:00
  • d3941d1098 Allow points to be outside the window bounds, stress testing the clipping code. Sam Lantinga 2009-12-12 00:08:45 +00:00
  • a127883a56 Added mouse position for button handling Sam Lantinga 2009-12-12 00:08:02 +00:00
  • 1ab0809779 minor notes to self Sam Lantinga 2009-12-12 00:07:26 +00:00
  • 54af8f9682 Fixed X11 line implementation - clip lines that are going to go outside the window. Sam Lantinga 2009-12-11 09:59:36 +00:00
  • c0e3ce55fd Make sure we fully clip the first point before starting to adjust the second point. Sam Lantinga 2009-12-11 09:57:54 +00:00
  • 0a3768436b Added an automated test for rectangle routines, currently only testing line clipping. Use the Cohen-Sutherland algorithm for line clipping which uses integer math and preserves ordering of clipped points. Sam Lantinga 2009-12-11 09:22:34 +00:00
  • 862fd5857b Fixed constness in RenderRects() parameter Sam Lantinga 2009-12-11 09:13:51 +00:00
  • e053affd71 Fixed bug #896 Sam Lantinga 2009-12-11 08:03:43 +00:00
  • bd7e5fd72b X11 driver compiles again, lines are not yet implemented Sam Lantinga 2009-12-10 09:27:23 +00:00
  • dd8238d718 Switch to mixed case for consistency with other enumerations Sam Lantinga 2009-12-10 08:28:26 +00:00
  • 70a40d51b2 Added interfaces for batch drawing of points, lines and rects: SDL_DrawPoints() SDL_BlendPoints() SDL_BlendLines() SDL_DrawLines() SDL_FillRects() SDL_BlendRects() SDL_RenderPoints() SDL_RenderLines() SDL_RenderRects() Renamed SDL_RenderFill() to SDL_RenderRect() Sam Lantinga 2009-12-09 15:56:56 +00:00
  • fd2629214e Hey, those automated tests are coming in handy! Fixed GDI rendering semantics Sam Lantinga 2009-12-07 10:08:24 +00:00
  • cf1e120bcb Implemented RenderReadPixels() and RenderWritePixels() for GDI renderer. Sam Lantinga 2009-12-07 09:44:55 +00:00
  • 22a1cf4b25 This fixes the OpenGL rendering test, at least with my ATI card... Sam Lantinga 2009-12-07 08:02:20 +00:00
  • 8d70d2a2b2 Fixed crash initializing the dummy driver Sam Lantinga 2009-12-07 08:01:58 +00:00
  • 4969fa9624 On Windows the minimum window size may be larger than 80, so explicitly request the expected rectangle. Sam Lantinga 2009-12-07 08:01:20 +00:00
  • 3e60082b3f The window position is display relative, at least for now... Sam Lantinga 2009-12-06 08:39:01 +00:00
  • 2f755299d8 Fixed crash Sam Lantinga 2009-12-06 08:16:23 +00:00
  • 586f3e0dda Added an API function to query geometry of multiple monitors: SDL_GetDisplayBounds() Sam Lantinga 2009-12-06 08:03:38 +00:00