forked from dolphin-emu/dolphin
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			634 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			634 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright 2014 Dolphin Emulator Project
 | |
| // Licensed under GPLv2+
 | |
| // Refer to the license.txt file included.
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include "Common/CommonTypes.h"
 | |
| #include "VideoCommon/ConstantManager.h"
 | |
| 
 | |
| class PointerWrap;
 | |
| 
 | |
| // The non-API dependent parts.
 | |
| class GeometryShaderManager
 | |
| {
 | |
| public:
 | |
|   static void Init();
 | |
|   static void Dirty();
 | |
|   static void DoState(PointerWrap& p);
 | |
| 
 | |
|   static void SetConstants();
 | |
|   static void SetViewportChanged();
 | |
|   static void SetProjectionChanged();
 | |
|   static void SetLinePtWidthChanged();
 | |
|   static void SetTexCoordChanged(u8 texmapid);
 | |
| 
 | |
|   static GeometryShaderConstants constants;
 | |
|   static bool dirty;
 | |
| };
 |