arcum42
c728bf2ddf
zzogl-pg: Bring a few of the changes in the GregMiscellaneous branch into the trunk.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3783 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 00:40:07 +00:00
arcum42
38aecf4ae0
Minor compilation fix.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3782 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 00:12:15 +00:00
gregory.hainaut@gmail.com
5d75ab97cb
GregMiscellaneous: zzogl-pg:
...
* replace magic number with a symbolic name
* Remove 16 bits texture survivors.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3781 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 18:07:23 +00:00
arcum42
6ff8e61ef7
GregMiscellaneous: zzogl-pg: 'Transfer error, width exceeded.' spams a little too often for me. I'm making it Debug build only.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3780 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 12:56:19 +00:00
gregory.hainaut@gmail.com
14174a8c9a
GregMiscellaneous: zzogl-pg:
...
* #if 0 some codes that are not called anymore.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3779 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 11:57:25 +00:00
gregory.hainaut@gmail.com
337e573c35
GregMiscellaneous: zzogl-pg:
...
* Remove support of 16bits pixel. Very slow and same quality that 8 bits.
* Fix a compilation error on debug...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3778 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 11:18:56 +00:00
Jake.Stine
d4310e0b86
IPU fix for GUST games
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3777 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 11:04:35 +00:00
arcum42
bee08966dd
GregMiscellaneous: zzogl-pg: #if 0 this code out, so I don't forget that it's currently not called again.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3776 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 05:16:30 +00:00
arcum42
dc597d763b
GregMiscellaneous: zzogl-pg: Expand out the swizzle defines in x86.cpp.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3775 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 00:12:53 +00:00
gregory.hainaut@gmail.com
16a86bef44
GregMiscellaneous: zzogl-pg: Mega clean of zerogsmath.h (1000 lines to 80...) which is good because the file does not have a clear copyright status.
...
It remains mostly trivial things and basic vector operations.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3774 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 21:57:24 +00:00
gregory.hainaut@gmail.com
a51455656a
GregMiscellaneous: zzogl-pg:
...
* Properly fix the 'missing external linkage' thanks to Gigaherz.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3773 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 21:26:59 +00:00
gregory.hainaut@gmail.com
bed38e12a0
GregMiscellaneous: zzogl-pg:
...
* Remplace RESOLVE_32_BIT with a nice template (only a 8bytes format for the moment, the others part is not used anyway)
* copy the function RGBA32to16 due to 'missing external linkage' ???
* Remove trailling space
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3772 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 21:04:45 +00:00
Jake.Stine
1c75440a6c
IPU optimizations -- use SSE for FIFO reads/writes, and streamlined IPUdma0 /IPUdma1 feeds a bit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3771 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 17:11:24 +00:00
gregory.hainaut@gmail.com
30c9763c34
GregMiscellaneous: zzogp-pg:
...
* Replace some macro by basic functions. Use a switch to emulate the ##.
* merge similar functions
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3770 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 17:09:03 +00:00
gregory.hainaut@gmail.com
888a309e1a
GregMiscellaneous: sync and refresh the branch (3728:3768)
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3769 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 16:54:19 +00:00
arcum42
01afac40f6
zzogl-pg: Work on getting the ZZoglShaders header a bit closer to what is in the current zzogl trunk.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3768 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 11:04:31 +00:00
gregory.hainaut@gmail.com
997db8ef05
zzogl-pg: fix a potential issue when logging is disabled
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3767 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-14 11:53:53 +00:00
gregory.hainaut@gmail.com
40fa31a64e
zzogl-pg:
...
* Allow to load the plugin without log (better but not mandatory)
* Only reload the log file when it was open in the first place
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3766 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-14 11:51:26 +00:00
Jake.Stine
752034c519
Bugfix for Tri-ace games and possibly others (bug introduced in r3762, caused by missing 'vifRegs.num is actually 256' checks)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3765 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-14 00:39:40 +00:00
Jake.Stine
4671428593
... and update the savestate version, since I changed all the vif containers around.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3764 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 23:05:14 +00:00
Jake.Stine
59ebdf3e60
GCC compilation fixes.
...
(note to devs: a sure-fire fix for GCC's templated function problems is to typecast the templated function to itself explicitly -- works nicely for all versions of GCC and the ?: operator as well).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3763 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 22:52:04 +00:00
Jake.Stine
2f8f86a3eb
Significant VIFunpack retooling. Interpreters are considerably more efficient, and Recompilers are slightly more efficient. Details:
...
* All remaining code for handling partial/fragmented unpacks removed.
* vifRegs.NUM is now accurately simulated when queuing data from fragmented unpacks.
* Reduced the VIFunpack fragment buffer from 1MB to 4KB (max size of an unpack due to NUM being limited to 8 bits).
* Removed vif/vifRegs globals formally used by VIF interpreters (everything relies on the templated vifIdx now -- simpler and faster!)
* g_vifMask vars are integrated into vifStruct.
* All VIF mask register stuff uses the SSE-friendly vifStruct.MaskRow/Col vars now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3762 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 21:13:10 +00:00
gregory.hainaut@gmail.com
e2cb52becf
cmake:
...
* Link zz with libjpeg. Well it seems to get the library from another place, but better be safe for the future.
* Use -pthread as a default option (again to be safer)
* Warn about breaking of strict aliasing rule
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3761 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 15:26:04 +00:00
arcum42
b15dd516c2
zzogl-pg: Having two functions with the same name, one of which is in a namespace, and one of which isn't, strikes me as a bad idea.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3760 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 09:33:09 +00:00
arcum42
4e03f0299b
zzogl-pg: Lets remove the xf86vm library dependency from the codeblocks project while I'm thinking of it...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3759 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 07:58:24 +00:00
arcum42
6528f4b479
zzogl-pg: Remove some remanents of negAA. Mess with the aa code a bit. Add a function for a commonly done operation. Increment the version, since I haven't done that in a long time.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3758 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 04:57:03 +00:00
gregory.hainaut@gmail.com
647f84d08e
debian:
...
* drop libxxf86vm-dev dependency
* do not twice the link
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3757 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-12 14:27:33 +00:00
gregory.hainaut@gmail.com
21fada2e53
zzogl-pg: remove negative AA. Save some cpu cycles.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3756 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-12 10:54:42 +00:00
arcum42
6b4d447c8d
zzogl-pg: Search and replace on a few things.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3755 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-12 07:15:52 +00:00
arcum42
2f004397f6
ZZogl-pg: Commit some of the work Zeydlitz did in r226 with separating out shader code.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3754 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-12 01:05:11 +00:00
gregory.hainaut@gmail.com
338589f900
zzogl: flush instead of sync to be sure the size is correct
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3753 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 10:50:16 +00:00
arcum42
ecfb8efee5
zzogl: Not sure how these didn't get copied in properly. :(
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3752 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 10:01:52 +00:00
arcum42
48f3a6d273
zzogl: Misc cleanup.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3751 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 09:44:15 +00:00
arcum42
45eb60439a
zzogl-pg: Sketch out some dialog box changes in Windows for later.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3750 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 06:28:10 +00:00
arcum42
7914348d91
zzogl-pg: Add the new files to the Windows project.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3749 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 05:55:34 +00:00
arcum42
a9281ecea0
Lets go ahead and bring the changes to zzogl-pg in the GregMiscellaneous branch into trunk.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3748 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 04:51:18 +00:00
arcum42
59bccbccb4
GregMiscellaneous: zzogl: Clean up the configuration dialog code a bit. Make the experimental skipdraw option only exposed on devel builds.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3747 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 04:26:20 +00:00
Jake.Stine
da9c955135
* Simplified VIFunpack's C-based interpreters (removed ODD size handlers and unused data)
...
* Fixed V2/V3 unpacks to behave same as the SSE unpacks (matches undefined PS2 behaviors)
* Removed legacy vifUnpacker (haven't needed it for any regression testing in forever).
* Move some VIF MARK console spam to DevCon (Ape Escape 3)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3746 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-10 13:16:50 +00:00
Jake.Stine
14513cecb9
Fix for some major slowdowns present in dev/debug modes when using trace logging features.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3745 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-10 11:38:11 +00:00
Jake.Stine
7bfe167405
(u64*) [compilation error fix]
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3744 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-09 09:47:13 +00:00
gregory.hainaut@gmail.com
2a9e644b18
GregMiscellaneous: zzogl: Restore the good size when quit fullscreen.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3743 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-08 19:04:11 +00:00
arcum42
ff33ea5348
GregMiscellaneous: zzogl: Remove screen size settings from the configuration dialog. (The window can be resized normally, and the startup size can be changed in the ini file still...)
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3742 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-08 12:03:49 +00:00
Jake.Stine
372478c0ec
Remove some obsolete code relating to VIF/GIF FIFOs (hwRead/Write handlers always intercept them now, so saving values back to the eeHw register mirror is ineffective).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3741 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-08 11:34:39 +00:00
gregory.hainaut@gmail.com
b6dcd319fd
GregMiscellaneous: zzogl:
...
* restore widescreen option. Force a 4/3 mode when disabled.
* Also force 4/3 in window mode. In widescreen and fullscreen uses all the screen.
* Clean
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3740 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-08 11:16:27 +00:00
gregory.hainaut@gmail.com
873cb9656f
GregMiscellaneous: zzogl:
...
* add more locking to X11. Never too safe.
* Free the visual (memory leak)
* Only search event of the current window
* force 4:3 in fullscreen mode (will need a toggle box to enable/disable it)
* do not grab cursor on debug (this one will need more test)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3739 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 22:21:07 +00:00
Jake.Stine
e246d617ef
Minor fix from yesterday's IPU refactoring (fixes some homebrew stuffs)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3738 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 16:58:10 +00:00
gregory.hainaut@gmail.com
ddb33652ab
GregMiscellaneous: Minor clean
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3737 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 12:23:45 +00:00
arcum42
3dcb931a49
Remove fullscreen from the configuration dialog, and make esc go back to windowed mode.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3736 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 12:09:49 +00:00
arcum42
a468a27523
GregMiscellaneous: zzogl: Got rid x & y in GLWin. Make sure nBackBuffer gets set to the right width and height.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3735 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 09:46:33 +00:00
gregory.hainaut@gmail.com
dc49a995d6
GregMiscellaneous: zzogl: Fix fullscreen setting & remove useless library
...
Major issue left: widescreen.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3734 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-05 22:08:55 +00:00