more gl plugin cleanup, code moving

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@900 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-10-17 12:08:28 +00:00
parent dcbc8e78d4
commit 7bbd6fda63
12 changed files with 177 additions and 192 deletions

View File

@ -31,9 +31,6 @@
using namespace D3D;
//TODO(ector): remove and calculate inline?
float shiftLookup[32];
IndexGenerator indexGen;
Collection CVertexHandler::collection;
@ -65,10 +62,6 @@ const D3DVERTEXELEMENT9 decl[] =
void CVertexHandler::Init()
{
collection = C_NOTHING;
for (int i = 0; i < 31; i++)
shiftLookup[i] = 1.0f / float(1 << i);
fakeVBuffer = new D3DVertex[65536];
fakeIBuffer = new u16[65536];
CreateDeviceObjects();

View File

@ -22,8 +22,6 @@
#include "VertexLoader.h"
#include "DecodedVArray.h"
extern float shiftLookup[32];
struct UV
{
float u,v,w;

View File

@ -20,6 +20,7 @@
#include "x64Emitter.h"
#include "Common.h"
#include "LookUpTables.h"
#include "Profiler.h"
#include "VertexHandler.h"
#include "VertexLoader.h"