mirror of
https://github.com/MobileGL-Dev/MobileGlues.git
synced 2025-09-21 02:04:01 -04:00
[Chore] (Header): Regulate OpenGL header files.
This commit is contained in:
parent
2add79a878
commit
1389708a85
@ -3,10 +3,10 @@
|
||||
//
|
||||
|
||||
#ifndef MOBILEGLUES_BUFFER_H
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include "../includes.h"
|
||||
#include "../../config/settings.h"
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "glcorearb.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include <cstdlib>
|
||||
#include <vector>
|
||||
#include <cstring>
|
||||
#include <GLES/gl32.h>
|
||||
#include <GLES3/gl32.h>
|
||||
#include "../includes.h"
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "glcorearb.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef MOBILEGLUES_FRAMEBUFFER_H
|
||||
#define MOBILEGLUES_FRAMEBUFFER_H
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -3,7 +3,7 @@
|
||||
//
|
||||
|
||||
#include "../includes.h"
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "glcorearb.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -3,7 +3,7 @@
|
||||
//
|
||||
|
||||
#include "../includes.h"
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "glcorearb.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -3,12 +3,12 @@
|
||||
//
|
||||
|
||||
#include "../includes.h"
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "glcorearb.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
#include "mg.h"
|
||||
#include <GLES/gl32.h>
|
||||
#include <GLES3/gl32.h>
|
||||
|
||||
#define DEBUG 0
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Created by BZLZHH on 2025/1/29.
|
||||
//
|
||||
#include "../includes.h"
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "glcorearb.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
#define GL_GLEXT_VERSION 20220530
|
||||
|
||||
#include <KHR/khrplatform.h>
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
|
||||
/* Generated C header for:
|
||||
* API: gl
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define GLSL_FOR_ES
|
||||
#include <stdio.h>
|
||||
#include "../includes.h"
|
||||
#include "../gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "../glcorearb.h"
|
||||
#include "../log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <unordered_set>
|
||||
#include <mutex>
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
|
||||
#ifndef __ANDROID__
|
||||
// Define a stub for __android_log_print if not on Android
|
||||
|
@ -15,7 +15,7 @@ typedef unsigned int uint;
|
||||
#include <android/log.h>
|
||||
#endif
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "../gles/gles.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -8,9 +8,9 @@
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <GLES/gl32.h>
|
||||
#include <GLES3/gl32.h>
|
||||
#include "../includes.h"
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "glcorearb.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef MOBILEGLUES_PIXEL_H
|
||||
#define MOBILEGLUES_PIXEL_H
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "../gles/gles.h"
|
||||
#include "log.h"
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef MOBILEGLUES_PROGRAM_H
|
||||
#define MOBILEGLUES_PROGRAM_H
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <cctype>
|
||||
#include "shader.h"
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "log.h"
|
||||
#include "program.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
#ifndef MOBILEGLUES_SHADER_H
|
||||
#define MOBILEGLUES_SHADER_H
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include <string>
|
||||
|
||||
struct shader_t {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <android/log.h>
|
||||
#endif
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "../gles/gles.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -11,7 +11,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
|
||||
GLAPI GLAPIENTRY void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
|
||||
GLAPI GLAPIENTRY void glTexImage1D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define MOBILEGLUES_VERTEXATTRIB_H
|
||||
|
||||
#include "../includes.h"
|
||||
#include "gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "glcorearb.h"
|
||||
#include "log.h"
|
||||
#include "../gles/loader.h"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "loader.h"
|
||||
#include "../includes.h"
|
||||
#include "loader.h"
|
||||
#include "../gl/gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "../gl/glext.h"
|
||||
#include "../gl/envvars.h"
|
||||
#include "../gl/log.h"
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define MOBILEGLUES_GLES_LOADER_H_
|
||||
|
||||
#include "../gl/log.h"
|
||||
#include "../gl/gl.h"
|
||||
#include <GL/gl.h>
|
||||
#include "gles.h"
|
||||
#include <dlfcn.h>
|
||||
#include <cstdio>
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef FOLD_CRAFT_LAUNCHER_GLES3_H
|
||||
#define FOLD_CRAFT_LAUNCHER_GLES3_H
|
||||
|
||||
#include <GLES/gl32.h>
|
||||
#include <GLES3/gl32.h>
|
||||
#include "gl/gl.h"
|
||||
|
||||
struct es3_functions_t
|
||||
|
@ -9,7 +9,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "../gl/gl.h"
|
||||
#include <GL/gl.h>
|
||||
|
||||
GLAPI GLAPIENTRY void *glXGetProcAddress(const char *name);
|
||||
GLAPI GLAPIENTRY void *glXGetProcAddressARB(const char *name);
|
||||
|
2103
src/main/cpp/include/GL/gl.h
Normal file
2103
src/main/cpp/include/GL/gl.h
Normal file
File diff suppressed because it is too large
Load Diff
5991
src/main/cpp/include/GL/glcorearb.h
Normal file
5991
src/main/cpp/include/GL/glcorearb.h
Normal file
File diff suppressed because it is too large
Load Diff
12899
src/main/cpp/include/GL/glext.h
Normal file
12899
src/main/cpp/include/GL/glext.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@ extern "C" {
|
||||
** https://github.com/KhronosGroup/OpenGL-Registry
|
||||
*/
|
||||
|
||||
#include <GLES/gl3platform.h>
|
||||
#include <GLES3/gl3platform.h>
|
||||
|
||||
#ifndef GL_APIENTRYP
|
||||
#define GL_APIENTRYP GL_APIENTRY*
|
@ -12,7 +12,7 @@
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <GLES/gl32.h>
|
||||
#include <GLES3/gl32.h>
|
||||
|
||||
#include "egl/egl.h"
|
||||
#include "egl/loader.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user