[Chore] (Header): Regulate OpenGL header files.

This commit is contained in:
BZLZHH 2025-07-26 20:25:20 +08:00
parent 2add79a878
commit 1389708a85
29 changed files with 21022 additions and 29 deletions

View File

@ -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"

View File

@ -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"

View File

@ -5,7 +5,7 @@
#ifndef MOBILEGLUES_FRAMEBUFFER_H
#define MOBILEGLUES_FRAMEBUFFER_H
#include "gl.h"
#include <GL/gl.h>
#ifdef __cplusplus
extern "C" {

View File

@ -3,7 +3,7 @@
//
#include "../includes.h"
#include "gl.h"
#include <GL/gl.h>
#include "glcorearb.h"
#include "log.h"
#include "../gles/loader.h"

View File

@ -3,7 +3,7 @@
//
#include "../includes.h"
#include "gl.h"
#include <GL/gl.h>
#include "glcorearb.h"
#include "log.h"
#include "../gles/loader.h"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -5,7 +5,7 @@
#ifndef MOBILEGLUES_PROGRAM_H
#define MOBILEGLUES_PROGRAM_H
#include "gl.h"
#include <GL/gl.h>
#ifdef __cplusplus
extern "C" {

View File

@ -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"

View File

@ -4,7 +4,7 @@
#ifndef MOBILEGLUES_SHADER_H
#define MOBILEGLUES_SHADER_H
#include "gl.h"
#include <GL/gl.h>
#include <string>
struct shader_t {

View File

@ -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"

View File

@ -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);

View File

@ -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"

View File

@ -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"

View File

@ -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>

View File

@ -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

View File

@ -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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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*

View File

@ -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"