You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					17 lines
				
				256 B
			
		
		
			
		
	
	
					17 lines
				
				256 B
			| 
								 
											5 years ago
										 
									 | 
							
								#pragma once
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 
											4 years ago
										 
									 | 
							
								#include "cereal/visionipc/visionbuf.h"
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								#ifdef __APPLE__
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								#include <OpenGL/gl3.h>
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								#else
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								#include <GLES3/gl3.h>
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								#endif
							 | 
						||
| 
								 
											6 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								class EGLImageTexture {
							 | 
						||
| 
								 | 
							
								 public:
							 | 
						||
| 
								 | 
							
								  EGLImageTexture(const VisionBuf *buf);
							 | 
						||
| 
								 | 
							
								  ~EGLImageTexture();
							 | 
						||
| 
								 | 
							
								  GLuint frame_tex = 0;
							 | 
						||
| 
								 | 
							
								};
							 |