dolphin/Source/Core/Common/Src
Soren Jorvang 9cd3c70b02 The rendering codepath doesn't currently quite recover from an OpenCL
initialization failure, so help it along a little by also considering
the CPU as an OpenCL device.

Use CL_DEVICE_TYPE_DEFAULT rather than CL_DEVICE_TYPE_ALL as that will
give preference to the spiffy GPU if one is present. Implementations
of OpenCL are likely to put a GPU as the first device in the list, but
there is no guarantee of this and this code currently only picks the
first device in the list.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5547 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30 08:08:26 +00:00
..
Crypto Systematically eliminating compiler warnings. 2010-02-24 03:38:36 +00:00
ABI.cpp Fixed the crash in DSP LLE JIT on x64 by aligning the stack. 2010-04-13 10:18:05 +00:00
ABI.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Atomic_GCC.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
Atomic_Win32.h fixed xfb bumping introduced by my last commit. 2010-04-14 13:57:16 +00:00
Atomic.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
BreakPoints.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
BreakPoints.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
CDUtils.cpp Systematically eliminating compiler warnings. 2010-02-24 03:38:36 +00:00
CDUtils.h Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way 2010-02-16 08:46:21 +00:00
ChunkFile.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
ChunkFile.h possible savestate memory leak fix in DoBuffer 2010-04-17 21:02:03 +00:00
ColorUtil.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
ColorUtil.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Common.h Hack this dodgy compile-time assert so it works with gcc. 2010-05-26 20:47:56 +00:00
CommonFuncs.h Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way 2010-02-16 08:46:21 +00:00
CommonPaths.h Changed both video plugins to save PNG screenshots. Made GCPad New default in trunk (it already is in stable). Fixed a hack in new wiimote plugin. Other minor changes. 2010-05-29 10:09:24 +00:00
CommonTypes.h OS X buildfix 2010-05-02 21:12:51 +00:00
ConsoleListener.cpp JitIL is no longer a separate .exe/binary - it's now a simple option, Dolphin.exe now contains both cores. 2010-01-19 19:28:27 +00:00
ConsoleListener.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
CPUDetect.cpp Fixed the issue that cpu_info is not initialized in plugin. This commit enables SSSE3/SSE4.1 codes in rev5119. 2010-02-24 10:10:48 +00:00
CPUDetect.h Fixed the issue that cpu_info is not initialized in plugin. This commit enables SSSE3/SSE4.1 codes in rev5119. 2010-02-24 10:10:48 +00:00
DebugInterface.h Move MemCheck functionality into the virtual DebugInterface class from the more general MemView class. 2010-02-18 12:06:13 +00:00
DynamicLibrary.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
DynamicLibrary.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
ExtendedTrace.cpp dolphinwx and debuggerwx can now be compiled with unicode 2009-07-30 07:09:26 +00:00
ExtendedTrace.h dolphinwx and debuggerwx can now be compiled with unicode 2009-07-30 07:09:26 +00:00
FileSearch.cpp Random fixes and cleanups 2010-04-08 16:59:35 +00:00
FileSearch.h Random fixes and cleanups 2010-04-08 16:59:35 +00:00
FileUtil.cpp OSX fix Dolphin not actually using the Application Support path. 2010-05-12 04:26:32 +00:00
FileUtil.h OSX fix Dolphin not actually using the Application Support path. 2010-05-12 04:26:32 +00:00
FixedSizeQueue.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Hash.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Hash.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
IniFile.cpp GUI: Custom pane management, almost complete 2009-08-30 19:44:42 +00:00
IniFile.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
LinearDiskCache.cpp Revert 5533, removing the misleading TODO and commenting it properly. 2010-05-29 15:35:31 +00:00
LinearDiskCache.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
Log.h Simplify logging a bit. 2010-05-26 21:07:13 +00:00
LogManager.cpp Changed both video plugins to save PNG screenshots. Made GCPad New default in trunk (it already is in stable). Fixed a hack in new wiimote plugin. Other minor changes. 2010-05-29 10:09:24 +00:00
LogManager.h JIT single stepping 2010-04-10 15:41:44 +00:00
MathUtil.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MathUtil.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MemArena.cpp Allows more than one instance of Dolphin to be running. Credit goes to Billiard for the code. 2010-03-27 06:37:37 +00:00
MemArena.h Rewrite memory management, _hopefully_ banishing "failed to map 1 gb contiguous memory" 32-bit Dolphin errors to history. 2009-11-07 18:53:10 +00:00
MemoryUtil.cpp Gah, screw it 2010-03-05 10:07:49 +00:00
MemoryUtil.h JitIL is no longer a separate .exe/binary - it's now a simple option, Dolphin.exe now contains both cores. 2010-01-19 19:28:27 +00:00
Misc.cpp Fix GCC 4.5 Compiling. -fvisibility=hidden seems to break it, so it was removed. Non-POD objects are now errors instead of warnings in 4.5, so I had to remove the wxString::Format. and a Fix where GCC 4.5 introduced strndup. Compiling with nowx=true gave me linker problems for some reason, and I added the -flto flag but commented out. Dunno what it will do yet. 2009-11-11 11:07:04 +00:00
MsgHandler.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MsgHandler.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
OpenCL.cpp The rendering codepath doesn't currently quite recover from an OpenCL 2010-05-30 08:08:26 +00:00
OpenCL.h Don't assume writeable C strings. 2010-05-26 22:40:06 +00:00
Plugin.cpp Now you can switch between Emulated and Real WiiMotes, connect more Real Wiimotes and even pair them up (if you have MS BT Stack) during gameplay! 2010-01-06 19:26:52 +00:00
Plugin.h Now you can switch between Emulated and Real WiiMotes, connect more Real Wiimotes and even pair them up (if you have MS BT Stack) during gameplay! 2010-01-06 19:26:52 +00:00
PluginDSP.cpp LUAInterface should have all its functionality now (excluding input/controller management). Now we need a GUI to see how it works. Added new DSP function: ClearAudioBuffer, which clears the audio buffer for pausing. Currently it doesn't work with DSound. 2009-11-07 20:01:39 +00:00
PluginDSP.h Sound System Rework: Phase 2 (cont'ed) 2009-12-25 11:59:04 +00:00
PluginPAD.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
PluginPAD.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
PluginVideo.cpp Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +00:00
PluginVideo.h Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +00:00
PluginWiimote.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
PluginWiimote.h Wiimote: More work, don't ask, no answer 2009-12-25 22:10:56 +00:00
SConscript Move Segher's hashing/crypto code from the Dolphin project to Common. 2010-01-16 19:31:11 +00:00
SDCardUtil.cpp misc stuff 2010-05-23 08:41:58 +00:00
SDCardUtil.h misc stuff 2010-05-23 08:41:58 +00:00
Setup.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
stdafx.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
stdafx.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
StringUtil.cpp Replace the calls to sscanf(for number parsing) and number parsers with strto(u)l 2010-05-23 22:31:40 +00:00
StringUtil.h add some dx checking routines to the dx plugin + some minor stuff 2010-05-23 02:29:23 +00:00
svnrev_template.h lp's fix for bundle name 2009-10-24 20:29:52 +00:00
SymbolDB.cpp Improve iterator usage. 2010-05-28 23:14:16 +00:00
SymbolDB.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
SysConf.cpp Did some clean up of the GUI main. Also, parse command line options first, then set up directories (linux and apple), then load the log manager, sconfig, etc. Removes the need for my silly log manager and sysconf reload. 2010-03-18 14:34:37 +00:00
SysConf.h Did some clean up of the GUI main. Also, parse command line options first, then set up directories (linux and apple), then load the log manager, sconfig, etc. Removes the need for my silly log manager and sysconf reload. 2010-03-18 14:34:37 +00:00
Thread.cpp Massive Poo storm, had to take shelter. Hacks, fixes, etc etc 2010-04-29 13:46:20 +00:00
Thread.h Massive Poo storm, had to take shelter. Hacks, fixes, etc etc 2010-04-29 13:46:20 +00:00
Thunk.cpp keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. 2010-02-14 22:37:46 +00:00
Thunk.h keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. 2010-02-14 22:37:46 +00:00
Timer.cpp Kill the last timeGetTime calls. 2010-01-21 21:27:52 +00:00
Timer.h (Minor timer library code cleanup) 2010-01-21 19:55:01 +00:00
x64Analyzer.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
x64Analyzer.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
x64Emitter.cpp Fixed a small bug in J_CC when emitting jumps that exceed 0x80 in range (only used by DSP NR yet). 2010-04-11 12:27:27 +00:00
x64Emitter.h DSPJit: disabled NR again until we fix DSPEmitter::increase_addr_reg. 2010-04-09 19:18:50 +00:00