Aligned all vertex components to 4 byte boundaries - maybe ATI likes that? Renamed and reorganized misc things.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@981 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-10-27 21:38:30 +00:00
parent d35fb4e2b0
commit 5129341a9c
33 changed files with 437 additions and 524 deletions

View File

@ -25,21 +25,23 @@
// Other functionality is moving out.
namespace VertexManager
{
bool Init();
void Destroy();
void ResetBuffer();
void ResetComponents();
bool Init();
void Shutdown();
void AddVertices(int primitive, int numvertices);
void Flush(); // flushes the current buffer
void ResetBuffer();
void ResetComponents();
int GetRemainingSize(); // remaining space in the current buffer.
void AddVertices(int primitive, int numvertices);
void Flush(); // flushes the current buffer
void EnableComponents(u32 components); // very implementation specific - D3D9 won't need this one.
int GetRemainingSize(); // remaining space in the current buffer.
void EnableComponents(u32 components); // very implementation specific - D3D9 won't need this one.
// TODO: move, rename.
extern u8* s_pCurBufferPointer;
// TODO: move, rename.
extern u8* s_pCurBufferPointer;
};
#endif // _VERTEXMANAGER_H