Commit Graph

177 Commits

Author SHA1 Message Date
gregory.hainaut 133847e8a2 gsdx-ogl:
* Properly allocate/delete opengl object
* Request a debug context in SDL, add some code to log opengl error 
* Fix context creation. For the moment only request ogl4.1 (AMD does not support yet 4.2 and it needs libglew1.7 too...)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4973 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-26 11:46:51 +00:00
gregory.hainaut b19e31a1be cmake: fix some linking issue with gold linker (AFAIK only fedora use it for the moment)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4913 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-06 19:07:55 +00:00
gigaherz 4e762692da portaudio: Update codebase from svn 1723 to svn 1748.
Notable changes:
 - fixed latency calculations for some modules
 - improved stability of the internal ringbuffer
 - added float32<->uint8 sample conversion

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4911 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-05 22:05:14 +00:00
gregory.hainaut e55da1ab04 pcsx2: implement theading name on linux.
onepad: properly connect the latest button
sdl: do not compile some useless files (which fail to compile on my system btw)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4879 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-27 10:38:02 +00:00
gregory.hainaut 783f600711 gsdx, sdl: cast window as expected by sdl
onepad: add an option to control forcefeeback level
cmake: add an hidden option (SHARED_SDL) to build SDL as a shared library to allow pre-load


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4873 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-20 12:17:47 +00:00
gregory.hainaut d8b4c7ccc5 debian: cherry pick micove ppa improvement. Thank very much.
cmake: shutup some warning (mostly sdl...)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4870 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-14 14:38:26 +00:00
gigaherz f2bc219425 SPU2-X: Removed the std::vector I used out of lazyness. The config dialog should no longer keep an ever-growing list of devices, and it has less potential side-effects if somehow the portaudio device list changes while the dialog is open.
3rdparty/portaudio: Removed debug prints on release targets.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4853 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-08 13:59:19 +00:00
gigaherz cb74fd2c10 3rdparty/portaudio: Updated to a slightly newer revision of portaudio, sicne the fixes in it seemed interesting enough.
I also enabled WDMKS backend, but I had to change some #defines to get it to compile, and I can't seem to be able to use it on my Win7 machine. If anyone on XP wants to try it, it will be at their own risk. (use WDMKS hostApi name on the .ini)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4850 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-07 12:40:25 +00:00
gigaherz bb0100deea I went and copypasted the one line I typoed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4848 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-07 01:55:44 +00:00
gigaherz 1886affc54 3rdparty/portaudio: Fixed portaudio not finding any device because there wasn't any API enabled. The new toggle system requires the compiler to specify the enabled APIs, instead of assuming default-on.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4847 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-07 01:53:24 +00:00
gigaherz 1d8e159433 3rdparty/portaudio: Fixed the build with vs2008 (I hope). I commited the wrong .vcproj file. Reverted to the previous one and updated the file with the same changes I did to the vs2010 .vcxproj
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4846 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-07 01:15:49 +00:00
gigaherz dabe415929 3rdparty/portaudio: Fixed the build (windows). Somehow it compiled in devel/release, but not in debug. Should have failed in both of them though...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4845 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-07 00:58:00 +00:00
gigaherz 5a3cd8e57e 3rdparty/portaudio: Updated portaudio to the march 26 stable release (svn rev 1647). Too many changes to list here.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4844 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-07 00:50:05 +00:00
gregory.hainaut@gmail.com 35b9dfce3f pcsx2: zzogl:onepad: gsdx: merge linux-gsopen2 branch (4730) into trunk
* Gsopen2 support for GS plugins => Support of the PCSX2 GS window configuration panel. Support of all PCSX2 shortcut.
* new shortcut: shift-f12 to stole the input. ZZogl shortcut must be prefixed with ctrl
* onepad: Support/fix/improve of configuration gui, multiple key, mouse/wiimote for analog joystick, dualshock3/sixaxis (basic), dual pad and experimental forcefeedback

Note: it is advices to delete OnePAD.ini


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4731 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-12 14:48:36 +00:00
gregory.hainaut@gmail.com daa5a00a98 3rdparty: remove the heavy (+90MBytes) SDL test directory. Completely useless and save us few minutes of download
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4712 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-05 09:57:49 +00:00
sudonim1@gmail.com ae31701a62 Reverted some of the deletions from r4669. I didn't think too hard about deleting pch files but these are not precompiled headers.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4672 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-25 02:09:36 +00:00
sudonim1@gmail.com a7c93c75fb Remove some compiled files. Compilation may temporarily be broken in a trivial way (or might not), I don't currently have visual studio installed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4669 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-24 21:47:52 +00:00
ramapcsx2 b5aad0ea06 Committing changes to the MSVC 2010 build system as posted in issue #977.
Thanks for this nice patch, debian.micove :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4466 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-21 21:51:50 +00:00
gregory.hainaut@gmail.com 2e6951d102 cmake: sdl and gsdx (experimental)
Note: pad plugins crash when linked with sdl 1.3.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4381 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-01 19:26:27 +00:00
gregory.hainaut@gmail.com 4bd5322dc6 cmake: WIP to build sdl and GSdx
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4373 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 20:02:22 +00:00
gregory.hainaut@gmail.com e646f0a21c 3rdparty wxwidget: Backport a fix from wx2.9. It allows to translate the "broswe" string in some places
Note: on linux the string does not appear (current directory instead).


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4370 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 12:30:48 +00:00
arcum42 9d26ae1241 GSdx: A bit more work on the Linux dialog box.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4369 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 05:19:18 +00:00
arcum42 2b885abde9 SDL: Add a separate linux config file, so we don't have to keep switching it between Linux and Windows when building.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4368 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 03:50:18 +00:00
arcum42 49568c3d85 GSdx: Correct the sdl library output name, and add sdl to the main codeblocks workspace.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4366 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 03:05:31 +00:00
gabest11 bc6060d318 GSdx: just updating visual studio project files (redundant settings, broken x64 compilation, etc.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4350 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-24 04:55:35 +00:00
gabest11 c2e7e4a2fb GSdx: SDL_assert.h fixed for vs2008.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4349 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-23 23:40:37 +00:00
gabest11 e7cc739f56 GSdx: I'm restoring the original SDL_config.h, it broke the windows build. No idea how to proceed under linux, letting it use its own window works, trying to use the one provided by pcsx2 does not. Could be a multi-threading problem with X, or not using a top-level handle. Just guessing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4345 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-23 06:02:04 +00:00
gabest11 879aad9fd5 GSdx: working on linux port again, almost ready to run.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4344 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 23:39:02 +00:00
gabest11 3de18d0526 Undoing last commit, it was a mistake, linux tools are not easy to use.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4342 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 21:12:04 +00:00
gabest11 23a6b85852 GSdx: more alignment fixes for gcc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4341 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 20:58:21 +00:00
gabest11 1b909d7a30 GSdx: enabled SDL output under windows, known problems: after shutdown it won't show anything again, deinterlacers aren't done yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4339 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 18:50:51 +00:00
arcum42 cf97710734 Preliminary codeblocks project for sdl 1.3.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4338 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 12:21:10 +00:00
arcum42 1e1ad1cfba Add SDL 1.3 to the 3rd party folder.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4337 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 10:19:09 +00:00
gigaherz 3f1e272d27 I was bored tonight so I updated the embedded portaudio to the latest svn. It has some fixes for everyone, check portaudio's svn log from 1541 to 1570 for details.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4272 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-28 21:06:02 +00:00
gabest11 4cd3e3a552 - fixed VS2010 project files and added configuration for AVX
- ConfigIcon_Appearance.h seems to be missing

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4270 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-28 08:21:05 +00:00
sudonim1 83e09878b2 Patch from avih, untested (but probably harmless) as I only have one monitor:
Make the GS window go full-screen on current monitor instead of always on primary monitor.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4175 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-02 20:19:46 +00:00
Jake.Stine 4ebbe65c4f w32pthreads: maintenance work; applied patches inspired by the VLC guys that make the code a little more sensible where pointer types are concerned. Removed some obsolete ancient compiler crap regarding interlocked exchanges.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4100 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 08:31:35 +00:00
gregory.hainaut@gmail.com 9b987a959b GregMiscellaneous: spu2x:
* Copy wavfile back to spu2x directory. Note I shrink the file to only usefull feature to keep it small.

Rationale: Wavfile is not delivered by the soundtouch library (it is an example).



git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3948 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 20:29:01 +00:00
gregory.hainaut@gmail.com d84d8e8a2a GregMiscellaneous: sync with trunk (3805-3918)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3919 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-15 09:32:41 +00:00
Jake.Stine 31e957c5b3 wxWidgets/MSW: Disable validators. We don't use 'em.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3593 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-03 04:26:14 +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
Jake.Stine 9c22dc4f73 wxWidgets/Win32:
* Fixed a bug that caused all but the first stackframe walk to fail with an error.
 * Improved thread safety of stack walking.

DevNotes: When walking stackframes multiple times from the same process, only the first stackframe walk would work and all others would fail with an error because of calling SymInitialize multiple times.  So now SymInitialize is only called once and SymRefreshModuleList is used prior to walking, if available.  (only available in winDbgHlp.dll v6.5 or later)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3546 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-21 16:57:58 +00:00
gregory.hainaut b326504054 [cmake]
* Major rework of the linker flags. Use some globals flags for -s and -m32
  Add a USER_CMAKE_LD_FLAGS variable. Easier to play with advanced link flags for future gcc version (>=4.5)
* Remove useless stub file
[debian]
* minor dependency fix


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3475 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-13 09:16:13 +00:00
gregory.hainaut 3d9c63b0f0 [cmake]:
* Print a fatal_error when users do not source the good CMakeLists file.
* Do not search system libraries if the user force the internal libraries


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3269 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-22 13:30:36 +00:00
gregory.hainaut a11941d318 [cmake] Drop internal bzip version. No reason to use it, moreover compilation is broken for some distribution.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3239 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 13:45:30 +00:00
gregory.hainaut 6e118887a5 * Apply a co-patch of Air and me to use linux friendly include path
[cmake]:
* Update to use the above patch.
* Remove a52. Need to use system version.
* Remove stub file. Append pcsx2 to 3rparty library to ease futur support.

Important Note: codeblock will probably need some update. (add 3rdparty/soundtouch_linux_include in include path)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3200 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-11 13:51:43 +00:00
Jake.Stine 5b80fc6c68 Disable LTCG on wxCore, wxAdv, zlib, libjpeg, and the x86Emitter. Slices Release mode build times by more than half and shaves 200K- off the .exe size. (I really should have done this sooner)
DEV NOTE: Please leave LTCG enabled on wxBase, since wxString/wxObject and other wx-based containers benefit from it considerably.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3172 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 15:41:40 +00:00
Jake.Stine f219b79ad4 UI: Fixed a few minor layout bugs in the logging options, and introduced pxDialogCreationFlags to get rid of some Constructor Parameter Hell(tm) on dialog creation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3155 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 19:50:31 +00:00
gregory.hainaut 92a1b9a503 [cmake]
* Clean 3rdparty flags not used. By default use -Os not needed to make pcsx2 bigger than it already is.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3154 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 17:31:55 +00:00