Commit Graph

207 Commits

Author SHA1 Message Date
gregory.hainaut@gmail.com 65b985698e GregMiscellaneous: zzogl: add some locking. Work far better.
The trick was to call XInitThreads in the beginning.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3732 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-05 16:30:47 +00:00
gregory.hainaut@gmail.com 0845dffb5b GregMiscellaneous: zzogl: rework fullscreen (to be friend with the WM). Note: it is not crash free for the moment.
* use alt-enter to toggle the fullscreen mode. (toggle quickly multiple time to crash it...) I suspect need of XLockDisplay & XUnlockDisplay
* escape: will quit for both mode

Not yet done: 
* good support of fullscreen conf flag. Which is wrong for the moment. (actually may be a source of crash)
* Better support of widescreen screen


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3731 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-05 15:47:09 +00:00
gregory.hainaut@gmail.com 5e8f776adb GregMiscellaneous: sync from trunk (3679:3727)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3729 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-05 15:33:08 +00:00
arcum42 a4155a2240 Minor cleanup from the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3715 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-01 10:34:02 +00:00
arcum42 e686d47cd7 ZZOgl-pg: Rework the GLX11Win.cpp code a bunch. Fix a bug leading to crashes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3714 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-01 10:28:37 +00:00
gregory.hainaut@gmail.com 9f2720540f GregMiscellaneous: Add a FRAME_RECORDING_ON define to record skipped frame based on Zeydlitz version.
Note: it dumps some .tga picture in current folder.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3699 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-29 12:44:55 +00:00
arcum42 0d050634ff zzogl-pg: Add the updated crc list from r3660.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3684 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-24 11:23:40 +00:00
gregory.hainaut@gmail.com ec44d0f8cf GregMiscellaneous: Sync from trunk. Before there are too many conflict
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3679 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-22 10:48:23 +00:00
gregory.hainaut@gmail.com d183232e69 zzogl: Limit texture supported to 8k
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3678 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-22 10:22:07 +00:00
arcum42 661ddf088c ZZOgl-pg: Catch up with some of the changes in recent revisions of zzogl.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3677 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-22 09:42:28 +00:00
gregory.hainaut@gmail.com 26c742b45b GregMiscellaneous:
* Fix compilation (PSM_)...
* Invert FBMSK value for haunting ground


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3676 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-22 09:06:31 +00:00
gregory.hainaut@gmail.com 1b0aac7871 GregMiscellaneous:
* add a new hack (linux only) to enable the automatic skip draw (ease testing and probably remove later)
* forget GSC_HauntingGround from my last copy-past....


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3675 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-21 22:31:32 +00:00
gregory.hainaut@gmail.com 112800cb98 common, GSnull, zzogl-pg, SPU2null: add more safety to some fclose functions. Avoid a bunch of double free and memory corruption.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3671 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-20 11:13:40 +00:00
gregory.hainaut@gmail.com c394c408d0 GregMiscellaneous: Some cleanup. Convert boolean function to bool.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3670 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-20 10:01:38 +00:00
arcum42 c84d820c35 GregMiscellaneous: Implement a Linux dialog box item for skipdraw.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3668 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-19 09:21:28 +00:00
gregory.hainaut@gmail.com 581a2b83c8 GregMiscellaneous:
* Use memset instead of GSC_Null, It saves a function call and I do not thinks it was related to the previous crash. Arcum can you test it ?
* Tune the GOW value.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3666 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 16:55:45 +00:00
gregory.hainaut@gmail.com 1c1eef8bde GregMiscellaneous: Various clean
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3665 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 14:04:10 +00:00
arcum42 66c8b8381e zzogl-pg: Quick Windows fix for an issue introduced in zzogl r218. Fix a typo.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3663 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 13:38:45 +00:00
arcum42 e7b0d43544 GregMiscellaneous: Fix a typo from the last commit. Add Skipdraw to the configuration file.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3662 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 13:15:43 +00:00
arcum42 0e37310783 zzogl-pg: Copy the modified ps2hw.dat file in as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3661 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 12:44:45 +00:00
arcum42 a265546ddb GregMiscellaneous: Add in GSdx's crcs. Fix a crash I encountered.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3660 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 12:32:24 +00:00
arcum42 59262101db zzogl-pg: Add in changes from zzogl r218. (I'll still need to go through r214-217 and grab any important changes, though.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3659 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 10:52:57 +00:00
arcum42 74895f189a GregMiscellaneous: Update the codeblocks project file for ZZOgl.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3658 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 09:26:51 +00:00
arcum42 9a5e9e24e1 zzogl: Get a start on abstracting the memory code a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3657 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 08:54:16 +00:00
gregory.hainaut@gmail.com 7f5b0f49a3 GregMiscellaneous: Forget to clean one structure.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3656 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-17 22:16:20 +00:00
gregory.hainaut@gmail.com cd1a4b7d15 GregMiscellaneous:
* Fix some parameter
* Use some functions created by Zeydlitz to reduce the code.

Current status: blur effect is removed in FFX with UserHacks_SkipDraw=1 and various random crashes ;)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3655 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-17 22:14:45 +00:00
gregory.hainaut@gmail.com fbdf7521e5 GregMiscellaneous: Try to remove blur from some games. Gets the code from GSdx.
note: it is not working for the moment.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3653 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-17 13:38:57 +00:00
arcum42 699e623998 zzogl-pg: Work on GetRectMemAddress.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3639 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-14 08:15:19 +00:00
gregory.hainaut 2544f4c320 zzogl: update the size of the default advance panels. Avoid resizing every times.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3637 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-13 16:00:52 +00:00
gregory.hainaut fa793cca25 cmake:
* move machine optimization in the global setup. In same time use i686 instead of i486
* Also build the debug with fvisibility=hidden No reason to use it only on devel. (actually same as codeblock)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3628 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-09 19:05:02 +00:00
gregory.hainaut df436f1583 zzogl copyright:
* common.h is mostly based on multiple file in ffmpeg. So apply the same licence as the original files
* Others zerofrog's file: add a note on the missing copyright notice.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3627 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-09 18:57:00 +00:00
arcum42 cfc4c9b3ec GSnull: Work on the GifTransfer functions, to bring them up to date, and straighten them out. Now enabled by default.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3610 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-06 09:30:36 +00:00
arcum42 2e77e2f9c8 zzogl-pg: Reworked Linux configuration dialog.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3582 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-31 00:29:49 +00:00
arcum42 7d5dbc64fc zzogl-pg: More minor changes to the Liux config code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3581 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-30 09:52:34 +00:00
arcum42 7b522ea680 zzogl-pg: I seem to have overlooked this somewhere along the way.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3580 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-30 09:26:23 +00:00
arcum42 ed9bf27015 pcsx2: Update the project files to no longer have coroutine. Fix a compiler warning. (zzogl-pg: Modify comments.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3569 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-26 10:51:06 +00:00
gregory.hainaut 83604ec59d cmake: properly separate ldflags from cflags
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3567 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-25 14:20:03 +00:00
gregory.hainaut 4e90b10c76 cmake: Use same variable name for output. Allow easier copy-paste between files. Do not know why I did not do it earlier.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3566 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-25 13:54:26 +00:00
arcum42 fb034eda2a zzogl-pg: Copy ps2hw.dat into the plugin directory when building.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3561 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 11:08:43 +00:00
arcum42 abc73d506c zzogl-pg: A few minor changes to the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3560 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 08:08:42 +00:00
arcum42 b4e2bf4366 ZZOgl-pg: A bunch of work on the Windows dialog. Based off of an rc file given to me by SonicPCSX2, then hacked on a bunch by me.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3559 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 08:05:53 +00:00
arcum42 a496f3d81d ZZOgl-pg: Yet more new register work.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3558 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 04:51:39 +00:00
arcum42 aee1e94a13 zzogl-pg: Apply the same changes to the new register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3538 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-19 20:52:52 +00:00
Jake.Stine b6af82efa8 GSdx / zzogl-pg / pcsx2:
* Implemented support for legacy GS plugins (considered anything prior to the Reordering merge).
 * Added a lot of 'const' qualifiers to the GSgifTransfer functions in both GSdx and zzogl.

DevNote: GS plugins shouldn't be modifying the data provided to them from PCSX2 -- zzogl wasn't, GSdx was.  I had to do a little bit of juggling to remove the mem modifications from GSdx's TEX0/TEX2 handlers.  With luck, nothing's broken. ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3536 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-19 15:49:30 +00:00
arcum42 4c03fb26d3 zzogl-pg: More blocks stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3534 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-19 11:17:46 +00:00
Jake.Stine 856ffe4c65 Merge optimizations and code cleanups from the ReorderingMTGS branch (r3523) into Trunk. Summary of changes:
* GIFpath parsing copies as it parses (speedup!)
 * Improved memcpy for 128-bit copies (speedup!)
 * MTGS ringbuffer uses free-flowing wrapping now, which simplified ringbuffer management logic considerably (speedup!)
 * Various MTGS-related refactoring (var renames and such)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3532 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-19 03:48:37 +00:00
arcum42 6972792a4e zzogl-pg: Messing around with the BLOCK struct.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3528 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-18 06:59:23 +00:00
arcum42 b58a43cdf6 zzogl-pg: Revise the TransferHostLocal functions a bit. More arrays.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3526 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-18 04:53:50 +00:00
arcum42 48bbe19bd3 zzogl-pg: Add Swizzle function arrays.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3525 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-18 04:14:09 +00:00
arcum42 30a911f9f8 zzogl-pg: remove an unneccessary structure.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3524 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-18 03:45:28 +00:00