diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-11-25 23:56:57 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-11-25 23:56:57 +0000 |
| commit | d0a48f654ae010d8a96d5a124514efa27e620f6c (patch) | |
| tree | 14b9948550f53d495f2d3aad7a40f316f5d75a71 /Source/Core/VideoCommon/Src/TextureDecoder.h | |
| parent | a95e80468160c36f9bdef08f45461ed0b79e887d (diff) | |
Improve safe texture cache - now using sparse CRC to identify textures. Far less video glitches - metroid intro looks good.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1298 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.h')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureDecoder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.h b/Source/Core/VideoCommon/Src/TextureDecoder.h index 86e07f3da4..bac0cec7a1 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.h +++ b/Source/Core/VideoCommon/Src/TextureDecoder.h @@ -65,6 +65,7 @@ enum TextureFormat };
int TexDecoder_GetTexelSizeInNibbles(int format);
+int TexDecoder_GetTextureSizeInBytes(int width, int height, int format);
int TexDecoder_GetBlockWidthInTexels(int format);
int TexDecoder_GetPaletteSize(int fmt);
@@ -76,6 +77,8 @@ enum PC_TexFormat PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, int texformat, int tlutaddr, int tlutfmt);
+u32 TexDecoder_GetSafeTextureHash(const u8 *src, int width, int height, int texformat);
+
void TexDecoder_SetTexFmtOverlayOptions(bool enable, bool center);
#endif
|
