| 
									
										
										
										
											2015-05-24 06:55:12 +02:00
										 |  |  | // Copyright 2014 Dolphin Emulator Project
 | 
					
						
							| 
									
										
										
										
											2015-05-18 01:08:10 +02:00
										 |  |  | // Licensed under GPLv2+
 | 
					
						
							| 
									
										
										
										
											2014-12-14 21:23:13 +01:00
										 |  |  | // Refer to the license.txt file included.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "VideoCommon/ConstantManager.h"
 | 
					
						
							|  |  |  | #include "VideoCommon/GeometryShaderGen.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class PointerWrap; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // The non-API dependent parts.
 | 
					
						
							|  |  |  | class GeometryShaderManager | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | public: | 
					
						
							|  |  |  | 	static void Init(); | 
					
						
							|  |  |  | 	static void Dirty(); | 
					
						
							|  |  |  | 	static void Shutdown(); | 
					
						
							|  |  |  | 	static void DoState(PointerWrap &p); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-12-20 13:01:37 +01:00
										 |  |  | 	static void SetConstants(); | 
					
						
							| 
									
										
										
										
											2014-12-14 21:23:13 +01:00
										 |  |  | 	static void SetViewportChanged(); | 
					
						
							|  |  |  | 	static void SetProjectionChanged(); | 
					
						
							| 
									
										
										
										
											2014-12-14 21:44:33 +01:00
										 |  |  | 	static void SetLinePtWidthChanged(); | 
					
						
							|  |  |  | 	static void SetTexCoordChanged(u8 texmapid); | 
					
						
							| 
									
										
										
										
											2014-12-14 21:23:13 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	static GeometryShaderConstants constants; | 
					
						
							|  |  |  | 	static bool dirty; | 
					
						
							|  |  |  | }; |