pcsx2/plugins/zzogl-pg/opengl
gregory.hainaut a8209d610b zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl
* Clean the zzsetparameter API to always use the program for uniform that depends on the program. Future goal is to use a nice OO interface
* Use uniform buffer. Would allow future optimization and remove most initialization stuff. Don't support yet the 2 zzogl contexts.



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5201 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-07 19:51:58 +00:00
..
Linux zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
Win32 zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
ZeroGSShaders cmake: add a bunch of Micove patch. Thanks. 2012-05-01 10:54:52 +00:00
ctx0 Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
ctx1 Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
CMakeLists.txt zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
CRC.h GregMiscellaneous: zzogl-pg: Start gathering the hack code in one place. 2010-11-07 04:45:10 +00:00
GLWin.h zzogl: 2012-04-29 18:50:07 +00:00
GLWin32.cpp GSdx: Better hackfix for Dragon Ball Z Budokai Tenkaichi 3, missing body parts still happened sometimes. Thanks to miseru99 for the initial patch and testing. 2011-06-12 22:07:59 +00:00
GLWinX11.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
GS.h zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
GSDump.cpp zzogl-pg: import GSdump feature from GSdx 2012-04-07 21:23:01 +00:00
GSDump.h zzogl-pg: import GSdump feature from GSdx 2012-04-07 21:23:01 +00:00
GSmain.cpp zzogl: 2012-04-29 18:50:07 +00:00
GifTransfer.cpp zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
GifTransfer.h GregMiscellaneous: zzogl-pg: Use some of the routines in the Utilities library instead of the copies in ZZOgl. (Which were basically older versions of the same code.) 2010-11-07 05:51:54 +00:00
HostMemory.cpp zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
HostMemory.h zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
Mem.cpp zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
Mem.h zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
Mem_Swizzle.cpp zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
Mem_Swizzle.h GregMiscellaneous: zzogl-pg: 2010-11-07 10:27:27 +00:00
Mem_Tables.cpp zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
Mem_Transmit.h zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
Profile.cpp GregMiscellaneous: zzogl-pg: Use some of the routines in the Utilities library instead of the copies in ZZOgl. (Which were basically older versions of the same code.) 2010-11-07 05:51:54 +00:00
Profile.h Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
README.txt Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
Regs.cpp zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
Regs.h zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
Util.h zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
ZZClut.cpp zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
ZZClut.h GregMiscellaneous:zzogl-pg: 2010-10-20 09:09:31 +00:00
ZZDepthTargets.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZGl.h zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
ZZHacks.cpp GregMiscellaneous: zzogl-pg: Use some of the routines in the Utilities library instead of the copies in ZZOgl. (Which were basically older versions of the same code.) 2010-11-07 05:51:54 +00:00
ZZHacks.h copyright: 2012-04-12 06:30:35 +00:00
ZZKeyboard.cpp zzogl-pg: import GSdump feature from GSdx 2012-04-07 21:23:01 +00:00
ZZLog.cpp zzogl: 2012-04-29 18:50:07 +00:00
ZZLog.h zzogl: 2012-04-29 18:50:07 +00:00
ZZMemoryTargets.cpp zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
ZZRenderTargets.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglCRTC.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglCRTC.h zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
ZZoglCreate.cpp zzogl: 2012-04-29 18:50:07 +00:00
ZZoglDrawing.cpp zzogl: Replace a function by a macro. fix gcc-4.6 issue. 2011-04-27 17:49:34 +00:00
ZZoglDrawing.h zzogl: Replace a function by a macro. fix gcc-4.6 issue. 2011-04-27 17:49:34 +00:00
ZZoglFlush.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglFlush.h zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglFlushHack.cpp GregMiscellaneous: zzogl-pg: Remove the ZeroGS namespace. 2010-10-16 11:54:46 +00:00
ZZoglFlushHack.h Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
ZZoglMath.h zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
ZZoglMem.cpp zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
ZZoglMem.h zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
ZZoglSave.cpp zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
ZZoglShaders.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglShaders.h zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglShadersGLSL.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglShadersGLSL4.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglShoots.cpp zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglShoots.h zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
ZZoglVB.cpp GregMiscellaneous: zzogl-pg: Use some of the routines in the Utilities library instead of the copies in ZZOgl. (Which were basically older versions of the same code.) 2010-11-07 05:51:54 +00:00
ZZoglVB.h Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
buildshaders.bat Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
common.h copyright: 2012-04-12 06:30:35 +00:00
glprocs.c zzogl-pg: compilation fixex for MSVC builds: 2010-12-25 04:38:44 +00:00
glprocs.h [copyright] 2010-07-08 18:59:44 +00:00
linux_replay.cpp copyright: 2012-04-12 06:30:35 +00:00
ps2hw.dat zzogl-pg: Copy the modified ps2hw.dat file in as well. 2010-08-18 12:44:45 +00:00
ps2hw.fx copyright: 2012-04-12 17:52:43 +00:00
ps2hw.glsl zzogl: 2012-04-29 18:50:07 +00:00
ps2hw_gl4.glsl zzogl: Try to use opengl3/4 feature for GLSL api. The API is easier and I had a better experience with GSdx-ogl 2012-05-07 19:51:58 +00:00
rasterfont.cpp zzogl-pg: compilation fixex for MSVC builds: 2010-12-25 04:38:44 +00:00
rasterfont.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
shaders.sh copyright: 2012-04-12 06:30:35 +00:00
targets.cpp zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
targets.h zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
x86-32.S GregMiscellaneous: zzogl-pg: Nice comment to decipher asm code. 2010-09-28 19:36:23 +00:00
x86-32.asm Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself. 2011-03-25 05:06:49 +00:00
x86.cpp zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
x86.h zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
zerogs.cpp zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
zerogs.h zzogl-pg: compilation fixex for MSVC builds: 2010-12-25 04:38:44 +00:00
zpipe.cpp GregMiscellaneous: sync with trunk (3805-3918) 2010-10-15 09:32:41 +00:00
zpipe.h GregMiscellaneous: sync with trunk (3805-3918) 2010-10-15 09:32:41 +00:00

README.txt

ZeroGS OpenGL
-------------
author: zerofrog (@gmail.com)

ZeroGS heavily uses GPU shaders. All the shaders are written in nVidia's Cg language and can be found in ps2hw.fx.

'Dev' versions of ZeroGS directly read ps2hw.fx
'Release' versions of ZeroGS read a precompiled version of ps2hw.fx from ps2hw.dat. In order to build ps2hw.dat, compile ZeroGSShaders and execute:

./ZeroGSShaders ps2hw.fx ps2hw.dat

For Windows users, once ZeroGSShaders is built, run buildshaders.bat directly. It will update all necessary resource files.
Note that ZeroGSShaders has only been tested in Windows so far, but the Windows ps2hw.dat can be used in linux builds.