WhatsNew.txt
author Sam Lantinga <slouken@libsdl.org>
Sun, 09 Mar 2014 10:38:30 -0700
changeset 8303 7ee46ffa9c24
parent 8274 8b1f8feb42a6
child 8625 f285b9487756
permissions -rw-r--r--
Updated SDL to version 2.0.3
     1 
     2 This is a list of major changes in SDL's version history.
     3 
     4 ---------------------------------------------------------------------------
     5 2.0.3:
     6 ---------------------------------------------------------------------------
     7 
     8 
     9 ---------------------------------------------------------------------------
    10 2.0.2:
    11 ---------------------------------------------------------------------------
    12 General:
    13 * Added SDL_GL_ResetAttributes() to reset OpenGL attributes to default values
    14 * Added an API to load a database of game controller mappings from a file:
    15     SDL_GameControllerAddMappingsFromFile(), SDL_GameControllerAddMappingsFromRW()
    16 * Added game controller mappings for the PS4 and OUYA controllers
    17 * Added SDL_GetDefaultAssertionHandler() and SDL_GetAssertionHandler()
    18 * Added SDL_DetachThread()
    19 * Added SDL_HasAVX() to determine if the CPU has AVX features
    20 * Added SDL_vsscanf(), SDL_acos(), and SDL_asin() to the stdlib routines
    21 * EGL can now create/manage OpenGL and OpenGL ES 1.x/2.x contexts, and share
    22   them using SDL_GL_SHARE_WITH_CURRENT_CONTEXT
    23 * Added a field "clicks" to the mouse button event which records whether the event is a single click, double click, etc.
    24 * The screensaver is now disabled by default, and there is a hint SDL_HINT_VIDEO_ALLOW_SCREENSAVER that can change that behavior.
    25 * Added a hint SDL_HINT_MOUSE_RELATIVE_MODE_WARP to specify whether mouse relative mode should be emulated using mouse warping.
    26 * testgl2 does not need to link with libGL anymore
    27 * Added testgles2 test program to demonstrate working with OpenGL ES 2.0
    28 * Added controllermap test program to visually map a game controller
    29 
    30 Windows:
    31 * Support for OpenGL ES 2.x contexts using either WGL or EGL (natively via
    32   the driver or emulated through ANGLE)
    33 * Added a hint SDL_HINT_VIDEO_WIN_D3DCOMPILER to specify which D3D shader compiler to use for OpenGL ES 2 support through ANGLE
    34 * Added a hint SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT that is useful when creating multiple windows that should share the same OpenGL context.
    35 * Added an event SDL_RENDER_TARGETS_RESET that is sent when D3D9 render targets are reset after the device has been restored.
    36 
    37 Mac OS X:
    38 * Added a hint SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK to control whether Ctrl+click should be treated as a right click on Mac OS X. This is off by default.
    39 
    40 Linux:
    41 * Fixed fullscreen and focused behavior when receiving NotifyGrab events
    42 * Added experimental Wayland and Mir support, disabled by default
    43 
    44 Android:
    45 * Joystick support (minimum SDK version required to build SDL is now 12, 
    46   the required runtime version remains at 10, but on such devices joystick 
    47   support won't be available).
    48 * Hotplugging support for joysticks
    49 * Added a hint SDL_HINT_ACCELEROMETER_AS_JOYSTICK to control whether the accelerometer should be listed as a 3 axis joystick, which it will by default.
    50 
    51 
    52 ---------------------------------------------------------------------------
    53 2.0.1:
    54 ---------------------------------------------------------------------------
    55 
    56 General:
    57 * Added an API to get common filesystem paths in SDL_filesystem.h:
    58     SDL_GetBasePath(), SDL_GetPrefPath()
    59 * Added an API to do optimized YV12 and IYUV texture updates:
    60     SDL_UpdateYUVTexture()
    61 * Added an API to get the amount of RAM on the system:
    62     SDL_GetSystemRAM()
    63 * Added a macro to perform timestamp comparisons with SDL_GetTicks():
    64     SDL_TICKS_PASSED()
    65 * Dramatically improved OpenGL ES 2.0 rendering performance
    66 * Added OpenGL attribute SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
    67 
    68 Windows:
    69 * Created a static library configuration for the Visual Studio 2010 project
    70 * Added a hint to create the Direct3D device with support for multi-threading:
    71     SDL_HINT_RENDER_DIRECT3D_THREADSAFE
    72 * Added a function to get the D3D9 adapter index for a display:
    73     SDL_Direct3D9GetAdapterIndex()
    74 * Added a function to get the D3D9 device for a D3D9 renderer:
    75     SDL_RenderGetD3D9Device()
    76 * Fixed building SDL with the mingw32 toolchain (mingw-w64 is preferred)
    77 * Fixed crash when using two XInput controllers at the same time
    78 * Fixed detecting a mixture of XInput and DirectInput controllers
    79 * Fixed clearing a D3D render target larger than the window
    80 * Improved support for format specifiers in SDL_snprintf()
    81 
    82 Mac OS X:
    83 * Added support for retina displays:
    84   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.
    85 * Fixed mouse warping in fullscreen mode
    86 * Right mouse click is emulated by holding the Ctrl key while left clicking
    87 
    88 Linux:
    89 * Fixed float audio support with the PulseAudio driver
    90 * Fixed missing line endpoints in the OpenGL renderer on some drivers
    91 * X11 symbols are no longer defined to avoid collisions when linking statically
    92 
    93 iOS:
    94 * Fixed status bar visibility on iOS 7
    95 * Flipped the accelerometer Y axis to match expected values
    96 
    97 Android:
    98 IMPORTANT: You MUST get the updated SDLActivity.java to match C code
    99 * Moved EGL initialization to native code 
   100 * Fixed the accelerometer axis rotation relative to the device rotation
   101 * Fixed race conditions when handling the EGL context on pause/resume
   102 * Touch devices are available for enumeration immediately after init
   103 
   104 Raspberry Pi:
   105 * Added support for the Raspberry Pi, see README-raspberrypi.txt for details