Commit Graph
11 Commits
Author SHA1 Message Date
Henrik Rydgard 7271e3fcd5 Fix fog and stencil buffer clearing. The latter fixes the sky in MotoGP. 2013-01-14 20:44:11 +01:00
Henrik Rydgard 590d94da9f Add basic stencil test functionality, shadows work in Wipeout. update native.
This is not the whole story though, the PSP is being tricky by sharing the dest alpha and stencil.
2013-01-12 17:21:07 +01:00
Henrik Rydgard cf1b5a6911 Try to fix color masking problems. 2013-01-12 14:20:38 +01:00
Henrik Rydgard 60f9da3926 Add support for color masking. Improves the look of Wipeout greatly. 2013-01-12 12:52:00 +01:00
Henrik Rydgard 9363a867e2 Add glViewport to cached gl state. Add a couple of missing VFPU ops. 2013-01-06 23:23:36 +01:00
Henrik Rydgard 3e51224d86 Re-enable viewport code. Let me know what it breaks by posting an issue. 2013-01-05 11:50:12 +01:00
Henrik Rydgård d21647bbb9 Split code from GLES_GPU to TransformDrawEngine, cleanup 2012-12-25 22:39:37 +01:00
Henrik Rydgard 4c23d668e1 Cleanup and reorganize gpu code a little 2012-12-21 16:50:14 +01:00
Sacha 3c903dda24 Improve portability to future platforms. Make use of new USING_GLES2 define throughout PPSSPP. Also use ARM definition where suitable. Remove some redundancy with includes. 2012-11-26 13:25:14 +10:00
Henrik Rydgard d0f829353d Support FIXA and FIXB blend factors as well as possible. 2012-11-25 15:49:37 +01:00
Florent Castelli 56175bc505 Defer blend, cull and depth test changes to draw command
Avoid unnecessary state changes and reduces the amount of OpenGL calls.
It also puts all the interesting logic at the same place, reducing the
complexity a little.
2012-11-24 15:19:29 +01:00