summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/prim.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9 from jlHertel/masteriCatButler2018-12-181-21/+21
|\ | | | | Fix various GCC warnings on peopsxgl plugin
| * Fix various GCC warnings on peopsxgl pluginJean Hertel2018-08-161-21/+21
| |
* | Port various fixes from Beetle renderersiCatButler2018-12-161-151/+191
|/ | | | | | - Use PGXP w values to detect 3D geometry when modifying tex coords for flipped sprites - Replace line rendering algorithm with find/force line hack implementations - Add UI drop box to access this (no longer dependent on tex coord control)
* * Fix file and folder permissionsStelios Tsampas2018-03-191-0/+0
|
* * Sync with codeplex branch (libpcsxcore, linux gui)Stelios Tsampas2017-07-311-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reflects mostly changes that happened in upstream since the last sync. Commit messages in upstream are lacking information. Most important changes are commented below, the rest of them are either formating or just trivial stuff. Memory viewer, invalidate dynarec gui/DebugMemory.c libpcsxcore/cdrom.c libpcsxcore/gpu.c libpcsxcore/misc.c libpcsxcore/psxdma.c Load binary files and psx executables libpcsxcore/misc.c libpcsxcore/misc.h libpcsxcore/plugin.c libpcsxcore/plugin.h Support for psxida libpcsxcore/debug.c libpcsxcore/r3000a.c plugins/bladesio1/connection.c disable loading save states with digits gui/Plugin.c Fix psxDIV in interpreter libpcsxcore/psxinterpreter.c
* Fix compilation on linux.Stelios Tsampas2017-07-161-1/+1
|
* Add support for new visualisationsiCatButler2017-03-171-12/+12
| | | | | | | - vertex colour - new primitive type encoding Now displays semi-transparent as coloured wireframe to allow them to be visible without corrupting the colour information.
* Various CPU updatesiCatButler2016-07-301-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Sign extend values read using LH - Add conversion functions to represent Signed/Unsigned 16-bit ranges - Add overflow and truncation functions for 16-bit ranges - Sign extend imm value in ADD(U) - Add component overflow and truncation to ADD/SUB functions - Construct new value in logic operators where result using inputs is undefined - Return a valid W component from logic operators (if either input has one) - Compare against high value (y), then low value (x) in less than operators - Use doubles and implement overflow for Multiply operations to try to increase accuracy - Use unsigned values in both MUL and DIV operations to make output as accurate as possible - Implement several variants of shift operators. Trying both arithmetically correct and more analytical approaches with varying success. Debug updates - Added ability to force all values to be equal to low precision values before operating on them - Added feature to test output of operations against a tolerance and print only those which fail GPU updates - Colour vertices with valid XY coordinates but no W as cyan to make them easier to spot - Remove cyan colouring for stale vertices (wasn't useful) - Added ability to skip debug rendering when needed (like seeing the output of offscreen rendering applied to a sprite). - Added new mode which shows primitive type
* Fix screen smoothingiCatButler2016-05-311-0/+7
| | | | | - Reset w values - Set PGXP flag to ignore
* Add PGXP visual debug modeiCatButler2016-05-101-0/+68
| | | | | | | Toggles using F11 Red = low precision Blue = high precision Yellow = Sprite
* Fix bugs from previousiCatButler2016-05-021-40/+40
| | | | | | | | | | | | 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-9/+9
| | | | | | | | | | | | | - 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.
* Initial upload of PGXP.iCatButler2016-03-251-12/+12
|
* Unix style EOL (thanks to darktjm);SND\edgbla_cp2012-11-181-4661/+4661
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81299 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Patch 10767 (Durandal_1707).SND\edgbla_cp2011-11-091-20/+20
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Temporarily reverted r64524 until I (or someone else) find the time to sort ↵SND\weimingzhi_cp2011-03-131-4662/+4661
| | | | | | out the stuff. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64536 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Commited patch in issue #8171 (by darktjm).SND\dario86_cp2011-03-121-934/+935
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64524 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* x86_64 compatiablity for P.E.Op.S OpenGL Driver (untested)SND\weimingzhi_cp2009-05-301-76/+77
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23601 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Integrated P.E.Op.S OpenGL plugin into the build tree (still does NOT work ↵SND\weimingzhi_cp2009-05-091-0/+4660
on x86_64) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23342 e17a0e51-4ae3-4d35-97c3-1a29b211df97