Cache the computation of getD3DFormat

Trac #19259
Issue=268

Instead of looking this up every time, we'll just compute it when the type/format changes.

Signed-off-by: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@918 736b8ea6-26fd-11df-bfd4-992fa37f6226
2 files changed