Vendor updates
This commit is contained in:
30
vendor/github.com/go-gl/gl/v4.6-compatibility/gl/package.go
generated
vendored
30
vendor/github.com/go-gl/gl/v4.6-compatibility/gl/package.go
generated
vendored
@@ -86,6 +86,7 @@ package gl
|
||||
// typedef double GLdouble;
|
||||
// typedef double GLclampd;
|
||||
// typedef void *GLeglClientBufferEXT;
|
||||
// typedef void *GLeglImageOES;
|
||||
// typedef char GLchar;
|
||||
// typedef char GLcharARB;
|
||||
// #ifdef __APPLE__
|
||||
@@ -564,7 +565,7 @@ package gl
|
||||
// typedef void (APIENTRYP GPDEPTHBOUNDSDNV)(GLdouble zmin, GLdouble zmax);
|
||||
// typedef void (APIENTRYP GPDEPTHFUNC)(GLenum func);
|
||||
// typedef void (APIENTRYP GPDEPTHMASK)(GLboolean flag);
|
||||
// typedef void (APIENTRYP GPDEPTHRANGE)(GLdouble xnear, GLdouble xfar);
|
||||
// typedef void (APIENTRYP GPDEPTHRANGE)(GLdouble n, GLdouble f);
|
||||
// typedef void (APIENTRYP GPDEPTHRANGEARRAYV)(GLuint first, GLsizei count, const GLdouble * v);
|
||||
// typedef void (APIENTRYP GPDEPTHRANGEINDEXED)(GLuint index, GLdouble n, GLdouble f);
|
||||
// typedef void (APIENTRYP GPDEPTHRANGEDNV)(GLdouble zNear, GLdouble zFar);
|
||||
@@ -630,6 +631,8 @@ package gl
|
||||
// typedef void (APIENTRYP GPDRAWTRANSFORMFEEDBACKSTREAM)(GLenum mode, GLuint id, GLuint stream);
|
||||
// typedef void (APIENTRYP GPDRAWTRANSFORMFEEDBACKSTREAMINSTANCED)(GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
|
||||
// typedef void (APIENTRYP GPDRAWVKIMAGENV)(GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
|
||||
// typedef void (APIENTRYP GPEGLIMAGETARGETTEXSTORAGEEXT)(GLenum target, GLeglImageOES image, const GLint* attrib_list);
|
||||
// typedef void (APIENTRYP GPEGLIMAGETARGETTEXTURESTORAGEEXT)(GLuint texture, GLeglImageOES image, const GLint* attrib_list);
|
||||
// typedef void (APIENTRYP GPEDGEFLAG)(GLboolean flag);
|
||||
// typedef void (APIENTRYP GPEDGEFLAGFORMATNV)(GLsizei stride);
|
||||
// typedef void (APIENTRYP GPEDGEFLAGPOINTER)(GLsizei stride, const void * pointer);
|
||||
@@ -4414,8 +4417,8 @@ package gl
|
||||
// static void glowDepthMask(GPDEPTHMASK fnptr, GLboolean flag) {
|
||||
// (*fnptr)(flag);
|
||||
// }
|
||||
// static void glowDepthRange(GPDEPTHRANGE fnptr, GLdouble xnear, GLdouble xfar) {
|
||||
// (*fnptr)(xnear, xfar);
|
||||
// static void glowDepthRange(GPDEPTHRANGE fnptr, GLdouble n, GLdouble f) {
|
||||
// (*fnptr)(n, f);
|
||||
// }
|
||||
// static void glowDepthRangeArrayv(GPDEPTHRANGEARRAYV fnptr, GLuint first, GLsizei count, const GLdouble * v) {
|
||||
// (*fnptr)(first, count, v);
|
||||
@@ -4612,6 +4615,12 @@ package gl
|
||||
// static void glowDrawVkImageNV(GPDRAWVKIMAGENV fnptr, GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1) {
|
||||
// (*fnptr)(vkImage, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1);
|
||||
// }
|
||||
// static void glowEGLImageTargetTexStorageEXT(GPEGLIMAGETARGETTEXSTORAGEEXT fnptr, GLenum target, GLeglImageOES image, const GLint* attrib_list) {
|
||||
// (*fnptr)(target, image, attrib_list);
|
||||
// }
|
||||
// static void glowEGLImageTargetTextureStorageEXT(GPEGLIMAGETARGETTEXTURESTORAGEEXT fnptr, GLuint texture, GLeglImageOES image, const GLint* attrib_list) {
|
||||
// (*fnptr)(texture, image, attrib_list);
|
||||
// }
|
||||
// static void glowEdgeFlag(GPEDGEFLAG fnptr, GLboolean flag) {
|
||||
// (*fnptr)(flag);
|
||||
// }
|
||||
@@ -12149,6 +12158,7 @@ const (
|
||||
BINORMAL_ARRAY_TYPE_EXT = 0x8440
|
||||
BITMAP = 0x1A00
|
||||
BITMAP_TOKEN = 0x0704
|
||||
BLACKHOLE_RENDER_INTEL = 0x83FC
|
||||
BLEND = 0x0BE2
|
||||
BLEND_ADVANCED_COHERENT_KHR = 0x9285
|
||||
BLEND_ADVANCED_COHERENT_NV = 0x9285
|
||||
@@ -17357,6 +17367,8 @@ var (
|
||||
gpDrawTransformFeedbackStream C.GPDRAWTRANSFORMFEEDBACKSTREAM
|
||||
gpDrawTransformFeedbackStreamInstanced C.GPDRAWTRANSFORMFEEDBACKSTREAMINSTANCED
|
||||
gpDrawVkImageNV C.GPDRAWVKIMAGENV
|
||||
gpEGLImageTargetTexStorageEXT C.GPEGLIMAGETARGETTEXSTORAGEEXT
|
||||
gpEGLImageTargetTextureStorageEXT C.GPEGLIMAGETARGETTEXTURESTORAGEEXT
|
||||
gpEdgeFlag C.GPEDGEFLAG
|
||||
gpEdgeFlagFormatNV C.GPEDGEFLAGFORMATNV
|
||||
gpEdgeFlagPointer C.GPEDGEFLAGPOINTER
|
||||
@@ -21435,8 +21447,8 @@ func DepthMask(flag bool) {
|
||||
}
|
||||
|
||||
// specify mapping of depth values from normalized device coordinates to window coordinates
|
||||
func DepthRange(near float64, far float64) {
|
||||
C.glowDepthRange(gpDepthRange, (C.GLdouble)(near), (C.GLdouble)(far))
|
||||
func DepthRange(n float64, f float64) {
|
||||
C.glowDepthRange(gpDepthRange, (C.GLdouble)(n), (C.GLdouble)(f))
|
||||
}
|
||||
func DepthRangeArrayv(first uint32, count int32, v *float64) {
|
||||
C.glowDepthRangeArrayv(gpDepthRangeArrayv, (C.GLuint)(first), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(v)))
|
||||
@@ -21687,6 +21699,12 @@ func DrawTransformFeedbackStreamInstanced(mode uint32, id uint32, stream uint32,
|
||||
func DrawVkImageNV(vkImage uint64, sampler uint32, x0 float32, y0 float32, x1 float32, y1 float32, z float32, s0 float32, t0 float32, s1 float32, t1 float32) {
|
||||
C.glowDrawVkImageNV(gpDrawVkImageNV, (C.GLuint64)(vkImage), (C.GLuint)(sampler), (C.GLfloat)(x0), (C.GLfloat)(y0), (C.GLfloat)(x1), (C.GLfloat)(y1), (C.GLfloat)(z), (C.GLfloat)(s0), (C.GLfloat)(t0), (C.GLfloat)(s1), (C.GLfloat)(t1))
|
||||
}
|
||||
func EGLImageTargetTexStorageEXT(target uint32, image C.GLeglImageOES, attrib_list *int32) {
|
||||
C.glowEGLImageTargetTexStorageEXT(gpEGLImageTargetTexStorageEXT, (C.GLenum)(target), (C.GLeglImageOES)(image), (*C.GLint)(unsafe.Pointer(attrib_list)))
|
||||
}
|
||||
func EGLImageTargetTextureStorageEXT(texture uint32, image C.GLeglImageOES, attrib_list *int32) {
|
||||
C.glowEGLImageTargetTextureStorageEXT(gpEGLImageTargetTextureStorageEXT, (C.GLuint)(texture), (C.GLeglImageOES)(image), (*C.GLint)(unsafe.Pointer(attrib_list)))
|
||||
}
|
||||
|
||||
// flag edges as either boundary or nonboundary
|
||||
func EdgeFlag(flag bool) {
|
||||
@@ -30979,6 +30997,8 @@ func InitWithProcAddrFunc(getProcAddr func(name string) unsafe.Pointer) error {
|
||||
return errors.New("glDrawTransformFeedbackStreamInstanced")
|
||||
}
|
||||
gpDrawVkImageNV = (C.GPDRAWVKIMAGENV)(getProcAddr("glDrawVkImageNV"))
|
||||
gpEGLImageTargetTexStorageEXT = (C.GPEGLIMAGETARGETTEXSTORAGEEXT)(getProcAddr("glEGLImageTargetTexStorageEXT"))
|
||||
gpEGLImageTargetTextureStorageEXT = (C.GPEGLIMAGETARGETTEXTURESTORAGEEXT)(getProcAddr("glEGLImageTargetTextureStorageEXT"))
|
||||
gpEdgeFlag = (C.GPEDGEFLAG)(getProcAddr("glEdgeFlag"))
|
||||
if gpEdgeFlag == nil {
|
||||
return errors.New("glEdgeFlag")
|
||||
|
Reference in New Issue
Block a user