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
Uniforms/constants aren't shared in D3D, let's not pretend they are.
D3D: Use fixed constant registers for pixel shader constants
D3D: Use fixed constant registers for vertex shaders too.
Some renaming
DX9: Not much point in tracking dirtiness per shader now that all constants are shared.