mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-22 09:33:52 +08:00
* remove comma two support * cleanup release files * little more * more libs * no more gralloc * add snpe back
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;
|
|
};
|