| 
									
										
										
										
											2013-04-17 23:09:55 -04:00
										 |  |  | // Copyright 2013 Dolphin Emulator Project
 | 
					
						
							|  |  |  | // Licensed under GPLv2
 | 
					
						
							|  |  |  | // Refer to the license.txt file included.
 | 
					
						
							| 
									
										
										
										
											2008-12-08 04:46:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-02-10 13:54:46 -05:00
										 |  |  | #pragma once
 | 
					
						
							| 
									
										
										
										
											2008-12-08 04:46:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-08-10 06:18:10 +00:00
										 |  |  | #include <string>
 | 
					
						
							| 
									
										
										
										
											2008-12-08 04:46:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-02-17 05:18:15 -05:00
										 |  |  | #include "Common/Common.h"
 | 
					
						
							| 
									
										
										
										
											2014-06-05 17:55:21 +02:00
										 |  |  | #include "VideoCommon/NativeVertexFormat.h"
 | 
					
						
							| 
									
										
										
										
											2014-02-17 05:18:15 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-12-08 04:46:09 +00:00
										 |  |  | namespace VertexLoaderManager | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2008-12-25 21:44:56 +00:00
										 |  |  | 	void Init(); | 
					
						
							|  |  |  | 	void Shutdown(); | 
					
						
							| 
									
										
										
										
											2008-12-08 04:46:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	void MarkAllDirty(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	int GetVertexSize(int vtx_attr_group); | 
					
						
							| 
									
										
										
										
											2008-12-25 21:44:56 +00:00
										 |  |  | 	void RunVertices(int vtx_attr_group, int primitive, int count); | 
					
						
							| 
									
										
										
										
											2008-12-08 04:46:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	// For debugging
 | 
					
						
							|  |  |  | 	void AppendListToString(std::string *dest); | 
					
						
							| 
									
										
										
										
											2014-06-05 17:55:21 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	NativeVertexFormat* GetNativeVertexFormat(const PortableVertexDeclaration& format, u32 components); | 
					
						
							| 
									
										
										
										
											2008-12-08 04:46:09 +00:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-09 20:35:30 +00:00
										 |  |  | void RecomputeCachedArraybases(); |