Commit Graph

344 Commits

Author SHA1 Message Date
gregory.hainaut@gmail.com 2d38e89194 zzogl: align_16 array before sse2 instruction + minor stuff
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4263 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-25 19:29:08 +00:00
gregory.hainaut@gmail.com 90eda53e42 zzogl: print the full string of extensions...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4197 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-10 17:45:16 +00:00
gregory.hainaut@gmail.com b9948d67c7 zzogl: restore the opengl3 method for fill extension, fallback to the old method if not supported
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4194 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-09 17:19:41 +00:00
arcum42 bdc4e2caf4 zzogl-pg: Revert some changes to CreateFillExtensionsMap for the moment.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4187 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-09 06:21:47 +00:00
arcum42 ae61d6010c zzogl-pg: Merge some of the changes from the NewRegs code into the normally used Reg code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4155 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-27 12:32:38 +00:00
Jake.Stine ed7638488c zzogl-pg: compilation fixex for MSVC builds:
* resolve a namespace conflict between std::count (due to a 'using namespatce std;' directive)  [debug builds only]
 * switch all MSW-specific code to be unicode compliant so that unicode-only Utilities lib can be used under Windows.  [should work, but needs proper testing]
 * fix some properties sheets so that windows-specific DLL dependencies (common controls and UUID stuff provided by Windows) are linked automatically into wx/utils based plugins.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4140 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-25 04:38:44 +00:00
arcum42 0297a6d364 Various changes to avoid using deprecated Gtk+ code. Gtk+ 3.0 is slated to remove most of the currently deprecated calls...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4139 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-24 23:58:56 +00:00
arcum42 def52f300e spu2-x: compilation fix; pcsx2: fix the codeblock project; zzogl-pg: Add some comments and debugging code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4122 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 10:43:20 +00:00
gregory.hainaut@gmail.com 6a96e46920 zzogl:
* increase a little the hack window (better for screenshot, not too big for small screen)
* Use generic clut function in FlushDecodeClut
* Various clean and comment


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4113 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-20 19:57:50 +00:00
arcum42 f68eb19543 zzogl-pg: Fix compilation in Debug mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4086 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-12 00:33:10 +00:00
arcum42 5f1d99188d zzogl-pg: Mess around a bit with FlushReGetTarget.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4067 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-02 11:12:42 +00:00
gregory.hainaut@gmail.com 8d974015d5 zzogl:
* Create a nice FORCE_TEXDESTROY_THRESH define
* do not call GetMemoryTarget twice in a row. There is already a check in the core function.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4062 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-01 14:17:12 +00:00
arcum42 c09df50a58 zzogl-pg: Fix a compilation error when not building a Release build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4051 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-24 04:45:24 +00:00
arcum42 b3e7bea66e GregsMisc: zzogl-pg: Rename ZZKick.{cpp,h} to ZZoglDrawing.{cpp,h}, to make syncing with zzogl easier.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4046 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-23 03:35:01 +00:00
arcum42 5e73b1ca7e GregsMisc: Sync with trunk (r3983-r4044)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4045 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-23 03:11:08 +00:00
arcum42 21d90150ab GregMiscellaneous: zzogl-pg: Quick fix to the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4018 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-14 02:21:18 +00:00
arcum42 951d45677f GregMiscellaneous: zzogl-pg: Work on the GLWin functions a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4017 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-14 01:38:10 +00:00
arcum42 0779f7bc32 GregMiscellaneous: zzogl-pg: Rework CreateFillExtensionsMap to be less depreciated (and so it writes the extension list to the log, but doesn't print it except in debug mode). Fix a few minor potential bugs. Other minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4011 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-10 11:15:48 +00:00
arcum42 3aabab685a GregMiscellaneous: zzogl-pg: Get rid of an extraneous function or two, straighten up some includes, and move some things around to appropriate places.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4009 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-09 12:04:07 +00:00
gregory.hainaut@gmail.com 9f5abc9953 GregMiscellaneous: zzogl-pg:
* Clean the mem swizzle interface


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4008 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 10:27:27 +00:00
arcum42 b8e88c4b69 GregMiscellaneous: zzogl-pg: Fix Windows compilation issues.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4007 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 09:14:48 +00:00
arcum42 38c229a350 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.)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4006 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 05:51:54 +00:00
arcum42 5c4512c5a9 GregMiscellaneous: zzogl-pg: Start gathering the hack code in one place.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4005 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 04:45:10 +00:00
arcum42 031a3cb7a0 GregMiscellaneous: zzogl-pg: Fix up NewRegs.cpp so it compiles again.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4002 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 07:00:48 +00:00
arcum42 fb7e2fad1a GregMiscellaneous: zzogl-pg: Have the Windows version use the Utilities version of memcpy_amd like the Linux version does, and get rid of the redundant file...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4001 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 06:41:56 +00:00
arcum42 be3d71272c GregMiscellaneous: zzogl-pg: Windows compilation fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4000 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 06:28:45 +00:00
arcum42 7501916896 GregMiscellaneous: zzogl-pg: Move the time functions over to be by the Profile code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3999 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 06:05:00 +00:00
gregory.hainaut@gmail.com 0970117f81 GregMiscellaneous: zzogl-pg:
* Improve a little previous commit
* Remove a fixme that was fix long time ago


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3990 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 15:27:36 +00:00
gregory.hainaut@gmail.com 3a7aca738e GregMiscellaneous: zzogl-pg:
* Fix a regression of my commit r3965 (missing draw in god of war)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3989 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 14:19:46 +00:00
gregory.hainaut@gmail.com 447d0e72b4 GregMiscellaneous: zzogl-pg:
* Backport prim change from regs to newregs


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3988 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 11:47:56 +00:00
gregory.hainaut@gmail.com 9f571aa9b8 GregMiscellaneous: zzogl-pg:
* Mem swizzle: fix mask scrambling & bad copy paste


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3987 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 10:34:37 +00:00
arcum42 d6a418d71a GregMiscellaneous: zzogl-pg: Consolidate the context-specific Registry code, as was already done in NewRegs.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3986 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 08:17:56 +00:00
arcum42 07ecc09711 GregMiscellaneous: zzogl-pg: A few minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3985 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 07:10:21 +00:00
gregory.hainaut@gmail.com 28b01737a4 GregMiscellaneous: zzogl-pg:
* For 24 bits texture: there is some spare room in gsmemory so do not bother to avoid overflow in the copy
* Port some swizzle function to sse2. It would avoid some copy in a temporary buffer


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3984 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-30 21:42:40 +00:00
gregory.hainaut@gmail.com 3c6dd04c19 GregMiscellaneous: zzogl-pg:
* use a size of 4 for the gsvertex array (allow compiler to optimize a % into an and)
* Reuse previous computed vertex for _strip & _fan primitives


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3973 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-26 21:14:15 +00:00
gregory.hainaut@gmail.com 9f2e92f31b GregMiscellaneous: zzogl-pg:
* Use addvertex in register (stole from the new register code).
* Use primNext at the end of KickVertex function allow to use current index in draw primitive.
* Create a primPrev


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3971 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-25 18:31:38 +00:00
gregory.hainaut@gmail.com 6eedbaf346 GregMiscellaneous: zzogl-pg: * Revert previous commit and remove the = overloading
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3970 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-25 17:34:10 +00:00
gregory.hainaut@gmail.com d99d8d5745 GregMiscellaneous: zzogl-pg:
* Use an union to improve a little the copy of vertex


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3969 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-24 12:05:18 +00:00
gregory.hainaut@gmail.com 43a83b3be9 GregMiscellaneous: zzogl-pg: Forget 1 line in previous commit ....
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3968 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-24 10:44:09 +00:00
gregory.hainaut@gmail.com 3bd80b020c GregMiscellaneous: zzogl-pg:
* Improve a little sprite vertex processing


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3967 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-24 10:23:06 +00:00
arcum42 8219ed5527 GregMiscellaneous: zzogl-pg: Remove the Gust hack from Mana Khemia. A few misc changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3966 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-24 04:09:42 +00:00
gregory.hainaut@gmail.com b199b57a76 GregMiscellaneous: zzogl-pg:
* Regoup drawing primitive in one function
* Increase the inital size of the vertex buffer
* various clean


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3965 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 23:02:19 +00:00
gregory.hainaut@gmail.com 02efc340e8 GregMiscellaneous: zzogl-pg:
* copy some vertex instead of re compute them twice
* pass vertex as reference avoid useless copy on the stack...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3964 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 17:59:10 +00:00
arcum42 aa64da2561 GregMiscellaneous: zzogl-pg: Get zzogl-pg working in Windows again.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3963 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 12:14:15 +00:00
arcum42 465dd47bde GregMiscellaneous: zzogl-pg: Give VB its own header. Some changes to the Kick functions.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3961 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 08:15:39 +00:00
arcum42 c544ec7ca6 GregMiscellaneous: zzogl-pg: Continuing to work on zerogs.cpp and zerogs.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3960 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 04:14:19 +00:00
gregory.hainaut@gmail.com 4171a67c4d GregMiscellaneous:zzogl-pg:
* Add a sse test to compare GSMem and clut buffer 
* minor 16-bits clut fix


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3957 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 15:53:17 +00:00
gregory.hainaut@gmail.com 0b4eb9479a GregMiscellaneous:zzogl-pg:
* More clut fix.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3953 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-21 12:11:28 +00:00
gregory.hainaut@gmail.com d886dbfadb GregMiscellaneous:zzogl-pg:
* fix sse2 code for 16bits cluts.
* Fix debug build


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3952 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-21 11:13:49 +00:00
gregory.hainaut@gmail.com 0fc2e87809 GregMiscellaneous:zzogl-pg:
* Forgot one line in previous commit


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3951 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-21 07:19:08 +00:00