| 
									
										
										
										
											2021-07-04 02:53:37 +01:00
										 |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define GLEW_STATIC
 | 
					
						
							|  |  |  | #include "GL/glew.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <SDL2/SDL.h>
 | 
					
						
							|  |  |  | #include <SDL2/SDL_opengl.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "io.h"
 | 
					
						
							| 
									
										
										
										
											2021-08-09 15:49:05 +01:00
										 |  |  | #include "random.h"
 | 
					
						
							| 
									
										
										
										
											2021-07-04 02:53:37 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-10 16:16:01 +01:00
										 |  |  | SDL_Window* gfxInit(int width, int height); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | unsigned int compileQuadShaderProgram(const char* vsPath, const char* fsPath); | 
					
						
							|  |  |  | unsigned int compileComputeShaderProgram(); | 
					
						
							| 
									
										
										
										
											2021-07-04 02:53:37 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-09 15:49:05 +01:00
										 |  |  | GLuint createNoiseTexture(int width, int height); | 
					
						
							| 
									
										
										
										
											2021-07-10 16:16:01 +01:00
										 |  |  | GLuint createWriteOnlyTexture(int width, int height); | 
					
						
							|  |  |  | void printWorkGroupLimits(); | 
					
						
							| 
									
										
										
										
											2021-07-05 01:05:37 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-09 01:00:19 +01:00
										 |  |  | void setVertexAttributes(); | 
					
						
							|  |  |  | void initBuffers(); | 
					
						
							|  |  |  | 
 |