mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user