pcsx2/plugins/zzogl-pg/opengl
gregory.hainaut f22b366cea gsdx:
* redo glsl2h.pl script to generate only one big glsl headers.
* fix gcc warning in GSVector.h
* fix memory leak of GSDeviceOGL.m_shader
* clean shader compilation function => split generation header & drop malloc stuff
cmake:
* only rebuild shader when asked by the use. Avoid perl dependency to build pcsx2


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5698 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-07-07 16:13:11 +00:00
..
Linux all: gcc warning clean round 4 2013-07-03 18:42:05 +00:00
Win32 Removed ATL/MFC dependencies from every project, the free version of visual studio does not have those. It compiles with vs2012 express now, will fix others later, in case they are broken. 2013-07-01 21:28:58 +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 gsdx: 2013-07-07 16:13:11 +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-10-21 18:10:13 +00:00
GLWin32.cpp zzogl: 2012-10-21 18:10:13 +00:00
GLWinX11.cpp gsdx ogl: 2012-10-29 21:35:47 +00:00
GS.h zzogl: 2012-06-01 08:21:31 +00:00
GSDump.cpp license: update the copyrigh address to please linux distribution 2012-10-19 20:27:50 +00:00
GSDump.h license: update the copyrigh address to please linux distribution 2012-10-19 20:27:50 +00:00
GSUniformBufferOGL.h gsdx: 2013-07-06 09:42:46 +00:00
GSVertexArrayOGL.h gsdx: 2013-07-06 09:42:46 +00:00
GSmain.cpp clean (some) gdb warning: round 1 2013-06-28 10:43:50 +00:00
GifTransfer.cpp zzogl replayer: 2012-06-05 06:46:52 +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-pg: 2013-03-25 18:49:29 +00:00
Mem.h zzogl-pg: 2013-03-25 18:49:29 +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
Profile_gl3.cpp zzogl: 2012-06-08 18:14:47 +00:00
Profile_gl3.h zzogl: 2012-06-08 18:14:47 +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: some experiences to EGL (on linux). It can be enabled with -DEGL_API=TRUE 2012-09-23 18:52:44 +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-pg: 2012-08-08 17:44:03 +00:00
ZZGl.h zzogl-pg: 2013-03-25 18:49:29 +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-10-21 18:10:13 +00:00
ZZLog.h zzogl: 2012-04-29 18:50:07 +00:00
ZZMemoryTargets.cpp clean (some) gdb warning: round 1 2013-06-28 10:43:50 +00:00
ZZRenderTargets.cpp all: gcc warning clean (round 2) 2013-06-28 17:32:37 +00:00
ZZoglCRTC.cpp all: gcc warning clean round 4 2013-07-03 18:42:05 +00:00
ZZoglCRTC.h zzogl: 2012-10-21 18:10:13 +00:00
ZZoglCreate.cpp gsdx: 2013-07-06 09:42:46 +00:00
ZZoglDrawing.cpp gsdx-ogl: only enable AMD hack when linking ps2 related shader. Otherwise SV_Target1 in convert is wrongly remapped 2012-05-26 09:58:37 +00:00
ZZoglDrawing.h gsdx-ogl: only enable AMD hack when linking ps2 related shader. Otherwise SV_Target1 in convert is wrongly remapped 2012-05-26 09:58:37 +00:00
ZZoglFlush.cpp all: gcc warning clean round 4 2013-07-03 18:42:05 +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-pg: 2013-03-25 18:49:29 +00:00
ZZoglMem.h zzogl-pg: 2013-03-25 18:49:29 +00:00
ZZoglSave.cpp zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
ZZoglShaders.cpp license: update the copyrigh address to please linux distribution 2012-10-19 20:27:50 +00:00
ZZoglShaders.h zzogl-pg: 2012-08-08 17:44:03 +00:00
ZZoglShadersGLSL.cpp license: update the copyrigh address to please linux distribution 2012-10-19 20:27:50 +00:00
ZZoglShadersGLSL4.cpp gsdx: 2013-07-06 09:42:46 +00:00
ZZoglShoots.cpp all: gcc warning clean round 4 2013-07-03 18:42:05 +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 GSdx: only enable AMD hack for AMD GPU. Remove the older geometry shader hack fixed since 6 monthes 2012-10-28 10:14:42 +00:00
ps2hw.dat revert previous commit r5578. Didn't work as expected on CG and didn't solve radeon driver issue neither. 2013-03-01 17:37:05 +00:00
ps2hw.fx zzogl-pg: 2013-03-25 18:49:29 +00:00
ps2hw.glsl revert previous commit r5578. Didn't work as expected on CG and didn't solve radeon driver issue neither. 2013-03-01 17:37:05 +00:00
ps2hw_gl4.glsl gsdx: 2013-07-06 09:42:46 +00:00
ps2hw_gl4.h gsdx: 2013-07-06 09:42:46 +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 clean (some) gdb warning: round 1 2013-06-28 10:43:50 +00:00
x86-32.S license: update the copyrigh address to please linux distribution 2012-10-19 20:27:50 +00:00
x86-32.asm license: update the copyrigh address to please linux distribution 2012-10-19 20:27:50 +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: 2013-03-25 18:49:29 +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.