WhatsNew.txt 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. This is a list of major changes in SDL's version history.
  2. ---------------------------------------------------------------------------
  3. 2.0.2:
  4. ---------------------------------------------------------------------------
  5. Android:
  6. * Joystick support (minimum SDK version required to build SDL is now 12,
  7. the required runtime version remains at 10, but on such devices joystick
  8. support won't be available).
  9. ---------------------------------------------------------------------------
  10. 2.0.1:
  11. ---------------------------------------------------------------------------
  12. General:
  13. * Added an API to get common filesystem paths in SDL_filesystem.h:
  14. SDL_GetBasePath(), SDL_GetPrefPath()
  15. * Added an API to do optimized YV12 and IYUV texture updates:
  16. SDL_UpdateYUVTexture()
  17. * Added an API to get the amount of RAM on the system:
  18. SDL_GetSystemRAM()
  19. * Added a macro to perform timestamp comparisons with SDL_GetTicks():
  20. SDL_TICKS_PASSED()
  21. * Dramatically improved OpenGL ES 2.0 rendering performance
  22. * Added OpenGL attribute SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
  23. Windows:
  24. * Created a static library configuration for the Visual Studio 2010 project
  25. * Added a hint to create the Direct3D device with support for multi-threading:
  26. SDL_HINT_RENDER_DIRECT3D_THREADSAFE
  27. * Added a function to get the D3D9 adapter index for a display:
  28. SDL_Direct3D9GetAdapterIndex()
  29. * Added a function to get the D3D9 device for a D3D9 renderer:
  30. SDL_RenderGetD3D9Device()
  31. * Fixed building SDL with the mingw32 toolchain (mingw-w64 is preferred)
  32. * Fixed crash when using two XInput controllers at the same time
  33. * Fixed detecting a mixture of XInput and DirectInput controllers
  34. * Fixed clearing a D3D render target larger than the window
  35. * Improved support for format specifiers in SDL_snprintf()
  36. Mac OS X:
  37. * Added support for retina displays:
  38. Create your window with the SDL_WINDOW_ALLOW_HIGHDPI flag, and then use SDL_GL_GetDrawableSize() to find the actual drawable size. You are responsible for scaling mouse and drawing coordinates appropriately.
  39. * Fixed mouse warping in fullscreen mode
  40. * Right mouse click is emulated by holding the Ctrl key while left clicking
  41. Linux:
  42. * Fixed float audio support with the PulseAudio driver
  43. * Fixed missing line endpoints in the OpenGL renderer on some drivers
  44. * X11 symbols are no longer defined to avoid collisions when linking statically
  45. iOS:
  46. * Fixed status bar visibility on iOS 7
  47. * Flipped the accelerometer Y axis to match expected values
  48. Android:
  49. IMPORTANT: You MUST get the updated SDLActivity.java to match C code
  50. * Moved EGL initialization to native code
  51. * Fixed the accelerometer axis rotation relative to the device rotation
  52. * Fixed race conditions when handling the EGL context on pause/resume
  53. * Touch devices are available for enumeration immediately after init
  54. Raspberry Pi:
  55. * Added support for the Raspberry Pi, see README-raspberrypi.txt for details