Thu, 08 Jun 2017 22:40:21 +0200Fixed environment variable of SDL_HINT_RENDER_LOGICAL_SIZE_MODE.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Thu, 08 Jun 2017 22:40:21 +0200] rev 11079
Fixed environment variable of SDL_HINT_RENDER_LOGICAL_SIZE_MODE.

Thu, 08 Jun 2017 22:40:09 +0200Removed unused hint includes.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Thu, 08 Jun 2017 22:40:09 +0200] rev 11078
Removed unused hint includes.

Tue, 06 Jun 2017 14:06:40 -0400Merged Eric Wing's overscan patch.
Ryan C. Gordon <icculus@icculus.org> [Tue, 06 Jun 2017 14:06:40 -0400] rev 11077
Merged Eric Wing's overscan patch.

Fixes Bugzilla #2799.

Mon, 04 Apr 2016 19:25:24 -0700overscan (feature for SDL_RenderSetLogicalSize): Fix to ignore overscan hint when using the Direct3D 9 backend.
Eric Wing <ewing . public |-at-| gmail . com> [Mon, 04 Apr 2016 19:25:24 -0700] rev 11076
overscan (feature for SDL_RenderSetLogicalSize): Fix to ignore overscan hint when using the Direct3D 9 backend.
D39 does not support negative viewport values which the current implementation relies on.
D3D11 does support negative viewport values so that will continue working.
Refer to Bug 2799.

Sun, 21 Jun 2015 04:04:14 -0700merged SDL 2.0.4 rc2
Eric Wing <ewing . public |-at-| gmail . com> [Sun, 21 Jun 2015 04:04:14 -0700] rev 11075
merged SDL 2.0.4 rc2

Wed, 17 Jun 2015 20:03:08 -0700merged SDL 2.0.4rc1+
Eric Wing <ewing . public |-at-| gmail . com> [Wed, 17 Jun 2015 20:03:08 -0700] rev 11074
merged SDL 2.0.4rc1+

Fri, 17 Apr 2015 21:25:19 -0700resync'd overscan patch with SDL mainline.
Eric Wing <ewing . public |-at-| gmail . com> [Fri, 17 Apr 2015 21:25:19 -0700] rev 11073
resync'd overscan patch with SDL mainline.

Wed, 03 Dec 2014 04:41:26 -0800Adds support to control the scaling policy/mode of SDL_RenderSetLogicalSize for both letterbox (current behavior) and a new overscan mode (expand to fill the entire screen, even if some parts draw off the screen).
Eric Wing <ewing . public |-at-| gmail . com> [Wed, 03 Dec 2014 04:41:26 -0800] rev 11072
Adds support to control the scaling policy/mode of SDL_RenderSetLogicalSize for both letterbox (current behavior) and a new overscan mode (expand to fill the entire screen, even if some parts draw off the screen).

The expected use case is for games that are designed with multiple aspect ratios already in mind and leave optional margins on the edges of the game which won't hurt if they are cut off.

An example use case is a game is designed for wide-screen/16:9, but then wants to deploy on an iPad which is 4:3. Normally, SDL will letterbox, which will shrink things and result in wasted space. But the designer already thought about 4:3 and designed the edges of the game so they could be cut off without any functional loss. So rather than wasting space with letterboxing, "overscan" mode will zoom the rendering to fill up the entire screen. Parts on the edges will be drawn offscreen, but since the game was already designed with this in mind, it is fine. The end result is the iPad (4:3) experience is much better since it feels like a game designed for that screen aspect ratio.

This patch introduces a new SDL_hint: SDL_HINT_RENDER_LOGICAL_SIZE_MODE.
Valid values are "letterbox" or "0" for letterboxing and "overscan" or "1" for overscan.
The default mode is letterbox to preserve existing behavior.

// Example usage:
SDL_SetHint(SDL_HINT_RENDER_LOGICAL_SIZE_MODE, "overscan");
SDL_RenderSetLogicalSize(renderer, SCREEN_WIDTH, SCREEN_HEIGHT);

Sun, 04 Jun 2017 21:25:57 +0300Android cmake build fixed to work with the official android gradle plugin
Olli Kallioinen <olli.kallioinen@iki.fi> [Sun, 04 Jun 2017 21:25:57 +0300] rev 11071
Android cmake build fixed to work with the official android gradle plugin

Tue, 06 Jun 2017 13:39:29 -0400cmake: don't use /NODEFAULTLIB if we are using the C runtime (thanks, Rob!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 06 Jun 2017 13:39:29 -0400] rev 11070
cmake: don't use /NODEFAULTLIB if we are using the C runtime (thanks, Rob!).

Fixes Bugzilla #3640.