diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-11-23 17:46:14 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-11-23 17:46:14 +0000 |
| commit | 5c58227702d1783fe3b67de4c8a69932cea1d82d (patch) | |
| tree | af3f46010f2181fddb4a13bb08a28bd651817300 /Source/Core/VideoCommon | |
| parent | 464185a04e927a887a85f1fdcb9ea33325c3ea0a (diff) | |
Optimize vertex loader with a mini JIT (only first step, more optimizations may follow). Some various error message and warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1276 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/NativeVertexFormat.h | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/Statistics.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/Src/NativeVertexFormat.h b/Source/Core/VideoCommon/Src/NativeVertexFormat.h index bb9be45d79..3aee5cd753 100644 --- a/Source/Core/VideoCommon/Src/NativeVertexFormat.h +++ b/Source/Core/VideoCommon/Src/NativeVertexFormat.h @@ -55,7 +55,7 @@ enum { };
#define LOADERDECL __cdecl
-typedef void (LOADERDECL *TPipelineFunction)(const void *);
+typedef void (LOADERDECL *TPipelineFunction)();
enum VarType {
VAR_BYTE,
diff --git a/Source/Core/VideoCommon/Src/Statistics.h b/Source/Core/VideoCommon/Src/Statistics.h index e618d543ba..fe4a1e201c 100644 --- a/Source/Core/VideoCommon/Src/Statistics.h +++ b/Source/Core/VideoCommon/Src/Statistics.h @@ -20,8 +20,6 @@ struct Statistics
{
- int numPrimitives;
-
int numPixelShadersCreated;
int numPixelShadersAlive;
int numVertexShadersCreated;
@@ -37,8 +35,6 @@ struct Statistics int numDListsCreated;
int numDListsAlive;
- int numJoins;
-
int numVertexLoaders;
struct ThisFrame
@@ -52,10 +48,14 @@ struct Statistics int numXFLoadsInDL;
int numDLs;
- int numDLPrims;
int numPrims;
+ int numDLPrims;
int numShaderChanges;
+ int numPrimitiveJoins;
+ int numDrawCalls;
+ int numBufferSplits;
+
int numDListsCalled;
};
ThisFrame thisFrame;
|
