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
4 years ago
|
#pragma once
|
||
4 years ago
|
|
||
4 years ago
|
#include "cereal/visionipc/visionbuf.h"
|
||
4 years ago
|
|
||
|
#ifdef __APPLE__
|
||
4 years ago
|
#include <OpenGL/gl3.h>
|
||
4 years ago
|
#else
|
||
4 years ago
|
#include <GLES3/gl3.h>
|
||
4 years ago
|
#endif
|
||
5 years ago
|
|
||
4 years ago
|
class EGLImageTexture {
|
||
|
public:
|
||
|
EGLImageTexture(const VisionBuf *buf);
|
||
|
~EGLImageTexture();
|
||
|
GLuint frame_tex = 0;
|
||
|
};
|