query
stringlengths
7
3.85k
document
stringlengths
11
430k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
fill all or part of buffer object's data store with a fixed value
func ClearBufferSubData(target uint32, internalformat uint32, offset int, size int, format uint32, xtype uint32, data unsafe.Pointer) { C.glowClearBufferSubData(gpClearBufferSubData, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLenum)(format), (C.GLenum)(xtype), data)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (dataBlock *DataBlock) fill(offset uint64, buf *bytes.Buffer) uint64 {\n\tbyteToFill := dataBlock.Capacity - offset\n\tbyteActualFill := buf.Next(int(byteToFill)) // API user...\n\tif len(byteActualFill) < int(byteToFill) {\n\t\t// Not sure if the byte at `offset` would be covered by new value...?????????????...
[ "0.64327663", "0.6065965", "0.5938841", "0.5930446", "0.58814", "0.57420343", "0.56903076", "0.55134517", "0.5493611", "0.54920614", "0.5434967", "0.53940076", "0.5355823", "0.5331252", "0.53291017", "0.53227663", "0.5294519", "0.52847886", "0.52817476", "0.52698314", "0.5257...
0.0
-1
specify clear values for the color buffers
func ClearColor(red float32, green float32, blue float32, alpha float32) { C.glowClearColor(gpClearColor, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue), (C.GLfloat)(alpha)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Clear(r, g, b, a float32) {\n\tgl.ClearColor(r, g, b, a)\n\tgl.Clear(gl.COLOR_BUFFER_BIT)\n}", "func ClearColor(red float32, green float32, blue float32, alpha float32) {\n\tsyscall.Syscall6(gpClearColor, 4, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue)), u...
[ "0.68750846", "0.6867058", "0.6803924", "0.67899007", "0.6782192", "0.6766238", "0.6725869", "0.66564834", "0.6638832", "0.66279083", "0.6609465", "0.6559809", "0.6556905", "0.6534886", "0.6451326", "0.6402057", "0.63869715", "0.63792676", "0.63792676", "0.63789874", "0.63727...
0.6449455
16
specify the clear value for the depth buffer
func ClearDepth(depth float64) { C.glowClearDepth(gpClearDepth, (C.GLdouble)(depth)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ClearDepth(depth float64) {\n\tsyscall.Syscall(gpClearDepth, 1, uintptr(math.Float64bits(depth)), 0, 0)\n}", "func ClearDepth(depth float64) {\n C.glowClearDepth(gpClearDepth, (C.GLdouble)(depth))\n}", "func ClearDepthf(d float32) {\n\tsyscall.Syscall(gpClearDepthf, 1, uintptr(math.Float32bits(d)), 0, 0)...
[ "0.75890833", "0.72645503", "0.6958771", "0.6629535", "0.6629535", "0.66152805", "0.6614693", "0.6408458", "0.63807887", "0.63124526", "0.6286633", "0.6259047", "0.62279314", "0.61254436", "0.6097784", "0.60644794", "0.6030776", "0.60261285", "0.6020509", "0.6003938", "0.5986...
0.67747325
4
specify the clear value for the depth buffer
func ClearDepthf(d float32) { C.glowClearDepthf(gpClearDepthf, (C.GLfloat)(d)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ClearDepth(depth float64) {\n\tsyscall.Syscall(gpClearDepth, 1, uintptr(math.Float64bits(depth)), 0, 0)\n}", "func ClearDepth(depth float64) {\n C.glowClearDepth(gpClearDepth, (C.GLdouble)(depth))\n}", "func ClearDepthf(d float32) {\n\tsyscall.Syscall(gpClearDepthf, 1, uintptr(math.Float32bits(d)), 0, 0)...
[ "0.75885737", "0.72638", "0.69582975", "0.67742234", "0.67742234", "0.66150177", "0.66142136", "0.6408065", "0.63803303", "0.6311345", "0.6286103", "0.62583685", "0.6226915", "0.61234146", "0.60970527", "0.6063397", "0.60306644", "0.6026708", "0.6019697", "0.60041845", "0.598...
0.6629029
6
specify the clear value for the color index buffers
func ClearIndex(c float32) { C.glowClearIndex(gpClearIndex, (C.GLfloat)(c)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ClearIndex(c float32) {\n C.glowClearIndex(gpClearIndex, (C.GLfloat)(c))\n}", "func ClearIndex(c float32) {\n\tsyscall.Syscall(gpClearIndex, 1, uintptr(math.Float32bits(c)), 0, 0)\n}", "func (debugging *debuggingOpenGL) Clear(mask uint32) {\n\tdebugging.recordEntry(\"Clear\", mask)\n\tdebugging.gl.Clear(...
[ "0.7557742", "0.6926225", "0.6661539", "0.66511786", "0.6609662", "0.65809613", "0.6549761", "0.6321644", "0.63114774", "0.6242595", "0.62145805", "0.62142456", "0.6212063", "0.62066", "0.61998916", "0.6166759", "0.6153944", "0.6153944", "0.61492884", "0.61306447", "0.602728"...
0.732023
1
fill a buffer object's data store with a fixed value
func ClearNamedBufferData(buffer uint32, internalformat uint32, format uint32, xtype uint32, data unsafe.Pointer) { C.glowClearNamedBufferData(gpClearNamedBufferData, (C.GLuint)(buffer), (C.GLenum)(internalformat), (C.GLenum)(format), (C.GLenum)(xtype), data) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (dataBlock *DataBlock) fill(offset uint64, buf *bytes.Buffer) uint64 {\n\tbyteToFill := dataBlock.Capacity - offset\n\tbyteActualFill := buf.Next(int(byteToFill)) // API user...\n\tif len(byteActualFill) < int(byteToFill) {\n\t\t// Not sure if the byte at `offset` would be covered by new value...?????????????...
[ "0.5932752", "0.5734838", "0.5678285", "0.56575704", "0.565682", "0.5643374", "0.5642318", "0.55881345", "0.5571034", "0.55051994", "0.5500698", "0.5496386", "0.5485012", "0.5478254", "0.54011256", "0.53939354", "0.53479874", "0.5335982", "0.5331352", "0.532966", "0.5309759",...
0.0
-1
fill all or part of buffer object's data store with a fixed value
func ClearNamedBufferSubData(buffer uint32, internalformat uint32, offset int, size int, format uint32, xtype uint32, data unsafe.Pointer) { C.glowClearNamedBufferSubData(gpClearNamedBufferSubData, (C.GLuint)(buffer), (C.GLenum)(internalformat), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLenum)(format), (C.GLenum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (dataBlock *DataBlock) fill(offset uint64, buf *bytes.Buffer) uint64 {\n\tbyteToFill := dataBlock.Capacity - offset\n\tbyteActualFill := buf.Next(int(byteToFill)) // API user...\n\tif len(byteActualFill) < int(byteToFill) {\n\t\t// Not sure if the byte at `offset` would be covered by new value...?????????????...
[ "0.6435121", "0.6067852", "0.59396887", "0.5931773", "0.5882379", "0.5744095", "0.56914604", "0.55147654", "0.5495607", "0.5492796", "0.54362786", "0.53932476", "0.5356813", "0.53318596", "0.5328969", "0.53223467", "0.5295687", "0.5286243", "0.52827585", "0.5270708", "0.52593...
0.0
-1
specify the clear value for the stencil buffer
func ClearStencil(s int32) { C.glowClearStencil(gpClearStencil, (C.GLint)(s)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ClearStencil(s int32) {\n C.glowClearStencil(gpClearStencil, (C.GLint)(s))\n}", "func ClearStencil(s int32) {\n\tsyscall.Syscall(gpClearStencil, 1, uintptr(s), 0, 0)\n}", "func ClearStencil(s int) {\n\tgl.ClearStencil(int32(s))\n}", "func (debugging *debuggingOpenGL) Clear(mask uint32) {\n\tdebugging.r...
[ "0.73086315", "0.7286953", "0.69857603", "0.6924906", "0.69165", "0.6864337", "0.68532676", "0.68230957", "0.6695288", "0.66714644", "0.6593278", "0.65412724", "0.65304893", "0.6464722", "0.6383803", "0.6383803", "0.63575023", "0.62926835", "0.6273837", "0.6157368", "0.613672...
0.7056484
3
fills all a texture image with a constant value
func ClearTexImage(texture uint32, level int32, format uint32, xtype uint32, data unsafe.Pointer) { C.glowClearTexImage(gpClearTexImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLenum)(format), (C.GLenum)(xtype), data) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (t *Texture) Set(x uint16, y uint16, value rgb565.Rgb565Color) {\n\tt.pixels[y*t.width+x] = value\n}", "func InvalidateTexImage(texture uint32, level int32) {\n C.glowInvalidateTexImage(gpInvalidateTexImage, (C.GLuint)(texture), (C.GLint)(level))\n}", "func (i *ImageBuf) SetFull(xbegin, xend, ybegin, yen...
[ "0.5976961", "0.58245194", "0.5757982", "0.5730466", "0.55506533", "0.55366975", "0.553421", "0.5499369", "0.54849815", "0.54829645", "0.5474141", "0.5471818", "0.54688376", "0.5454622", "0.54320496", "0.54219913", "0.54141694", "0.53985035", "0.5388446", "0.5371576", "0.5357...
0.50407785
62
fills all or part of a texture image with a constant value
func ClearTexSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, data unsafe.Pointer) { C.glowClearTexSubImage(gpClearTexSubImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (i *ImageBuf) SetFull(xbegin, xend, ybegin, yend, zbegin, zend int) {\n\tC.ImageBuf_set_full(\n\t\ti.ptr,\n\t\tC.int(xbegin), C.int(xend),\n\t\tC.int(ybegin), C.int(yend),\n\t\tC.int(zbegin), C.int(zend))\n\truntime.KeepAlive(i)\n}", "func (t *Texture) Set(x uint16, y uint16, value rgb565.Rgb565Color) {\n\t...
[ "0.6033916", "0.5979142", "0.59077275", "0.58477914", "0.5768154", "0.57606286", "0.57316107", "0.5637083", "0.5411705", "0.5394399", "0.53766215", "0.5368511", "0.53565407", "0.53512436", "0.53442234", "0.5289618", "0.5264422", "0.525809", "0.52554697", "0.52210635", "0.5210...
0.0
-1
select active texture unit
func ClientActiveTexture(texture uint32) { C.glowClientActiveTexture(gpClientActiveTexture, (C.GLenum)(texture)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ActiveTexture(texture uint32) {\n C.glowActiveTexture(gpActiveTexture, (C.GLenum)(texture))\n}", "func ActiveTexture(texture Enum) {\n\tgl.ActiveTexture(uint32(texture))\n}", "func ActiveTexture(texture uint32) {\n\tsyscall.Syscall(gpActiveTexture, 1, uintptr(texture), 0, 0)\n}", "func (gl *WebGL) Acti...
[ "0.6990008", "0.6661706", "0.66074866", "0.65897524", "0.6373429", "0.62392634", "0.62287843", "0.62287843", "0.6157311", "0.6041385", "0.5987386", "0.5792542", "0.57850623", "0.57787174", "0.5760657", "0.5760657", "0.56287324", "0.5581819", "0.5571051", "0.5571051", "0.55343...
0.5475351
24
block and wait for a sync object to become signaled
func ClientWaitSync(sync uintptr, flags uint32, timeout uint64) uint32 { ret := C.glowClientWaitSync(gpClientWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout)) return (uint32)(ret) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (t *SyncTransport) Wait() {}", "func WaitSync(sync uintptr, flags uint32, timeout uint64) {\n\tsyscall.Syscall(gpWaitSync, 3, uintptr(sync), uintptr(flags), uintptr(timeout))\n}", "func (bus *EventBus) WaitAsync() {\n\tbus.wg.Wait()\n}", "func (bus *EventBus) WaitAsync() {\n\tbus.wg.Wait()\n}", "func ...
[ "0.71638316", "0.67670363", "0.6692661", "0.6692661", "0.64020497", "0.6372807", "0.634265", "0.630982", "0.62865365", "0.62865365", "0.6208311", "0.61638635", "0.61532706", "0.61414415", "0.61360407", "0.61281914", "0.60768455", "0.60408664", "0.60355836", "0.6030008", "0.59...
0.564632
51
control clip coordinate to window coordinate behavior
func ClipControl(origin uint32, depth uint32) { C.glowClipControl(gpClipControl, (C.GLenum)(origin), (C.GLenum)(depth)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func clip(dst draw.Image, r *image.Rectangle, src image.Image, sp *image.Point) {\n\torig := r.Min\n\t*r = r.Intersect(dst.Bounds())\n\t*r = r.Intersect(src.Bounds().Add(orig.Sub(*sp)))\n\tdx := r.Min.X - orig.X\n\tdy := r.Min.Y - orig.Y\n\tif dx == 0 && dy == 0 {\n\t\treturn\n\t}\n\t(*sp).X += dx\n\t(*sp).Y += dy...
[ "0.6419761", "0.63266224", "0.6249813", "0.60190547", "0.6001477", "0.586602", "0.5684156", "0.56382644", "0.56131184", "0.5407927", "0.5405326", "0.52320653", "0.5171175", "0.50993764", "0.5087996", "0.5048353", "0.50385576", "0.50358623", "0.50173783", "0.5014067", "0.49500...
0.5742994
7
specify a plane against which all geometry is clipped
func ClipPlane(plane uint32, equation *float64) { C.glowClipPlane(gpClipPlane, (C.GLenum)(plane), (*C.GLdouble)(unsafe.Pointer(equation))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ClipPlane(plane uint32, equation *float64) {\n\tsyscall.Syscall(gpClipPlane, 2, uintptr(plane), uintptr(unsafe.Pointer(equation)), 0)\n}", "func ClipPlane(plane uint32, equation *float64) {\n C.glowClipPlane(gpClipPlane, (C.GLenum)(plane), (*C.GLdouble)(unsafe.Pointer(equation)))\n}", "func GetClipPlane(...
[ "0.7158832", "0.710133", "0.6163395", "0.56733644", "0.5549828", "0.5395412", "0.5308266", "0.5185617", "0.5155969", "0.5075975", "0.48775586", "0.48698863", "0.4835573", "0.47909898", "0.47605744", "0.4717083", "0.46650428", "0.46585107", "0.46503273", "0.4640544", "0.457165...
0.70023525
2
cause a material color to track the current color
func ColorMaterial(face uint32, mode uint32) { C.glowColorMaterial(gpColorMaterial, (C.GLenum)(face), (C.GLenum)(mode)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ColorMaterial(face uint32, mode uint32) {\n C.glowColorMaterial(gpColorMaterial, (C.GLenum)(face), (C.GLenum)(mode))\n}", "func ColorMaterial(face uint32, mode uint32) {\n\tsyscall.Syscall(gpColorMaterial, 2, uintptr(face), uintptr(mode), 0)\n}", "func MaterialColor(col threejs.Color) MeshOption {\n\tret...
[ "0.6981486", "0.66909766", "0.6087489", "0.5918387", "0.5870019", "0.5862606", "0.57150435", "0.57144535", "0.57004493", "0.56751585", "0.5466822", "0.5432201", "0.54093975", "0.54062957", "0.5389144", "0.538787", "0.5347877", "0.53256637", "0.53208923", "0.5315993", "0.53156...
0.6886134
1
define an array of colors
func ColorPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { C.glowColorPointer(gpColorPointer, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GenColor(intr int) [][]uint8 {\n\toutput := [][]uint8{}\n\tfor i := 0; i <= 255; i += intr {\n\t\tfor j := 0; j <= 255; j += intr {\n\t\t\tfor k := 0; k <= 255; k += intr {\n\t\t\t\ta := []uint8{uint8(i), uint8(j), uint8(k)}\n\t\t\t\toutput = append(output, a)\n\n\t\t\t}\n\t\t}\n\t}\n\treturn output\n\n}", ...
[ "0.70033413", "0.65414596", "0.6218888", "0.61678225", "0.61441046", "0.6124971", "0.60197467", "0.5992145", "0.58543175", "0.58477825", "0.57905287", "0.5769831", "0.57049125", "0.56985646", "0.56981", "0.56568223", "0.5587713", "0.5554854", "0.5528026", "0.549864", "0.54853...
0.0
-1
respecify a portion of a color table
func ColorSubTable(target uint32, start int32, count int32, format uint32, xtype uint32, data unsafe.Pointer) { C.glowColorSubTable(gpColorSubTable, (C.GLenum)(target), (C.GLsizei)(start), (C.GLsizei)(count), (C.GLenum)(format), (C.GLenum)(xtype), data) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ColorSubTable(target uint32, start int32, count int32, format uint32, xtype uint32, data unsafe.Pointer) {\n C.glowColorSubTable(gpColorSubTable, (C.GLenum)(target), (C.GLsizei)(start), (C.GLsizei)(count), (C.GLenum)(format), (C.GLenum)(xtype), data)\n}", "func CopyColorSubTable(target uint32, start int32,...
[ "0.7169887", "0.68756604", "0.6508021", "0.61563814", "0.6053618", "0.5870142", "0.572057", "0.54090625", "0.5268068", "0.5217324", "0.5199247", "0.51871884", "0.5184359", "0.51665777", "0.5125286", "0.5103398", "0.509819", "0.5085142", "0.5067481", "0.50626045", "0.5054786",...
0.6995501
1
define a color lookup table
func ColorTable(target uint32, internalformat uint32, width int32, format uint32, xtype uint32, table unsafe.Pointer) { C.glowColorTable(gpColorTable, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), table) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ColorTable(target uint32, internalformat uint32, width int32, format uint32, xtype uint32, table unsafe.Pointer) {\n C.glowColorTable(gpColorTable, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), table)\n}", "func makeColorLookup(vals []int, length...
[ "0.66989845", "0.65118223", "0.64939904", "0.62917787", "0.61029834", "0.6091843", "0.60855556", "0.590682", "0.58695626", "0.57240605", "0.5704761", "0.5699862", "0.5600927", "0.5594857", "0.5483596", "0.5458877", "0.54586065", "0.5406009", "0.5386899", "0.5356313", "0.53404...
0.64137495
3
Compiles a shader object
func CompileShader(shader uint32) { C.glowCompileShader(gpCompileShader, (C.GLuint)(shader)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (shader Shader) Compile() {\n\tgl.CompileShader(uint32(shader))\n}", "func CompileShader(shader uint32) {\n C.glowCompileShader(gpCompileShader, (C.GLuint)(shader))\n}", "func CompileShader(s Shader) {\n\tgl.CompileShader(s.Value)\n}", "func compileShader(shaderType wasm.GLenum, shaderSrc string) (wasm...
[ "0.75421816", "0.73613364", "0.7229039", "0.70668304", "0.6974781", "0.6844204", "0.6806778", "0.66904193", "0.66267055", "0.6579397", "0.65686613", "0.64385533", "0.6426448", "0.6321086", "0.6321086", "0.6304544", "0.62004995", "0.61681575", "0.61516255", "0.6124041", "0.608...
0.66935635
8
specify a onedimensional texture image in a compressed format
func CompressedTexImage1D(target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTexImage1D(gpCompressedTexImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLsizei)(imageSi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tsyscall.Syscall12(gpCompressedTextureSubImage3D, 11, uintptr(texture), uintptr(level), uintptr(xoffset), uintp...
[ "0.6528373", "0.64994603", "0.64994603", "0.6460156", "0.64568317", "0.64497167", "0.64497167", "0.6359567", "0.6359567", "0.62451667", "0.6209575", "0.6209575", "0.6203879", "0.61754", "0.61376697", "0.61376697", "0.6132292", "0.61253023", "0.6076437", "0.6020382", "0.601883...
0.5766065
30
specify a twodimensional texture image in a compressed format
func CompressedTexImage2D(target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTexImage2D(gpCompressedTexImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tsyscall.Syscall9(gpCompressedTextureSubImage2D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), u...
[ "0.6820861", "0.6780762", "0.6780762", "0.67249054", "0.67241544", "0.67241544", "0.6654857", "0.6654857", "0.65744406", "0.6558697", "0.6558555", "0.65300393", "0.65300393", "0.6460095", "0.6460095", "0.6400892", "0.6201863", "0.61903274", "0.60405064", "0.60118544", "0.6005...
0.6014798
20
specify a threedimensional texture image in a compressed format
func CompressedTexImage3D(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTexImage3D(gpCompressedTexImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tsyscall.Syscall12(gpCompressedTextureSubImage3D, 11, uintptr(texture), uintptr(level), uintptr(xoffset), uintp...
[ "0.67944324", "0.6788097", "0.6788097", "0.65358734", "0.64502954", "0.6446981", "0.6446981", "0.64390385", "0.64390385", "0.6344451", "0.6342221", "0.6342221", "0.63141984", "0.63141984", "0.62797177", "0.6261731", "0.62611717", "0.61913854", "0.61417705", "0.61244947", "0.6...
0.6014296
22
specify a onedimensional texture subimage in a compressed format
func CompressedTexSubImage1D(target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTexSubImage1D(gpCompressedTexSubImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLsizei)(imageSize), ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tC.glowCompressedTextureSubImage3D(gpCompressedTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLi...
[ "0.7192663", "0.7192663", "0.7148786", "0.7148786", "0.71463704", "0.7104704", "0.70999265", "0.70999265", "0.70813614", "0.70813614", "0.7079332", "0.707832", "0.64743364", "0.6446946", "0.633491", "0.633491", "0.6282994", "0.62674683", "0.62674683", "0.62573236", "0.6257323...
0.57617414
65
specify a twodimensional texture subimage in a compressed format
func CompressedTexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTexSubImage2D(gpCompressedTexSubImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(wid...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tC.glowCompressedTextureSubImage2D(gpCompressedTextureSubImage2D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoff...
[ "0.7577563", "0.7577563", "0.75629306", "0.74470943", "0.74470943", "0.738315", "0.73312634", "0.73312634", "0.7266035", "0.712903", "0.7098043", "0.7098043", "0.68603545", "0.6716065", "0.6716065", "0.6694078", "0.66790736", "0.66790736", "0.66281074", "0.6611796", "0.660454...
0.62119097
44
specify a threedimensional texture subimage in a compressed format
func CompressedTexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTexSubImage3D(gpCompressedTexSubImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tC.glowCompressedTextureSubImage3D(gpCompressedTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLi...
[ "0.74802285", "0.74802285", "0.7413762", "0.726753", "0.726753", "0.72593474", "0.72593474", "0.7232897", "0.7199341", "0.71802086", "0.71552026", "0.71552026", "0.6744676", "0.667433", "0.667433", "0.6587511", "0.6587511", "0.6553164", "0.65196425", "0.63975227", "0.6391272"...
0.6031571
48
specify a onedimensional texture subimage in a compressed format
func CompressedTextureSubImage1D(texture uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTextureSubImage1D(gpCompressedTextureSubImage1D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLsizei...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tC.glowCompressedTextureSubImage3D(gpCompressedTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLi...
[ "0.7192947", "0.7192947", "0.714907", "0.714907", "0.71469426", "0.71051484", "0.70993614", "0.70993614", "0.7078862", "0.7078731", "0.6472296", "0.6445187", "0.6333098", "0.6333098", "0.62800336", "0.62663424", "0.62663424", "0.6255392", "0.6255392", "0.6253487", "0.6253487"...
0.70817184
9
specify a twodimensional texture subimage in a compressed format
func CompressedTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTextureSubImage2D(gpCompressedTextureSubImage2D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tsyscall.Syscall9(gpCompressedTextureSubImage2D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), u...
[ "0.75624573", "0.74462503", "0.74462503", "0.7382152", "0.733096", "0.733096", "0.7265395", "0.71279454", "0.7097129", "0.7097129", "0.6861826", "0.6717682", "0.6717682", "0.6695255", "0.6680614", "0.6680614", "0.66295075", "0.6612707", "0.6605899", "0.6605899", "0.6574313", ...
0.7577275
1
specify a threedimensional texture subimage in a compressed format
func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) { C.glowCompressedTextureSubImage3D(gpCompressedTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xof...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) {\n\tsyscall.Syscall12(gpCompressedTextureSubImage3D, 11, uintptr(texture), uintptr(level), uintptr(xoffset), uintp...
[ "0.7413762", "0.726753", "0.726753", "0.72593474", "0.72593474", "0.7232897", "0.7199341", "0.71802086", "0.71552026", "0.71552026", "0.6744676", "0.667433", "0.667433", "0.6587511", "0.6587511", "0.6553164", "0.65196425", "0.63975227", "0.6391272", "0.6342379", "0.6342379", ...
0.74802285
1
define a onedimensional convolution filter
func ConvolutionFilter1D(target uint32, internalformat uint32, width int32, format uint32, xtype uint32, image unsafe.Pointer) { C.glowConvolutionFilter1D(gpConvolutionFilter1D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), image) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ConvolutionFilter1D(target uint32, internalformat uint32, width int32, format uint32, xtype uint32, image unsafe.Pointer) {\n C.glowConvolutionFilter1D(gpConvolutionFilter1D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), image)\n}", "func Convolu...
[ "0.6695128", "0.653654", "0.6511346", "0.6391525", "0.6300939", "0.6234931", "0.6102328", "0.6088056", "0.58660406", "0.58625305", "0.5834148", "0.58220327", "0.5806408", "0.5761543", "0.54394716", "0.53300667", "0.52854687", "0.52549875", "0.52449787", "0.52423936", "0.52006...
0.6414992
3
define a twodimensional convolution filter
func ConvolutionFilter2D(target uint32, internalformat uint32, width int32, height int32, format uint32, xtype uint32, image unsafe.Pointer) { C.glowConvolutionFilter2D(gpConvolutionFilter2D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype),...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ConvolutionFilter2D(target uint32, internalformat uint32, width int32, height int32, format uint32, xtype uint32, image unsafe.Pointer) {\n C.glowConvolutionFilter2D(gpConvolutionFilter2D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(...
[ "0.6764273", "0.6433451", "0.625944", "0.62001973", "0.61661077", "0.6104609", "0.6010403", "0.5931696", "0.59293765", "0.58326757", "0.57719404", "0.5683592", "0.5555621", "0.55529857", "0.5445007", "0.54182565", "0.5418026", "0.5310228", "0.52937627", "0.52414465", "0.52384...
0.662493
1
copy all or part of the data store of a buffer object to the data store of another buffer object
func CopyBufferSubData(readTarget uint32, writeTarget uint32, readOffset int, writeOffset int, size int) { C.glowCopyBufferSubData(gpCopyBufferSubData, (C.GLenum)(readTarget), (C.GLenum)(writeTarget), (C.GLintptr)(readOffset), (C.GLintptr)(writeOffset), (C.GLsizeiptr)(size)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyBufferSubData(readTarget uint32, writeTarget uint32, readOffset int, writeOffset int, size int) {\n\tsyscall.Syscall6(gpCopyBufferSubData, 5, uintptr(readTarget), uintptr(writeTarget), uintptr(readOffset), uintptr(writeOffset), uintptr(size), 0)\n}", "func CopyBufferSubData(readTarget uint32, writeTarge...
[ "0.57995325", "0.5721898", "0.56194115", "0.54741675", "0.54422647", "0.5383125", "0.53659135", "0.53628725", "0.532404", "0.5273952", "0.52007854", "0.51824313", "0.51795876", "0.5140712", "0.5138", "0.51334554", "0.5116495", "0.5112037", "0.51092386", "0.5105935", "0.510254...
0.5447068
5
respecify a portion of a color table
func CopyColorSubTable(target uint32, start int32, x int32, y int32, width int32) { C.glowCopyColorSubTable(gpCopyColorSubTable, (C.GLenum)(target), (C.GLsizei)(start), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ColorSubTable(target uint32, start int32, count int32, format uint32, xtype uint32, data unsafe.Pointer) {\n C.glowColorSubTable(gpColorSubTable, (C.GLenum)(target), (C.GLsizei)(start), (C.GLsizei)(count), (C.GLenum)(format), (C.GLenum)(xtype), data)\n}", "func ColorSubTable(target uint32, start int32, cou...
[ "0.7169887", "0.6995501", "0.68756604", "0.61563814", "0.6053618", "0.5870142", "0.572057", "0.54090625", "0.5268068", "0.5217324", "0.5199247", "0.51871884", "0.5184359", "0.51665777", "0.5125286", "0.5103398", "0.509819", "0.5085142", "0.5067481", "0.50626045", "0.5054786",...
0.6508021
3
copy pixels into a color table
func CopyColorTable(target uint32, internalformat uint32, x int32, y int32, width int32) { C.glowCopyColorTable(gpCopyColorTable, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyColorTable(target uint32, internalformat uint32, x int32, y int32, width int32) {\n C.glowCopyColorTable(gpCopyColorTable, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width))\n}", "func CopyColorSubTable(target uint32, start int32, x int32, y int32, width int...
[ "0.7236274", "0.7012368", "0.680525", "0.627135", "0.6227392", "0.6080061", "0.60735536", "0.60356534", "0.5952416", "0.59139735", "0.5843787", "0.5701853", "0.5590321", "0.5556233", "0.54842144", "0.54842144", "0.54763526", "0.54234326", "0.54201484", "0.5406675", "0.5373449...
0.70833987
1
copy pixels into a onedimensional convolution filter
func CopyConvolutionFilter1D(target uint32, internalformat uint32, x int32, y int32, width int32) { C.glowCopyConvolutionFilter1D(gpCopyConvolutionFilter1D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyConvolutionFilter1D(target uint32, internalformat uint32, x int32, y int32, width int32) {\n C.glowCopyConvolutionFilter1D(gpCopyConvolutionFilter1D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width))\n}", "func CopyConvolutionFilter2D(target uint32, interna...
[ "0.70984167", "0.70973545", "0.6838712", "0.6342118", "0.6339697", "0.62980014", "0.60681903", "0.6057519", "0.5994998", "0.5912075", "0.55511224", "0.5529849", "0.54788923", "0.5447513", "0.54171586", "0.54022473", "0.53360295", "0.5306004", "0.5270163", "0.522178", "0.51946...
0.6804048
3
copy pixels into a twodimensional convolution filter
func CopyConvolutionFilter2D(target uint32, internalformat uint32, x int32, y int32, width int32, height int32) { C.glowCopyConvolutionFilter2D(gpCopyConvolutionFilter2D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyConvolutionFilter2D(target uint32, internalformat uint32, x int32, y int32, width int32, height int32) {\n C.glowCopyConvolutionFilter2D(gpCopyConvolutionFilter2D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height))\n}", "func CopyConvolu...
[ "0.7410087", "0.6712185", "0.6649832", "0.64741814", "0.63578194", "0.63215214", "0.60116434", "0.5824171", "0.57838714", "0.5715813", "0.56136847", "0.5597352", "0.54525596", "0.53481835", "0.5248561", "0.5243912", "0.5227945", "0.519987", "0.5178303", "0.5174178", "0.516586...
0.7162849
1
perform a raw data copy between two images
func CopyImageSubData(srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srcY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, srcWidth int32, srcHeight int32, srcDepth int32) { C.glowCopyImageSubData(gpCopyImageSubData, (C.GLuint)(srcName), (C.GLenum)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyImageSubData(srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srcY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, srcWidth int32, srcHeight int32, srcDepth int32) {\n C.glowCopyImageSubData(gpCopyImageSubData, (C.GLuint)(srcName), (C....
[ "0.6013944", "0.5896212", "0.58863497", "0.5862755", "0.57075185", "0.56613827", "0.565777", "0.56153184", "0.5606776", "0.55278593", "0.5462111", "0.5404379", "0.5403513", "0.5392083", "0.5388897", "0.5367096", "0.5323028", "0.5318446", "0.5313176", "0.5232477", "0.52323097"...
0.57912856
5
copy all or part of the data store of a buffer object to the data store of another buffer object
func CopyNamedBufferSubData(readBuffer uint32, writeBuffer uint32, readOffset int, writeOffset int, size int) { C.glowCopyNamedBufferSubData(gpCopyNamedBufferSubData, (C.GLuint)(readBuffer), (C.GLuint)(writeBuffer), (C.GLintptr)(readOffset), (C.GLintptr)(writeOffset), (C.GLsizeiptr)(size)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyBufferSubData(readTarget uint32, writeTarget uint32, readOffset int, writeOffset int, size int) {\n\tsyscall.Syscall6(gpCopyBufferSubData, 5, uintptr(readTarget), uintptr(writeTarget), uintptr(readOffset), uintptr(writeOffset), uintptr(size), 0)\n}", "func CopyBufferSubData(readTarget uint32, writeTarge...
[ "0.5799516", "0.5721596", "0.5619362", "0.54738885", "0.54471415", "0.54471415", "0.544204", "0.5382559", "0.5366576", "0.536117", "0.53239393", "0.52760315", "0.5200153", "0.5183052", "0.51771307", "0.51403636", "0.5136153", "0.513369", "0.5115561", "0.51108825", "0.510889",...
0.50033593
37
copy pixels in the frame buffer
func CopyPixels(x int32, y int32, width int32, height int32, xtype uint32) { C.glowCopyPixels(gpCopyPixels, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(xtype)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (fr *Frame) Copy(orig *Frame) {\n\tfr.Status = orig.Status\n\tfor y, row := range orig.Pix {\n\t\tcopy(fr.Pix[y][:], row)\n\t}\n}", "func (i *ImageBuf) CopyPixels(src *ImageBuf) error {\n\tok := bool(C.ImageBuf_copy_pixels(i.ptr, src.ptr))\n\truntime.KeepAlive(i)\n\truntime.KeepAlive(src)\n\tif !ok {\n\t\tr...
[ "0.70778525", "0.6495085", "0.6318463", "0.6159934", "0.60476214", "0.59904885", "0.583665", "0.5807401", "0.574611", "0.5655295", "0.5654111", "0.5654111", "0.56520694", "0.5638904", "0.5596805", "0.55832887", "0.54648066", "0.54232603", "0.5363651", "0.53552353", "0.5327665...
0.60939634
4
copy pixels into a 1D texture image
func CopyTexImage1D(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { C.glowCopyTexImage1D(gpCopyTexImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLint)(border)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyTextureSubImage1D(texture uint32, level int32, xoffset int32, x int32, y int32, width int32) {\n\tsyscall.Syscall6(gpCopyTextureSubImage1D, 6, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(x), uintptr(y), uintptr(width))\n}", "func CopyTextureSubImage1D(texture uint32, level int32, xoffset...
[ "0.70645934", "0.705592", "0.705592", "0.70249724", "0.70157284", "0.6721655", "0.6592131", "0.65479004", "0.6514974", "0.6514974", "0.6513513", "0.6479638", "0.6476083", "0.6476083", "0.6443299", "0.64221895", "0.64221895", "0.62778026", "0.62627196", "0.622544", "0.622544",...
0.68743
6
copy pixels into a 2D texture image
func CopyTexImage2D(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { C.glowCopyTexImage2D(gpCopyTexImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(bor...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyTexImage2D(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) {\n\tsyscall.Syscall9(gpCopyTexImage2D, 8, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(border), 0)\n}", ...
[ "0.7206373", "0.71991235", "0.7191726", "0.7138349", "0.7138349", "0.6910669", "0.6893222", "0.68694407", "0.68424076", "0.68146855", "0.68001497", "0.679214", "0.679214", "0.6789609", "0.6756719", "0.6743074", "0.67361367", "0.6726271", "0.67152506", "0.67152506", "0.6692911...
0.70907384
6
copy a onedimensional texture subimage
func CopyTexSubImage1D(target uint32, level int32, xoffset int32, x int32, y int32, width int32) { C.glowCopyTexSubImage1D(gpCopyTexSubImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) {\n\tsyscall.Syscall9(gpCopyTextureSubImage2D, 8, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0)\n}",...
[ "0.7117874", "0.70963943", "0.70963943", "0.70903414", "0.70718455", "0.7063463", "0.7063463", "0.7052369", "0.7052369", "0.6940072", "0.69269633", "0.67217225", "0.67217225", "0.65369076", "0.6529039", "0.6454725", "0.64417475", "0.64417475", "0.6408693", "0.6400633", "0.637...
0.60804605
52
copy a twodimensional texture subimage
func CopyTexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { C.glowCopyTexSubImage2D(gpCopyTexSubImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height))...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) {\n\tsyscall.Syscall9(gpCopyTextureSubImage2D, 8, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0)\n}",...
[ "0.74930286", "0.748996", "0.748996", "0.7101118", "0.7101118", "0.708496", "0.70273286", "0.70273286", "0.70271516", "0.6888059", "0.68646353", "0.6819994", "0.6789447", "0.6789447", "0.6698773", "0.66529685", "0.6626014", "0.65730363", "0.6569772", "0.6569772", "0.6524741",...
0.65897524
18
copy a threedimensional texture subimage
func CopyTexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { C.glowCopyTexSubImage3D(gpCopyTexSubImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(x), (C.GLint)(y), (C.GL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) {\n\tC.glowCopyTextureSubImage3D(gpCopyTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(x)...
[ "0.7215594", "0.7215594", "0.71876454", "0.70950466", "0.70950466", "0.70811504", "0.70811504", "0.7059603", "0.7054656", "0.6721647", "0.65954375", "0.65091", "0.65091", "0.64512765", "0.6377637", "0.6370287", "0.63596547", "0.63596547", "0.6333909", "0.6325963", "0.63115376...
0.6116538
43
copy a onedimensional texture subimage
func CopyTextureSubImage1D(texture uint32, level int32, xoffset int32, x int32, y int32, width int32) { C.glowCopyTextureSubImage1D(gpCopyTextureSubImage1D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) {\n\tsyscall.Syscall9(gpCopyTextureSubImage2D, 8, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0)\n}",...
[ "0.7117874", "0.70963943", "0.70963943", "0.70903414", "0.70718455", "0.7052369", "0.7052369", "0.6940072", "0.69269633", "0.67217225", "0.67217225", "0.65369076", "0.6529039", "0.6454725", "0.64417475", "0.64417475", "0.6408693", "0.6400633", "0.63795626", "0.63795626", "0.6...
0.7063463
6
copy a twodimensional texture subimage
func CopyTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { C.glowCopyTextureSubImage2D(gpCopyTextureSubImage2D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLs...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) {\n\tsyscall.Syscall9(gpCopyTextureSubImage2D, 8, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0)\n}",...
[ "0.74930286", "0.7101118", "0.7101118", "0.708496", "0.70273286", "0.70273286", "0.70271516", "0.6888059", "0.68646353", "0.6819994", "0.6789447", "0.6789447", "0.6698773", "0.66529685", "0.6626014", "0.65897524", "0.65897524", "0.65730363", "0.6569772", "0.6569772", "0.65247...
0.748996
2
copy a threedimensional texture subimage
func CopyTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { C.glowCopyTextureSubImage3D(gpCopyTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(x), (C.GL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CopyTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) {\n\tsyscall.Syscall9(gpCopyTextureSubImage3D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(x), uintptr(y), uintptr...
[ "0.7187993", "0.70949566", "0.70949566", "0.708144", "0.708144", "0.70596516", "0.7054913", "0.67202014", "0.6595204", "0.65076804", "0.65076804", "0.64512175", "0.63771796", "0.63712007", "0.6359094", "0.6359094", "0.6334243", "0.6325183", "0.63112533", "0.63112533", "0.6302...
0.72157633
1
Creates a program object
func CreateProgram() uint32 { ret := C.glowCreateProgram(gpCreateProgram) return (uint32)(ret) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewProgram(cfg *client.Config, parentName string) *tea.Program {\n\tm := NewModel(cfg)\n\tm.standalone = true\n\tm.parentName = parentName\n\treturn tea.NewProgram(m)\n}", "func NewProgram() *Program {\n\treturn &Program{\n\t\tframe: EmptyFrame(),\n\t}\n}", "func NewProgram(data []byte) *Program {\n\tp :=...
[ "0.754594", "0.74776906", "0.737721", "0.7287907", "0.7166263", "0.6921965", "0.6902829", "0.67759985", "0.6758172", "0.6675605", "0.663532", "0.6624037", "0.65911716", "0.65763915", "0.65724933", "0.655264", "0.6488179", "0.62225133", "0.6178267", "0.61091566", "0.6095275", ...
0.5645864
45
create program pipeline objects
func CreateProgramPipelines(n int32, pipelines *uint32) { C.glowCreateProgramPipelines(gpCreateProgramPipelines, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(pipelines))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func New(stdin io.Reader, stdout io.Writer, stderr io.Writer) *Pipeline {\n pl := &Pipeline{}\n pl.input = stdin\n pl.output = stdout\n pl.err = stderr\n pl.tasks = []*exec.Cmd{}\n return pl\n}", "func createPipeline(\n\tconfig Config, mgr types.Manager, logger log.Modular, stats metrics.Type,\...
[ "0.7164634", "0.6616013", "0.6575863", "0.6569872", "0.6457084", "0.6410301", "0.63916916", "0.63585705", "0.63339573", "0.63170236", "0.62751275", "0.62524223", "0.6211996", "0.6203643", "0.61647236", "0.6147871", "0.6141217", "0.6131004", "0.6121805", "0.6106428", "0.607791...
0.63951606
7
Creates a shader object
func CreateShader(xtype uint32) uint32 { ret := C.glowCreateShader(gpCreateShader, (C.GLenum)(xtype)) return (uint32)(ret) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CreateShader(ty Enum) Shader {\n\treturn Shader{Value: uint32(gl.CreateShader(uint32(ty)))}\n}", "func NewShader(vertexFmt, uniformFmt AttrFormat, vertexShader, fragmentShader string) (*Shader, error) {\n\tshader := &Shader{\n\t\tprogram: binder{\n\t\t\trestoreLoc: gl.CURRENT_PROGRAM,\n\t\t\tbindFunc: func(...
[ "0.7346397", "0.71875364", "0.7007328", "0.700519", "0.68544656", "0.6846669", "0.6674217", "0.6651398", "0.6651065", "0.6644338", "0.65123326", "0.64587116", "0.6447906", "0.6428075", "0.63679135", "0.63679135", "0.6272525", "0.62461555", "0.61304414", "0.61302114", "0.60563...
0.6703814
7
create a standalone program from an array of nullterminated source code strings
func CreateShaderProgramv(xtype uint32, count int32, strings **uint8) uint32 { ret := C.glowCreateShaderProgramv(gpCreateShaderProgramv, (C.GLenum)(xtype), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(strings))) return (uint32)(ret) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewCompilerFromString(inProgram string) *Compiler {\n\tvar inpProgram []string\n\t// remove all tabs chars\n\tinProgram = strings.Replace(inProgram, \"\\t\", \"\", -1)\n\tinpProgram = strings.Split(inProgram, \"\\n\")\n\t// build the inputProgram array with all instructions and vars right here\n\treturn &Comp...
[ "0.618819", "0.5657133", "0.55985", "0.5487285", "0.5245269", "0.51279694", "0.50902253", "0.5087321", "0.50806254", "0.5008299", "0.500511", "0.4995785", "0.49896026", "0.49355313", "0.49339277", "0.49303636", "0.49126962", "0.49057707", "0.4903192", "0.489664", "0.48895085"...
0.0
-1
Parameter context has type C.struct__cl_context. Parameter event has type C.struct__cl_event.
func CreateSyncFromCLeventARB(context unsafe.Pointer, event unsafe.Pointer, flags uint32) uintptr { ret := C.glowCreateSyncFromCLeventARB(gpCreateSyncFromCLeventARB, (*C.struct__cl_context)(context), (*C.struct__cl_event)(event), (C.GLbitfield)(flags)) return (uintptr)(ret) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s *BasevhdlListener) EnterContext_item(ctx *Context_itemContext) {}", "func (s *BasevhdlListener) EnterContext_clause(ctx *Context_clauseContext) {}", "func (s *BasecluListener) EnterParam(ctx *ParamContext) {}", "func (p *paramConf) eventProcess(ev *EventData) {\n\tif p == nil {\n\t\treturn\n\t}\n\t//...
[ "0.58962584", "0.5505896", "0.54211545", "0.53614587", "0.5330028", "0.5248324", "0.52421916", "0.5169795", "0.51675516", "0.5145184", "0.50820357", "0.5064712", "0.5052316", "0.5040894", "0.5038933", "0.5033511", "0.5027897", "0.49973547", "0.49964768", "0.497986", "0.497374...
0.0
-1
create transform feedback objects
func CreateTransformFeedbacks(n int32, ids *uint32) { C.glowCreateTransformFeedbacks(gpCreateTransformFeedbacks, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func TransformFeedbackBufferBase(xfb uint32, index uint32, buffer uint32) {\n\tsyscall.Syscall(gpTransformFeedbackBufferBase, 3, uintptr(xfb), uintptr(index), uintptr(buffer))\n}", "func transformationFeature(transformer Transformer) Feature {\n\ttransformationType := NewFeature(TransformationTypeFeature, -1)\n\...
[ "0.5351817", "0.52744895", "0.5228354", "0.51837265", "0.51837265", "0.5156473", "0.5147383", "0.5144394", "0.5119867", "0.51156515", "0.5083896", "0.50515765", "0.4960884", "0.49533263", "0.4951437", "0.49473682", "0.493895", "0.49282476", "0.49245748", "0.48988372", "0.4866...
0.47264865
37
create vertex array objects
func CreateVertexArrays(n int32, arrays *uint32) { C.glowCreateVertexArrays(gpCreateVertexArrays, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(arrays))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CreateVertexArrays(n int32, arrays *uint32) {\n\tsyscall.Syscall(gpCreateVertexArrays, 2, uintptr(n), uintptr(unsafe.Pointer(arrays)), 0)\n}", "func GenVertexArrays(n int32, arrays *uint32) {\n\tsyscall.Syscall(gpGenVertexArrays, 2, uintptr(n), uintptr(unsafe.Pointer(arrays)), 0)\n}", "func createVertex(c...
[ "0.6589813", "0.6495918", "0.63804567", "0.62176603", "0.6144809", "0.61154735", "0.59852725", "0.5971669", "0.5915343", "0.58975786", "0.58973837", "0.58699673", "0.5839336", "0.5835183", "0.58284754", "0.5784197", "0.5784197", "0.5729416", "0.57243514", "0.56546414", "0.562...
0.6113562
7
specify whether front or backfacing facets can be culled
func CullFace(mode uint32) { C.glowCullFace(gpCullFace, (C.GLenum)(mode)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func FrontFace(mode Enum) {\n\tgl.FrontFace(uint32(mode))\n}", "func FrontFace(mode GLenum) {\n\tC.glFrontFace(C.GLenum(mode))\n}", "func FrontFace(mode uint32) {\n\tsyscall.Syscall(gpFrontFace, 1, uintptr(mode), 0, 0)\n}", "func FrontFace(mode uint32) {\n C.glowFrontFace(gpFrontFace, (C.GLenum)(mode))\n}",...
[ "0.5808077", "0.56039584", "0.55186737", "0.5413445", "0.53621805", "0.5265268", "0.5265268", "0.5163527", "0.5139808", "0.49922162", "0.49822396", "0.49585366", "0.49336785", "0.48021102", "0.47236323", "0.4717935", "0.47027516", "0.46903217", "0.4640689", "0.46279302", "0.4...
0.44384918
37
specify a callback to receive debugging messages from the GL
func DebugMessageCallback(callback DebugProc, userParam unsafe.Pointer) { userDebugCallback = callback C.glowDebugMessageCallback(gpDebugMessageCallback, (C.GLDEBUGPROC)(unsafe.Pointer(&callback)), userParam) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DebugMessageCallback(callback DebugProc, userParam unsafe.Pointer) {\n userDebugCallback = callback\n C.glowDebugMessageCallback(gpDebugMessageCallback, (C.GLDEBUGPROC)(unsafe.Pointer(&callback)), userParam)\n}", "func DebugMessageCallback(callback unsafe.Pointer, userParam unsafe.Pointer) {\n\tsyscall.Sy...
[ "0.7537775", "0.6209299", "0.61972326", "0.60274637", "0.5865196", "0.5714642", "0.56369185", "0.5558115", "0.54866415", "0.54723257", "0.5455521", "0.54135716", "0.5329175", "0.53018814", "0.5288752", "0.5270199", "0.5263286", "0.5259788", "0.52580667", "0.52580667", "0.5253...
0.6898329
2
Parameter callback has type C.GLDEBUGPROCAMD.
func DebugMessageCallbackAMD(callback unsafe.Pointer, userParam unsafe.Pointer) { C.glowDebugMessageCallbackAMD(gpDebugMessageCallbackAMD, (C.GLDEBUGPROCAMD)(callback), userParam) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DebugMessageCallback(callback DebugProc, userParam unsafe.Pointer) {\n userDebugCallback = callback\n C.glowDebugMessageCallback(gpDebugMessageCallback, (C.GLDEBUGPROC)(unsafe.Pointer(&callback)), userParam)\n}", "func DebugMessageCallbackAMD(callback unsafe.Pointer, userParam unsafe.Pointer) {\n\tsyscall...
[ "0.7167712", "0.6670752", "0.6367215", "0.6367215", "0.6003104", "0.5930139", "0.5875492", "0.5819321", "0.56413215", "0.55396223", "0.55020416", "0.5496406", "0.54678655", "0.5454606", "0.53230804", "0.51372975", "0.51099735", "0.50893986", "0.50893986", "0.5085339", "0.5068...
0.73665047
0
control the reporting of debug messages in a debug context
func DebugMessageControl(source uint32, xtype uint32, severity uint32, count int32, ids *uint32, enabled bool) { C.glowDebugMessageControl(gpDebugMessageControl, (C.GLenum)(source), (C.GLenum)(xtype), (C.GLenum)(severity), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(ids)), (C.GLboolean)(boolToInt(enabled))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (l nullLogger) Debug(msg string, ctx ...interface{}) {}", "func handleDebugSignal(_ context.Context) {\n}", "func debug(message string) {\n if DebugMode {\n fmt.Fprintln(os.Stderr, \"DEBUG:\", message)\n }\n}", "func (r *Reporter) Debug(msg string, ctx ...interface{}) {\n\tif r.Logging != n...
[ "0.6803932", "0.67588556", "0.66472065", "0.6538093", "0.6506046", "0.6501536", "0.64571935", "0.64331037", "0.6344445", "0.6319582", "0.6306223", "0.62899065", "0.6287556", "0.62689173", "0.6247058", "0.62301606", "0.62301606", "0.62301606", "0.62301606", "0.6227482", "0.621...
0.0
-1
inject an applicationsupplied message into the debug message queue
func DebugMessageInsert(source uint32, xtype uint32, id uint32, severity uint32, length int32, buf *uint8) { C.glowDebugMessageInsert(gpDebugMessageInsert, (C.GLenum)(source), (C.GLenum)(xtype), (C.GLuint)(id), (C.GLenum)(severity), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(buf))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DebugMessageInsert(source uint32, xtype uint32, id uint32, severity uint32, length int32, buf *uint8) {\n\tsyscall.Syscall6(gpDebugMessageInsert, 6, uintptr(source), uintptr(xtype), uintptr(id), uintptr(severity), uintptr(length), uintptr(unsafe.Pointer(buf)))\n}", "func DebugMessageInsert(source uint32, xt...
[ "0.64815396", "0.62499946", "0.619437", "0.61480385", "0.60640895", "0.5917219", "0.59155756", "0.57664645", "0.5756736", "0.57101834", "0.56690884", "0.5662995", "0.565094", "0.56439376", "0.56079483", "0.557113", "0.557113", "0.5568565", "0.54993165", "0.5487376", "0.545308...
0.63857657
2
delete named buffer objects
func DeleteBuffers(n int32, buffers *uint32) { C.glowDeleteBuffers(gpDeleteBuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(buffers))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ClearNamedBufferData(buffer uint32, internalformat uint32, format uint32, xtype uint32, data unsafe.Pointer) {\n\tsyscall.Syscall6(gpClearNamedBufferData, 5, uintptr(buffer), uintptr(internalformat), uintptr(format), uintptr(xtype), uintptr(data), 0)\n}", "func ClearNamedBufferData(buffer uint32, internalfo...
[ "0.62140304", "0.59822816", "0.59822816", "0.59758705", "0.59605604", "0.58622783", "0.5784818", "0.5784818", "0.5730123", "0.5666472", "0.55977887", "0.5593384", "0.5542014", "0.5525167", "0.55219185", "0.5493203", "0.54699224", "0.54655427", "0.5446036", "0.541549", "0.5399...
0.52425784
35
delete a contiguous group of display lists
func DeleteLists(list uint32, xrange int32) { C.glowDeleteLists(gpDeleteLists, (C.GLuint)(list), (C.GLsizei)(xrange)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DeleteLists(list uint32, xrange int32) {\n C.glowDeleteLists(gpDeleteLists, (C.GLuint)(list), (C.GLsizei)(xrange))\n}", "func DeleteLists(list uint32, xrange int32) {\n\tsyscall.Syscall(gpDeleteLists, 2, uintptr(list), uintptr(xrange), 0)\n}", "func (p *timeWheel) deleteJobList(iw, index uint32) {\n\tswi...
[ "0.6157806", "0.5867002", "0.53787464", "0.5322389", "0.5237469", "0.5180698", "0.5179926", "0.5158192", "0.51373094", "0.5069466", "0.5067466", "0.5052006", "0.5037724", "0.5034699", "0.49983966", "0.4967779", "0.49644583", "0.49512142", "0.49454904", "0.49441293", "0.493022...
0.5826923
2
Deletes a program object
func DeleteProgram(program uint32) { C.glowDeleteProgram(gpDeleteProgram, (C.GLuint)(program)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DeleteProgram(p Program) {\n\tgl.DeleteProgram(p.Value)\n}", "func (program Program) Delete() {\n\tgl.DeleteProgram(uint32(program))\n}", "func DeleteProgram(program uint32) {\n\tsyscall.Syscall(gpDeleteProgram, 1, uintptr(program), 0, 0)\n}", "func DeleteProgram(program uint32) {\n C.glowDeleteProgram...
[ "0.74283713", "0.72676706", "0.71689266", "0.69745326", "0.6885958", "0.67759204", "0.6505266", "0.6099523", "0.6004627", "0.5670174", "0.56151813", "0.552896", "0.5490562", "0.54772174", "0.5461797", "0.54362106", "0.54345506", "0.5404952", "0.5404952", "0.5381933", "0.53764...
0.69332004
5
delete program pipeline objects
func DeleteProgramPipelines(n int32, pipelines *uint32) { C.glowDeleteProgramPipelines(gpDeleteProgramPipelines, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(pipelines))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DeleteProgramPipelines(n int32, pipelines *uint32) {\n\tsyscall.Syscall(gpDeleteProgramPipelines, 2, uintptr(n), uintptr(unsafe.Pointer(pipelines)), 0)\n}", "func DeleteProgramPipelines(n int32, pipelines *uint32) {\n C.glowDeleteProgramPipelines(gpDeleteProgramPipelines, (C.GLsizei)(n), (*C.GLuint)(unsafe...
[ "0.68904364", "0.68334776", "0.62471974", "0.61384374", "0.59532994", "0.58873624", "0.5883622", "0.5878463", "0.58721143", "0.5835099", "0.57765216", "0.57669806", "0.5753911", "0.5714293", "0.5702303", "0.5634036", "0.55995226", "0.55718833", "0.5539132", "0.5535721", "0.54...
0.67379576
3
delete named query objects
func DeleteQueries(n int32, ids *uint32) { C.glowDeleteQueries(gpDeleteQueries, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (api *OsctrlAPI) DeleteQuery(env, identifier string) error {\n\treturn nil\n}", "func (c *Client) DeleteByQuery(query interface{}, indexList []string, typeList []string, extraArgs url.Values) (*Response, error) {\n\tversion, err := c.Version()\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif version > \"2...
[ "0.65552074", "0.6499519", "0.6248495", "0.61996925", "0.60681325", "0.60112804", "0.5999195", "0.59653705", "0.5927085", "0.59224665", "0.5909219", "0.5850164", "0.5842046", "0.58302957", "0.5824605", "0.5808344", "0.5786152", "0.577982", "0.57709503", "0.57706755", "0.57679...
0.0
-1
delete named sampler objects
func DeleteSamplers(count int32, samplers *uint32) { C.glowDeleteSamplers(gpDeleteSamplers, (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(samplers))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DeleteSamplers(count int32, samplers *uint32) {\n C.glowDeleteSamplers(gpDeleteSamplers, (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(samplers)))\n}", "func DeleteSamplers(count int32, samplers *uint32) {\n\tsyscall.Syscall(gpDeleteSamplers, 2, uintptr(count), uintptr(unsafe.Pointer(samplers)), 0)\n}", ...
[ "0.6354465", "0.62698066", "0.54388016", "0.53542507", "0.5327673", "0.5321178", "0.5281586", "0.5201338", "0.51815957", "0.5168405", "0.51570797", "0.51481396", "0.5139457", "0.51155823", "0.5080379", "0.5068697", "0.5060389", "0.50415576", "0.5026142", "0.50248355", "0.5003...
0.60690266
3
Deletes a shader object
func DeleteShader(shader uint32) { C.glowDeleteShader(gpDeleteShader, (C.GLuint)(shader)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (shader Shader) Delete() {\n\tgl.DeleteShader(uint32(shader))\n}", "func DeleteShader(shader uint32) {\n C.glowDeleteShader(gpDeleteShader, (C.GLuint)(shader))\n}", "func DeleteShader(s Shader) {\n\tgl.DeleteShader(s.Value)\n}", "func DeleteShader(shader uint32) {\n\tsyscall.Syscall(gpDeleteShader, 1, ...
[ "0.7792453", "0.7540871", "0.7343394", "0.7238463", "0.71194106", "0.7069882", "0.70691085", "0.70324314", "0.6356121", "0.6150891", "0.60111976", "0.59977674", "0.5948428", "0.5945306", "0.58856833", "0.58786726", "0.58763504", "0.587515", "0.58290154", "0.569516", "0.569139...
0.71381307
5
delete a sync object
func DeleteSync(sync uintptr) { C.glowDeleteSync(gpDeleteSync, (C.GLsync)(sync)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (api *objectAPI) SyncDelete(obj *objstore.Object) error {\n\tvar writeErr error\n\tif api.ct.resolver != nil {\n\t\tapicl, err := api.ct.apiClient()\n\t\tif err != nil {\n\t\t\tapi.ct.logger.Errorf(\"Error creating API server clent. Err: %v\", err)\n\t\t\treturn err\n\t\t}\n\n\t\t_, writeErr = apicl.ObjstoreV...
[ "0.72480255", "0.6765631", "0.67138106", "0.66838896", "0.6453525", "0.6292684", "0.62832284", "0.6248952", "0.61742663", "0.6156162", "0.6150627", "0.6122636", "0.61037755", "0.6094954", "0.605976", "0.60458654", "0.6000338", "0.59551305", "0.5929669", "0.5882508", "0.587451...
0.60909486
15
delete transform feedback objects
func DeleteTransformFeedbacks(n int32, ids *uint32) { C.glowDeleteTransformFeedbacks(gpDeleteTransformFeedbacks, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (p *transformDataNodes) CleanUp() {}", "func (this *Transformable) destroy() {\n\tC.sfTransformable_destroy(this.cptr)\n}", "func (t *Track) Clean() {\n\tfor i := 0; i < len(t.samples); i++ {\n\t\tt.samples[i] = nil\n\t}\n\tt.samples = t.samples[:0]\n\tt.samples = nil\n}", "func (am *Manager) Clean() {\...
[ "0.645302", "0.6008011", "0.59977126", "0.5943766", "0.5832797", "0.5782055", "0.5718664", "0.56616575", "0.5651121", "0.5597557", "0.5583479", "0.55381304", "0.55122805", "0.55047", "0.54990405", "0.54836154", "0.5415833", "0.5379488", "0.5369852", "0.5332091", "0.5332091", ...
0.5392651
18
delete vertex array objects
func DeleteVertexArrays(n int32, arrays *uint32) { C.glowDeleteVertexArrays(gpDeleteVertexArrays, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(arrays))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DeleteVertexArrary(n int32, arrays *uint32) {\n\t//gl.DeleteVertexArraysAPPLE(n, arrays)\n\tgl.DeleteVertexArrays(n, arrays)\n}", "func DeleteVertexArrays(n int32, arrays *uint32) {\n C.glowDeleteVertexArrays(gpDeleteVertexArrays, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(arrays)))\n}", "func (vao *VAO)...
[ "0.701914", "0.66842765", "0.6656226", "0.66041267", "0.6423954", "0.63811654", "0.6082875", "0.5691226", "0.5612787", "0.547888", "0.54655266", "0.5417572", "0.5301518", "0.5276028", "0.52451503", "0.5235245", "0.5234327", "0.52165896", "0.5184187", "0.51493686", "0.5106114"...
0.6186586
7
specify the value used for depth buffer comparisons
func DepthFunc(xfunc uint32) { C.glowDepthFunc(gpDepthFunc, (C.GLenum)(xfunc)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DepthRange(near float64, far float64) {\n C.glowDepthRange(gpDepthRange, (C.GLdouble)(near), (C.GLdouble)(far))\n}", "func (mParams *EncodingMatrixLiteral) Depth(actual bool) (depth int) {\n\tif actual {\n\t\tdepth = len(mParams.ScalingFactor)\n\t} else {\n\t\tfor i := range mParams.ScalingFactor {\n\t\t\t...
[ "0.580869", "0.57079095", "0.5509451", "0.5491911", "0.5461934", "0.5445955", "0.5430927", "0.53659487", "0.52950096", "0.521777", "0.5163977", "0.51577175", "0.51344424", "0.51344424", "0.5053193", "0.5049034", "0.50392884", "0.50392884", "0.503589", "0.5014973", "0.5014234"...
0.500669
23
enable or disable writing into the depth buffer
func DepthMask(flag bool) { C.glowDepthMask(gpDepthMask, (C.GLboolean)(boolToInt(flag))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (dev *Device) SetDepthBuffer(buf unsafe.Pointer) int {\n\treturn int(C.freenect_set_depth_buffer(dev.ptr(), buf))\n}", "func DepthMask(flag bool) {\n C.glowDepthMask(gpDepthMask, (C.GLboolean)(boolToInt(flag)))\n}", "func DepthMask(flag bool) {\n\tgl.DepthMask(flag)\n}", "func DepthMask(flag bool) {\n\...
[ "0.61243355", "0.58740526", "0.57638055", "0.57237315", "0.56763303", "0.5612447", "0.5556722", "0.5423485", "0.54152673", "0.5297169", "0.5296362", "0.52924144", "0.52748996", "0.5264191", "0.5188081", "0.50942665", "0.5085185", "0.50234556", "0.50067735", "0.5001658", "0.49...
0.5456156
8
specify mapping of depth values from normalized device coordinates to window coordinates
func DepthRange(n float64, f float64) { C.glowDepthRange(gpDepthRange, (C.GLdouble)(n), (C.GLdouble)(f)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DepthRange(near float64, far float64) {\n C.glowDepthRange(gpDepthRange, (C.GLdouble)(near), (C.GLdouble)(far))\n}", "func DepthRange(n float64, f float64) {\n\tsyscall.Syscall(gpDepthRange, 2, uintptr(math.Float64bits(n)), uintptr(math.Float64bits(f)), 0)\n}", "func DepthRangeIndexed(index uint32, n flo...
[ "0.6349661", "0.61290014", "0.60408145", "0.5821985", "0.5722763", "0.562346", "0.5457924", "0.54241323", "0.54241323", "0.5372862", "0.5355993", "0.53275514", "0.53072464", "0.53072464", "0.5297694", "0.5277749", "0.5203261", "0.51883626", "0.51862097", "0.5184831", "0.51844...
0.56836975
6
specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport
func DepthRangeIndexed(index uint32, n float64, f float64) { C.glowDepthRangeIndexed(gpDepthRangeIndexed, (C.GLuint)(index), (C.GLdouble)(n), (C.GLdouble)(f)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *Context) Viewport(x, y, width, height int) gfx.ContextStateValue {\n\treturn s.CSV{\n\t\tValue: [4]int{x, y, width, height},\n\t\tDefaultValue: [4]int{0, 0, 0, 0}, // TODO(slimsag): track real default viewport values\n\t\tKey: csViewport,\n\t\tGLCall: c.glViewport,\n\t}\n}", "func ...
[ "0.59922934", "0.59079075", "0.59076226", "0.59001887", "0.5800557", "0.5738982", "0.5721392", "0.5667043", "0.5666999", "0.562695", "0.5626007", "0.53602004", "0.5342091", "0.5301649", "0.5301649", "0.52494806", "0.5241753", "0.52195865", "0.52018315", "0.51966774", "0.51172...
0.5041937
26
specify mapping of depth values from normalized device coordinates to window coordinates
func DepthRangef(n float32, f float32) { C.glowDepthRangef(gpDepthRangef, (C.GLfloat)(n), (C.GLfloat)(f)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DepthRange(near float64, far float64) {\n C.glowDepthRange(gpDepthRange, (C.GLdouble)(near), (C.GLdouble)(far))\n}", "func DepthRange(n float64, f float64) {\n\tsyscall.Syscall(gpDepthRange, 2, uintptr(math.Float64bits(n)), uintptr(math.Float64bits(f)), 0)\n}", "func DepthRangeIndexed(index uint32, n flo...
[ "0.63479275", "0.6126459", "0.60384387", "0.5819864", "0.5720777", "0.5680924", "0.5680924", "0.5623218", "0.5455378", "0.5371378", "0.53534335", "0.53263485", "0.53045225", "0.53045225", "0.52953446", "0.52767897", "0.5201082", "0.519097", "0.51846325", "0.51829845", "0.5182...
0.54216486
10
Detaches a shader object from a program object to which it is attached
func DetachShader(program uint32, shader uint32) { C.glowDetachShader(gpDetachShader, (C.GLuint)(program), (C.GLuint)(shader)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DetachShader(program uint32, shader uint32) {\n C.glowDetachShader(gpDetachShader, (C.GLuint)(program), (C.GLuint)(shader))\n}", "func DetachShader(program uint32, shader uint32) {\n\tsyscall.Syscall(gpDetachShader, 2, uintptr(program), uintptr(shader), 0)\n}", "func (program Program) DetachShader(shader...
[ "0.73920846", "0.6926862", "0.6914519", "0.6886721", "0.683636", "0.61227334", "0.6024483", "0.5995838", "0.58677053", "0.5745318", "0.56832993", "0.5597706", "0.5588556", "0.5547058", "0.55224663", "0.55219084", "0.55219084", "0.5521438", "0.55098546", "0.5480847", "0.545043...
0.67955106
6
Enable or disable a generic vertex attribute array
func DisableVertexArrayAttrib(vaobj uint32, index uint32) { C.glowDisableVertexArrayAttrib(gpDisableVertexArrayAttrib, (C.GLuint)(vaobj), (C.GLuint)(index)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func EnableVertexArrayAttrib(vaobj uint32, index uint32) {\n\tsyscall.Syscall(gpEnableVertexArrayAttrib, 2, uintptr(vaobj), uintptr(index), 0)\n}", "func EnableVertexArrayAttrib(vaobj uint32, index uint32) {\n\tC.glowEnableVertexArrayAttrib(gpEnableVertexArrayAttrib, (C.GLuint)(vaobj), (C.GLuint)(index))\n}", ...
[ "0.7054948", "0.6961601", "0.6961601", "0.6764844", "0.636292", "0.6271076", "0.6208801", "0.6129252", "0.6005506", "0.6005506", "0.5988115", "0.5971912", "0.59454656", "0.5923633", "0.5923633", "0.5883221", "0.5882651", "0.5731005", "0.5731005", "0.57178", "0.5663524", "0....
0.66976696
5
Enable or disable a generic vertex attribute array
func DisableVertexAttribArray(index uint32) { C.glowDisableVertexAttribArray(gpDisableVertexAttribArray, (C.GLuint)(index)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func EnableVertexArrayAttrib(vaobj uint32, index uint32) {\n\tsyscall.Syscall(gpEnableVertexArrayAttrib, 2, uintptr(vaobj), uintptr(index), 0)\n}", "func EnableVertexArrayAttrib(vaobj uint32, index uint32) {\n\tC.glowEnableVertexArrayAttrib(gpEnableVertexArrayAttrib, (C.GLuint)(vaobj), (C.GLuint)(index))\n}", ...
[ "0.7055345", "0.6961801", "0.6961801", "0.6763308", "0.66961026", "0.66961026", "0.636282", "0.62692064", "0.6207204", "0.6129912", "0.60076565", "0.60076565", "0.5986675", "0.59745425", "0.59459025", "0.59237194", "0.59237194", "0.5883715", "0.58829445", "0.57163274", "0.566...
0.5729264
20
launch one or more compute work groups
func DispatchCompute(num_groups_x uint32, num_groups_y uint32, num_groups_z uint32) { C.glowDispatchCompute(gpDispatchCompute, (C.GLuint)(num_groups_x), (C.GLuint)(num_groups_y), (C.GLuint)(num_groups_z)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (g groupWork) Run(job Job, ctx *Ctx) (interface{}, error) {\n\tgrp := NewGroup()\n\n\tgrp.Add(ctx.Do(NewJob(\"generic\", \"first\")))\n\tgrp.Add(ctx.Do(NewJob(\"generic\", \"group work\")))\n\tgrp.Add(ctx.Do(NewJob(\"generic\", \"group work\")))\n\tgrp.Add(ctx.Do(NewJob(\"generic\", \"group work\")))\n\tgrp.A...
[ "0.5855956", "0.5539021", "0.5518462", "0.5349718", "0.52923316", "0.52664375", "0.52058583", "0.51346374", "0.5120773", "0.5109735", "0.50071603", "0.50051606", "0.50031", "0.49959472", "0.49800986", "0.49717084", "0.4941504", "0.49303105", "0.49103543", "0.4906122", "0.4898...
0.4882078
24
launch one or more compute work groups using parameters stored in a buffer
func DispatchComputeIndirect(indirect int) { C.glowDispatchComputeIndirect(gpDispatchComputeIndirect, (C.GLintptr)(indirect)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (g groupWork) Run(job Job, ctx *Ctx) (interface{}, error) {\n\tgrp := NewGroup()\n\n\tgrp.Add(ctx.Do(NewJob(\"generic\", \"first\")))\n\tgrp.Add(ctx.Do(NewJob(\"generic\", \"group work\")))\n\tgrp.Add(ctx.Do(NewJob(\"generic\", \"group work\")))\n\tgrp.Add(ctx.Do(NewJob(\"generic\", \"group work\")))\n\tgrp.A...
[ "0.55626047", "0.5562137", "0.5266236", "0.5253545", "0.51667637", "0.5161495", "0.51379347", "0.51379347", "0.5066979", "0.50624967", "0.50232434", "0.49888834", "0.4939983", "0.4909606", "0.4904584", "0.490034", "0.4868336", "0.4844424", "0.48417827", "0.4829529", "0.482868...
0.0
-1
render primitives from array data
func DrawArrays(mode uint32, first int32, count int32) { C.glowDrawArrays(gpDrawArrays, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func renderResults(vals []interface{}) Data {\n\tvar nilcount int\n\tvar obj interface{}\n\tfor _, val := range vals {\n\t\tswitch val.(type) {\n\t\tcase image.Image, Data:\n\t\t\tobj = val\n\t\tcase nil:\n\t\t\tnilcount++\n\t\t}\n\t}\n\tif obj != nil && nilcount == len(vals)-1 {\n\t\tswitch val := obj.(type) {\n\...
[ "0.5677658", "0.54087275", "0.53996444", "0.51956725", "0.5053413", "0.5053413", "0.4922043", "0.48884347", "0.48860678", "0.4875425", "0.48742798", "0.48109788", "0.47712785", "0.475496", "0.47488353", "0.4748101", "0.47426468", "0.4740473", "0.4735046", "0.47333843", "0.472...
0.0
-1
render primitives from array data, taking parameters from memory
func DrawArraysIndirect(mode uint32, indirect unsafe.Pointer) { C.glowDrawArraysIndirect(gpDrawArraysIndirect, (C.GLenum)(mode), indirect) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func renderResults(vals []interface{}) Data {\n\tvar nilcount int\n\tvar obj interface{}\n\tfor _, val := range vals {\n\t\tswitch val.(type) {\n\t\tcase image.Image, Data:\n\t\t\tobj = val\n\t\tcase nil:\n\t\t\tnilcount++\n\t\t}\n\t}\n\tif obj != nil && nilcount == len(vals)-1 {\n\t\tswitch val := obj.(type) {\n\...
[ "0.56156594", "0.5546596", "0.5306737", "0.5284355", "0.5284355", "0.52796394", "0.51517177", "0.5142914", "0.51102394", "0.5074229", "0.5061546", "0.5033242", "0.50011086", "0.4997596", "0.49925417", "0.49570242", "0.49398518", "0.49398518", "0.4935131", "0.4933747", "0.4932...
0.0
-1
draw multiple instances of a range of elements
func DrawArraysInstanced(mode uint32, first int32, count int32, instancecount int32) { C.glowDrawArraysInstanced(gpDrawArraysInstanced, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count), (C.GLsizei)(instancecount)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DrawRangeElements(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer) {\n\tsyscall.Syscall6(gpDrawRangeElements, 6, uintptr(mode), uintptr(start), uintptr(end), uintptr(count), uintptr(xtype), uintptr(indices))\n}", "func DrawRangeElements(mode uint32, start uint32, end...
[ "0.74719715", "0.7372992", "0.7144444", "0.7144444", "0.61725533", "0.61115545", "0.5939944", "0.5939944", "0.56722873", "0.5601583", "0.55610317", "0.5530758", "0.552006", "0.5507655", "0.54915684", "0.5479939", "0.5474564", "0.539954", "0.53972906", "0.5292056", "0.5290957"...
0.0
-1
draw multiple instances of a range of elements with offset applied to instanced attributes
func DrawArraysInstancedBaseInstance(mode uint32, first int32, count int32, instancecount int32, baseinstance uint32) { C.glowDrawArraysInstancedBaseInstance(gpDrawArraysInstancedBaseInstance, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count), (C.GLsizei)(instancecount), (C.GLuint)(baseinstance)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DrawRangeElements(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer) {\n\tsyscall.Syscall6(gpDrawRangeElements, 6, uintptr(mode), uintptr(start), uintptr(end), uintptr(count), uintptr(xtype), uintptr(indices))\n}", "func DrawRangeElements(mode uint32, start uint32, end...
[ "0.6728687", "0.65474373", "0.62239414", "0.62239414", "0.5633735", "0.5625187", "0.5568157", "0.5551031", "0.53338426", "0.5328232", "0.5328232", "0.5254491", "0.5203274", "0.5203274", "0.52012455", "0.5159294", "0.514889", "0.511174", "0.5052186", "0.5026192", "0.50244975",...
0.0
-1
specify which color buffers are to be drawn into
func DrawBuffer(buf uint32) { C.glowDrawBuffer(gpDrawBuffer, (C.GLenum)(buf)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DrawBuffers(n int32, bufs *uint32) {\n C.glowDrawBuffers(gpDrawBuffers, (C.GLsizei)(n), (*C.GLenum)(unsafe.Pointer(bufs)))\n}", "func DrawBuffer(mode uint32) {\n C.glowDrawBuffer(gpDrawBuffer, (C.GLenum)(mode))\n}", "func (f *Framebuffer) Paint(r vnclib.Rectangle, colors []vnclib.Color) {\n\tif glog.V(4...
[ "0.60221946", "0.5985975", "0.5961437", "0.5902902", "0.5872059", "0.5855895", "0.58178115", "0.58178115", "0.57595015", "0.5677492", "0.56419396", "0.5636856", "0.5631684", "0.56155914", "0.55035394", "0.5503148", "0.55008405", "0.5482445", "0.54687625", "0.54687625", "0.544...
0.5156084
46
Specifies a list of color buffers to be drawn into
func DrawBuffers(n int32, bufs *uint32) { C.glowDrawBuffers(gpDrawBuffers, (C.GLsizei)(n), (*C.GLenum)(unsafe.Pointer(bufs))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (f *Framebuffer) Paint(r vnclib.Rectangle, colors []vnclib.Color) {\n\tif glog.V(4) {\n\t\tglog.Info(venuelib.FnNameWithArgs(r.String(), \"colors\"))\n\t}\n\t// TODO(kward): Implement double or triple buffering to reduce paint\n\t// interference.\n\tfor x := 0; x < int(r.Width); x++ {\n\t\tfor y := 0; y < int...
[ "0.61454105", "0.61440235", "0.60909224", "0.59685224", "0.5965276", "0.59418094", "0.5908199", "0.5908036", "0.5782449", "0.578063", "0.57642007", "0.57231736", "0.5668462", "0.5654153", "0.56223226", "0.5614668", "0.5614668", "0.55978715", "0.55978715", "0.55281305", "0.550...
0.5949
6
render primitives from array data
func DrawElements(mode uint32, count int32, xtype uint32, indices unsafe.Pointer) { C.glowDrawElements(gpDrawElements, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func renderResults(vals []interface{}) Data {\n\tvar nilcount int\n\tvar obj interface{}\n\tfor _, val := range vals {\n\t\tswitch val.(type) {\n\t\tcase image.Image, Data:\n\t\t\tobj = val\n\t\tcase nil:\n\t\t\tnilcount++\n\t\t}\n\t}\n\tif obj != nil && nilcount == len(vals)-1 {\n\t\tswitch val := obj.(type) {\n\...
[ "0.56787425", "0.54101527", "0.5399384", "0.519561", "0.5053621", "0.5053621", "0.4920417", "0.48898092", "0.48869783", "0.4874677", "0.48738092", "0.4813202", "0.47689718", "0.47537965", "0.4749709", "0.47490627", "0.47416687", "0.47410572", "0.47369975", "0.4730121", "0.472...
0.0
-1
render primitives from array data with a perelement offset
func DrawElementsBaseVertex(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, basevertex int32) { C.glowDrawElementsBaseVertex(gpDrawElementsBaseVertex, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLint)(basevertex)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (native *OpenGL) DrawElementsOffset(mode uint32, count int32, elementType uint32, offset int) {\n\tgl.DrawElements(mode, count, elementType, gl.PtrOffset(offset))\n}", "func Interpret(data []byte, offset int) []byte {\n\tb:=make([]byte, len(data) * 2)\n\n\tfor i:=0; i<len(data); i++ {\n\t\tb[offset + i * 2]...
[ "0.585935", "0.52075523", "0.5084374", "0.50331354", "0.49324766", "0.49158472", "0.47837278", "0.47759205", "0.47650397", "0.47415584", "0.47280264", "0.4711649", "0.46952814", "0.46948847", "0.46581078", "0.46546912", "0.4645866", "0.4645866", "0.46294165", "0.4621351", "0....
0.0
-1
render indexed primitives from array data, taking parameters from memory
func DrawElementsIndirect(mode uint32, xtype uint32, indirect unsafe.Pointer) { C.glowDrawElementsIndirect(gpDrawElementsIndirect, (C.GLenum)(mode), (C.GLenum)(xtype), indirect) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (obj *Device) DrawIndexedPrimitive(\n\ttyp PRIMITIVETYPE,\n\tbaseVertexIndex int,\n\tminIndex uint,\n\tnumVertices uint,\n\tstartIndex uint,\n\tprimitiveCount uint,\n) Error {\n\tret, _, _ := syscall.Syscall9(\n\t\tobj.vtbl.DrawIndexedPrimitive,\n\t\t7,\n\t\tuintptr(unsafe.Pointer(obj)),\n\t\tuintptr(typ),\n\...
[ "0.58143914", "0.5476799", "0.5437336", "0.5236039", "0.5156183", "0.50605226", "0.5040222", "0.5035074", "0.49717593", "0.49628866", "0.49624538", "0.49329838", "0.49272525", "0.49233818", "0.4923174", "0.4923174", "0.4904283", "0.48979342", "0.48739874", "0.48523787", "0.48...
0.0
-1
draw multiple instances of a set of elements
func DrawElementsInstanced(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32) { C.glowDrawElementsInstanced(gpDrawElementsInstanced, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(instancecount)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func MultiDrawElements(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, drawcount int32) {\n\tsyscall.Syscall6(gpMultiDrawElements, 5, uintptr(mode), uintptr(unsafe.Pointer(count)), uintptr(xtype), uintptr(unsafe.Pointer(indices)), uintptr(drawcount), 0)\n}", "func DrawElements(mode uint32, coun...
[ "0.6490418", "0.6415478", "0.6394806", "0.63552046", "0.62872607", "0.6254875", "0.6156781", "0.6156781", "0.61106503", "0.59773797", "0.59773797", "0.59211403", "0.57765806", "0.5751231", "0.56548256", "0.56237483", "0.5605063", "0.55854434", "0.55854434", "0.5567551", "0.55...
0.62328726
7
draw multiple instances of a set of elements with offset applied to instanced attributes
func DrawElementsInstancedBaseInstance(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, baseinstance uint32) { C.glowDrawElementsInstancedBaseInstance(gpDrawElementsInstancedBaseInstance, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(instancecount), (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func DrawElementsInstanced(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32) {\n C.glowDrawElementsInstanced(gpDrawElementsInstanced, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(instancecount))\n}", "func (native *OpenGL) DrawElementsOffset(mo...
[ "0.61038804", "0.6086155", "0.5807149", "0.5807149", "0.57068485", "0.5668647", "0.5624247", "0.56164867", "0.5479857", "0.5477363", "0.5458208", "0.544725", "0.5401758", "0.53967667", "0.5380434", "0.5312088", "0.52309155", "0.52130467", "0.52130467", "0.51633734", "0.516337...
0.5248834
17
render multiple instances of a set of primitives from array data with a perelement offset
func DrawElementsInstancedBaseVertex(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, basevertex int32) { C.glowDrawElementsInstancedBaseVertex(gpDrawElementsInstancedBaseVertex, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(instancecount), (C.GLint)(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (native *OpenGL) DrawElementsOffset(mode uint32, count int32, elementType uint32, offset int) {\n\tgl.DrawElements(mode, count, elementType, gl.PtrOffset(offset))\n}", "func MultiDrawElements(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, drawcount int32) {\n\tsyscall.Syscall6(gpMultiDraw...
[ "0.58243454", "0.5544395", "0.54911256", "0.54487693", "0.53604776", "0.5310812", "0.5264226", "0.522527", "0.5085831", "0.5066126", "0.50333935", "0.5001849", "0.5001849", "0.5000811", "0.49644095", "0.49644095", "0.49198684", "0.49170095", "0.48656785", "0.4855901", "0.4825...
0.4443873
55
render multiple instances of a set of primitives from array data with a perelement offset
func DrawElementsInstancedBaseVertexBaseInstance(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, basevertex int32, baseinstance uint32) { C.glowDrawElementsInstancedBaseVertexBaseInstance(gpDrawElementsInstancedBaseVertexBaseInstance, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (native *OpenGL) DrawElementsOffset(mode uint32, count int32, elementType uint32, offset int) {\n\tgl.DrawElements(mode, count, elementType, gl.PtrOffset(offset))\n}", "func MultiDrawElements(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, drawcount int32) {\n\tsyscall.Syscall6(gpMultiDraw...
[ "0.58254796", "0.55457896", "0.5491724", "0.54487765", "0.53611845", "0.53119296", "0.526528", "0.5225026", "0.50852615", "0.50653845", "0.5035245", "0.5002186", "0.5002186", "0.5001671", "0.49654457", "0.49654457", "0.49188524", "0.49179405", "0.48677424", "0.48568487", "0.4...
0.0
-1
write a block of pixels to the frame buffer
func DrawPixels(width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { C.glowDrawPixels(gpDrawPixels, (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func putPixel(screen []byte, color color, x int, y int) {\n\tscreenX := (windowWidth / 2) + x\n\tscreenY := (windowHeight / 2) - y - 1\n\tbase := (screenY*windowWidth + screenX) * 4\n\tscreen[base] = color.r\n\tscreen[base+1] = color.g\n\tscreen[base+2] = color.b\n\tscreen[base+3] = 0xFF\n\tscreen[0] = 0xFF\n}", ...
[ "0.6357358", "0.62441885", "0.62223816", "0.6217486", "0.6097679", "0.58984864", "0.56547713", "0.5644312", "0.5644312", "0.56073695", "0.5579061", "0.5522711", "0.5476901", "0.540433", "0.5395827", "0.5359163", "0.5292596", "0.5232991", "0.52218676", "0.5205745", "0.51927984...
0.51807594
22
render primitives from array data
func DrawRangeElements(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer) { C.glowDrawRangeElements(gpDrawRangeElements, (C.GLenum)(mode), (C.GLuint)(start), (C.GLuint)(end), (C.GLsizei)(count), (C.GLenum)(xtype), indices) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func renderResults(vals []interface{}) Data {\n\tvar nilcount int\n\tvar obj interface{}\n\tfor _, val := range vals {\n\t\tswitch val.(type) {\n\t\tcase image.Image, Data:\n\t\t\tobj = val\n\t\tcase nil:\n\t\t\tnilcount++\n\t\t}\n\t}\n\tif obj != nil && nilcount == len(vals)-1 {\n\t\tswitch val := obj.(type) {\n\...
[ "0.56787425", "0.54101527", "0.5399384", "0.519561", "0.5053621", "0.5053621", "0.4920417", "0.48898092", "0.48869783", "0.4874677", "0.48738092", "0.4813202", "0.47689718", "0.47537965", "0.4749709", "0.47490627", "0.47416687", "0.47410572", "0.47369975", "0.4730121", "0.472...
0.0
-1
render primitives from array data with a perelement offset
func DrawRangeElementsBaseVertex(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer, basevertex int32) { C.glowDrawRangeElementsBaseVertex(gpDrawRangeElementsBaseVertex, (C.GLenum)(mode), (C.GLuint)(start), (C.GLuint)(end), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLint)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (native *OpenGL) DrawElementsOffset(mode uint32, count int32, elementType uint32, offset int) {\n\tgl.DrawElements(mode, count, elementType, gl.PtrOffset(offset))\n}", "func Interpret(data []byte, offset int) []byte {\n\tb:=make([]byte, len(data) * 2)\n\n\tfor i:=0; i<len(data); i++ {\n\t\tb[offset + i * 2]...
[ "0.585935", "0.52075523", "0.5084374", "0.50331354", "0.49324766", "0.49158472", "0.47837278", "0.47759205", "0.47650397", "0.47415584", "0.47280264", "0.4711649", "0.46952814", "0.46948847", "0.46581078", "0.46546912", "0.4645866", "0.4645866", "0.46294165", "0.4621351", "0....
0.4187597
97
render primitives using a count derived from a transform feedback object
func DrawTransformFeedback(mode uint32, id uint32) { C.glowDrawTransformFeedback(gpDrawTransformFeedback, (C.GLenum)(mode), (C.GLuint)(id)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (sr scoresRenderer) Render() string {\n\tbuffer := bytes.Buffer{}\n\tlast := len(sr.scores) - 1\n\tfor i, score := range sr.scores {\n\t\tbuffer.WriteString(fmt.Sprintf(\"%d\", score))\n\t\tif i != last {\n\t\t\tbuffer.WriteString(\" / \")\n\t\t}\n\t}\n\treturn buffer.String()\n}", "func (r *Renderer) Rende...
[ "0.5529045", "0.5277186", "0.52506244", "0.52506244", "0.5233859", "0.51651615", "0.5122963", "0.502615", "0.49615052", "0.4918426", "0.4897997", "0.48911527", "0.4891093", "0.48816442", "0.4871372", "0.48440495", "0.48364767", "0.4833455", "0.48106322", "0.47945023", "0.4779...
0.0
-1
render multiple instances of primitives using a count derived from a transform feedback object
func DrawTransformFeedbackInstanced(mode uint32, id uint32, instancecount int32) { C.glowDrawTransformFeedbackInstanced(gpDrawTransformFeedbackInstanced, (C.GLenum)(mode), (C.GLuint)(id), (C.GLsizei)(instancecount)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r *Renderer) Render() {\n\tsx, sz, sy := r.c.Bounds()\n\tsxf := float64(sx - 1)\n\tsyf := float64(sy - 1)\n\tszf := float64(sz - 1)\n\tfor z := 0; z < sz; z++ {\n\t\tfor y := 0; y < sy; y++ {\n\t\t\tfor x := 0; x < sx; x++ {\n\t\t\t\tvar lr, lg, lb, _ uint32\n\t\t\t\tn := uint32(0)\n\t\t\t\tfor _, o := range...
[ "0.53467345", "0.52888364", "0.50767916", "0.5061459", "0.50110304", "0.49880037", "0.49360347", "0.49106398", "0.4893051", "0.48858562", "0.48646283", "0.48580134", "0.4843767", "0.4843767", "0.48125756", "0.48003402", "0.4795453", "0.47788283", "0.47759438", "0.4756125", "0...
0.0
-1
render primitives using a count derived from a specifed stream of a transform feedback object
func DrawTransformFeedbackStream(mode uint32, id uint32, stream uint32) { C.glowDrawTransformFeedbackStream(gpDrawTransformFeedbackStream, (C.GLenum)(mode), (C.GLuint)(id), (C.GLuint)(stream)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e *rawData) Render(w io.Writer) (int, error) { return w.Write([]byte(e.content)) }", "func (rf RendererFunc) Render(w io.Writer, v interface{}) error { return rf(w, v) }", "func render(fset *token.FileSet, x interface{}) string {\n\tvar buf bytes.Buffer\n\tif err := printer.Fprint(&buf, fset, x); err != ...
[ "0.54971063", "0.5156556", "0.5075233", "0.5075233", "0.5070006", "0.50181854", "0.4983393", "0.49248007", "0.48812094", "0.48550126", "0.48525667", "0.48004407", "0.4753193", "0.4732827", "0.4729256", "0.47229594", "0.47207427", "0.47133744", "0.470725", "0.47026896", "0.467...
0.0
-1
render multiple instances of primitives using a count derived from a specifed stream of a transform feedback object
func DrawTransformFeedbackStreamInstanced(mode uint32, id uint32, stream uint32, instancecount int32) { C.glowDrawTransformFeedbackStreamInstanced(gpDrawTransformFeedbackStreamInstanced, (C.GLenum)(mode), (C.GLuint)(id), (C.GLuint)(stream), (C.GLsizei)(instancecount)) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (self *StraightLineTrack) Render(render chan Object) {\n\tfor _, val := range self.Childs() {\n\t\trender <- val\n\t}\n}", "func (p *Processor) Render() vdom.Element {\n\tmaxConnectors := p.ProcessorDefinition.MaxConnectors()\n\tprocName := p.ProcessorDefinition.Name\n\tprocDefName, procInputs, procOutputs,...
[ "0.5151113", "0.5004257", "0.49938148", "0.4990763", "0.4976607", "0.4951048", "0.49248818", "0.4916577", "0.4866774", "0.4800929", "0.47981137", "0.47981137", "0.47901735", "0.4756205", "0.46942908", "0.46894792", "0.46840665", "0.4677495", "0.4675726", "0.46637085", "0.4662...
0.0
-1
Parameter image has type C.GLeglImageOES.
func EGLImageTargetTexStorageEXT(target uint32, image unsafe.Pointer, attrib_list *int32) { C.glowEGLImageTargetTexStorageEXT(gpEGLImageTargetTexStorageEXT, (C.GLenum)(target), (C.GLeglImageOES)(image), (*C.GLint)(unsafe.Pointer(attrib_list))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func EGLImageTargetTextureStorageEXT(texture uint32, image unsafe.Pointer, attrib_list *int32) {\n\tC.glowEGLImageTargetTextureStorageEXT(gpEGLImageTargetTextureStorageEXT, (C.GLuint)(texture), (C.GLeglImageOES)(image), (*C.GLint)(unsafe.Pointer(attrib_list)))\n}", "func EGLImageTargetTextureStorageEXT(texture u...
[ "0.5778349", "0.5778349", "0.5703757", "0.56748", "0.56483406", "0.56117815", "0.55883145", "0.55622244", "0.55443203", "0.54496926", "0.5444753", "0.5422649", "0.5418509", "0.54089665", "0.538006", "0.53633386", "0.5346996", "0.5344023", "0.5328263", "0.5328263", "0.53250116...
0.55393356
10
Parameter image has type C.GLeglImageOES.
func EGLImageTargetTextureStorageEXT(texture uint32, image unsafe.Pointer, attrib_list *int32) { C.glowEGLImageTargetTextureStorageEXT(gpEGLImageTargetTextureStorageEXT, (C.GLuint)(texture), (C.GLeglImageOES)(image), (*C.GLint)(unsafe.Pointer(attrib_list))) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GetTexParameterfv(target Enum, pname Enum, params []Float) {\n\tctarget, _ := (C.GLenum)(target), cgoAllocsUnknown\n\tcpname, _ := (C.GLenum)(pname), cgoAllocsUnknown\n\tcparams, _ := (*C.GLfloat)(unsafe.Pointer((*sliceHeader)(unsafe.Pointer(&params)).Data)), cgoAllocsUnknown\n\tC.glGetTexParameterfv(ctarget,...
[ "0.5703575", "0.5673022", "0.5646862", "0.5610714", "0.55872226", "0.55618536", "0.55437726", "0.55379856", "0.55379856", "0.5449579", "0.5444548", "0.5423716", "0.5417828", "0.5409993", "0.537816", "0.53615034", "0.5347774", "0.53440773", "0.532743", "0.532743", "0.5324721",...
0.5777002
1