Mostly eliminates usage of getD3DFormat in Texture.

TRAC #21906

Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1367 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/Image.h b/src/libGLESv2/renderer/Image.h
index 8f25913..a39f602 100644
--- a/src/libGLESv2/renderer/Image.h
+++ b/src/libGLESv2/renderer/Image.h
@@ -32,6 +32,7 @@
 
     bool isRenderableFormat() const;
     D3DFORMAT getD3DFormat() const;
+    GLenum getActualFormat() const;
 
     GLsizei getWidth() const {return mWidth;}
     GLsizei getHeight() const {return mHeight;}
@@ -108,6 +109,7 @@
 
     D3DPOOL mD3DPool;   // can only be D3DPOOL_SYSTEMMEM or D3DPOOL_MANAGED since it needs to be lockable.
     D3DFORMAT mD3DFormat;
+    GLenum mActualFormat;
 
     IDirect3DSurface9 *mSurface;
 };