03 Nisan 2012 Salı 11:02
In June 2010 SDK, the most format is DXGI_FORMAT_R8G8B8A8_UNORM (_SRGB)
Why Metro Samples now use DXGI_FORMAT_B8G8R8A8_UNORM , For compatibility reason or performance reason ?
- Düzenleyen Raptor K 03 Nisan 2012 Salı 12:15
03 Nisan 2012 Salı 20:18
DXGI 1.0 / Direct3D 10 only supported RGB formats, not BGR.
DXGI 1.1 / Direct3D 11 added some BGR formats, but since these required WDDM 1.1 drivers to support we stuck with RGB formats for better 'compat' with Windows Vista.
Since all Metro style applications are Windows 8, you can count on DirectX 11.1 and WDDM 1.2 drivers or at least WDDM 1.1 drivers.
I believe there are some flip optimizatoin benefits to using BGR rather than RGB.
04 Nisan 2012 Çarşamba 02:39
Yes , BGR is about 5% faster than RGB as I tested.