Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/lib/external_libraries/glext_funcs.h
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | |||||
// GL_OES_depth32 | // GL_OES_depth32 | ||||
#define GL_DEPTH_COMPONENT32 GL_DEPTH_COMPONENT32_OES | #define GL_DEPTH_COMPONENT32 GL_DEPTH_COMPONENT32_OES | ||||
typedef GLuint GLhandleARB; | typedef GLuint GLhandleARB; | ||||
#else | #else | ||||
// We might not have multisample on macOS. | |||||
#ifndef GL_TEXTURE_2D_MULTISAMPLE | |||||
#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 | |||||
#endif | |||||
// were these defined as real functions in gl.h already? | // were these defined as real functions in gl.h already? | ||||
// GL_EXT_draw_range_elements / GL1.2: | // GL_EXT_draw_range_elements / GL1.2: | ||||
FUNC2(void, glDrawRangeElementsEXT, glDrawRangeElements, "1.2", (GLenum, GLuint, GLuint, GLsizei, GLenum, GLvoid*)) | FUNC2(void, glDrawRangeElementsEXT, glDrawRangeElements, "1.2", (GLenum, GLuint, GLuint, GLsizei, GLenum, GLvoid*)) | ||||
// GL_ARB_multitexture / GL1.3: | // GL_ARB_multitexture / GL1.3: | ||||
FUNC2(void, glMultiTexCoord2fARB, glMultiTexCoord2f, "1.3", (int, float, float)) | FUNC2(void, glMultiTexCoord2fARB, glMultiTexCoord2f, "1.3", (int, float, float)) | ||||
FUNC2(void, glMultiTexCoord3fARB, glMultiTexCoord3f, "1.3", (int, float, float, float)) | FUNC2(void, glMultiTexCoord3fARB, glMultiTexCoord3f, "1.3", (int, float, float, float)) | ||||
▲ Show 20 Lines • Show All 225 Lines • ▼ Show 20 Lines | |||||
FUNC2(void, glQueryCounter, glQueryCounter, "3.3", (GLuint id, GLenum target)) | FUNC2(void, glQueryCounter, glQueryCounter, "3.3", (GLuint id, GLenum target)) | ||||
FUNC2(void, glGetQueryObjecti64v, glGetQueryObjecti64v, "3.3", (GLuint id, GLenum pname, GLint64 *params)) | FUNC2(void, glGetQueryObjecti64v, glGetQueryObjecti64v, "3.3", (GLuint id, GLenum pname, GLint64 *params)) | ||||
FUNC2(void, glGetQueryObjectui64v, glGetQueryObjectui64v, "3.3", (GLuint id, GLenum pname, GLuint64 *params)) | FUNC2(void, glGetQueryObjectui64v, glGetQueryObjectui64v, "3.3", (GLuint id, GLenum pname, GLuint64 *params)) | ||||
// GL_ARB_map_buffer_range / GL3.0: | // GL_ARB_map_buffer_range / GL3.0: | ||||
FUNC2(void*, glMapBufferRange, glMapBufferRange, "3.0", (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)) | FUNC2(void*, glMapBufferRange, glMapBufferRange, "3.0", (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)) | ||||
FUNC2(void, glFlushMappedBufferRange, glFlushMappedBufferRange, "3.0", (GLenum target, GLintptr offset, GLsizeiptr length)) | FUNC2(void, glFlushMappedBufferRange, glFlushMappedBufferRange, "3.0", (GLenum target, GLintptr offset, GLsizeiptr length)) | ||||
// GL_ARB_texture_multisample / GL3.3: | |||||
FUNC2(void, glTexImage2DMultisample, glTexImage2DMultisample, "3.3", (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)) | |||||
// GL_GREMEDY_string_marker (from gDEBugger) | // GL_GREMEDY_string_marker (from gDEBugger) | ||||
FUNC(int, glStringMarkerGREMEDY, (GLsizei len, const GLvoid *string)) | FUNC(int, glStringMarkerGREMEDY, (GLsizei len, const GLvoid *string)) | ||||
// GL_INTEL_performance_queries (undocumented, may be unstable, use at own risk; | // GL_INTEL_performance_queries (undocumented, may be unstable, use at own risk; | ||||
// see http://zaynar.co.uk/docs/gl-intel-performance-queries.html) | // see http://zaynar.co.uk/docs/gl-intel-performance-queries.html) | ||||
FUNC(void, glGetFirstPerfQueryIdINTEL, (GLuint *queryId)) | FUNC(void, glGetFirstPerfQueryIdINTEL, (GLuint *queryId)) | ||||
FUNC(void, glGetNextPerfQueryIdINTEL, (GLuint prevQueryId, GLuint *queryId)) | FUNC(void, glGetNextPerfQueryIdINTEL, (GLuint prevQueryId, GLuint *queryId)) | ||||
FUNC(void, glGetPerfQueryInfoINTEL, (GLuint queryId, GLuint nameMaxLength, char *name, GLuint *counterBufferSize, GLuint *numCounters, GLuint *maxQueries, GLuint *)) | FUNC(void, glGetPerfQueryInfoINTEL, (GLuint queryId, GLuint nameMaxLength, char *name, GLuint *counterBufferSize, GLuint *numCounters, GLuint *maxQueries, GLuint *)) | ||||
Show All 33 Lines |
Wildfire Games · Phabricator