Halide
mini_opengl.h File Reference

Go to the source code of this file.

Macros

#define GL_NO_ERROR   0x0
 
#define GL_FALSE   0x0
 
#define GL_TRUE   0x1
 
#define GL_TRIANGLES   0x0004
 
#define GL_TRIANGLE_STRIP   0x0005
 
#define GL_CULL_FACE   0x0B44
 
#define GL_DEPTH_TEST   0x0B71
 
#define GL_VIEWPORT   0x0BA2
 
#define GL_PACK_ALIGNMENT   0x0D05
 
#define GL_UNPACK_ALIGNMENT   0x0CF5
 
#define GL_UNPACK_ROW_LENGTH   0x0CF2
 
#define GL_PACK_ROW_LENGTH   0x0D02
 
#define GL_TEXTURE_2D   0x0DE1
 
#define GL_TEXTURE_WIDTH   0x1000
 
#define GL_TEXTURE_HEIGHT   0x1001
 
#define GL_BYTE   0x1400
 
#define GL_UNSIGNED_BYTE   0x1401
 
#define GL_SHORT   0x1402
 
#define GL_UNSIGNED_SHORT   0x1403
 
#define GL_INT   0x1404
 
#define GL_UNSIGNED_INT   0x1405
 
#define GL_FLOAT   0x1406
 
#define GL_MODELVIEW   0x1700
 
#define GL_PROJECTION   0x1701
 
#define GL_RED   0x1903
 
#define GL_RGB   0x1907
 
#define GL_RGBA   0x1908
 
#define GL_LUMINANCE   0x1909
 
#define GL_LUMINANCE_ALPHA   0x190A
 
#define GL_VERSION   0x1F02
 
#define GL_EXTENSIONS   0x1F03
 
#define GL_NEAREST   0x2600
 
#define GL_TEXTURE_MAG_FILTER   0x2800
 
#define GL_TEXTURE_MIN_FILTER   0x2801
 
#define GL_TEXTURE_WRAP_S   0x2802
 
#define GL_TEXTURE_WRAP_T   0x2803
 
#define GL_CLAMP_TO_EDGE   0x812F
 
#define GL_TEXTURE0   0x84C0
 
#define GL_TEXTURE1   0x84C1
 
#define GL_TEXTURE2   0x84C2
 
#define GL_TEXTURE3   0x84C3
 
#define GL_ACTIVE_TEXTURE   0x84E0
 
#define GL_TEXTURE_BINDING_2D   0x8069
 
#define GL_ACTIVE_UNIFORMS   0x8B86
 
#define GL_ARRAY_BUFFER   0x8892
 
#define GL_ELEMENT_ARRAY_BUFFER   0x8893
 
#define GL_STATIC_DRAW   0x88E4
 
#define GL_ARRAY_BUFFER_BINDING   0x8894
 
#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
 
#define GL_FRAGMENT_SHADER   0x8B30
 
#define GL_VERTEX_SHADER   0x8B31
 
#define GL_COMPILE_STATUS   0x8B81
 
#define GL_LINK_STATUS   0x8B82
 
#define GL_INFO_LOG_LENGTH   0x8B84
 
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT   0x8B9B
 
#define GL_IMPLEMENTATION_COLOR_READ_TYPE   0x8B9A
 
#define GL_CURRENT_PROGRAM   0x8B8D
 
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS   0x8B4D
 
#define GL_MAX_VERTEX_ATTRIBS   0x8869
 
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED   0x8622
 
#define GL_MAJOR_VERSION   0x821B
 
#define GL_MINOR_VERSION   0x821C
 
#define GL_NUM_EXTENSIONS   0x821D
 
#define GL_RG   0x8227
 
#define GL_R32F   0x822E
 
#define GL_RG32F   0x8230
 
#define GL_RGBA32F   0x8814
 
#define GL_RGB32F   0x8815
 
#define GL_LUMINANCE32F   0x8818
 
#define GL_VERTEX_ARRAY_BINDING   0x85B5
 
#define GL_FRAMEBUFFER_COMPLETE   0x8CD5
 
#define GL_COLOR_ATTACHMENT0   0x8CE0
 
#define GL_FRAMEBUFFER   0x8D40
 
#define GL_FRAMEBUFFER_BINDING   0x8CA6
 
#define GL_TEXTURE_BUFFER_EXT   0x8c2a
 
#define GL_COMPUTE_SHADER   0x91B9
 
#define GL_DYNAMIC_COPY   0x88ea
 
#define GL_READ_ONLY   0x88B8
 
#define GL_WRITE_ONLY   0x88B9
 
#define GL_MAP_READ_BIT   0x0001
 
#define GL_MAP_WRITE_BIT   0x0002
 
#define GL_SHADER_STORAGE_BUFFER   0x90D2
 
#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT   0x00000001
 
#define GL_BUFFER_UPDATE_BARRIER_BIT   0x00000200
 
#define GL_ALL_BARRIER_BITS   0xFFFFFFFF
 

Typedefs

typedef char GLchar
 
typedef unsigned char GLubyte
 
typedef unsigned int GLenum
 
typedef unsigned char GLboolean
 
typedef int GLint
 
typedef unsigned int GLuint
 
typedef int GLsizei
 
typedef ptrdiff_t GLsizeiptr
 
typedef float GLfloat
 
typedef double GLdouble
 
typedef void GLvoid
 
typedef void(* PFNGLACTIVETEXTUREPROC) (GLenum texture)
 
typedef void(* PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture)
 
typedef void(* PFNGLDISABLEPROC) (GLenum cap)
 
typedef void(* PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures)
 
typedef void(* PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs)
 
typedef void(* PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
 
typedef void(* PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures)
 
typedef GLenum(* PFNGLGETERRORPROC) (void)
 
typedef void(* PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
 
typedef void(* PFNGLLOADIDENTITYPROC) (void)
 
typedef void(* PFNGLMATRIXMODEPROC) (GLenum mode)
 
typedef void(* PFNGLORTHOPROC) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val)
 
typedef void(* PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param)
 
typedef void(* PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params)
 
typedef void(* PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
 
typedef void(* PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param)
 
typedef void(* PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data)
 
typedef void(* PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height)
 
typedef void(* PFNGLREADPIXELS) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
 
typedef void(* PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers)
 
typedef void(* PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers)
 
typedef void(* PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer)
 
typedef void(* PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
 
typedef void(* PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader)
 
typedef void(* PFNGLCOMPILESHADERPROC) (GLuint shader)
 
typedef GLuint(* PFNGLCREATEPROGRAMPROC) (void)
 
typedef GLuint(* PFNGLCREATESHADERPROC) (GLenum type)
 
typedef void(* PFNGLDELETEPROGRAMPROC) (GLuint program)
 
typedef void(* PFNGLDELETESHADERPROC) (GLuint shader)
 
typedef void(* PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index)
 
typedef void(* PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index)
 
typedef GLint(* PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name)
 
typedef void(* PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params)
 
typedef void(* PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
 
typedef void(* PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params)
 
typedef void(* PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
 
typedef GLint(* PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name)
 
typedef void(* PFNGLLINKPROGRAMPROC) (GLuint program)
 
typedef void(* PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar **string, const GLint *length)
 
typedef void(* PFNGLUNIFORM1FPROC) (GLuint location, GLfloat value)
 
typedef void(* PFNGLUNIFORM1IPROC) (GLuint location, GLint value)
 
typedef void(* PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value)
 
typedef void(* PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value)
 
typedef void(* PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value)
 
typedef void(* PFNGLUSEPROGRAMPROC) (GLuint program)
 
typedef void(* PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
 
typedef void(* PFNGLGETINTEGERV) (GLenum pname, GLint *data)
 
typedef void(* PFNGLGETBOOLEANV) (GLenum pname, GLboolean *data)
 
typedef void(* PFNGLFINISHPROC) (void)
 
typedef void(* PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params)
 
typedef void(* PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer)
 
typedef GLenum(* PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target)
 
typedef void(* PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers)
 
typedef void(* PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
 
typedef void(* PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers)
 
typedef void(* PFNGLGENVERTEXARRAYS) (GLsizei n, GLuint *arrays)
 
typedef void(* PFNGLBINDVERTEXARRAY) (GLuint array)
 
typedef void(* PFNGLDELETEVERTEXARRAYS) (GLsizei n, const GLuint *arrays)
 
typedef void(* PFNDRAWBUFFERS) (GLsizei n, const GLenum *bufs)
 
typedef unsigned int GLbitfield
 
typedef ptrdiff_t GLintptr
 
typedef void(* PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer)
 
typedef void(* PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format)
 
typedef void(* PFNGLMEMORYBARRIERPROC) (GLbitfield barriers)
 
typedef void *(* PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
 
typedef void(* PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z)
 
typedef void(* PFNGLUNMAPBUFFERPROC) (GLenum target)
 
typedef void(* PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer)
 
typedef void(* PFNGLGETACTIVEUNIFORM) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
 
typedef GLint(* PFNGLGETUNIFORMLOCATION) (GLuint program, const GLchar *name)
 

Variables

const typedef GLubyte *(* PFNGLGETSTRINGPROC )(GLenum name)
 
const typedef GLubyte *(* PFNGLGETSTRINGI )(GLenum name, GLuint index)
 

Macro Definition Documentation

◆ GL_NO_ERROR

#define GL_NO_ERROR   0x0

Definition at line 18 of file mini_opengl.h.

◆ GL_FALSE

#define GL_FALSE   0x0

Definition at line 19 of file mini_opengl.h.

◆ GL_TRUE

#define GL_TRUE   0x1

Definition at line 20 of file mini_opengl.h.

◆ GL_TRIANGLES

#define GL_TRIANGLES   0x0004

Definition at line 21 of file mini_opengl.h.

◆ GL_TRIANGLE_STRIP

#define GL_TRIANGLE_STRIP   0x0005

Definition at line 22 of file mini_opengl.h.

◆ GL_CULL_FACE

#define GL_CULL_FACE   0x0B44

Definition at line 23 of file mini_opengl.h.

◆ GL_DEPTH_TEST

#define GL_DEPTH_TEST   0x0B71

Definition at line 24 of file mini_opengl.h.

◆ GL_VIEWPORT

#define GL_VIEWPORT   0x0BA2

Definition at line 25 of file mini_opengl.h.

◆ GL_PACK_ALIGNMENT

#define GL_PACK_ALIGNMENT   0x0D05

Definition at line 26 of file mini_opengl.h.

◆ GL_UNPACK_ALIGNMENT

#define GL_UNPACK_ALIGNMENT   0x0CF5

Definition at line 27 of file mini_opengl.h.

◆ GL_UNPACK_ROW_LENGTH

#define GL_UNPACK_ROW_LENGTH   0x0CF2

Definition at line 28 of file mini_opengl.h.

◆ GL_PACK_ROW_LENGTH

#define GL_PACK_ROW_LENGTH   0x0D02

Definition at line 29 of file mini_opengl.h.

◆ GL_TEXTURE_2D

#define GL_TEXTURE_2D   0x0DE1

Definition at line 30 of file mini_opengl.h.

◆ GL_TEXTURE_WIDTH

#define GL_TEXTURE_WIDTH   0x1000

Definition at line 31 of file mini_opengl.h.

◆ GL_TEXTURE_HEIGHT

#define GL_TEXTURE_HEIGHT   0x1001

Definition at line 32 of file mini_opengl.h.

◆ GL_BYTE

#define GL_BYTE   0x1400

Definition at line 33 of file mini_opengl.h.

◆ GL_UNSIGNED_BYTE

#define GL_UNSIGNED_BYTE   0x1401

Definition at line 34 of file mini_opengl.h.

◆ GL_SHORT

#define GL_SHORT   0x1402

Definition at line 35 of file mini_opengl.h.

◆ GL_UNSIGNED_SHORT

#define GL_UNSIGNED_SHORT   0x1403

Definition at line 36 of file mini_opengl.h.

◆ GL_INT

#define GL_INT   0x1404

Definition at line 37 of file mini_opengl.h.

◆ GL_UNSIGNED_INT

#define GL_UNSIGNED_INT   0x1405

Definition at line 38 of file mini_opengl.h.

◆ GL_FLOAT

#define GL_FLOAT   0x1406

Definition at line 39 of file mini_opengl.h.

◆ GL_MODELVIEW

#define GL_MODELVIEW   0x1700

Definition at line 40 of file mini_opengl.h.

◆ GL_PROJECTION

#define GL_PROJECTION   0x1701

Definition at line 41 of file mini_opengl.h.

◆ GL_RED

#define GL_RED   0x1903

Definition at line 42 of file mini_opengl.h.

◆ GL_RGB

#define GL_RGB   0x1907

Definition at line 43 of file mini_opengl.h.

◆ GL_RGBA

#define GL_RGBA   0x1908

Definition at line 44 of file mini_opengl.h.

◆ GL_LUMINANCE

#define GL_LUMINANCE   0x1909

Definition at line 45 of file mini_opengl.h.

◆ GL_LUMINANCE_ALPHA

#define GL_LUMINANCE_ALPHA   0x190A

Definition at line 46 of file mini_opengl.h.

◆ GL_VERSION

#define GL_VERSION   0x1F02

Definition at line 47 of file mini_opengl.h.

◆ GL_EXTENSIONS

#define GL_EXTENSIONS   0x1F03

Definition at line 48 of file mini_opengl.h.

◆ GL_NEAREST

#define GL_NEAREST   0x2600

Definition at line 49 of file mini_opengl.h.

◆ GL_TEXTURE_MAG_FILTER

#define GL_TEXTURE_MAG_FILTER   0x2800

Definition at line 50 of file mini_opengl.h.

◆ GL_TEXTURE_MIN_FILTER

#define GL_TEXTURE_MIN_FILTER   0x2801

Definition at line 51 of file mini_opengl.h.

◆ GL_TEXTURE_WRAP_S

#define GL_TEXTURE_WRAP_S   0x2802

Definition at line 52 of file mini_opengl.h.

◆ GL_TEXTURE_WRAP_T

#define GL_TEXTURE_WRAP_T   0x2803

Definition at line 53 of file mini_opengl.h.

◆ GL_CLAMP_TO_EDGE

#define GL_CLAMP_TO_EDGE   0x812F

Definition at line 54 of file mini_opengl.h.

◆ GL_TEXTURE0

#define GL_TEXTURE0   0x84C0

Definition at line 55 of file mini_opengl.h.

◆ GL_TEXTURE1

#define GL_TEXTURE1   0x84C1

Definition at line 56 of file mini_opengl.h.

◆ GL_TEXTURE2

#define GL_TEXTURE2   0x84C2

Definition at line 57 of file mini_opengl.h.

◆ GL_TEXTURE3

#define GL_TEXTURE3   0x84C3

Definition at line 58 of file mini_opengl.h.

◆ GL_ACTIVE_TEXTURE

#define GL_ACTIVE_TEXTURE   0x84E0

Definition at line 59 of file mini_opengl.h.

◆ GL_TEXTURE_BINDING_2D

#define GL_TEXTURE_BINDING_2D   0x8069

Definition at line 60 of file mini_opengl.h.

◆ GL_ACTIVE_UNIFORMS

#define GL_ACTIVE_UNIFORMS   0x8B86

Definition at line 61 of file mini_opengl.h.

◆ GL_ARRAY_BUFFER

#define GL_ARRAY_BUFFER   0x8892

Definition at line 103 of file mini_opengl.h.

◆ GL_ELEMENT_ARRAY_BUFFER

#define GL_ELEMENT_ARRAY_BUFFER   0x8893

Definition at line 104 of file mini_opengl.h.

◆ GL_STATIC_DRAW

#define GL_STATIC_DRAW   0x88E4

Definition at line 105 of file mini_opengl.h.

◆ GL_ARRAY_BUFFER_BINDING

#define GL_ARRAY_BUFFER_BINDING   0x8894

Definition at line 106 of file mini_opengl.h.

◆ GL_ELEMENT_ARRAY_BUFFER_BINDING

#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895

Definition at line 107 of file mini_opengl.h.

◆ GL_FRAGMENT_SHADER

#define GL_FRAGMENT_SHADER   0x8B30

Definition at line 116 of file mini_opengl.h.

◆ GL_VERTEX_SHADER

#define GL_VERTEX_SHADER   0x8B31

Definition at line 117 of file mini_opengl.h.

◆ GL_COMPILE_STATUS

#define GL_COMPILE_STATUS   0x8B81

Definition at line 118 of file mini_opengl.h.

◆ GL_LINK_STATUS

#define GL_LINK_STATUS   0x8B82

Definition at line 119 of file mini_opengl.h.

◆ GL_INFO_LOG_LENGTH

#define GL_INFO_LOG_LENGTH   0x8B84

Definition at line 120 of file mini_opengl.h.

◆ GL_IMPLEMENTATION_COLOR_READ_FORMAT

#define GL_IMPLEMENTATION_COLOR_READ_FORMAT   0x8B9B

Definition at line 121 of file mini_opengl.h.

◆ GL_IMPLEMENTATION_COLOR_READ_TYPE

#define GL_IMPLEMENTATION_COLOR_READ_TYPE   0x8B9A

Definition at line 122 of file mini_opengl.h.

◆ GL_CURRENT_PROGRAM

#define GL_CURRENT_PROGRAM   0x8B8D

Definition at line 123 of file mini_opengl.h.

◆ GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS   0x8B4D

Definition at line 124 of file mini_opengl.h.

◆ GL_MAX_VERTEX_ATTRIBS

#define GL_MAX_VERTEX_ATTRIBS   0x8869

Definition at line 125 of file mini_opengl.h.

◆ GL_VERTEX_ATTRIB_ARRAY_ENABLED

#define GL_VERTEX_ATTRIB_ARRAY_ENABLED   0x8622

Definition at line 126 of file mini_opengl.h.

◆ GL_MAJOR_VERSION

#define GL_MAJOR_VERSION   0x821B

Definition at line 158 of file mini_opengl.h.

◆ GL_MINOR_VERSION

#define GL_MINOR_VERSION   0x821C

Definition at line 159 of file mini_opengl.h.

◆ GL_NUM_EXTENSIONS

#define GL_NUM_EXTENSIONS   0x821D

Definition at line 160 of file mini_opengl.h.

◆ GL_RG

#define GL_RG   0x8227

Definition at line 161 of file mini_opengl.h.

◆ GL_R32F

#define GL_R32F   0x822E

Definition at line 162 of file mini_opengl.h.

◆ GL_RG32F

#define GL_RG32F   0x8230

Definition at line 163 of file mini_opengl.h.

◆ GL_RGBA32F

#define GL_RGBA32F   0x8814

Definition at line 164 of file mini_opengl.h.

◆ GL_RGB32F

#define GL_RGB32F   0x8815

Definition at line 165 of file mini_opengl.h.

◆ GL_LUMINANCE32F

#define GL_LUMINANCE32F   0x8818

Definition at line 166 of file mini_opengl.h.

◆ GL_VERTEX_ARRAY_BINDING

#define GL_VERTEX_ARRAY_BINDING   0x85B5

Definition at line 167 of file mini_opengl.h.

◆ GL_FRAMEBUFFER_COMPLETE

#define GL_FRAMEBUFFER_COMPLETE   0x8CD5

Definition at line 170 of file mini_opengl.h.

◆ GL_COLOR_ATTACHMENT0

#define GL_COLOR_ATTACHMENT0   0x8CE0

Definition at line 171 of file mini_opengl.h.

◆ GL_FRAMEBUFFER

#define GL_FRAMEBUFFER   0x8D40

Definition at line 172 of file mini_opengl.h.

◆ GL_FRAMEBUFFER_BINDING

#define GL_FRAMEBUFFER_BINDING   0x8CA6

Definition at line 173 of file mini_opengl.h.

◆ GL_TEXTURE_BUFFER_EXT

#define GL_TEXTURE_BUFFER_EXT   0x8c2a

Definition at line 189 of file mini_opengl.h.

◆ GL_COMPUTE_SHADER

#define GL_COMPUTE_SHADER   0x91B9

Definition at line 191 of file mini_opengl.h.

◆ GL_DYNAMIC_COPY

#define GL_DYNAMIC_COPY   0x88ea

Definition at line 192 of file mini_opengl.h.

◆ GL_READ_ONLY

#define GL_READ_ONLY   0x88B8

Definition at line 194 of file mini_opengl.h.

◆ GL_WRITE_ONLY

#define GL_WRITE_ONLY   0x88B9

Definition at line 195 of file mini_opengl.h.

◆ GL_MAP_READ_BIT

#define GL_MAP_READ_BIT   0x0001

Definition at line 197 of file mini_opengl.h.

◆ GL_MAP_WRITE_BIT

#define GL_MAP_WRITE_BIT   0x0002

Definition at line 198 of file mini_opengl.h.

◆ GL_SHADER_STORAGE_BUFFER

#define GL_SHADER_STORAGE_BUFFER   0x90D2

Definition at line 200 of file mini_opengl.h.

◆ GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT

#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT   0x00000001

Definition at line 202 of file mini_opengl.h.

◆ GL_BUFFER_UPDATE_BARRIER_BIT

#define GL_BUFFER_UPDATE_BARRIER_BIT   0x00000200

Definition at line 203 of file mini_opengl.h.

◆ GL_ALL_BARRIER_BITS

#define GL_ALL_BARRIER_BITS   0xFFFFFFFF

Definition at line 204 of file mini_opengl.h.

Typedef Documentation

◆ GLchar

typedef char GLchar

Definition at line 6 of file mini_opengl.h.

◆ GLubyte

typedef unsigned char GLubyte

Definition at line 7 of file mini_opengl.h.

◆ GLenum

typedef unsigned int GLenum

Definition at line 8 of file mini_opengl.h.

◆ GLboolean

typedef unsigned char GLboolean

Definition at line 9 of file mini_opengl.h.

◆ GLint

typedef int GLint

Definition at line 10 of file mini_opengl.h.

◆ GLuint

typedef unsigned int GLuint

Definition at line 11 of file mini_opengl.h.

◆ GLsizei

typedef int GLsizei

Definition at line 12 of file mini_opengl.h.

◆ GLsizeiptr

Definition at line 13 of file mini_opengl.h.

◆ GLfloat

typedef float GLfloat

Definition at line 14 of file mini_opengl.h.

◆ GLdouble

typedef double GLdouble

Definition at line 15 of file mini_opengl.h.

◆ GLvoid

typedef void GLvoid

Definition at line 16 of file mini_opengl.h.

◆ PFNGLACTIVETEXTUREPROC

typedef void(* PFNGLACTIVETEXTUREPROC) (GLenum texture)

Definition at line 63 of file mini_opengl.h.

◆ PFNGLBINDTEXTUREPROC

typedef void(* PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture)

Definition at line 64 of file mini_opengl.h.

◆ PFNGLDISABLEPROC

typedef void(* PFNGLDISABLEPROC) (GLenum cap)

Definition at line 65 of file mini_opengl.h.

◆ PFNGLDELETETEXTURESPROC

typedef void(* PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures)

Definition at line 66 of file mini_opengl.h.

◆ PFNGLDRAWBUFFERSPROC

typedef void(* PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs)

Definition at line 67 of file mini_opengl.h.

◆ PFNGLDRAWELEMENTSPROC

typedef void(* PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)

Definition at line 68 of file mini_opengl.h.

◆ PFNGLGENTEXTURESPROC

typedef void(* PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures)

Definition at line 69 of file mini_opengl.h.

◆ PFNGLGETERRORPROC

typedef GLenum(* PFNGLGETERRORPROC) (void)

Definition at line 70 of file mini_opengl.h.

◆ PFNGLGETTEXIMAGEPROC

typedef void(* PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)

Definition at line 72 of file mini_opengl.h.

◆ PFNGLLOADIDENTITYPROC

typedef void(* PFNGLLOADIDENTITYPROC) (void)

Definition at line 75 of file mini_opengl.h.

◆ PFNGLMATRIXMODEPROC

typedef void(* PFNGLMATRIXMODEPROC) (GLenum mode)

Definition at line 76 of file mini_opengl.h.

◆ PFNGLORTHOPROC

typedef void(* PFNGLORTHOPROC) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val)

Definition at line 77 of file mini_opengl.h.

◆ PFNGLPIXELSTOREIPROC

typedef void(* PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param)

Definition at line 80 of file mini_opengl.h.

◆ PFNGLGETTEXLEVELPARAMETERIVPROC

typedef void(* PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params)

Definition at line 82 of file mini_opengl.h.

◆ PFNGLTEXIMAGE2DPROC

typedef void(* PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)

Definition at line 84 of file mini_opengl.h.

◆ PFNGLTEXPARAMETERIPROC

typedef void(* PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param)

Definition at line 89 of file mini_opengl.h.

◆ PFNGLTEXSUBIMAGE2DPROC

typedef void(* PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data)

Definition at line 90 of file mini_opengl.h.

◆ PFNGLVIEWPORTPROC

typedef void(* PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height)

Definition at line 95 of file mini_opengl.h.

◆ PFNGLREADPIXELS

typedef void(* PFNGLREADPIXELS) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)

Definition at line 96 of file mini_opengl.h.

◆ PFNGLGENBUFFERSPROC

typedef void(* PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers)

Definition at line 109 of file mini_opengl.h.

◆ PFNGLDELETEBUFFERSPROC

typedef void(* PFNGLDELETEBUFFERSPROC)(GLsizei n, const GLuint *buffers)

Definition at line 110 of file mini_opengl.h.

◆ PFNGLBINDBUFFERPROC

typedef void(* PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer)

Definition at line 111 of file mini_opengl.h.

◆ PFNGLBUFFERDATAPROC

typedef void(* PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)

Definition at line 112 of file mini_opengl.h.

◆ PFNGLATTACHSHADERPROC

typedef void(* PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader)

Definition at line 128 of file mini_opengl.h.

◆ PFNGLCOMPILESHADERPROC

typedef void(* PFNGLCOMPILESHADERPROC) (GLuint shader)

Definition at line 129 of file mini_opengl.h.

◆ PFNGLCREATEPROGRAMPROC

typedef GLuint(* PFNGLCREATEPROGRAMPROC) (void)

Definition at line 130 of file mini_opengl.h.

◆ PFNGLCREATESHADERPROC

typedef GLuint(* PFNGLCREATESHADERPROC) (GLenum type)

Definition at line 131 of file mini_opengl.h.

◆ PFNGLDELETEPROGRAMPROC

typedef void(* PFNGLDELETEPROGRAMPROC) (GLuint program)

Definition at line 132 of file mini_opengl.h.

◆ PFNGLDELETESHADERPROC

typedef void(* PFNGLDELETESHADERPROC) (GLuint shader)

Definition at line 133 of file mini_opengl.h.

◆ PFNGLDISABLEVERTEXATTRIBARRAYPROC

typedef void(* PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index)

Definition at line 134 of file mini_opengl.h.

◆ PFNGLENABLEVERTEXATTRIBARRAYPROC

typedef void(* PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index)

Definition at line 135 of file mini_opengl.h.

◆ PFNGLGETATTRIBLOCATIONPROC

typedef GLint(* PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name)

Definition at line 136 of file mini_opengl.h.

◆ PFNGLGETPROGRAMIVPROC

typedef void(* PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params)

Definition at line 137 of file mini_opengl.h.

◆ PFNGLGETPROGRAMINFOLOGPROC

typedef void(* PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)

Definition at line 138 of file mini_opengl.h.

◆ PFNGLGETSHADERIVPROC

typedef void(* PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params)

Definition at line 139 of file mini_opengl.h.

◆ PFNGLGETSHADERINFOLOGPROC

typedef void(* PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)

Definition at line 140 of file mini_opengl.h.

◆ PFNGLGETUNIFORMLOCATIONPROC

typedef GLint(* PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name)

Definition at line 141 of file mini_opengl.h.

◆ PFNGLLINKPROGRAMPROC

typedef void(* PFNGLLINKPROGRAMPROC) (GLuint program)

Definition at line 142 of file mini_opengl.h.

◆ PFNGLSHADERSOURCEPROC

typedef void(* PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar **string, const GLint *length)

Definition at line 143 of file mini_opengl.h.

◆ PFNGLUNIFORM1FPROC

typedef void(* PFNGLUNIFORM1FPROC) (GLuint location, GLfloat value)

Definition at line 144 of file mini_opengl.h.

◆ PFNGLUNIFORM1IPROC

typedef void(* PFNGLUNIFORM1IPROC) (GLuint location, GLint value)

Definition at line 145 of file mini_opengl.h.

◆ PFNGLUNIFORM1IVPROC

typedef void(* PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value)

Definition at line 146 of file mini_opengl.h.

◆ PFNGLUNIFORM2IVPROC

typedef void(* PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value)

Definition at line 147 of file mini_opengl.h.

◆ PFNGLUNIFORM1FVPROC

typedef void(* PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value)

Definition at line 148 of file mini_opengl.h.

◆ PFNGLUSEPROGRAMPROC

typedef void(* PFNGLUSEPROGRAMPROC) (GLuint program)

Definition at line 149 of file mini_opengl.h.

◆ PFNGLVERTEXATTRIBPOINTERPROC

typedef void(* PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)

Definition at line 150 of file mini_opengl.h.

◆ PFNGLGETINTEGERV

typedef void(* PFNGLGETINTEGERV) (GLenum pname, GLint *data)

Definition at line 151 of file mini_opengl.h.

◆ PFNGLGETBOOLEANV

typedef void(* PFNGLGETBOOLEANV) (GLenum pname, GLboolean *data)

Definition at line 152 of file mini_opengl.h.

◆ PFNGLFINISHPROC

typedef void(* PFNGLFINISHPROC) (void)

Definition at line 153 of file mini_opengl.h.

◆ PFNGLGETVERTEXATTRIBIVPROC

typedef void(* PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params)

Definition at line 154 of file mini_opengl.h.

◆ PFNGLBINDFRAMEBUFFERPROC

typedef void(* PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer)

Definition at line 175 of file mini_opengl.h.

◆ PFNGLCHECKFRAMEBUFFERSTATUSPROC

typedef GLenum(* PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target)

Definition at line 176 of file mini_opengl.h.

◆ PFNGLDELETEFRAMEBUFFERSPROC

typedef void(* PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers)

Definition at line 177 of file mini_opengl.h.

◆ PFNGLFRAMEBUFFERTEXTURE2DPROC

typedef void(* PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)

Definition at line 178 of file mini_opengl.h.

◆ PFNGLGENFRAMEBUFFERSPROC

typedef void(* PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers)

Definition at line 179 of file mini_opengl.h.

◆ PFNGLGENVERTEXARRAYS

typedef void(* PFNGLGENVERTEXARRAYS) (GLsizei n, GLuint *arrays)

Definition at line 181 of file mini_opengl.h.

◆ PFNGLBINDVERTEXARRAY

typedef void(* PFNGLBINDVERTEXARRAY) (GLuint array)

Definition at line 182 of file mini_opengl.h.

◆ PFNGLDELETEVERTEXARRAYS

typedef void(* PFNGLDELETEVERTEXARRAYS) (GLsizei n, const GLuint *arrays)

Definition at line 183 of file mini_opengl.h.

◆ PFNDRAWBUFFERS

typedef void(* PFNDRAWBUFFERS) (GLsizei n, const GLenum *bufs)

Definition at line 185 of file mini_opengl.h.

◆ GLbitfield

typedef unsigned int GLbitfield

Definition at line 206 of file mini_opengl.h.

◆ GLintptr

Definition at line 207 of file mini_opengl.h.

◆ PFNGLTEXBUFFEREXTPROC

typedef void(* PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer)

Definition at line 209 of file mini_opengl.h.

◆ PFNGLBINDIMAGETEXTUREPROC

typedef void(* PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format)

Definition at line 210 of file mini_opengl.h.

◆ PFNGLMEMORYBARRIERPROC

typedef void(* PFNGLMEMORYBARRIERPROC) (GLbitfield barriers)

Definition at line 211 of file mini_opengl.h.

◆ PFNGLMAPBUFFERRANGEPROC

typedef void*(* PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)

Definition at line 212 of file mini_opengl.h.

◆ PFNGLDISPATCHCOMPUTEPROC

typedef void(* PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z)

Definition at line 213 of file mini_opengl.h.

◆ PFNGLUNMAPBUFFERPROC

typedef void(* PFNGLUNMAPBUFFERPROC) (GLenum target)

Definition at line 214 of file mini_opengl.h.

◆ PFNGLBINDBUFFERBASEPROC

typedef void(* PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer)

Definition at line 215 of file mini_opengl.h.

◆ PFNGLGETACTIVEUNIFORM

typedef void(* PFNGLGETACTIVEUNIFORM) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)

Definition at line 218 of file mini_opengl.h.

◆ PFNGLGETUNIFORMLOCATION

typedef GLint(* PFNGLGETUNIFORMLOCATION) (GLuint program, const GLchar *name)

Definition at line 219 of file mini_opengl.h.

Variable Documentation

◆ PFNGLGETSTRINGPROC

const typedef GLubyte*(* PFNGLGETSTRINGPROC) (GLenum name)

Definition at line 71 of file mini_opengl.h.

◆ PFNGLGETSTRINGI

const typedef GLubyte*(* PFNGLGETSTRINGI) (GLenum name, GLuint index)

Definition at line 184 of file mini_opengl.h.