aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2020-10-10 16:52:24 +0200
committerGitHub <noreply@github.com>2020-10-10 16:52:24 +0200
commitcb50040aab19ef299117742f983bb2f99283ef46 (patch)
tree16baec40c0e3fefa281dcb54f430d0ab9d23ffec /README.md
parent5b488a0067b70c45df8945795d5be4a5923bb859 (diff)
sokol_app.h: modernize D3D11 swapchain code (#401)
win32+d3d11: use DXGI_SWAP_EFFECT_FLIP_DISCARD if available, uwp+d3d11: add MSAA support
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/README.md b/README.md
index 70d62c5e..204abe3f 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Simple
[STB-style](https://github.com/nothings/stb/blob/master/docs/stb_howto.txt)
cross-platform libraries for C and C++, written in C.
-[See what's new](#updates) (**07-Oct-2020** sokol_audio.h: ALSA backend initialization fixes)
+[See what's new](#updates) (**10-Oct-2020** sokol_app.h win32/uwp: D3D11/DXGI swapchain code modernization)
[Live Samples](https://floooh.github.io/sokol-html5/index.html) via WASM.
@@ -432,6 +432,18 @@ Emulators](https://floooh.github.io/tiny8bit/) for more interesting usage exampl
# Updates
+- **10-Oct-2020**: Improvements to the sokol_app.h Win32+D3D11 and UWP+D3D11 swapchain code:
+ - In the Win32+D3D11 backend and when running on Win10,
+ ```DXGI_SWAP_EFFECT_FLIP_DISCARD``` is now used. This gets rid of a
+ deprecation warning in the debugger console and also should allow slightly
+ more efficient swaps in some situations. When running on Win7 or Win8, the
+ traditional ```DXGI_SWAP_EFFECT_DISCARD``` is used.
+ - The UWP backend now supports MSAA multisampling (the required fixes for
+ this are the same as in the Win32 backend with the new swap effect: a
+ separate MSAA texture and render-target-view is created where
+ rendering goes into, and this MSAA texture is resolved into the actual
+ swapchain surface before presentation).
+
- **07-Oct-2020**:
A fix in the ALSA/Linux backend initialization in sokol_audio.h: Previously,
initialization would fail if ALSA can't allocate the exact requested