dolphin/Source/Core/VideoCommon/Src
Marcos Vitali fb35a83d2c - Fixed Metroid Prime 2 "GFX FIFO: Unknown Opcode (0x%x).\n" This was happened because FIFO_RESET is executed, but at this moment the Write Gather Pipe is not empty. (maybe also fix the same problem reported in MP1, i dont have this game for testing)
- Reimplemented AbortFrame. Now the  Write Gather Pipe buffer is reseted and Read Write Distances is reseted before the game do it instead  the  process all GP CPRWDistance for prevent CP wrong pointers.
This fifo reset should be more accurate, efficient and smooth the FPS when happens. Please, test regresion of SMG1 and SMG2 or others games with FIFO RESETS.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6971 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29 20:04:16 +00:00
..
OpenCL Kill HAVE_OPENCL. 2011-01-06 01:11:32 +00:00
AVIDump.cpp Removed my previous PanicAlert translation hack. Fixed with a better method suggested by BhaaL. The translation is done by a callback in the MsgHandler routine that is set at program start. Added macros PanicAlertT, SuccessAlertT, PanicYesNoT, and AskYesNoT that are identical to the non T versions except those strings will be added by gettext to the po files to be translated. These can and should be used anywhere in the code for strings that should be translated. 2011-01-13 02:05:58 +00:00
AVIDump.h On linux encode frame dumps in MPG format instead of writing raw frames. To enable this portion of the code you must have libavcodec-dev and libswscale-dev installed (package names for Ubuntu). 2010-11-14 21:14:26 +00:00
BPFunctions.cpp Fixed the black (alpha) textures in the 8ing games like Tatsunoko vs Capcom and the Naruto series when using the OpenGL plug-in. Thanks to jim.lee for the tip. 2011-01-27 10:17:13 +00:00
BPFunctions.h Fixed the black (alpha) textures in the 8ing games like Tatsunoko vs Capcom and the Naruto series when using the OpenGL plug-in. Thanks to jim.lee for the tip. 2011-01-27 10:17:13 +00:00
BPMemory.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
BPMemory.h initial implementation of fog range adjust, I don't think is correct or work right but is a start. 2011-01-29 04:31:56 +00:00
BPStructs.cpp initial implementation of fog range adjust, I don't think is correct or work right but is a start. 2011-01-29 04:31:56 +00:00
BPStructs.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
CPMemory.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
CPMemory.h Some more cleanup which should've been in r6232. Thanks Billiard. 2010-09-27 05:16:11 +00:00
CommandProcessor.cpp - Fixed Metroid Prime 2 "GFX FIFO: Unknown Opcode (0x%x).\n" This was happened because FIFO_RESET is executed, but at this moment the Write Gather Pipe is not empty. (maybe also fix the same problem reported in MP1, i dont have this game for testing) 2011-01-29 20:04:16 +00:00
CommandProcessor.h More FIFO work, HACK Solution for extreme overflow on breakpoints. 2010-12-27 02:55:35 +00:00
DLCache.cpp some fixes to dlist caching, now most of the remaining glitches should be fixed 2011-01-29 17:04:09 +00:00
DLCache.h fully implemented display list cache with vertex data included and added in all the plugins. 2010-08-29 23:08:56 +00:00
DataReader.h Simplify the SSSE3 code for better understanding. 2011-01-11 07:25:36 +00:00
Debugger.cpp some little optimizations and some cleaning. 2011-01-09 14:13:24 +00:00
Debugger.h We effectively only have a single namespace for private header files, 2010-12-05 15:28:31 +00:00
EmuWindow.cpp Add anvideo config option to automatically resize the render window to the size of the game's output resolution. This avoids artifacts that appear when the render target is scaled to fit a window of a different size. 2011-01-07 04:57:59 +00:00
EmuWindow.h Win32-only: 2010-12-19 19:43:18 +00:00
Fifo.cpp - Fixed Metroid Prime 2 "GFX FIFO: Unknown Opcode (0x%x).\n" This was happened because FIFO_RESET is executed, but at this moment the Write Gather Pipe is not empty. (maybe also fix the same problem reported in MP1, i dont have this game for testing) 2011-01-29 20:04:16 +00:00
Fifo.h BIG FIFO Commit PART 1! Sometimes you need to write everything from 0, so 10 days later Ive rewrited some parts of the FIFO in Dual Core mode. Is pending use the same code for SC mode. 2010-12-11 12:42:55 +00:00
FramebufferManagerBase.cpp Second Experimental commit: 2010-12-27 03:18:01 +00:00
FramebufferManagerBase.h Second Experimental commit: 2010-12-27 03:18:01 +00:00
HiresTextures.cpp allow gcc to check the format of args being passed to MsgAlert and GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...) 2010-12-05 09:04:34 +00:00
HiresTextures.h Merged common texture cache code from video plugins into VideoCommon. (DX11 native mipmaps currently broken, disabled) Hopefully everything else should still be working. 2010-10-19 22:24:27 +00:00
ImageWrite.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
ImageWrite.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
IndexGenerator.cpp Related to Texture's glitches: 2010-11-25 20:39:54 +00:00
IndexGenerator.h let's keep experimenting: 2010-05-22 21:58:43 +00:00
LookUpTables.h Don't use lookup tables. It's better to use CPU registers and reduce memory accesses. 2009-07-30 20:29:52 +00:00
MainBase.cpp Various minor fixes to allow building with clang on OS X. 2011-01-27 05:01:00 +00:00
MainBase.h Build missing BPFunctions.cpp with SCons. 2010-11-18 23:25:40 +00:00
NativeVertexFormat.h DX11 code maintenance, part 5: 2011-01-24 11:57:17 +00:00
OnScreenDisplay.cpp Move some shared gfx plugin code into VideoCommon. Changed "Renderer" class to use virtual functions. (setting stuff up for video plugin merging) 2010-11-18 02:21:26 +00:00
OnScreenDisplay.h Moving more things out of GL into VideoCommon... 2009-09-03 20:37:35 +00:00
OpcodeDecoding.cpp Clean out the long since bit-rotted video profiling code. 2011-01-27 21:57:36 +00:00
OpcodeDecoding.h sometimes to advance you have to make a step back. 2010-08-28 15:09:42 +00:00
PixelEngine.cpp More FIFO works, Hopefully this commit can fix randoms hangs in Wii Music, Wii Sports, maybe in Wii Resort, etc. Please test your games now. This commit is not related with FIFO Overflown and Fifo linked desync. 2010-12-21 04:39:39 +00:00
PixelEngine.h Fix alpha reads (hurray for the ZWW Pictograph quest and Killer 7) 2011-01-07 19:51:28 +00:00
PixelShaderGen.cpp If perspective divide is enabled and texture coordinate Z is 0 then leave texture coordinates alone. Fixes issue 3676. 2011-01-29 08:34:57 +00:00
PixelShaderGen.h initial implementation of fog range adjust, I don't think is correct or work right but is a start. 2011-01-29 04:31:56 +00:00
PixelShaderManager.cpp initial implementation of fog range adjust, I don't think is correct or work right but is a start. 2011-01-29 04:31:56 +00:00
PixelShaderManager.h initial implementation of fog range adjust, I don't think is correct or work right but is a start. 2011-01-29 04:31:56 +00:00
RenderBase.cpp Add anvideo config option to automatically resize the render window to the size of the game's output resolution. This avoids artifacts that appear when the render target is scaled to fit a window of a different size. 2011-01-07 04:57:59 +00:00
RenderBase.h Various minor fixes to allow building with clang on OS X. 2011-01-27 05:01:00 +00:00
SConscript Link the video plugin statically into the main binary on OS X. 2011-01-29 04:52:19 +00:00
Statistics.cpp D3D9: Delete some long dead code. Also add one more statistic: number of compiled shaders that actually have unique code (not accurate unless you delete the shader cache before running). This stat clearly shows that in f-zero we create 5x as many pixel shaders as we should, so there's clearly a problem with the shader ID generation. 2010-06-20 22:23:34 +00:00
Statistics.h D3D9: Delete some long dead code. Also add one more statistic: number of compiled shaders that actually have unique code (not accurate unless you delete the shader cache before running). This stat clearly shows that in f-zero we create 5x as many pixel shaders as we should, so there's clearly a problem with the shader ID generation. 2010-06-20 22:23:34 +00:00
TextureCacheBase.cpp Clean out the long since bit-rotted video profiling code. 2011-01-27 21:57:36 +00:00
TextureCacheBase.h DX11 code maintenance, part 7: 2011-01-25 16:43:08 +00:00
TextureConversionShader.cpp made texture conversion shaders use less instructions 2010-12-19 21:05:41 +00:00
TextureConversionShader.h hopefully fixed zww issue with new efb to ram. 2010-07-12 19:30:25 +00:00
TextureDecoder.cpp Link the video plugin statically into the main binary on OS X. 2011-01-29 04:52:19 +00:00
TextureDecoder.h Include "Hash.h" rather than "hash.h" for case-sensitive file systems. 2010-08-28 15:53:01 +00:00
VertexLoader.cpp Clean out the long since bit-rotted video profiling code. 2011-01-27 21:57:36 +00:00
VertexLoader.h Changed macro for disallowing copy-ctor and =operator into an inheritable class. Removed IrPointer.ini (no longer used) 2010-11-15 05:29:10 +00:00
VertexLoaderManager.cpp fully implemented display list cache with vertex data included and added in all the plugins. 2010-08-29 23:08:56 +00:00
VertexLoaderManager.h fully implemented display list cache with vertex data included and added in all the plugins. 2010-08-29 23:08:56 +00:00
VertexLoader_Color.cpp little fix for one piece unlimited cruise 2 and ju-on the grudge 2011-01-26 17:22:09 +00:00
VertexLoader_Color.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
VertexLoader_Normal.cpp 2 fixes one for dx9 and one for software plugin. 2011-01-23 15:29:57 +00:00
VertexLoader_Normal.h rework the normal loading now it should be a accurate as real hardware. 2011-01-19 13:57:15 +00:00
VertexLoader_Position.cpp Use SSSE3 shuffle for DataReader's DataReadU32xN in VideoCommon. The function is used for reading up to 16 u32's at a time (512-bits) and then converting endianness. 2011-01-10 13:14:56 +00:00
VertexLoader_Position.h VideoCommon: Added automatic selection routines for SSSE3/SSE4.1 codes. It selects SSSE3/SSE4.1 codes only if a proper preprocessor definition is defined and the target cpu supports SSSE3/SSE4.1. The selection routines in VertexLoader_* use function pointers. TextureDecoder uses a combination of "#if" and "if" statements. 2010-04-09 15:13:42 +00:00
VertexLoader_TextCoord.cpp Merged identical VertexManager code from DX9/DX11/OGL plugins into VideoCommon. Still need to merge VertexManager::Flush (will be easier after TextureCache is merged). Purposely using a class/virtualfuncs rather than a namespace so multiple VertexManager can be in one plugin (VideoMergeNew? :p). 2010-10-03 00:41:06 +00:00
VertexLoader_TextCoord.h VideoCommon: Added automatic selection routines for SSSE3/SSE4.1 codes. It selects SSSE3/SSE4.1 codes only if a proper preprocessor definition is defined and the target cpu supports SSSE3/SSE4.1. The selection routines in VertexLoader_* use function pointers. TextureDecoder uses a combination of "#if" and "if" statements. 2010-04-09 15:13:42 +00:00
VertexManagerBase.cpp Clean out the long since bit-rotted video profiling code. 2011-01-27 21:57:36 +00:00
VertexManagerBase.h DX9 debugger improvements: 2010-11-29 16:16:48 +00:00
VertexShaderGen.cpp Create valid vertex shader when using emboss mapping and binormals and tangents are missing. Fixes issue 2867. 2011-01-28 04:13:46 +00:00
VertexShaderGen.h big changes here: 2010-07-18 00:18:31 +00:00
VertexShaderManager.cpp Clean out the long since bit-rotted video profiling code. 2011-01-27 21:57:36 +00:00
VertexShaderManager.h Added a projection hack for Metroid: Other M. This fixes the black screens that occur in cut-scenes. Patch by Trevor002. 2010-11-11 09:22:19 +00:00
VideoCommon.h initial implementation of fog range adjust, I don't think is correct or work right but is a start. 2011-01-29 04:31:56 +00:00
VideoConfig.cpp Migrate the "Adjust window size" option to the main configuration dialog (under the "Display" tab, in "Emulator Display Settings", after "Window Size"). Also rework the way that the option works. When using render to main and the auto resize option, the application window will be resized and then resized back when the emulator stops. This looks much better than the box in the corner look before. Also only resize when it would actually change the size of the window. This fixes the hang on emulation stop on linux. 2011-01-25 03:30:12 +00:00
VideoConfig.h Migrate the "Adjust window size" option to the main configuration dialog (under the "Display" tab, in "Emulator Display Settings", after "Window Size"). Also rework the way that the option works. When using render to main and the auto resize option, the application window will be resized and then resized back when the emulator stops. This looks much better than the box in the corner look before. Also only resize when it would actually change the size of the window. This fixes the hang on emulation stop on linux. 2011-01-25 03:30:12 +00:00
VideoState.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
VideoState.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
XFBConvert.cpp Kill HAVE_OPENCL. 2011-01-06 01:11:32 +00:00
XFBConvert.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
XFMemory.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
XFMemory.h Replace all bitfields which were only declared with "(un)signed" with their actual types. Let me know if I missed any. It would also be a good idea to test this commit in both x64 and x86. 2010-09-27 04:29:51 +00:00
XFStructs.cpp Merged identical VertexManager code from DX9/DX11/OGL plugins into VideoCommon. Still need to merge VertexManager::Flush (will be easier after TextureCache is merged). Purposely using a class/virtualfuncs rather than a namespace so multiple VertexManager can be in one plugin (VideoMergeNew? :p). 2010-10-03 00:41:06 +00:00
XFStructs.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
memcpy_amd.cpp GL Vertex loader moved to VideoCommon. 2008-12-26 13:09:16 +00:00