hrydgard
4bdb4aa0d1
Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few crash bugs in FileUtil.cpp.
...
Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 01:26:56 +00:00
Shawn Hoffman
96019edfa1
debug build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 05:30:35 +00:00
magumagu9
90c9810b85
Use glMultiDrawArrays instead of glDrawArrays, which significantly
...
reduces the number of OpenGL calls for large sets of triangle strips;
this is something like a 10% perf improvement in the case I'm looking
at.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2120 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 03:41:33 +00:00
Shawn Hoffman
7b7cfa940e
remove stuff from ogl debugger that did nothing. (copied from dsp hle a while ago)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2111 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:33:59 +00:00
XTra.KrazzY
31cd8ed9d2
tiny fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2041 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30 17:45:02 +00:00
nakeee
ac7fe768ee
Debug compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1700 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-27 20:11:37 +00:00
hrydgard
3db9fb4fc1
More renaming.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1696 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:33:53 +00:00
hrydgard
2a552421a5
moar cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1694 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:02:46 +00:00
hrydgard
fe3cd168f0
Move parts of VertexManager.h to VideoCommon. Opens for moving the VertexLoader to VideoCommon.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1689 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:56:56 +00:00
hrydgard
2ec3cd6694
Move VertexShaderManager too.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1688 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:47:32 +00:00
hrydgard
6c916151ab
Split out the shader caches into their own files. The goal is to eventually be able to move the "Managers" to VideoCommon.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:23:59 +00:00
hrydgard
fa9f5c44fb
More code movin' .. split Vertex/Pixelshadermngr into xxCache and xxManager.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:43:18 +00:00
bushing
901fe7c00f
set svn:eol-style=native for Plugins/**.cpp
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1441 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:25:12 +00:00
hrydgard
c541f3c335
Aniso filter setting working in GL, some code moving around, spelling fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1341 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:15:34 +00:00
nakeee
0bad9e9385
warning fixes
...
please review Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1307 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 20:28:03 +00:00
hrydgard
30a5c91c99
GL: Safer vertex loading (should fix the new zelda crash), added vertex format logging to "show some statistics"
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1295 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 21:15:31 +00:00
hrydgard
5c58227702
Optimize vertex loader with a mini JIT (only first step, more optimizations may follow). Some various error message and warning fixes.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1276 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 17:46:14 +00:00
John Peterson
8a77ca8189
Made the OpenGL iLog setting changeable from the debugging window
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1232 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 01:28:00 +00:00
omegadox
46f0dd8f78
Added more render control options, wireframe option works, added more hacks.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@988 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 08:14:17 +00:00
hrydgard
5129341a9c
Aligned all vertex components to 4 byte boundaries - maybe ATI likes that? Renamed and reorganized misc things.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@981 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 21:38:30 +00:00
hrydgard
2f6d41e413
Move moving things around and preparing for the next step (cached vertexloaders).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@957 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 13:27:28 +00:00
hrydgard
bc79d22f5e
Move pipeline back into VertexLoader. Started work on VertexLoaderManager, which will cache VertexLoaders. (yep, the design plan changed a little bit).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@956 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 12:35:55 +00:00
hrydgard
f14fca914d
OpenGL - Don't cache pointer to compiled code - cache pointer to NativeVertexFormat instead.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@950 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 09:59:00 +00:00
hrydgard
72d8c3344b
Code movin' and cleanup again, in the GL plugin. Planning to turn NativeVertexFormat into something cachable, instead of locked to each VertexLoader.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@948 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-24 23:08:46 +00:00
hrydgard
4d169987c2
Fix debug mode build, fix some profile stuff to not get compiled when profiling is off, cleaned a bit.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@941 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 22:35:29 +00:00
hrydgard
4b2c7310b7
Move more stuff out of Globals.h in gl plugin. Changed gl plugin precompiled header to a new stdafx.h, you may have to Build->Clean after updating to this rev.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@940 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 21:23:40 +00:00
hrydgard
39df6c5624
Move out Cg shader generators to VideoCommon (hope to use this in the DX plugin in the future). Also move out stats code. Comment a lot and cleanup. Kill DX9 Globals.cpp.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@938 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 20:54:40 +00:00
hrydgard
58e3c8df8f
Readability, comments, tiny typo bugfix in gl gfx plugin (fix is on line 322 in pixelshadermanager)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@930 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-21 20:34:56 +00:00
Sonicadvance1
9692f3dd9e
This is a HUUUUUUUUUUUUUUUUUUUUUUGE commit, Make sure I didn't break too much ;p
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@926 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 22:31:55 +00:00
hrydgard
326d97315c
Fix build error in debug mode.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@903 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 21:05:23 +00:00
hrydgard
7bbd6fda63
more gl plugin cleanup, code moving
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@900 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 12:08:28 +00:00
hrydgard
dcbc8e78d4
Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:30:14 +00:00