Substantial XFB speedup. There's more to get though, for example by using a shader for color conversion instead - but i like having a fast CPU implementation too. Also adds some sanity checks. PAL games still have problems.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@885 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-10-15 21:29:44 +00:00
parent fffc2b6a77
commit 34a4fee1c5
9 changed files with 145 additions and 34 deletions

View File

@ -37,6 +37,7 @@
#include "PixelShaderManager.h"
#include "VertexShaderManager.h"
#include "XFB.h"
#include "XFBConvert.h"
#include "VideoState.h"
#include "Debugger/Debugger.h" // for the CDebugger class
@ -182,6 +183,7 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize)
frameCount = 0;
g_VideoInitialize = *_pVideoInitialize;
InitLUTs();
InitXFBConvTables();
g_Config.Load();
if (!OpenGL_Create(g_VideoInitialize, 640, 480)) { //640x480 will be the default if all else fails//