mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-03 10:43:52 +08:00
17 lines
256 B
C++
17 lines
256 B
C++
#pragma once
|
|
|
|
#include "cereal/visionipc/visionbuf.h"
|
|
|
|
#ifdef __APPLE__
|
|
#include <OpenGL/gl3.h>
|
|
#else
|
|
#include <GLES3/gl3.h>
|
|
#endif
|
|
|
|
class EGLImageTexture {
|
|
public:
|
|
EGLImageTexture(const VisionBuf *buf);
|
|
~EGLImageTexture();
|
|
GLuint frame_tex = 0;
|
|
};
|