diff options
| author | degasus <wickmarkus@web.de> | 2014-12-13 00:23:54 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-12-21 13:47:43 +0100 |
| commit | a71c8158d91c7ee0976b9b16eeba5ea3ac18ff99 (patch) | |
| tree | c1f11b1fc5ca8dd1b39bb6ffedca43b9c8af788f /Source/Core/VideoCommon/VertexLoader.h | |
| parent | 6e3b2712d2fafcd8fae7ba3653207980685708e6 (diff) | |
VertexLoader: remove inlined getters
They just blow up the code.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.h')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.h | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.h b/Source/Core/VideoCommon/VertexLoader.h index 92adfbeb54..0e1f60792a 100644 --- a/Source/Core/VideoCommon/VertexLoader.h +++ b/Source/Core/VideoCommon/VertexLoader.h @@ -102,32 +102,27 @@ public: VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr); ~VertexLoader(); - int GetVertexSize() const {return m_VertexSize;} - u32 GetNativeComponents() const { return m_native_components; } - const PortableVertexDeclaration& GetNativeVertexDeclaration() const - { return m_native_vtx_decl; } - void SetupRunVertices(int primitive, int const count); int RunVertices(int primitive, int count, DataReader src, DataReader dst); // For debugging / profiling void AppendToString(std::string *dest) const; - int GetNumLoadedVerts() const { return m_numLoadedVertices; } - NativeVertexFormat* m_native_vertex_format; // used by VertexLoaderManager to cache the NativeVertexFormat objects + // per loader public state + int m_VertexSize; // number of bytes of a raw GC vertex + PortableVertexDeclaration m_native_vtx_decl; + u32 m_native_components; + + // used by VertexLoaderManager + NativeVertexFormat* m_native_vertex_format; + int m_numLoadedVertices; private: - int m_VertexSize; // number of bytes of a raw GC vertex. Computed by CompileVertexTranslator. - // GC vertex format TVtxAttr m_VtxAttr; // VAT decoded into easy format TVtxDesc m_VtxDesc; // Not really used currently - or well it is, but could be easily avoided. VAT m_vat; - // PC vertex format - u32 m_native_components; - PortableVertexDeclaration m_native_vtx_decl; - #ifndef USE_VERTEX_LOADER_JIT // Pipeline. TPipelineFunction m_PipelineStages[64]; // TODO - figure out real max. it's lower. @@ -136,9 +131,6 @@ private: const u8 *m_compiledCode; - int m_numLoadedVertices; - - void SetVAT(const VAT& vat); void CompileVertexTranslator(); |
