summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/pgxp_gpu.h
Commit message (Collapse)AuthorAgeFilesLines
* Add PGXP visual debug modeiCatButler2016-05-101-0/+11
| | | | | | | Toggles using F11 Red = low precision Blue = high precision Yellow = Sprite
* Fix bugs from previousiCatButler2016-05-021-0/+3
| | | | | | | | | | | | Fix stray triangles - Switch to full floating point RTPS/RTPT - Clamp w values to near plane Fix texture corruption in 1.78, copy 2.4 Tweak - Remove matrix replacement - Add W component to vertices - Wrap glVertex3fv calls - Use counter to call glVertex4fv for PGXP vertices only
* Perspective correct texturingiCatButler2016-04-271-1/+2
| | | | | | | | | | | | | - replace calls to glOrtho with new matrix (z value becomes w) - store w value for each vertex - if any vertex does not have a w value set whole polygon to 1.0 - Reset vertex between draw calls to prevent stale w values persisting - validate PGXP values using stored copy of original (allow greater variance) - properly convert addresses before passing to plugin - rework memory to use a single pool with offsets - Implement floating point RTPS/RTPT transform, currently disabled.
* - Move pgxp_gpu source files into correct folder.iCatButler2016-03-261-0/+34
- Trace 16 bit reads and writes, invalidate register or memory (fixes UI glitches)