WhatsNew.txt
author Gabriel Jacobo <gabomdq@gmail.com>
Sat, 14 Dec 2013 20:18:43 -0300
changeset 8062 4fc5f66d63cc
parent 8057 801d84e26f91
child 8197 7e9a477d3e07
permissions -rw-r--r--
Wayland support

Based on the original port to Wayland by: Joel Teichroeb, Benjamin Franzke, Scott Moreau, et al.

Additional changes in this commit, done by me:

* Wayland uses the common EGL framework
* EGL can now create a desktop OpenGL context
* testgl2 loads GL functions dynamically, no need to link to libGL anymore
* Assorted fixes to the Wayland backend

Tested on the Weston Compositor (v1.0.5) that ships with Ubuntu 13.10,
running Weston under X. Tests ran: testrendercopyex (all backends), testgl2, testgles2,testintersections
slouken@7228
     1
slouken@7878
     2
This is a list of major changes in SDL's version history.
slouken@7228
     3
slouken@7878
     4
---------------------------------------------------------------------------
gabomdq@7907
     5
2.0.2:
gabomdq@7907
     6
---------------------------------------------------------------------------
gabomdq@8044
     7
General:
gabomdq@8044
     8
* Added an API to load a database of Game Controller mappings from a file:    
gabomdq@8044
     9
    SDL_GameControllerAddMappingsFromFile
gabomdq@8062
    10
* EGL can now create/manage OpenGL and OpenGL ES 1.x/2.x contexts, and share
gabomdq@8062
    11
  them using SDL_GL_SHARE_WITH_CURRENT_CONTEXT
gabomdq@8062
    12
* Added testgles2. testgl2 does not need to link with libGL anymore.
gabomdq@8062
    13
  
gabomdq@8044
    14
Windows:
gabomdq@8044
    15
* Support for OpenGL ES 2.x contexts using either WGL or EGL (natively via
gabomdq@8044
    16
  the driver or emulated through ANGLE)
gabomdq@7907
    17
gabomdq@7907
    18
Android:
gabomdq@7907
    19
* Joystick support (minimum SDK version required to build SDL is now 12, 
gabomdq@7907
    20
  the required runtime version remains at 10, but on such devices joystick 
gabomdq@7907
    21
  support won't be available).
gabomdq@8057
    22
* Hotplugging support for joysticks
gabomdq@7907
    23
gabomdq@8044
    24
Linux:
gabomdq@8044
    25
* Fixed fullscreen and focused behavior when receiving NotifyGrab events
gabomdq@8062
    26
* Wayland support
gabomdq@7907
    27
gabomdq@7907
    28
---------------------------------------------------------------------------
slouken@7878
    29
2.0.1:
slouken@7878
    30
---------------------------------------------------------------------------
slouken@7878
    31
slouken@7878
    32
General:
slouken@7878
    33
* Added an API to get common filesystem paths in SDL_filesystem.h:
slouken@7878
    34
    SDL_GetBasePath(), SDL_GetPrefPath()
slouken@7878
    35
* Added an API to do optimized YV12 and IYUV texture updates:
slouken@7878
    36
    SDL_UpdateYUVTexture()
slouken@7878
    37
* Added an API to get the amount of RAM on the system:
slouken@7878
    38
    SDL_GetSystemRAM()
slouken@7878
    39
* Added a macro to perform timestamp comparisons with SDL_GetTicks():
slouken@7878
    40
    SDL_TICKS_PASSED()
slouken@7878
    41
* Dramatically improved OpenGL ES 2.0 rendering performance
slouken@7878
    42
* Added OpenGL attribute SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
slouken@7878
    43
slouken@7878
    44
Windows:
slouken@7878
    45
* Created a static library configuration for the Visual Studio 2010 project
slouken@7878
    46
* Added a hint to create the Direct3D device with support for multi-threading:
slouken@7878
    47
    SDL_HINT_RENDER_DIRECT3D_THREADSAFE
slouken@7878
    48
* Added a function to get the D3D9 adapter index for a display:
slouken@7878
    49
    SDL_Direct3D9GetAdapterIndex()
slouken@7878
    50
* Added a function to get the D3D9 device for a D3D9 renderer:
slouken@7878
    51
    SDL_RenderGetD3D9Device()
slouken@7878
    52
* Fixed building SDL with the mingw32 toolchain (mingw-w64 is preferred)
slouken@7878
    53
* Fixed crash when using two XInput controllers at the same time
slouken@7878
    54
* Fixed detecting a mixture of XInput and DirectInput controllers
slouken@7878
    55
* Fixed clearing a D3D render target larger than the window
slouken@7878
    56
* Improved support for format specifiers in SDL_snprintf()
slouken@7878
    57
slouken@7878
    58
Mac OS X:
slouken@7878
    59
* Added support for retina displays:
slouken@7878
    60
  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.
slouken@7878
    61
* Fixed mouse warping in fullscreen mode
slouken@7878
    62
* Right mouse click is emulated by holding the Ctrl key while left clicking
slouken@7878
    63
slouken@7878
    64
Linux:
slouken@7878
    65
* Fixed float audio support with the PulseAudio driver
slouken@7878
    66
* Fixed missing line endpoints in the OpenGL renderer on some drivers
slouken@7878
    67
* X11 symbols are no longer defined to avoid collisions when linking statically
slouken@7878
    68
slouken@7878
    69
iOS:
slouken@7878
    70
* Fixed status bar visibility on iOS 7
slouken@7878
    71
* Flipped the accelerometer Y axis to match expected values
slouken@7878
    72
slouken@7878
    73
Android:
slouken@7878
    74
IMPORTANT: You MUST get the updated SDLActivity.java to match C code
slouken@7878
    75
* Moved EGL initialization to native code 
slouken@7878
    76
* Fixed the accelerometer axis rotation relative to the device rotation
slouken@7878
    77
* Fixed race conditions when handling the EGL context on pause/resume
slouken@7878
    78
* Touch devices are available for enumeration immediately after init
slouken@7878
    79
slouken@7878
    80
Raspberry Pi:
slouken@7878
    81
* Added support for the Raspberry Pi, see README-raspberrypi.txt for details