Revision 6327:
DX9/DX11: Fix and simplify ClearScreen. At least fixes a small glitch in Super Mario Sunshine with DX11, might fix several other things as well in both plugins though (so test this, please!)
Explanation of this commit: We only have to care about four BP registers in ClearScreen, the remaining API state should be reset. The colorEnable and alphaEnable parameters are obsolete, for some reason directly using them caused the SMS glitch with DX11 (because of that bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24 check in BPFunctions.cpp, is this one actually correct?)
The comment in BPFunctions.cpp was at least misleading (if not even wrong), so I removed it.
For what it’s worth, someone needs to port this to the OpenGL and Software plugins (unless they’re doing this properly already)
Revision 6326
Add an experimental CMake build system as a possible replacement for SCons. Only tested on Linux, should work on OS X and Windows in the future as well though.
Some notes about this:
— config.h doesn’t get written yet, so you’ll have to use one generated by SCons
— dependency checking isn’t really implemented, yet. Just some basic checks for OpenGL or ALSA, we need something more sophisticated though.
— the OpenGL plugin fails to load for some reason which I can’t debug right now due to the libc debuginfo package version in openSUSE not matching the runtime packages
— there’s even some support for generating install packages (rpm/deb/.. packages, NSIS installer, etc). It doesn’t work properly right now though, since some paths seem to be hardcoded into Dolphin’s source
— probably lots of other stuff I forgot… Just take a look at all the TODOs in the CMakeLists.txt files for more information ;P
Additionally, I added various files to the svn:ignore list.
tl;dr: Unless you are a dev or you’re building binary packages, this commit shouldn’t bother you :P
Скачать: