summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/pgxp_gpu.h
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-09-01 09:00:00 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-09-01 09:00:00 +0100
commitb9ca947ae0c9d45a4f76a58d1a0e1e4924f32a72 (patch)
tree504fa0e362dc7a0dba586bad7ea9b6b85644b4ce /plugins/peopsxgl/pgxp_gpu.h
parentaa5016339fca96c6a608a1d5dedf5eab250abe57 (diff)
downloadpcsxr-b9ca947ae0c9d45a4f76a58d1a0e1e4924f32a72.tar.gz
Fix some edge cases and imprve depth visualisation:
- Remove upper 4-bits of each vertex as they may contain bad data (THPS) - Check if memory block from DMA is as expected, some primitives are not the first data in the block and preceding data needs to be skipped (HT, A2) - Change depth visualisation to a colour gradient that makes inconsistencies easier to see - Add support for visualising low resolution but consistent depth found in the Ordering Table
Diffstat (limited to 'plugins/peopsxgl/pgxp_gpu.h')
-rw-r--r--plugins/peopsxgl/pgxp_gpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/peopsxgl/pgxp_gpu.h b/plugins/peopsxgl/pgxp_gpu.h
index aacc6912..789993d4 100644
--- a/plugins/peopsxgl/pgxp_gpu.h
+++ b/plugins/peopsxgl/pgxp_gpu.h
@@ -36,7 +36,8 @@ struct OGLVertexTag;
typedef struct OGLVertexTag OGLVertex;
void PGXP_SetMatrix(float left, float right, float bottom, float top, float zNear, float zFar);
-void PGXP_SetAddress(unsigned int addr);
+void PGXP_SetAddress(unsigned int addr, uint32_t *baseAddrL, int size);
+void PGXP_SetDepth(unsigned int addr);
int PGXP_GetVertices(unsigned int* addr, void* pOutput, int xOffs, int yOffs);
void PGXP_glVertexfv(GLfloat* pVertex);