| 
									
										
										
										
											2013-04-17 23:29:41 -04:00
										 |  |  | // Copyright 2013 Dolphin Emulator Project
 | 
					
						
							|  |  |  | // Licensed under GPLv2
 | 
					
						
							|  |  |  | // Refer to the license.txt file included.
 | 
					
						
							| 
									
										
										
										
											2009-07-06 02:10:26 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #ifndef _POSTPROCESSING_H_
 | 
					
						
							|  |  |  | #define _POSTPROCESSING_H_
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "VideoCommon.h"
 | 
					
						
							|  |  |  | #include "GLUtil.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-01-29 20:16:51 +00:00
										 |  |  | namespace OGL | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-07-06 02:10:26 +00:00
										 |  |  | namespace PostProcessing | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void Init(); | 
					
						
							|  |  |  | void Shutdown(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-03-07 17:00:11 +01:00
										 |  |  | void BindTargetFramebuffer(); | 
					
						
							|  |  |  | void BlitToScreen(); | 
					
						
							|  |  |  | void Update(u32 width, u32 height); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-07-06 02:10:26 +00:00
										 |  |  | void ReloadShader(); | 
					
						
							| 
									
										
										
										
											2013-03-07 17:00:11 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | void ApplyShader(); | 
					
						
							| 
									
										
										
										
											2009-07-06 02:10:26 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | }  // namespace
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-01-29 20:16:51 +00:00
										 |  |  | }  // namespace
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-07-06 02:10:26 +00:00
										 |  |  | #endif // _POSTPROCESSING_H_
 |