d3d: Begin centralizing framebuffer management.
Merge pull request #6866 from unknownbrackets/d3d9

d3d: Begin centralizing framebuffer management
Revert "Set NSPrincipalClass to get retina widget rendering on OS X"
Merge pull request #6867 from hrydgard/revert-6835-principal_class

Revert "Set NSPrincipalClass to get retina widget rendering on OS X"
Qt buildfix.
D3D9: Add support for D3D9Ex, which has faster flipping and an option for lower latency, and some other stuff.

MANAGED textures are not allowed though so compensate for that by making them dynamic for now.
D3D: Remove now-redundant texture coord scaling now that we decode the 8-bit and 16-bit formats in the vertex decoder
d3d: Migrate a few more things into common code.
d3d: Centralize framebuf creation/switch logic.
Move FBO_OLD_AGE to the common header.

Guess it's fine here.
d3d: Don't statically import Direct3DCreate9Ex().
d3d: Fix drawpixels texture.
Disable D3D9Ex until we can tune for it.
Merge pull request #6869 from unknownbrackets/d3d9

d3d: Centralize more framebuffer management
DX9: Disable an annoying warning in vertex shader generator to clean up our reports

warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
Fixes saveicons in Kirameki School Life SP.
Change function name
Merge pull request #6875 from daniel229/func_replace_Kirameki

Replace frame download in Kirameki School Life SP.
Fix a wrong condition
Merge pull request #6876 from chinhodado/patch-3

Fix a wrong condition in buffer resizing