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).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6249 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak
2010-10-03 00:41:06 +00:00
parent aaeb21fe3b
commit 841583b8f3
24 changed files with 346 additions and 449 deletions

View File

@ -21,15 +21,19 @@
#include "CPMemory.h"
#include "VertexLoader.h"
namespace VertexManager
#include "VertexManagerBase.h"
namespace DX9
{
bool Init();
void Shutdown();
class VertexManager : public ::VertexManager
{
private:
void Draw(int stride);
// temp
void vFlush();
};
void AddVertices(int _primitive, int _numVertices);
void Flush();
} // namespace
}
#endif