fully implemented display list cache with vertex data included and added in all the plugins.

still experimental, not totally optimized but must bring a nice speed up
please test for regressions an error. an please Linux people fix scons :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6149 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Rodolfo Osvaldo Bogado
2010-08-29 23:08:56 +00:00
parent 4229d9e01e
commit 3e7dafbbd7
18 changed files with 207 additions and 76 deletions

View File

@ -52,6 +52,7 @@ GFXConfigDialogDX *m_ConfigFrame = NULL;
#include "VideoState.h"
#include "XFBConvert.h"
#include "render.h"
#include "DLCache.h"
HINSTANCE g_hInstance = NULL;
SVideoInitialize g_VideoInitialize;
@ -72,11 +73,6 @@ static volatile struct
static volatile EFBAccessType s_AccessEFBType;
bool HandleDisplayList(u32 address, u32 size)
{
return false;
}
bool IsD3D()
{
return true;
@ -249,7 +245,7 @@ void Video_Prepare()
PixelShaderManager::Init();
CommandProcessor::Init();
PixelEngine::Init();
DLCache::Init();
// Tell the host the window is ready
g_VideoInitialize.pCoreMessage(WM_USER_CREATE);
}
@ -259,6 +255,7 @@ void Shutdown()
s_efbAccessRequested = FALSE;
s_FifoShuttingDown = FALSE;
s_swapRequested = FALSE;
DLCache::Shutdown();
Fifo_Shutdown();
CommandProcessor::Shutdown();
VertexManager::Shutdown();