1. 12 Jun, 2009 1 commit
  2. 11 Jun, 2009 3 commits
  3. 10 Jun, 2009 11 commits
    • Mike Gorchak's avatar
      Note about hardware mouse cursor has been added. · b099397c
      Mike Gorchak authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403651
      b099397c
    • Sam Lantinga's avatar
      Fixed bug #750 · 17db454b
      Sam Lantinga authored
      Since many different event structures include windowID it should be placed near
      the beginning of the structure (preferably right after type) so it's position
      is the same between different events.
      
      This is to avoid code like this:
      if (event.type == SDL_WINDOWEVENT)
          win = event.window.windowID;
      else if ((SDL_EVENTMASK(event.type) & SDL_KEYEVENTMASK) != 0)
          win = event.key.windowID;
      else if (event.type == SDL_TEXTINPUT)
          win = event.text.windowID;
      else if (event.type == SDL_MOUSEMOTION)
          win = event.motion.windowID;
      else if ((SDL_EVENTMASK(event.type) & (SDL_MOUBUTTONDOWNMASK |
      SDL_MOUBUTTONUPMASK)) != 0)
          win = event.button.windowID;
      else if (event.type == SDL_MOUSEWHEEL)
          win = event.wheel.windowID;
      ...
      
      in favor of:
      win = event.window.windowID;
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403650
      17db454b
    • Sam Lantinga's avatar
      Added missing files for OpenGL ES support · 8aa58621
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403649
      8aa58621
    • Sam Lantinga's avatar
      Added missing header file for Pandora support · 63be3155
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403648
      63be3155
    • Sam Lantinga's avatar
      Whoops, didn't mean to commit unfinished patch · 0ce493da
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403647
      0ce493da
    • Sam Lantinga's avatar
      indent is really bad at handling assembly · 388df73e
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403646
      388df73e
    • Sam Lantinga's avatar
      indent · d03a7700
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403645
      d03a7700
    • Mike Gorchak's avatar
      Continue working on QNX GF and Photon support. · e74bc6f8
      Mike Gorchak authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403643
      e74bc6f8
    • Mike Gorchak's avatar
      SDL pixel format string is printed near mode number in form of... · e51e3cfd
      Mike Gorchak authored
      SDL pixel format string is printed near mode number in form of SDL_PIXELFORMAT_XXXXX, when --info option is passed. It is usefull for debugging.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403642
      e51e3cfd
    • Mike Gorchak's avatar
      Support for 15/16/24/32 bpps of icon.bmp has been added, in case if not an... · 05b71a0f
      Mike Gorchak authored
      Support for 15/16/24/32 bpps of icon.bmp has been added, in case if not an original icon.bmp (8bpp with palette) is used for tests.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403641
      05b71a0f
    • Mike Gorchak's avatar
      Support for 24 bpp pixel formats has been added. · 66dca33f
      Mike Gorchak authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403640
      66dca33f
  4. 09 Jun, 2009 6 commits
  5. 08 Jun, 2009 2 commits
  6. 07 Jun, 2009 6 commits
    • Ryan C. Gordon's avatar
      BeOS support for power subsystem. · 2af9ddba
      Ryan C. Gordon authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403631
      2af9ddba
    • Ryan C. Gordon's avatar
      Reverted bogus change to SDLTest xcode project. · 1099f4e4
      Ryan C. Gordon authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403630
      1099f4e4
    • Ryan C. Gordon's avatar
      Added power subsystem to Xcode project. · 127f4698
      Ryan C. Gordon authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403629
      127f4698
    • Ryan C. Gordon's avatar
      Initial work on power subsystem for SDL 1.3. · a5b5f691
      Ryan C. Gordon authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403628
      a5b5f691
    • Sam Lantinga's avatar
      indent · b3556c8f
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403627
      b3556c8f
    • Sam Lantinga's avatar
      Hi, · f6408982
      Sam Lantinga authored
      I have prepared a set of patches to readd WindowsCE support to SDL 1.3.
      I've created a new GAPI/Rawframebuffer and a DirectDraw renderer.
      Both renderers are work in progress and there are several unimplemented
      cases. (Notably
      RenderLine/RenderPoint/RenderFill/QueryTexturePixels/UpdateTexture and
      texture blending )
      Nevertheless I am successfully using these renderers together with the
      SDL software renderer. (On most devices the SDL software renderer will
      be much faster as there are only badly optimized vendor drivers available)
      
      I send these patches now in this unpolished state because there seems to
      be some interest in win ce and someone has to start supporting SDL 1.3
      
      Now on to the patches:
      wince_events_window_fixes.patch
      fixes some wince incompatibilities and adds fullscreen support via
      SHFullScreen. NOTE: This patch shouldn't have any side effects on
      Windows, but I have NOT tested it on Windows, so please double-check.
      This patch doesn't dependent on the following ones.
      
      wince_renderers_system.patch
      This patch does all necessary modifications to the SDL system.
      - it adds the renderers to the configure system
      - it adds the renderers to win32video
      
      SDL_ceddrawrender.c
      SDL_ceddrawrender.h
      SDL_gapirender_c.h
      SDL_gapirender.c
      SDL_gapirender.h
      these files add the new render drivers and should be placed in
      src/video/win32
      
      Some notes to people who want to test this:
      - I have only compiled sdl with ming32ce, so the VisualC files are not
      up to date
      - As mingw32ce has no ddraw.h this file must be taken from the MS SDK
      and modified to work with gcc
      - I had to modify line 2611 in configure.in to
      EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl -lmmtimer
      -Wl,--image-base -Wl,0x10000"
      otherwise GetCPinfo wouldn't link. If someone knows whats causing this
      I'd be happy to hear about it.
      
      It would be great if these patches could make their way into SVN as this
      would make collaboration much much easier.
      
      I'm out of office for the next week and therefore will be unavailable
      via email.
      
      Regards
      Stefan
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403626
      f6408982
  7. 05 Jun, 2009 3 commits
  8. 04 Jun, 2009 1 commit
    • Bob Pendleton's avatar
      Added an ifdef so that if you · de866fce
      Bob Pendleton authored
      #define SDL_NO_COMPAT
      
      before you include SDL.h then SDL_compat.h will never be included in your code.
      This is useful for making sure that your code uses only SDL 1.3 features.
      It is also handy for finding things that are in SDL_compat.h that belong elsewhere.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403621
      de866fce
  9. 03 Jun, 2009 2 commits
    • Mike Gorchak's avatar
      Support for BGR565 pixel format has been added, mainly for OpenGL ES renderer.... · f2f1af27
      Mike Gorchak authored
      Support for BGR565 pixel format has been added, mainly for OpenGL ES renderer. OpenGL ES renderer now have new texture formats.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403619
      f2f1af27
    • Sam Lantinga's avatar
      Von: Thomas Zimmermann · e526b618
      Sam Lantinga authored
      Betreff: [SDL] [PATCH] Make static variables const
      Datum: Tue, 19 May 2009 19:45:37 +0200
      
      Hi,
      
      this is a set of simple changes which make some of SDL's internal static
      arrays constant. The purpose is to shrink the number of write-able
      static bytes and thus increase the number of memory pages shared between
      SDL applications.
      
      The patch set is against trunk@4513. Each of the attached patch files is
      specific to a sub-system. The set is completed by a second mail, because
      of the list's 40 KiB limit.
      
      The files readelf-r4513.txt and readelf-const-patch.txt where made by
      calling 'readelf -S libSDL.so'. They show the difference in ELF sections
      without and with the patch. Some numbers measured on my x86-64:
      
      Before
      
       [13] .rodata           PROGBITS         00000000000eaaa0  000eaaa0
            0000000000008170  0000000000000000   A       0     0     32
       [19] .data.rel.ro      PROGBITS         00000000003045e0  001045e0
            00000000000023d0  0000000000000000  WA       0     0     32
       [23] .data             PROGBITS         00000000003076e0  001076e0
            0000000000004988  0000000000000000  WA       0     0     32
      
      After
      
       [13] .rodata           PROGBITS         00000000000eaaa0  000eaaa0
            0000000000009a50  0000000000000000   A       0     0     32
       [19] .data.rel.ro      PROGBITS         0000000000306040  00106040
            0000000000002608  0000000000000000  WA       0     0     32
       [23] .data             PROGBITS         0000000000309360  00109360
            0000000000002e88  0000000000000000  WA       0     0     32
      
      The size of the write-able data section decreased considerably. Some
      entries became const-after-relocation, while most of its content went
      straight into the read-only data section.
      
      Best regards, Thomas
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403618
      e526b618
  10. 31 May, 2009 1 commit
  11. 28 May, 2009 1 commit
    • Sam Lantinga's avatar
      error message typo fix · 1decfd1a
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403614
      1decfd1a
  12. 23 May, 2009 1 commit
    • Sam Lantinga's avatar
      indent · 483f2ba3
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403608
      483f2ba3
  13. 15 May, 2009 1 commit
  14. 14 May, 2009 1 commit