Updated documentation with API changes in SDL 2.0.8
authorSam Lantinga <slouken@libsdl.org>
Sat, 24 Feb 2018 08:18:09 -0800
changeset 118965607348c333f
parent 11895 0bd9e1e133e9
child 11897 cb9a637278ad
Updated documentation with API changes in SDL 2.0.8
WhatsNew.txt
include/SDL_hints.h
     1.1 --- a/WhatsNew.txt	Fri Feb 23 19:12:04 2018 -0500
     1.2 +++ b/WhatsNew.txt	Sat Feb 24 08:18:09 2018 -0800
     1.3 @@ -6,8 +6,9 @@
     1.4  ---------------------------------------------------------------------------
     1.5  
     1.6  General:
     1.7 -* Added SDL_fmod()
     1.8 +* Added SDL_fmod() and SDL_log10()
     1.9  * Each of the SDL math functions now has the corresponding float version
    1.10 +* Added SDL_SetYUVConversionMode() and SDL_GetYUVConversionMode() to control the formula used when converting to and from YUV colorspace. The options are JPEG, BT.601, and BT.709
    1.11  
    1.12  Windows:
    1.13  * Implemented WASAPI support on Windows UWP and removed the deprecated XAudio2 implementation
    1.14 @@ -19,6 +20,23 @@
    1.15  * Added a Metal 2D render implementation
    1.16  * Added SDL_RenderGetMetalLayer() and SDL_RenderGetMetalCommandEncoder() to insert your own drawing into SDL rendering when using the Metal implementation
    1.17  
    1.18 +iOS:
    1.19 +* Added the hint SDL_HINT_IOS_HIDE_HOME_INDICATOR to control whether the home indicator bar on iPhone X should be hidden. This defaults to dimming the indicator for fullscreen applications and showing the indicator for windowed applications.
    1.20 +
    1.21 +iOS / Android:
    1.22 +* Added SDL_IsAndroidTV() to tell whether the application is running on Android TV
    1.23 +* Added the hint SDL_HINT_RETURN_KEY_HIDES_IME to control whether the return key on the software keyboard should hide the keyboard or send a key event (the default)
    1.24 +
    1.25 +Android:
    1.26 +* SDL now requires the API 19 SDK to build, but can still target devices down to API 14 (Android 4.0.1)
    1.27 +
    1.28 +Android / tvOS:
    1.29 +* Added the hint SDL_HINT_TV_REMOTE_AS_JOYSTICK to control whether TV remotes should be listed as joystick devices (the default) or send keyboard events.
    1.30 +
    1.31 +Linux:
    1.32 +* Added the hint SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR to control whether the X server should skip the compositor for the SDL application. This defaults to "1"
    1.33 +* Added the hint SDL_HINT_VIDEO_DOUBLE_BUFFER to control whether the Raspberry Pi and KMSDRM video drivers should use double or triple buffering (the default)
    1.34 +
    1.35  
    1.36  ---------------------------------------------------------------------------
    1.37  2.0.7:
     2.1 --- a/include/SDL_hints.h	Fri Feb 23 19:12:04 2018 -0500
     2.2 +++ b/include/SDL_hints.h	Sat Feb 24 08:18:09 2018 -0800
     2.3 @@ -389,7 +389,7 @@
     2.4  #define SDL_HINT_ACCELEROMETER_AS_JOYSTICK "SDL_ACCELEROMETER_AS_JOYSTICK"
     2.5  
     2.6  /**
     2.7 - *  \brief  A variable controlling whether the Android / iOS remotes
     2.8 + *  \brief  A variable controlling whether the Android / tvOS remotes
     2.9   *  should be listed as joystick devices, instead of sending keyboard events.
    2.10   *
    2.11   *  This variable can be set to the following values: