summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.h
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-10-14 22:28:23 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-10-14 22:28:23 +0000
commit540f59ef07f4d7a652d8e7eb5400f09b5b3377fa (patch)
tree5a4052ffb4d424b630946d762fbc0260ec149206 /Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.h
parent9f8a2986a2aed4aec25d787fbd6d2ed44214610b (diff)
OpenCL: More formats (thanks, orphis) RGBA8, RGB565, RGB5A3. Optimized the buffer creation. There is a visible performance boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4422 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.h')
-rw-r--r--Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.h b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.h
index 2e3e3d905a..43a59dab8f 100644
--- a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.h
+++ b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.h
@@ -20,6 +20,9 @@
#include "Common.h"
#include "../TextureDecoder.h"
+void TexDecoder_OpenCL_Initialize();
+void TexDecoder_OpenCL_Shutdown();
+
PC_TexFormat TexDecoder_Decode_OpenCL(u8 *dst, const u8 *src, int width, int height, int texformat, int tlutaddr, int tlutfmt);
#endif