summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/texture.h
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-05-30 07:19:21 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-05-30 07:19:21 +0000
commit928e43def776ab2cb40dbca87316ef956b805249 (patch)
treeb1db04d3535e7b311b46361980962377b218d9ac /plugins/peopsxgl/texture.h
parent51cf70467dfbcca5fbce7f25761678dd8b487d4e (diff)
downloadpcsxr-928e43def776ab2cb40dbca87316ef956b805249.tar.gz
x86_64 compatiablity for P.E.Op.S OpenGL Driver (untested)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23601 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/peopsxgl/texture.h')
-rw-r--r--plugins/peopsxgl/texture.h45
1 files changed, 22 insertions, 23 deletions
diff --git a/plugins/peopsxgl/texture.h b/plugins/peopsxgl/texture.h
index 51a897f6..b646af7c 100644
--- a/plugins/peopsxgl/texture.h
+++ b/plugins/peopsxgl/texture.h
@@ -19,42 +19,41 @@
#ifndef _GPU_TEXTURE_H_
#define _GPU_TEXTURE_H_
-#define TEXTUREPAGESIZE 256*256
+#define TEXTUREPAGESIZE 256 * 256
void InitializeTextureStore();
void CleanupTextureStore();
-GLuint LoadTextureWnd(long pageid,long TextureMode,unsigned long GivenClutId);
+GLuint LoadTextureWnd(int pageid, int TextureMode, uint32_t GivenClutId);
GLuint LoadTextureMovie(void);
-void InvalidateTextureArea(long imageX0,long imageY0,long imageX1,long imageY1);
+void InvalidateTextureArea(int imageX0, int imageY0, int imageX1, int imageY1);
void InvalidateTextureAreaEx(void);
void LoadTexturePage(int pageid, int mode, short cx, short cy);
void ResetTextureArea(BOOL bDelTex);
-GLuint SelectSubTextureS(long TextureMode, unsigned long GivenClutId);
+GLuint SelectSubTextureS(int TextureMode, uint32_t GivenClutId);
void CheckTextureMemory(void);
-
void LoadSubTexturePage(int pageid, int mode, short cx, short cy);
void LoadSubTexturePageSort(int pageid, int mode, short cx, short cy);
void LoadPackedSubTexturePage(int pageid, int mode, short cx, short cy);
void LoadPackedSubTexturePageSort(int pageid, int mode, short cx, short cy);
-unsigned long XP8RGBA(unsigned long BGR);
-unsigned long XP8RGBAEx(unsigned long BGR);
-unsigned long XP8RGBA_0(unsigned long BGR);
-unsigned long XP8RGBAEx_0(unsigned long BGR);
-unsigned long XP8BGRA_0(unsigned long BGR);
-unsigned long XP8BGRAEx_0(unsigned long BGR);
-unsigned long XP8RGBA_1(unsigned long BGR);
-unsigned long XP8RGBAEx_1(unsigned long BGR);
-unsigned long XP8BGRA_1(unsigned long BGR);
-unsigned long XP8BGRAEx_1(unsigned long BGR);
-unsigned long P8RGBA(unsigned long BGR);
-unsigned long P8BGRA(unsigned long BGR);
-unsigned long CP8RGBA_0(unsigned long BGR);
-unsigned long CP8RGBAEx_0(unsigned long BGR);
-unsigned long CP8BGRA_0(unsigned long BGR);
-unsigned long CP8BGRAEx_0(unsigned long BGR);
-unsigned long CP8RGBA(unsigned long BGR);
-unsigned long CP8RGBAEx(unsigned long BGR);
+uint32_t XP8RGBA(uint32_t BGR);
+uint32_t XP8RGBAEx(uint32_t BGR);
+uint32_t XP8RGBA_0(uint32_t BGR);
+uint32_t XP8RGBAEx_0(uint32_t BGR);
+uint32_t XP8BGRA_0(uint32_t BGR);
+uint32_t XP8BGRAEx_0(uint32_t BGR);
+uint32_t XP8RGBA_1(uint32_t BGR);
+uint32_t XP8RGBAEx_1(uint32_t BGR);
+uint32_t XP8BGRA_1(uint32_t BGR);
+uint32_t XP8BGRAEx_1(uint32_t BGR);
+uint32_t P8RGBA(uint32_t BGR);
+uint32_t P8BGRA(uint32_t BGR);
+uint32_t CP8RGBA_0(uint32_t BGR);
+uint32_t CP8RGBAEx_0(uint32_t BGR);
+uint32_t CP8BGRA_0(uint32_t BGR);
+uint32_t CP8BGRAEx_0(uint32_t BGR);
+uint32_t CP8RGBA(uint32_t BGR);
+uint32_t CP8RGBAEx(uint32_t BGR);
unsigned short XP5RGBA (unsigned short BGR);
unsigned short XP5RGBA_0 (unsigned short BGR);
unsigned short XP5RGBA_1 (unsigned short BGR);