summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorRodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com>2010-08-29 23:08:56 +0000
committerRodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com>2010-08-29 23:08:56 +0000
commit3e7dafbbd7708f574059bc4722c260b4f6edd6cb (patch)
tree84730fc53fdd895cf7f8fad7833f177f5272aef7 /Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
parent4229d9e01ec062714f9c784930ba60d0f0967456 (diff)
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
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoaderManager.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp b/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
index 176e9ad0c7..c03f0d94fd 100644
--- a/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
@@ -143,6 +143,14 @@ void RunVertices(int vtx_attr_group, int primitive, int count)
g_VertexLoaders[vtx_attr_group]->RunVertices(vtx_attr_group, primitive, count);
}
+void RunCompiledVertices(int vtx_attr_group, int primitive, int count, u8* Data)
+{
+ if (!count || !Data)
+ return;
+ RefreshLoader(vtx_attr_group);
+ g_VertexLoaders[vtx_attr_group]->RunCompiledVertices(vtx_attr_group, primitive, count,Data);
+}
+
int GetVertexSize(int vtx_attr_group)
{
RefreshLoader(vtx_attr_group);