Logo
Explore Help
Register Sign In
mawei/sunnypilot
1
0
Fork 0
You've already forked sunnypilot
mirror of https://github.com/sunnypilot/sunnypilot.git synced 2026-02-22 17:03:54 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
bd9ca30ee8ea6f34a780b24f32a914b94de9f71a
sunnypilot/selfdrive/common/glutil.h

22 lines
329 B
C
Raw Normal View History

selfdrive/common old-commit-hash: 368a956b965f64d8c2d833b4d75a973807cd5f1b
2020-01-17 11:01:02 -08:00
#ifndef COMMON_GLUTIL_H
#define COMMON_GLUTIL_H
Support scons build on Mac (#1034) * fix clock and add Darwin sconstruct * it builds, this changes should be simplifications too * fix boardd build * that's the real type of EGLClientBuffer * remove extra lines * ui needs opencl on phone old-commit-hash: f72f78f2b9e1028a8421dc8f57bccfa2fab3396a
2020-02-01 23:36:50 -08:00
#ifdef __APPLE__
#include <OpenGL/gl3.h>
#else
#include <GLES3/gl3.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
selfdrive/common old-commit-hash: 368a956b965f64d8c2d833b4d75a973807cd5f1b
2020-01-17 11:01:02 -08:00
GLuint load_shader(GLenum shaderType, const char *src);
GLuint load_program(const char *vert_src, const char *frag_src);
Support scons build on Mac (#1034) * fix clock and add Darwin sconstruct * it builds, this changes should be simplifications too * fix boardd build * that's the real type of EGLClientBuffer * remove extra lines * ui needs opencl on phone old-commit-hash: f72f78f2b9e1028a8421dc8f57bccfa2fab3396a
2020-02-01 23:36:50 -08:00
#ifdef __cplusplus
}
#endif
selfdrive/common old-commit-hash: 368a956b965f64d8c2d833b4d75a973807cd5f1b
2020-01-17 11:01:02 -08:00
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 39ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API