2013-04-18 06:09:55 +03:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 06:46:09 +02:00
|
|
|
|
|
|
|
#ifndef _VERTEXLOADERMANAGER_H
|
|
|
|
#define _VERTEXLOADERMANAGER_H
|
|
|
|
|
|
|
|
#include "Common.h"
|
2009-08-10 09:18:10 +03:00
|
|
|
#include <string>
|
2008-12-08 06:46:09 +02:00
|
|
|
|
|
|
|
namespace VertexLoaderManager
|
|
|
|
{
|
2008-12-25 23:44:56 +02:00
|
|
|
void Init();
|
|
|
|
void Shutdown();
|
2008-12-08 06:46:09 +02:00
|
|
|
|
|
|
|
void MarkAllDirty();
|
|
|
|
|
|
|
|
int GetVertexSize(int vtx_attr_group);
|
2008-12-25 23:44:56 +02:00
|
|
|
void RunVertices(int vtx_attr_group, int primitive, int count);
|
2010-08-30 02:08:56 +03:00
|
|
|
void RunCompiledVertices(int vtx_attr_group, int primitive, int count, u8* Data);
|
2008-12-08 06:46:09 +02:00
|
|
|
|
|
|
|
// For debugging
|
|
|
|
void AppendListToString(std::string *dest);
|
|
|
|
};
|
|
|
|
|
2009-02-09 22:35:30 +02:00
|
|
|
void RecomputeCachedArraybases();
|
|
|
|
|
2008-12-08 06:46:09 +02:00
|
|
|
#endif // _VERTEXLOADERMANAGER_H
|