mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
f4675fc260
* Merge common/ and selfdrive/common * fix that * fix version * fix unit tests old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
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;
|
|
};
|