1*35238bceSAndroid Build Coastguard Worker/* WARNING: This is auto-generated file. Do not modify, since changes will 2*35238bceSAndroid Build Coastguard Worker * be lost! Modify the generating script instead. 3*35238bceSAndroid Build Coastguard Worker * 4*35238bceSAndroid Build Coastguard Worker * Generated from Khronos GL API description (gl.xml) revision d8371b44919d61c02e60f446a4b5461fda910f71. 5*35238bceSAndroid Build Coastguard Worker */ 6*35238bceSAndroid Build Coastguard Worker 7*35238bceSAndroid Build Coastguard Workervoid glwActiveShaderProgram (GLuint pipeline, GLuint program) 8*35238bceSAndroid Build Coastguard Worker{ 9*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 10*35238bceSAndroid Build Coastguard Worker if (!gl) 11*35238bceSAndroid Build Coastguard Worker return; 12*35238bceSAndroid Build Coastguard Worker gl->activeShaderProgram(pipeline, program); 13*35238bceSAndroid Build Coastguard Worker} 14*35238bceSAndroid Build Coastguard Worker 15*35238bceSAndroid Build Coastguard Workervoid glwActiveTexture (GLenum texture) 16*35238bceSAndroid Build Coastguard Worker{ 17*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 18*35238bceSAndroid Build Coastguard Worker if (!gl) 19*35238bceSAndroid Build Coastguard Worker return; 20*35238bceSAndroid Build Coastguard Worker gl->activeTexture(texture); 21*35238bceSAndroid Build Coastguard Worker} 22*35238bceSAndroid Build Coastguard Worker 23*35238bceSAndroid Build Coastguard Workervoid glwAttachShader (GLuint program, GLuint shader) 24*35238bceSAndroid Build Coastguard Worker{ 25*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 26*35238bceSAndroid Build Coastguard Worker if (!gl) 27*35238bceSAndroid Build Coastguard Worker return; 28*35238bceSAndroid Build Coastguard Worker gl->attachShader(program, shader); 29*35238bceSAndroid Build Coastguard Worker} 30*35238bceSAndroid Build Coastguard Worker 31*35238bceSAndroid Build Coastguard Workervoid glwBeginConditionalRender (GLuint id, GLenum mode) 32*35238bceSAndroid Build Coastguard Worker{ 33*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 34*35238bceSAndroid Build Coastguard Worker if (!gl) 35*35238bceSAndroid Build Coastguard Worker return; 36*35238bceSAndroid Build Coastguard Worker gl->beginConditionalRender(id, mode); 37*35238bceSAndroid Build Coastguard Worker} 38*35238bceSAndroid Build Coastguard Worker 39*35238bceSAndroid Build Coastguard Workervoid glwBeginQuery (GLenum target, GLuint id) 40*35238bceSAndroid Build Coastguard Worker{ 41*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 42*35238bceSAndroid Build Coastguard Worker if (!gl) 43*35238bceSAndroid Build Coastguard Worker return; 44*35238bceSAndroid Build Coastguard Worker gl->beginQuery(target, id); 45*35238bceSAndroid Build Coastguard Worker} 46*35238bceSAndroid Build Coastguard Worker 47*35238bceSAndroid Build Coastguard Workervoid glwBeginQueryIndexed (GLenum target, GLuint index, GLuint id) 48*35238bceSAndroid Build Coastguard Worker{ 49*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 50*35238bceSAndroid Build Coastguard Worker if (!gl) 51*35238bceSAndroid Build Coastguard Worker return; 52*35238bceSAndroid Build Coastguard Worker gl->beginQueryIndexed(target, index, id); 53*35238bceSAndroid Build Coastguard Worker} 54*35238bceSAndroid Build Coastguard Worker 55*35238bceSAndroid Build Coastguard Workervoid glwBeginTransformFeedback (GLenum primitiveMode) 56*35238bceSAndroid Build Coastguard Worker{ 57*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 58*35238bceSAndroid Build Coastguard Worker if (!gl) 59*35238bceSAndroid Build Coastguard Worker return; 60*35238bceSAndroid Build Coastguard Worker gl->beginTransformFeedback(primitiveMode); 61*35238bceSAndroid Build Coastguard Worker} 62*35238bceSAndroid Build Coastguard Worker 63*35238bceSAndroid Build Coastguard Workervoid glwBindAttribLocation (GLuint program, GLuint index, const GLchar *name) 64*35238bceSAndroid Build Coastguard Worker{ 65*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 66*35238bceSAndroid Build Coastguard Worker if (!gl) 67*35238bceSAndroid Build Coastguard Worker return; 68*35238bceSAndroid Build Coastguard Worker gl->bindAttribLocation(program, index, name); 69*35238bceSAndroid Build Coastguard Worker} 70*35238bceSAndroid Build Coastguard Worker 71*35238bceSAndroid Build Coastguard Workervoid glwBindBuffer (GLenum target, GLuint buffer) 72*35238bceSAndroid Build Coastguard Worker{ 73*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 74*35238bceSAndroid Build Coastguard Worker if (!gl) 75*35238bceSAndroid Build Coastguard Worker return; 76*35238bceSAndroid Build Coastguard Worker gl->bindBuffer(target, buffer); 77*35238bceSAndroid Build Coastguard Worker} 78*35238bceSAndroid Build Coastguard Worker 79*35238bceSAndroid Build Coastguard Workervoid glwBindBufferBase (GLenum target, GLuint index, GLuint buffer) 80*35238bceSAndroid Build Coastguard Worker{ 81*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 82*35238bceSAndroid Build Coastguard Worker if (!gl) 83*35238bceSAndroid Build Coastguard Worker return; 84*35238bceSAndroid Build Coastguard Worker gl->bindBufferBase(target, index, buffer); 85*35238bceSAndroid Build Coastguard Worker} 86*35238bceSAndroid Build Coastguard Worker 87*35238bceSAndroid Build Coastguard Workervoid glwBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) 88*35238bceSAndroid Build Coastguard Worker{ 89*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 90*35238bceSAndroid Build Coastguard Worker if (!gl) 91*35238bceSAndroid Build Coastguard Worker return; 92*35238bceSAndroid Build Coastguard Worker gl->bindBufferRange(target, index, buffer, offset, size); 93*35238bceSAndroid Build Coastguard Worker} 94*35238bceSAndroid Build Coastguard Worker 95*35238bceSAndroid Build Coastguard Workervoid glwBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers) 96*35238bceSAndroid Build Coastguard Worker{ 97*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 98*35238bceSAndroid Build Coastguard Worker if (!gl) 99*35238bceSAndroid Build Coastguard Worker return; 100*35238bceSAndroid Build Coastguard Worker gl->bindBuffersBase(target, first, count, buffers); 101*35238bceSAndroid Build Coastguard Worker} 102*35238bceSAndroid Build Coastguard Worker 103*35238bceSAndroid Build Coastguard Workervoid glwBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes) 104*35238bceSAndroid Build Coastguard Worker{ 105*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 106*35238bceSAndroid Build Coastguard Worker if (!gl) 107*35238bceSAndroid Build Coastguard Worker return; 108*35238bceSAndroid Build Coastguard Worker gl->bindBuffersRange(target, first, count, buffers, offsets, sizes); 109*35238bceSAndroid Build Coastguard Worker} 110*35238bceSAndroid Build Coastguard Worker 111*35238bceSAndroid Build Coastguard Workervoid glwBindFragDataLocation (GLuint program, GLuint color, const GLchar *name) 112*35238bceSAndroid Build Coastguard Worker{ 113*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 114*35238bceSAndroid Build Coastguard Worker if (!gl) 115*35238bceSAndroid Build Coastguard Worker return; 116*35238bceSAndroid Build Coastguard Worker gl->bindFragDataLocation(program, color, name); 117*35238bceSAndroid Build Coastguard Worker} 118*35238bceSAndroid Build Coastguard Worker 119*35238bceSAndroid Build Coastguard Workervoid glwBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name) 120*35238bceSAndroid Build Coastguard Worker{ 121*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 122*35238bceSAndroid Build Coastguard Worker if (!gl) 123*35238bceSAndroid Build Coastguard Worker return; 124*35238bceSAndroid Build Coastguard Worker gl->bindFragDataLocationIndexed(program, colorNumber, index, name); 125*35238bceSAndroid Build Coastguard Worker} 126*35238bceSAndroid Build Coastguard Worker 127*35238bceSAndroid Build Coastguard Workervoid glwBindFramebuffer (GLenum target, GLuint framebuffer) 128*35238bceSAndroid Build Coastguard Worker{ 129*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 130*35238bceSAndroid Build Coastguard Worker if (!gl) 131*35238bceSAndroid Build Coastguard Worker return; 132*35238bceSAndroid Build Coastguard Worker gl->bindFramebuffer(target, framebuffer); 133*35238bceSAndroid Build Coastguard Worker} 134*35238bceSAndroid Build Coastguard Worker 135*35238bceSAndroid Build Coastguard Workervoid glwBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format) 136*35238bceSAndroid Build Coastguard Worker{ 137*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 138*35238bceSAndroid Build Coastguard Worker if (!gl) 139*35238bceSAndroid Build Coastguard Worker return; 140*35238bceSAndroid Build Coastguard Worker gl->bindImageTexture(unit, texture, level, layered, layer, access, format); 141*35238bceSAndroid Build Coastguard Worker} 142*35238bceSAndroid Build Coastguard Worker 143*35238bceSAndroid Build Coastguard Workervoid glwBindImageTextures (GLuint first, GLsizei count, const GLuint *textures) 144*35238bceSAndroid Build Coastguard Worker{ 145*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 146*35238bceSAndroid Build Coastguard Worker if (!gl) 147*35238bceSAndroid Build Coastguard Worker return; 148*35238bceSAndroid Build Coastguard Worker gl->bindImageTextures(first, count, textures); 149*35238bceSAndroid Build Coastguard Worker} 150*35238bceSAndroid Build Coastguard Worker 151*35238bceSAndroid Build Coastguard Workervoid glwBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture) 152*35238bceSAndroid Build Coastguard Worker{ 153*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 154*35238bceSAndroid Build Coastguard Worker if (!gl) 155*35238bceSAndroid Build Coastguard Worker return; 156*35238bceSAndroid Build Coastguard Worker gl->bindMultiTextureEXT(texunit, target, texture); 157*35238bceSAndroid Build Coastguard Worker} 158*35238bceSAndroid Build Coastguard Worker 159*35238bceSAndroid Build Coastguard Workervoid glwBindProgramPipeline (GLuint pipeline) 160*35238bceSAndroid Build Coastguard Worker{ 161*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 162*35238bceSAndroid Build Coastguard Worker if (!gl) 163*35238bceSAndroid Build Coastguard Worker return; 164*35238bceSAndroid Build Coastguard Worker gl->bindProgramPipeline(pipeline); 165*35238bceSAndroid Build Coastguard Worker} 166*35238bceSAndroid Build Coastguard Worker 167*35238bceSAndroid Build Coastguard Workervoid glwBindRenderbuffer (GLenum target, GLuint renderbuffer) 168*35238bceSAndroid Build Coastguard Worker{ 169*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 170*35238bceSAndroid Build Coastguard Worker if (!gl) 171*35238bceSAndroid Build Coastguard Worker return; 172*35238bceSAndroid Build Coastguard Worker gl->bindRenderbuffer(target, renderbuffer); 173*35238bceSAndroid Build Coastguard Worker} 174*35238bceSAndroid Build Coastguard Worker 175*35238bceSAndroid Build Coastguard Workervoid glwBindSampler (GLuint unit, GLuint sampler) 176*35238bceSAndroid Build Coastguard Worker{ 177*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 178*35238bceSAndroid Build Coastguard Worker if (!gl) 179*35238bceSAndroid Build Coastguard Worker return; 180*35238bceSAndroid Build Coastguard Worker gl->bindSampler(unit, sampler); 181*35238bceSAndroid Build Coastguard Worker} 182*35238bceSAndroid Build Coastguard Worker 183*35238bceSAndroid Build Coastguard Workervoid glwBindSamplers (GLuint first, GLsizei count, const GLuint *samplers) 184*35238bceSAndroid Build Coastguard Worker{ 185*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 186*35238bceSAndroid Build Coastguard Worker if (!gl) 187*35238bceSAndroid Build Coastguard Worker return; 188*35238bceSAndroid Build Coastguard Worker gl->bindSamplers(first, count, samplers); 189*35238bceSAndroid Build Coastguard Worker} 190*35238bceSAndroid Build Coastguard Worker 191*35238bceSAndroid Build Coastguard Workervoid glwBindTexture (GLenum target, GLuint texture) 192*35238bceSAndroid Build Coastguard Worker{ 193*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 194*35238bceSAndroid Build Coastguard Worker if (!gl) 195*35238bceSAndroid Build Coastguard Worker return; 196*35238bceSAndroid Build Coastguard Worker gl->bindTexture(target, texture); 197*35238bceSAndroid Build Coastguard Worker} 198*35238bceSAndroid Build Coastguard Worker 199*35238bceSAndroid Build Coastguard Workervoid glwBindTextureUnit (GLuint unit, GLuint texture) 200*35238bceSAndroid Build Coastguard Worker{ 201*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 202*35238bceSAndroid Build Coastguard Worker if (!gl) 203*35238bceSAndroid Build Coastguard Worker return; 204*35238bceSAndroid Build Coastguard Worker gl->bindTextureUnit(unit, texture); 205*35238bceSAndroid Build Coastguard Worker} 206*35238bceSAndroid Build Coastguard Worker 207*35238bceSAndroid Build Coastguard Workervoid glwBindTextures (GLuint first, GLsizei count, const GLuint *textures) 208*35238bceSAndroid Build Coastguard Worker{ 209*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 210*35238bceSAndroid Build Coastguard Worker if (!gl) 211*35238bceSAndroid Build Coastguard Worker return; 212*35238bceSAndroid Build Coastguard Worker gl->bindTextures(first, count, textures); 213*35238bceSAndroid Build Coastguard Worker} 214*35238bceSAndroid Build Coastguard Worker 215*35238bceSAndroid Build Coastguard Workervoid glwBindTransformFeedback (GLenum target, GLuint id) 216*35238bceSAndroid Build Coastguard Worker{ 217*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 218*35238bceSAndroid Build Coastguard Worker if (!gl) 219*35238bceSAndroid Build Coastguard Worker return; 220*35238bceSAndroid Build Coastguard Worker gl->bindTransformFeedback(target, id); 221*35238bceSAndroid Build Coastguard Worker} 222*35238bceSAndroid Build Coastguard Worker 223*35238bceSAndroid Build Coastguard Workervoid glwBindVertexArray (GLuint array) 224*35238bceSAndroid Build Coastguard Worker{ 225*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 226*35238bceSAndroid Build Coastguard Worker if (!gl) 227*35238bceSAndroid Build Coastguard Worker return; 228*35238bceSAndroid Build Coastguard Worker gl->bindVertexArray(array); 229*35238bceSAndroid Build Coastguard Worker} 230*35238bceSAndroid Build Coastguard Worker 231*35238bceSAndroid Build Coastguard Workervoid glwBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) 232*35238bceSAndroid Build Coastguard Worker{ 233*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 234*35238bceSAndroid Build Coastguard Worker if (!gl) 235*35238bceSAndroid Build Coastguard Worker return; 236*35238bceSAndroid Build Coastguard Worker gl->bindVertexBuffer(bindingindex, buffer, offset, stride); 237*35238bceSAndroid Build Coastguard Worker} 238*35238bceSAndroid Build Coastguard Worker 239*35238bceSAndroid Build Coastguard Workervoid glwBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides) 240*35238bceSAndroid Build Coastguard Worker{ 241*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 242*35238bceSAndroid Build Coastguard Worker if (!gl) 243*35238bceSAndroid Build Coastguard Worker return; 244*35238bceSAndroid Build Coastguard Worker gl->bindVertexBuffers(first, count, buffers, offsets, strides); 245*35238bceSAndroid Build Coastguard Worker} 246*35238bceSAndroid Build Coastguard Worker 247*35238bceSAndroid Build Coastguard Workervoid glwBlendBarrier (void) 248*35238bceSAndroid Build Coastguard Worker{ 249*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 250*35238bceSAndroid Build Coastguard Worker if (!gl) 251*35238bceSAndroid Build Coastguard Worker return; 252*35238bceSAndroid Build Coastguard Worker gl->blendBarrier(); 253*35238bceSAndroid Build Coastguard Worker} 254*35238bceSAndroid Build Coastguard Worker 255*35238bceSAndroid Build Coastguard Workervoid glwBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) 256*35238bceSAndroid Build Coastguard Worker{ 257*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 258*35238bceSAndroid Build Coastguard Worker if (!gl) 259*35238bceSAndroid Build Coastguard Worker return; 260*35238bceSAndroid Build Coastguard Worker gl->blendColor(red, green, blue, alpha); 261*35238bceSAndroid Build Coastguard Worker} 262*35238bceSAndroid Build Coastguard Worker 263*35238bceSAndroid Build Coastguard Workervoid glwBlendEquation (GLenum mode) 264*35238bceSAndroid Build Coastguard Worker{ 265*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 266*35238bceSAndroid Build Coastguard Worker if (!gl) 267*35238bceSAndroid Build Coastguard Worker return; 268*35238bceSAndroid Build Coastguard Worker gl->blendEquation(mode); 269*35238bceSAndroid Build Coastguard Worker} 270*35238bceSAndroid Build Coastguard Worker 271*35238bceSAndroid Build Coastguard Workervoid glwBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) 272*35238bceSAndroid Build Coastguard Worker{ 273*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 274*35238bceSAndroid Build Coastguard Worker if (!gl) 275*35238bceSAndroid Build Coastguard Worker return; 276*35238bceSAndroid Build Coastguard Worker gl->blendEquationSeparate(modeRGB, modeAlpha); 277*35238bceSAndroid Build Coastguard Worker} 278*35238bceSAndroid Build Coastguard Worker 279*35238bceSAndroid Build Coastguard Workervoid glwBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha) 280*35238bceSAndroid Build Coastguard Worker{ 281*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 282*35238bceSAndroid Build Coastguard Worker if (!gl) 283*35238bceSAndroid Build Coastguard Worker return; 284*35238bceSAndroid Build Coastguard Worker gl->blendEquationSeparatei(buf, modeRGB, modeAlpha); 285*35238bceSAndroid Build Coastguard Worker} 286*35238bceSAndroid Build Coastguard Worker 287*35238bceSAndroid Build Coastguard Workervoid glwBlendEquationi (GLuint buf, GLenum mode) 288*35238bceSAndroid Build Coastguard Worker{ 289*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 290*35238bceSAndroid Build Coastguard Worker if (!gl) 291*35238bceSAndroid Build Coastguard Worker return; 292*35238bceSAndroid Build Coastguard Worker gl->blendEquationi(buf, mode); 293*35238bceSAndroid Build Coastguard Worker} 294*35238bceSAndroid Build Coastguard Worker 295*35238bceSAndroid Build Coastguard Workervoid glwBlendFunc (GLenum sfactor, GLenum dfactor) 296*35238bceSAndroid Build Coastguard Worker{ 297*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 298*35238bceSAndroid Build Coastguard Worker if (!gl) 299*35238bceSAndroid Build Coastguard Worker return; 300*35238bceSAndroid Build Coastguard Worker gl->blendFunc(sfactor, dfactor); 301*35238bceSAndroid Build Coastguard Worker} 302*35238bceSAndroid Build Coastguard Worker 303*35238bceSAndroid Build Coastguard Workervoid glwBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) 304*35238bceSAndroid Build Coastguard Worker{ 305*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 306*35238bceSAndroid Build Coastguard Worker if (!gl) 307*35238bceSAndroid Build Coastguard Worker return; 308*35238bceSAndroid Build Coastguard Worker gl->blendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); 309*35238bceSAndroid Build Coastguard Worker} 310*35238bceSAndroid Build Coastguard Worker 311*35238bceSAndroid Build Coastguard Workervoid glwBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) 312*35238bceSAndroid Build Coastguard Worker{ 313*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 314*35238bceSAndroid Build Coastguard Worker if (!gl) 315*35238bceSAndroid Build Coastguard Worker return; 316*35238bceSAndroid Build Coastguard Worker gl->blendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); 317*35238bceSAndroid Build Coastguard Worker} 318*35238bceSAndroid Build Coastguard Worker 319*35238bceSAndroid Build Coastguard Workervoid glwBlendFunci (GLuint buf, GLenum src, GLenum dst) 320*35238bceSAndroid Build Coastguard Worker{ 321*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 322*35238bceSAndroid Build Coastguard Worker if (!gl) 323*35238bceSAndroid Build Coastguard Worker return; 324*35238bceSAndroid Build Coastguard Worker gl->blendFunci(buf, src, dst); 325*35238bceSAndroid Build Coastguard Worker} 326*35238bceSAndroid Build Coastguard Worker 327*35238bceSAndroid Build Coastguard Workervoid glwBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) 328*35238bceSAndroid Build Coastguard Worker{ 329*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 330*35238bceSAndroid Build Coastguard Worker if (!gl) 331*35238bceSAndroid Build Coastguard Worker return; 332*35238bceSAndroid Build Coastguard Worker gl->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 333*35238bceSAndroid Build Coastguard Worker} 334*35238bceSAndroid Build Coastguard Worker 335*35238bceSAndroid Build Coastguard Workervoid glwBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) 336*35238bceSAndroid Build Coastguard Worker{ 337*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 338*35238bceSAndroid Build Coastguard Worker if (!gl) 339*35238bceSAndroid Build Coastguard Worker return; 340*35238bceSAndroid Build Coastguard Worker gl->blitNamedFramebuffer(readFramebuffer, drawFramebuffer, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 341*35238bceSAndroid Build Coastguard Worker} 342*35238bceSAndroid Build Coastguard Worker 343*35238bceSAndroid Build Coastguard Workervoid glwBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage) 344*35238bceSAndroid Build Coastguard Worker{ 345*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 346*35238bceSAndroid Build Coastguard Worker if (!gl) 347*35238bceSAndroid Build Coastguard Worker return; 348*35238bceSAndroid Build Coastguard Worker gl->bufferData(target, size, data, usage); 349*35238bceSAndroid Build Coastguard Worker} 350*35238bceSAndroid Build Coastguard Worker 351*35238bceSAndroid Build Coastguard Workervoid glwBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit) 352*35238bceSAndroid Build Coastguard Worker{ 353*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 354*35238bceSAndroid Build Coastguard Worker if (!gl) 355*35238bceSAndroid Build Coastguard Worker return; 356*35238bceSAndroid Build Coastguard Worker gl->bufferPageCommitmentARB(target, offset, size, commit); 357*35238bceSAndroid Build Coastguard Worker} 358*35238bceSAndroid Build Coastguard Worker 359*35238bceSAndroid Build Coastguard Workervoid glwBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags) 360*35238bceSAndroid Build Coastguard Worker{ 361*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 362*35238bceSAndroid Build Coastguard Worker if (!gl) 363*35238bceSAndroid Build Coastguard Worker return; 364*35238bceSAndroid Build Coastguard Worker gl->bufferStorage(target, size, data, flags); 365*35238bceSAndroid Build Coastguard Worker} 366*35238bceSAndroid Build Coastguard Worker 367*35238bceSAndroid Build Coastguard Workervoid glwBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data) 368*35238bceSAndroid Build Coastguard Worker{ 369*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 370*35238bceSAndroid Build Coastguard Worker if (!gl) 371*35238bceSAndroid Build Coastguard Worker return; 372*35238bceSAndroid Build Coastguard Worker gl->bufferSubData(target, offset, size, data); 373*35238bceSAndroid Build Coastguard Worker} 374*35238bceSAndroid Build Coastguard Worker 375*35238bceSAndroid Build Coastguard WorkerGLenum glwCheckFramebufferStatus (GLenum target) 376*35238bceSAndroid Build Coastguard Worker{ 377*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 378*35238bceSAndroid Build Coastguard Worker if (!gl) 379*35238bceSAndroid Build Coastguard Worker return (GLenum)0; 380*35238bceSAndroid Build Coastguard Worker return gl->checkFramebufferStatus(target); 381*35238bceSAndroid Build Coastguard Worker} 382*35238bceSAndroid Build Coastguard Worker 383*35238bceSAndroid Build Coastguard WorkerGLenum glwCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target) 384*35238bceSAndroid Build Coastguard Worker{ 385*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 386*35238bceSAndroid Build Coastguard Worker if (!gl) 387*35238bceSAndroid Build Coastguard Worker return (GLenum)0; 388*35238bceSAndroid Build Coastguard Worker return gl->checkNamedFramebufferStatus(framebuffer, target); 389*35238bceSAndroid Build Coastguard Worker} 390*35238bceSAndroid Build Coastguard Worker 391*35238bceSAndroid Build Coastguard WorkerGLenum glwCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target) 392*35238bceSAndroid Build Coastguard Worker{ 393*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 394*35238bceSAndroid Build Coastguard Worker if (!gl) 395*35238bceSAndroid Build Coastguard Worker return (GLenum)0; 396*35238bceSAndroid Build Coastguard Worker return gl->checkNamedFramebufferStatusEXT(framebuffer, target); 397*35238bceSAndroid Build Coastguard Worker} 398*35238bceSAndroid Build Coastguard Worker 399*35238bceSAndroid Build Coastguard Workervoid glwClampColor (GLenum target, GLenum clamp) 400*35238bceSAndroid Build Coastguard Worker{ 401*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 402*35238bceSAndroid Build Coastguard Worker if (!gl) 403*35238bceSAndroid Build Coastguard Worker return; 404*35238bceSAndroid Build Coastguard Worker gl->clampColor(target, clamp); 405*35238bceSAndroid Build Coastguard Worker} 406*35238bceSAndroid Build Coastguard Worker 407*35238bceSAndroid Build Coastguard Workervoid glwClear (GLbitfield mask) 408*35238bceSAndroid Build Coastguard Worker{ 409*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 410*35238bceSAndroid Build Coastguard Worker if (!gl) 411*35238bceSAndroid Build Coastguard Worker return; 412*35238bceSAndroid Build Coastguard Worker gl->clear(mask); 413*35238bceSAndroid Build Coastguard Worker} 414*35238bceSAndroid Build Coastguard Worker 415*35238bceSAndroid Build Coastguard Workervoid glwClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data) 416*35238bceSAndroid Build Coastguard Worker{ 417*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 418*35238bceSAndroid Build Coastguard Worker if (!gl) 419*35238bceSAndroid Build Coastguard Worker return; 420*35238bceSAndroid Build Coastguard Worker gl->clearBufferData(target, internalformat, format, type, data); 421*35238bceSAndroid Build Coastguard Worker} 422*35238bceSAndroid Build Coastguard Worker 423*35238bceSAndroid Build Coastguard Workervoid glwClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data) 424*35238bceSAndroid Build Coastguard Worker{ 425*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 426*35238bceSAndroid Build Coastguard Worker if (!gl) 427*35238bceSAndroid Build Coastguard Worker return; 428*35238bceSAndroid Build Coastguard Worker gl->clearBufferSubData(target, internalformat, offset, size, format, type, data); 429*35238bceSAndroid Build Coastguard Worker} 430*35238bceSAndroid Build Coastguard Worker 431*35238bceSAndroid Build Coastguard Workervoid glwClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) 432*35238bceSAndroid Build Coastguard Worker{ 433*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 434*35238bceSAndroid Build Coastguard Worker if (!gl) 435*35238bceSAndroid Build Coastguard Worker return; 436*35238bceSAndroid Build Coastguard Worker gl->clearBufferfi(buffer, drawbuffer, depth, stencil); 437*35238bceSAndroid Build Coastguard Worker} 438*35238bceSAndroid Build Coastguard Worker 439*35238bceSAndroid Build Coastguard Workervoid glwClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value) 440*35238bceSAndroid Build Coastguard Worker{ 441*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 442*35238bceSAndroid Build Coastguard Worker if (!gl) 443*35238bceSAndroid Build Coastguard Worker return; 444*35238bceSAndroid Build Coastguard Worker gl->clearBufferfv(buffer, drawbuffer, value); 445*35238bceSAndroid Build Coastguard Worker} 446*35238bceSAndroid Build Coastguard Worker 447*35238bceSAndroid Build Coastguard Workervoid glwClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value) 448*35238bceSAndroid Build Coastguard Worker{ 449*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 450*35238bceSAndroid Build Coastguard Worker if (!gl) 451*35238bceSAndroid Build Coastguard Worker return; 452*35238bceSAndroid Build Coastguard Worker gl->clearBufferiv(buffer, drawbuffer, value); 453*35238bceSAndroid Build Coastguard Worker} 454*35238bceSAndroid Build Coastguard Worker 455*35238bceSAndroid Build Coastguard Workervoid glwClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value) 456*35238bceSAndroid Build Coastguard Worker{ 457*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 458*35238bceSAndroid Build Coastguard Worker if (!gl) 459*35238bceSAndroid Build Coastguard Worker return; 460*35238bceSAndroid Build Coastguard Worker gl->clearBufferuiv(buffer, drawbuffer, value); 461*35238bceSAndroid Build Coastguard Worker} 462*35238bceSAndroid Build Coastguard Worker 463*35238bceSAndroid Build Coastguard Workervoid glwClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) 464*35238bceSAndroid Build Coastguard Worker{ 465*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 466*35238bceSAndroid Build Coastguard Worker if (!gl) 467*35238bceSAndroid Build Coastguard Worker return; 468*35238bceSAndroid Build Coastguard Worker gl->clearColor(red, green, blue, alpha); 469*35238bceSAndroid Build Coastguard Worker} 470*35238bceSAndroid Build Coastguard Worker 471*35238bceSAndroid Build Coastguard Workervoid glwClearDepth (GLdouble depth) 472*35238bceSAndroid Build Coastguard Worker{ 473*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 474*35238bceSAndroid Build Coastguard Worker if (!gl) 475*35238bceSAndroid Build Coastguard Worker return; 476*35238bceSAndroid Build Coastguard Worker gl->clearDepth(depth); 477*35238bceSAndroid Build Coastguard Worker} 478*35238bceSAndroid Build Coastguard Worker 479*35238bceSAndroid Build Coastguard Workervoid glwClearDepthf (GLfloat d) 480*35238bceSAndroid Build Coastguard Worker{ 481*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 482*35238bceSAndroid Build Coastguard Worker if (!gl) 483*35238bceSAndroid Build Coastguard Worker return; 484*35238bceSAndroid Build Coastguard Worker gl->clearDepthf(d); 485*35238bceSAndroid Build Coastguard Worker} 486*35238bceSAndroid Build Coastguard Worker 487*35238bceSAndroid Build Coastguard Workervoid glwClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data) 488*35238bceSAndroid Build Coastguard Worker{ 489*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 490*35238bceSAndroid Build Coastguard Worker if (!gl) 491*35238bceSAndroid Build Coastguard Worker return; 492*35238bceSAndroid Build Coastguard Worker gl->clearNamedBufferData(buffer, internalformat, format, type, data); 493*35238bceSAndroid Build Coastguard Worker} 494*35238bceSAndroid Build Coastguard Worker 495*35238bceSAndroid Build Coastguard Workervoid glwClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data) 496*35238bceSAndroid Build Coastguard Worker{ 497*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 498*35238bceSAndroid Build Coastguard Worker if (!gl) 499*35238bceSAndroid Build Coastguard Worker return; 500*35238bceSAndroid Build Coastguard Worker gl->clearNamedBufferDataEXT(buffer, internalformat, format, type, data); 501*35238bceSAndroid Build Coastguard Worker} 502*35238bceSAndroid Build Coastguard Worker 503*35238bceSAndroid Build Coastguard Workervoid glwClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data) 504*35238bceSAndroid Build Coastguard Worker{ 505*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 506*35238bceSAndroid Build Coastguard Worker if (!gl) 507*35238bceSAndroid Build Coastguard Worker return; 508*35238bceSAndroid Build Coastguard Worker gl->clearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data); 509*35238bceSAndroid Build Coastguard Worker} 510*35238bceSAndroid Build Coastguard Worker 511*35238bceSAndroid Build Coastguard Workervoid glwClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data) 512*35238bceSAndroid Build Coastguard Worker{ 513*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 514*35238bceSAndroid Build Coastguard Worker if (!gl) 515*35238bceSAndroid Build Coastguard Worker return; 516*35238bceSAndroid Build Coastguard Worker gl->clearNamedBufferSubDataEXT(buffer, internalformat, offset, size, format, type, data); 517*35238bceSAndroid Build Coastguard Worker} 518*35238bceSAndroid Build Coastguard Worker 519*35238bceSAndroid Build Coastguard Workervoid glwClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) 520*35238bceSAndroid Build Coastguard Worker{ 521*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 522*35238bceSAndroid Build Coastguard Worker if (!gl) 523*35238bceSAndroid Build Coastguard Worker return; 524*35238bceSAndroid Build Coastguard Worker gl->clearNamedFramebufferfi(framebuffer, buffer, drawbuffer, depth, stencil); 525*35238bceSAndroid Build Coastguard Worker} 526*35238bceSAndroid Build Coastguard Worker 527*35238bceSAndroid Build Coastguard Workervoid glwClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value) 528*35238bceSAndroid Build Coastguard Worker{ 529*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 530*35238bceSAndroid Build Coastguard Worker if (!gl) 531*35238bceSAndroid Build Coastguard Worker return; 532*35238bceSAndroid Build Coastguard Worker gl->clearNamedFramebufferfv(framebuffer, buffer, drawbuffer, value); 533*35238bceSAndroid Build Coastguard Worker} 534*35238bceSAndroid Build Coastguard Worker 535*35238bceSAndroid Build Coastguard Workervoid glwClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value) 536*35238bceSAndroid Build Coastguard Worker{ 537*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 538*35238bceSAndroid Build Coastguard Worker if (!gl) 539*35238bceSAndroid Build Coastguard Worker return; 540*35238bceSAndroid Build Coastguard Worker gl->clearNamedFramebufferiv(framebuffer, buffer, drawbuffer, value); 541*35238bceSAndroid Build Coastguard Worker} 542*35238bceSAndroid Build Coastguard Worker 543*35238bceSAndroid Build Coastguard Workervoid glwClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value) 544*35238bceSAndroid Build Coastguard Worker{ 545*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 546*35238bceSAndroid Build Coastguard Worker if (!gl) 547*35238bceSAndroid Build Coastguard Worker return; 548*35238bceSAndroid Build Coastguard Worker gl->clearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, value); 549*35238bceSAndroid Build Coastguard Worker} 550*35238bceSAndroid Build Coastguard Worker 551*35238bceSAndroid Build Coastguard Workervoid glwClearStencil (GLint s) 552*35238bceSAndroid Build Coastguard Worker{ 553*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 554*35238bceSAndroid Build Coastguard Worker if (!gl) 555*35238bceSAndroid Build Coastguard Worker return; 556*35238bceSAndroid Build Coastguard Worker gl->clearStencil(s); 557*35238bceSAndroid Build Coastguard Worker} 558*35238bceSAndroid Build Coastguard Worker 559*35238bceSAndroid Build Coastguard Workervoid glwClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data) 560*35238bceSAndroid Build Coastguard Worker{ 561*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 562*35238bceSAndroid Build Coastguard Worker if (!gl) 563*35238bceSAndroid Build Coastguard Worker return; 564*35238bceSAndroid Build Coastguard Worker gl->clearTexImage(texture, level, format, type, data); 565*35238bceSAndroid Build Coastguard Worker} 566*35238bceSAndroid Build Coastguard Worker 567*35238bceSAndroid Build Coastguard Workervoid glwClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data) 568*35238bceSAndroid Build Coastguard Worker{ 569*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 570*35238bceSAndroid Build Coastguard Worker if (!gl) 571*35238bceSAndroid Build Coastguard Worker return; 572*35238bceSAndroid Build Coastguard Worker gl->clearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); 573*35238bceSAndroid Build Coastguard Worker} 574*35238bceSAndroid Build Coastguard Worker 575*35238bceSAndroid Build Coastguard Workervoid glwClientAttribDefaultEXT (GLbitfield mask) 576*35238bceSAndroid Build Coastguard Worker{ 577*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 578*35238bceSAndroid Build Coastguard Worker if (!gl) 579*35238bceSAndroid Build Coastguard Worker return; 580*35238bceSAndroid Build Coastguard Worker gl->clientAttribDefaultEXT(mask); 581*35238bceSAndroid Build Coastguard Worker} 582*35238bceSAndroid Build Coastguard Worker 583*35238bceSAndroid Build Coastguard WorkerGLenum glwClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout) 584*35238bceSAndroid Build Coastguard Worker{ 585*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 586*35238bceSAndroid Build Coastguard Worker if (!gl) 587*35238bceSAndroid Build Coastguard Worker return (GLenum)0; 588*35238bceSAndroid Build Coastguard Worker return gl->clientWaitSync(sync, flags, timeout); 589*35238bceSAndroid Build Coastguard Worker} 590*35238bceSAndroid Build Coastguard Worker 591*35238bceSAndroid Build Coastguard Workervoid glwClipControl (GLenum origin, GLenum depth) 592*35238bceSAndroid Build Coastguard Worker{ 593*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 594*35238bceSAndroid Build Coastguard Worker if (!gl) 595*35238bceSAndroid Build Coastguard Worker return; 596*35238bceSAndroid Build Coastguard Worker gl->clipControl(origin, depth); 597*35238bceSAndroid Build Coastguard Worker} 598*35238bceSAndroid Build Coastguard Worker 599*35238bceSAndroid Build Coastguard Workervoid glwColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) 600*35238bceSAndroid Build Coastguard Worker{ 601*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 602*35238bceSAndroid Build Coastguard Worker if (!gl) 603*35238bceSAndroid Build Coastguard Worker return; 604*35238bceSAndroid Build Coastguard Worker gl->colorMask(red, green, blue, alpha); 605*35238bceSAndroid Build Coastguard Worker} 606*35238bceSAndroid Build Coastguard Worker 607*35238bceSAndroid Build Coastguard Workervoid glwColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) 608*35238bceSAndroid Build Coastguard Worker{ 609*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 610*35238bceSAndroid Build Coastguard Worker if (!gl) 611*35238bceSAndroid Build Coastguard Worker return; 612*35238bceSAndroid Build Coastguard Worker gl->colorMaski(index, r, g, b, a); 613*35238bceSAndroid Build Coastguard Worker} 614*35238bceSAndroid Build Coastguard Worker 615*35238bceSAndroid Build Coastguard Workervoid glwCompileShader (GLuint shader) 616*35238bceSAndroid Build Coastguard Worker{ 617*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 618*35238bceSAndroid Build Coastguard Worker if (!gl) 619*35238bceSAndroid Build Coastguard Worker return; 620*35238bceSAndroid Build Coastguard Worker gl->compileShader(shader); 621*35238bceSAndroid Build Coastguard Worker} 622*35238bceSAndroid Build Coastguard Worker 623*35238bceSAndroid Build Coastguard Workervoid glwCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits) 624*35238bceSAndroid Build Coastguard Worker{ 625*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 626*35238bceSAndroid Build Coastguard Worker if (!gl) 627*35238bceSAndroid Build Coastguard Worker return; 628*35238bceSAndroid Build Coastguard Worker gl->compressedMultiTexImage1DEXT(texunit, target, level, internalformat, width, border, imageSize, bits); 629*35238bceSAndroid Build Coastguard Worker} 630*35238bceSAndroid Build Coastguard Worker 631*35238bceSAndroid Build Coastguard Workervoid glwCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits) 632*35238bceSAndroid Build Coastguard Worker{ 633*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 634*35238bceSAndroid Build Coastguard Worker if (!gl) 635*35238bceSAndroid Build Coastguard Worker return; 636*35238bceSAndroid Build Coastguard Worker gl->compressedMultiTexImage2DEXT(texunit, target, level, internalformat, width, height, border, imageSize, bits); 637*35238bceSAndroid Build Coastguard Worker} 638*35238bceSAndroid Build Coastguard Worker 639*35238bceSAndroid Build Coastguard Workervoid glwCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits) 640*35238bceSAndroid Build Coastguard Worker{ 641*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 642*35238bceSAndroid Build Coastguard Worker if (!gl) 643*35238bceSAndroid Build Coastguard Worker return; 644*35238bceSAndroid Build Coastguard Worker gl->compressedMultiTexImage3DEXT(texunit, target, level, internalformat, width, height, depth, border, imageSize, bits); 645*35238bceSAndroid Build Coastguard Worker} 646*35238bceSAndroid Build Coastguard Worker 647*35238bceSAndroid Build Coastguard Workervoid glwCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits) 648*35238bceSAndroid Build Coastguard Worker{ 649*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 650*35238bceSAndroid Build Coastguard Worker if (!gl) 651*35238bceSAndroid Build Coastguard Worker return; 652*35238bceSAndroid Build Coastguard Worker gl->compressedMultiTexSubImage1DEXT(texunit, target, level, xoffset, width, format, imageSize, bits); 653*35238bceSAndroid Build Coastguard Worker} 654*35238bceSAndroid Build Coastguard Worker 655*35238bceSAndroid Build Coastguard Workervoid glwCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits) 656*35238bceSAndroid Build Coastguard Worker{ 657*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 658*35238bceSAndroid Build Coastguard Worker if (!gl) 659*35238bceSAndroid Build Coastguard Worker return; 660*35238bceSAndroid Build Coastguard Worker gl->compressedMultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, width, height, format, imageSize, bits); 661*35238bceSAndroid Build Coastguard Worker} 662*35238bceSAndroid Build Coastguard Worker 663*35238bceSAndroid Build Coastguard Workervoid glwCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits) 664*35238bceSAndroid Build Coastguard Worker{ 665*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 666*35238bceSAndroid Build Coastguard Worker if (!gl) 667*35238bceSAndroid Build Coastguard Worker return; 668*35238bceSAndroid Build Coastguard Worker gl->compressedMultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); 669*35238bceSAndroid Build Coastguard Worker} 670*35238bceSAndroid Build Coastguard Worker 671*35238bceSAndroid Build Coastguard Workervoid glwCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data) 672*35238bceSAndroid Build Coastguard Worker{ 673*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 674*35238bceSAndroid Build Coastguard Worker if (!gl) 675*35238bceSAndroid Build Coastguard Worker return; 676*35238bceSAndroid Build Coastguard Worker gl->compressedTexImage1D(target, level, internalformat, width, border, imageSize, data); 677*35238bceSAndroid Build Coastguard Worker} 678*35238bceSAndroid Build Coastguard Worker 679*35238bceSAndroid Build Coastguard Workervoid glwCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data) 680*35238bceSAndroid Build Coastguard Worker{ 681*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 682*35238bceSAndroid Build Coastguard Worker if (!gl) 683*35238bceSAndroid Build Coastguard Worker return; 684*35238bceSAndroid Build Coastguard Worker gl->compressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); 685*35238bceSAndroid Build Coastguard Worker} 686*35238bceSAndroid Build Coastguard Worker 687*35238bceSAndroid Build Coastguard Workervoid glwCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data) 688*35238bceSAndroid Build Coastguard Worker{ 689*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 690*35238bceSAndroid Build Coastguard Worker if (!gl) 691*35238bceSAndroid Build Coastguard Worker return; 692*35238bceSAndroid Build Coastguard Worker gl->compressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); 693*35238bceSAndroid Build Coastguard Worker} 694*35238bceSAndroid Build Coastguard Worker 695*35238bceSAndroid Build Coastguard Workervoid glwCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data) 696*35238bceSAndroid Build Coastguard Worker{ 697*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 698*35238bceSAndroid Build Coastguard Worker if (!gl) 699*35238bceSAndroid Build Coastguard Worker return; 700*35238bceSAndroid Build Coastguard Worker gl->compressedTexImage3DOES(target, level, internalformat, width, height, depth, border, imageSize, data); 701*35238bceSAndroid Build Coastguard Worker} 702*35238bceSAndroid Build Coastguard Worker 703*35238bceSAndroid Build Coastguard Workervoid glwCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data) 704*35238bceSAndroid Build Coastguard Worker{ 705*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 706*35238bceSAndroid Build Coastguard Worker if (!gl) 707*35238bceSAndroid Build Coastguard Worker return; 708*35238bceSAndroid Build Coastguard Worker gl->compressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); 709*35238bceSAndroid Build Coastguard Worker} 710*35238bceSAndroid Build Coastguard Worker 711*35238bceSAndroid Build Coastguard Workervoid glwCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data) 712*35238bceSAndroid Build Coastguard Worker{ 713*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 714*35238bceSAndroid Build Coastguard Worker if (!gl) 715*35238bceSAndroid Build Coastguard Worker return; 716*35238bceSAndroid Build Coastguard Worker gl->compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); 717*35238bceSAndroid Build Coastguard Worker} 718*35238bceSAndroid Build Coastguard Worker 719*35238bceSAndroid Build Coastguard Workervoid glwCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data) 720*35238bceSAndroid Build Coastguard Worker{ 721*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 722*35238bceSAndroid Build Coastguard Worker if (!gl) 723*35238bceSAndroid Build Coastguard Worker return; 724*35238bceSAndroid Build Coastguard Worker gl->compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 725*35238bceSAndroid Build Coastguard Worker} 726*35238bceSAndroid Build Coastguard Worker 727*35238bceSAndroid Build Coastguard Workervoid glwCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data) 728*35238bceSAndroid Build Coastguard Worker{ 729*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 730*35238bceSAndroid Build Coastguard Worker if (!gl) 731*35238bceSAndroid Build Coastguard Worker return; 732*35238bceSAndroid Build Coastguard Worker gl->compressedTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 733*35238bceSAndroid Build Coastguard Worker} 734*35238bceSAndroid Build Coastguard Worker 735*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits) 736*35238bceSAndroid Build Coastguard Worker{ 737*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 738*35238bceSAndroid Build Coastguard Worker if (!gl) 739*35238bceSAndroid Build Coastguard Worker return; 740*35238bceSAndroid Build Coastguard Worker gl->compressedTextureImage1DEXT(texture, target, level, internalformat, width, border, imageSize, bits); 741*35238bceSAndroid Build Coastguard Worker} 742*35238bceSAndroid Build Coastguard Worker 743*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits) 744*35238bceSAndroid Build Coastguard Worker{ 745*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 746*35238bceSAndroid Build Coastguard Worker if (!gl) 747*35238bceSAndroid Build Coastguard Worker return; 748*35238bceSAndroid Build Coastguard Worker gl->compressedTextureImage2DEXT(texture, target, level, internalformat, width, height, border, imageSize, bits); 749*35238bceSAndroid Build Coastguard Worker} 750*35238bceSAndroid Build Coastguard Worker 751*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits) 752*35238bceSAndroid Build Coastguard Worker{ 753*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 754*35238bceSAndroid Build Coastguard Worker if (!gl) 755*35238bceSAndroid Build Coastguard Worker return; 756*35238bceSAndroid Build Coastguard Worker gl->compressedTextureImage3DEXT(texture, target, level, internalformat, width, height, depth, border, imageSize, bits); 757*35238bceSAndroid Build Coastguard Worker} 758*35238bceSAndroid Build Coastguard Worker 759*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data) 760*35238bceSAndroid Build Coastguard Worker{ 761*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 762*35238bceSAndroid Build Coastguard Worker if (!gl) 763*35238bceSAndroid Build Coastguard Worker return; 764*35238bceSAndroid Build Coastguard Worker gl->compressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, data); 765*35238bceSAndroid Build Coastguard Worker} 766*35238bceSAndroid Build Coastguard Worker 767*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits) 768*35238bceSAndroid Build Coastguard Worker{ 769*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 770*35238bceSAndroid Build Coastguard Worker if (!gl) 771*35238bceSAndroid Build Coastguard Worker return; 772*35238bceSAndroid Build Coastguard Worker gl->compressedTextureSubImage1DEXT(texture, target, level, xoffset, width, format, imageSize, bits); 773*35238bceSAndroid Build Coastguard Worker} 774*35238bceSAndroid Build Coastguard Worker 775*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data) 776*35238bceSAndroid Build Coastguard Worker{ 777*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 778*35238bceSAndroid Build Coastguard Worker if (!gl) 779*35238bceSAndroid Build Coastguard Worker return; 780*35238bceSAndroid Build Coastguard Worker gl->compressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, imageSize, data); 781*35238bceSAndroid Build Coastguard Worker} 782*35238bceSAndroid Build Coastguard Worker 783*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits) 784*35238bceSAndroid Build Coastguard Worker{ 785*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 786*35238bceSAndroid Build Coastguard Worker if (!gl) 787*35238bceSAndroid Build Coastguard Worker return; 788*35238bceSAndroid Build Coastguard Worker gl->compressedTextureSubImage2DEXT(texture, target, level, xoffset, yoffset, width, height, format, imageSize, bits); 789*35238bceSAndroid Build Coastguard Worker} 790*35238bceSAndroid Build Coastguard Worker 791*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data) 792*35238bceSAndroid Build Coastguard Worker{ 793*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 794*35238bceSAndroid Build Coastguard Worker if (!gl) 795*35238bceSAndroid Build Coastguard Worker return; 796*35238bceSAndroid Build Coastguard Worker gl->compressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 797*35238bceSAndroid Build Coastguard Worker} 798*35238bceSAndroid Build Coastguard Worker 799*35238bceSAndroid Build Coastguard Workervoid glwCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits) 800*35238bceSAndroid Build Coastguard Worker{ 801*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 802*35238bceSAndroid Build Coastguard Worker if (!gl) 803*35238bceSAndroid Build Coastguard Worker return; 804*35238bceSAndroid Build Coastguard Worker gl->compressedTextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); 805*35238bceSAndroid Build Coastguard Worker} 806*35238bceSAndroid Build Coastguard Worker 807*35238bceSAndroid Build Coastguard Workervoid glwCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) 808*35238bceSAndroid Build Coastguard Worker{ 809*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 810*35238bceSAndroid Build Coastguard Worker if (!gl) 811*35238bceSAndroid Build Coastguard Worker return; 812*35238bceSAndroid Build Coastguard Worker gl->copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); 813*35238bceSAndroid Build Coastguard Worker} 814*35238bceSAndroid Build Coastguard Worker 815*35238bceSAndroid Build Coastguard Workervoid glwCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) 816*35238bceSAndroid Build Coastguard Worker{ 817*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 818*35238bceSAndroid Build Coastguard Worker if (!gl) 819*35238bceSAndroid Build Coastguard Worker return; 820*35238bceSAndroid Build Coastguard Worker gl->copyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); 821*35238bceSAndroid Build Coastguard Worker} 822*35238bceSAndroid Build Coastguard Worker 823*35238bceSAndroid Build Coastguard Workervoid glwCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) 824*35238bceSAndroid Build Coastguard Worker{ 825*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 826*35238bceSAndroid Build Coastguard Worker if (!gl) 827*35238bceSAndroid Build Coastguard Worker return; 828*35238bceSAndroid Build Coastguard Worker gl->copyMultiTexImage1DEXT(texunit, target, level, internalformat, x, y, width, border); 829*35238bceSAndroid Build Coastguard Worker} 830*35238bceSAndroid Build Coastguard Worker 831*35238bceSAndroid Build Coastguard Workervoid glwCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) 832*35238bceSAndroid Build Coastguard Worker{ 833*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 834*35238bceSAndroid Build Coastguard Worker if (!gl) 835*35238bceSAndroid Build Coastguard Worker return; 836*35238bceSAndroid Build Coastguard Worker gl->copyMultiTexImage2DEXT(texunit, target, level, internalformat, x, y, width, height, border); 837*35238bceSAndroid Build Coastguard Worker} 838*35238bceSAndroid Build Coastguard Worker 839*35238bceSAndroid Build Coastguard Workervoid glwCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) 840*35238bceSAndroid Build Coastguard Worker{ 841*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 842*35238bceSAndroid Build Coastguard Worker if (!gl) 843*35238bceSAndroid Build Coastguard Worker return; 844*35238bceSAndroid Build Coastguard Worker gl->copyMultiTexSubImage1DEXT(texunit, target, level, xoffset, x, y, width); 845*35238bceSAndroid Build Coastguard Worker} 846*35238bceSAndroid Build Coastguard Worker 847*35238bceSAndroid Build Coastguard Workervoid glwCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) 848*35238bceSAndroid Build Coastguard Worker{ 849*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 850*35238bceSAndroid Build Coastguard Worker if (!gl) 851*35238bceSAndroid Build Coastguard Worker return; 852*35238bceSAndroid Build Coastguard Worker gl->copyMultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, x, y, width, height); 853*35238bceSAndroid Build Coastguard Worker} 854*35238bceSAndroid Build Coastguard Worker 855*35238bceSAndroid Build Coastguard Workervoid glwCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) 856*35238bceSAndroid Build Coastguard Worker{ 857*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 858*35238bceSAndroid Build Coastguard Worker if (!gl) 859*35238bceSAndroid Build Coastguard Worker return; 860*35238bceSAndroid Build Coastguard Worker gl->copyMultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, x, y, width, height); 861*35238bceSAndroid Build Coastguard Worker} 862*35238bceSAndroid Build Coastguard Worker 863*35238bceSAndroid Build Coastguard Workervoid glwCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) 864*35238bceSAndroid Build Coastguard Worker{ 865*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 866*35238bceSAndroid Build Coastguard Worker if (!gl) 867*35238bceSAndroid Build Coastguard Worker return; 868*35238bceSAndroid Build Coastguard Worker gl->copyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size); 869*35238bceSAndroid Build Coastguard Worker} 870*35238bceSAndroid Build Coastguard Worker 871*35238bceSAndroid Build Coastguard Workervoid glwCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) 872*35238bceSAndroid Build Coastguard Worker{ 873*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 874*35238bceSAndroid Build Coastguard Worker if (!gl) 875*35238bceSAndroid Build Coastguard Worker return; 876*35238bceSAndroid Build Coastguard Worker gl->copyTexImage1D(target, level, internalformat, x, y, width, border); 877*35238bceSAndroid Build Coastguard Worker} 878*35238bceSAndroid Build Coastguard Worker 879*35238bceSAndroid Build Coastguard Workervoid glwCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) 880*35238bceSAndroid Build Coastguard Worker{ 881*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 882*35238bceSAndroid Build Coastguard Worker if (!gl) 883*35238bceSAndroid Build Coastguard Worker return; 884*35238bceSAndroid Build Coastguard Worker gl->copyTexImage2D(target, level, internalformat, x, y, width, height, border); 885*35238bceSAndroid Build Coastguard Worker} 886*35238bceSAndroid Build Coastguard Worker 887*35238bceSAndroid Build Coastguard Workervoid glwCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) 888*35238bceSAndroid Build Coastguard Worker{ 889*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 890*35238bceSAndroid Build Coastguard Worker if (!gl) 891*35238bceSAndroid Build Coastguard Worker return; 892*35238bceSAndroid Build Coastguard Worker gl->copyTexSubImage1D(target, level, xoffset, x, y, width); 893*35238bceSAndroid Build Coastguard Worker} 894*35238bceSAndroid Build Coastguard Worker 895*35238bceSAndroid Build Coastguard Workervoid glwCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) 896*35238bceSAndroid Build Coastguard Worker{ 897*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 898*35238bceSAndroid Build Coastguard Worker if (!gl) 899*35238bceSAndroid Build Coastguard Worker return; 900*35238bceSAndroid Build Coastguard Worker gl->copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); 901*35238bceSAndroid Build Coastguard Worker} 902*35238bceSAndroid Build Coastguard Worker 903*35238bceSAndroid Build Coastguard Workervoid glwCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) 904*35238bceSAndroid Build Coastguard Worker{ 905*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 906*35238bceSAndroid Build Coastguard Worker if (!gl) 907*35238bceSAndroid Build Coastguard Worker return; 908*35238bceSAndroid Build Coastguard Worker gl->copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); 909*35238bceSAndroid Build Coastguard Worker} 910*35238bceSAndroid Build Coastguard Worker 911*35238bceSAndroid Build Coastguard Workervoid glwCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) 912*35238bceSAndroid Build Coastguard Worker{ 913*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 914*35238bceSAndroid Build Coastguard Worker if (!gl) 915*35238bceSAndroid Build Coastguard Worker return; 916*35238bceSAndroid Build Coastguard Worker gl->copyTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, x, y, width, height); 917*35238bceSAndroid Build Coastguard Worker} 918*35238bceSAndroid Build Coastguard Worker 919*35238bceSAndroid Build Coastguard Workervoid glwCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) 920*35238bceSAndroid Build Coastguard Worker{ 921*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 922*35238bceSAndroid Build Coastguard Worker if (!gl) 923*35238bceSAndroid Build Coastguard Worker return; 924*35238bceSAndroid Build Coastguard Worker gl->copyTextureImage1DEXT(texture, target, level, internalformat, x, y, width, border); 925*35238bceSAndroid Build Coastguard Worker} 926*35238bceSAndroid Build Coastguard Worker 927*35238bceSAndroid Build Coastguard Workervoid glwCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) 928*35238bceSAndroid Build Coastguard Worker{ 929*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 930*35238bceSAndroid Build Coastguard Worker if (!gl) 931*35238bceSAndroid Build Coastguard Worker return; 932*35238bceSAndroid Build Coastguard Worker gl->copyTextureImage2DEXT(texture, target, level, internalformat, x, y, width, height, border); 933*35238bceSAndroid Build Coastguard Worker} 934*35238bceSAndroid Build Coastguard Worker 935*35238bceSAndroid Build Coastguard Workervoid glwCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) 936*35238bceSAndroid Build Coastguard Worker{ 937*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 938*35238bceSAndroid Build Coastguard Worker if (!gl) 939*35238bceSAndroid Build Coastguard Worker return; 940*35238bceSAndroid Build Coastguard Worker gl->copyTextureSubImage1D(texture, level, xoffset, x, y, width); 941*35238bceSAndroid Build Coastguard Worker} 942*35238bceSAndroid Build Coastguard Worker 943*35238bceSAndroid Build Coastguard Workervoid glwCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) 944*35238bceSAndroid Build Coastguard Worker{ 945*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 946*35238bceSAndroid Build Coastguard Worker if (!gl) 947*35238bceSAndroid Build Coastguard Worker return; 948*35238bceSAndroid Build Coastguard Worker gl->copyTextureSubImage1DEXT(texture, target, level, xoffset, x, y, width); 949*35238bceSAndroid Build Coastguard Worker} 950*35238bceSAndroid Build Coastguard Worker 951*35238bceSAndroid Build Coastguard Workervoid glwCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) 952*35238bceSAndroid Build Coastguard Worker{ 953*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 954*35238bceSAndroid Build Coastguard Worker if (!gl) 955*35238bceSAndroid Build Coastguard Worker return; 956*35238bceSAndroid Build Coastguard Worker gl->copyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, width, height); 957*35238bceSAndroid Build Coastguard Worker} 958*35238bceSAndroid Build Coastguard Worker 959*35238bceSAndroid Build Coastguard Workervoid glwCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) 960*35238bceSAndroid Build Coastguard Worker{ 961*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 962*35238bceSAndroid Build Coastguard Worker if (!gl) 963*35238bceSAndroid Build Coastguard Worker return; 964*35238bceSAndroid Build Coastguard Worker gl->copyTextureSubImage2DEXT(texture, target, level, xoffset, yoffset, x, y, width, height); 965*35238bceSAndroid Build Coastguard Worker} 966*35238bceSAndroid Build Coastguard Worker 967*35238bceSAndroid Build Coastguard Workervoid glwCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) 968*35238bceSAndroid Build Coastguard Worker{ 969*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 970*35238bceSAndroid Build Coastguard Worker if (!gl) 971*35238bceSAndroid Build Coastguard Worker return; 972*35238bceSAndroid Build Coastguard Worker gl->copyTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, x, y, width, height); 973*35238bceSAndroid Build Coastguard Worker} 974*35238bceSAndroid Build Coastguard Worker 975*35238bceSAndroid Build Coastguard Workervoid glwCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) 976*35238bceSAndroid Build Coastguard Worker{ 977*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 978*35238bceSAndroid Build Coastguard Worker if (!gl) 979*35238bceSAndroid Build Coastguard Worker return; 980*35238bceSAndroid Build Coastguard Worker gl->copyTextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, x, y, width, height); 981*35238bceSAndroid Build Coastguard Worker} 982*35238bceSAndroid Build Coastguard Worker 983*35238bceSAndroid Build Coastguard Workervoid glwCreateBuffers (GLsizei n, GLuint *buffers) 984*35238bceSAndroid Build Coastguard Worker{ 985*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 986*35238bceSAndroid Build Coastguard Worker if (!gl) 987*35238bceSAndroid Build Coastguard Worker return; 988*35238bceSAndroid Build Coastguard Worker gl->createBuffers(n, buffers); 989*35238bceSAndroid Build Coastguard Worker} 990*35238bceSAndroid Build Coastguard Worker 991*35238bceSAndroid Build Coastguard Workervoid glwCreateFramebuffers (GLsizei n, GLuint *framebuffers) 992*35238bceSAndroid Build Coastguard Worker{ 993*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 994*35238bceSAndroid Build Coastguard Worker if (!gl) 995*35238bceSAndroid Build Coastguard Worker return; 996*35238bceSAndroid Build Coastguard Worker gl->createFramebuffers(n, framebuffers); 997*35238bceSAndroid Build Coastguard Worker} 998*35238bceSAndroid Build Coastguard Worker 999*35238bceSAndroid Build Coastguard WorkerGLuint glwCreateProgram (void) 1000*35238bceSAndroid Build Coastguard Worker{ 1001*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1002*35238bceSAndroid Build Coastguard Worker if (!gl) 1003*35238bceSAndroid Build Coastguard Worker return (GLuint)0; 1004*35238bceSAndroid Build Coastguard Worker return gl->createProgram(); 1005*35238bceSAndroid Build Coastguard Worker} 1006*35238bceSAndroid Build Coastguard Worker 1007*35238bceSAndroid Build Coastguard Workervoid glwCreateProgramPipelines (GLsizei n, GLuint *pipelines) 1008*35238bceSAndroid Build Coastguard Worker{ 1009*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1010*35238bceSAndroid Build Coastguard Worker if (!gl) 1011*35238bceSAndroid Build Coastguard Worker return; 1012*35238bceSAndroid Build Coastguard Worker gl->createProgramPipelines(n, pipelines); 1013*35238bceSAndroid Build Coastguard Worker} 1014*35238bceSAndroid Build Coastguard Worker 1015*35238bceSAndroid Build Coastguard Workervoid glwCreateQueries (GLenum target, GLsizei n, GLuint *ids) 1016*35238bceSAndroid Build Coastguard Worker{ 1017*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1018*35238bceSAndroid Build Coastguard Worker if (!gl) 1019*35238bceSAndroid Build Coastguard Worker return; 1020*35238bceSAndroid Build Coastguard Worker gl->createQueries(target, n, ids); 1021*35238bceSAndroid Build Coastguard Worker} 1022*35238bceSAndroid Build Coastguard Worker 1023*35238bceSAndroid Build Coastguard Workervoid glwCreateRenderbuffers (GLsizei n, GLuint *renderbuffers) 1024*35238bceSAndroid Build Coastguard Worker{ 1025*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1026*35238bceSAndroid Build Coastguard Worker if (!gl) 1027*35238bceSAndroid Build Coastguard Worker return; 1028*35238bceSAndroid Build Coastguard Worker gl->createRenderbuffers(n, renderbuffers); 1029*35238bceSAndroid Build Coastguard Worker} 1030*35238bceSAndroid Build Coastguard Worker 1031*35238bceSAndroid Build Coastguard Workervoid glwCreateSamplers (GLsizei n, GLuint *samplers) 1032*35238bceSAndroid Build Coastguard Worker{ 1033*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1034*35238bceSAndroid Build Coastguard Worker if (!gl) 1035*35238bceSAndroid Build Coastguard Worker return; 1036*35238bceSAndroid Build Coastguard Worker gl->createSamplers(n, samplers); 1037*35238bceSAndroid Build Coastguard Worker} 1038*35238bceSAndroid Build Coastguard Worker 1039*35238bceSAndroid Build Coastguard WorkerGLuint glwCreateShader (GLenum type) 1040*35238bceSAndroid Build Coastguard Worker{ 1041*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1042*35238bceSAndroid Build Coastguard Worker if (!gl) 1043*35238bceSAndroid Build Coastguard Worker return (GLuint)0; 1044*35238bceSAndroid Build Coastguard Worker return gl->createShader(type); 1045*35238bceSAndroid Build Coastguard Worker} 1046*35238bceSAndroid Build Coastguard Worker 1047*35238bceSAndroid Build Coastguard WorkerGLuint glwCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings) 1048*35238bceSAndroid Build Coastguard Worker{ 1049*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1050*35238bceSAndroid Build Coastguard Worker if (!gl) 1051*35238bceSAndroid Build Coastguard Worker return (GLuint)0; 1052*35238bceSAndroid Build Coastguard Worker return gl->createShaderProgramv(type, count, strings); 1053*35238bceSAndroid Build Coastguard Worker} 1054*35238bceSAndroid Build Coastguard Worker 1055*35238bceSAndroid Build Coastguard Workervoid glwCreateTextures (GLenum target, GLsizei n, GLuint *textures) 1056*35238bceSAndroid Build Coastguard Worker{ 1057*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1058*35238bceSAndroid Build Coastguard Worker if (!gl) 1059*35238bceSAndroid Build Coastguard Worker return; 1060*35238bceSAndroid Build Coastguard Worker gl->createTextures(target, n, textures); 1061*35238bceSAndroid Build Coastguard Worker} 1062*35238bceSAndroid Build Coastguard Worker 1063*35238bceSAndroid Build Coastguard Workervoid glwCreateTransformFeedbacks (GLsizei n, GLuint *ids) 1064*35238bceSAndroid Build Coastguard Worker{ 1065*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1066*35238bceSAndroid Build Coastguard Worker if (!gl) 1067*35238bceSAndroid Build Coastguard Worker return; 1068*35238bceSAndroid Build Coastguard Worker gl->createTransformFeedbacks(n, ids); 1069*35238bceSAndroid Build Coastguard Worker} 1070*35238bceSAndroid Build Coastguard Worker 1071*35238bceSAndroid Build Coastguard Workervoid glwCreateVertexArrays (GLsizei n, GLuint *arrays) 1072*35238bceSAndroid Build Coastguard Worker{ 1073*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1074*35238bceSAndroid Build Coastguard Worker if (!gl) 1075*35238bceSAndroid Build Coastguard Worker return; 1076*35238bceSAndroid Build Coastguard Worker gl->createVertexArrays(n, arrays); 1077*35238bceSAndroid Build Coastguard Worker} 1078*35238bceSAndroid Build Coastguard Worker 1079*35238bceSAndroid Build Coastguard Workervoid glwCullFace (GLenum mode) 1080*35238bceSAndroid Build Coastguard Worker{ 1081*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1082*35238bceSAndroid Build Coastguard Worker if (!gl) 1083*35238bceSAndroid Build Coastguard Worker return; 1084*35238bceSAndroid Build Coastguard Worker gl->cullFace(mode); 1085*35238bceSAndroid Build Coastguard Worker} 1086*35238bceSAndroid Build Coastguard Worker 1087*35238bceSAndroid Build Coastguard Workervoid glwDebugMessageCallback (GLDEBUGPROC callback, const void *userParam) 1088*35238bceSAndroid Build Coastguard Worker{ 1089*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1090*35238bceSAndroid Build Coastguard Worker if (!gl) 1091*35238bceSAndroid Build Coastguard Worker return; 1092*35238bceSAndroid Build Coastguard Worker gl->debugMessageCallback(callback, userParam); 1093*35238bceSAndroid Build Coastguard Worker} 1094*35238bceSAndroid Build Coastguard Worker 1095*35238bceSAndroid Build Coastguard Workervoid glwDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled) 1096*35238bceSAndroid Build Coastguard Worker{ 1097*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1098*35238bceSAndroid Build Coastguard Worker if (!gl) 1099*35238bceSAndroid Build Coastguard Worker return; 1100*35238bceSAndroid Build Coastguard Worker gl->debugMessageControl(source, type, severity, count, ids, enabled); 1101*35238bceSAndroid Build Coastguard Worker} 1102*35238bceSAndroid Build Coastguard Worker 1103*35238bceSAndroid Build Coastguard Workervoid glwDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf) 1104*35238bceSAndroid Build Coastguard Worker{ 1105*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1106*35238bceSAndroid Build Coastguard Worker if (!gl) 1107*35238bceSAndroid Build Coastguard Worker return; 1108*35238bceSAndroid Build Coastguard Worker gl->debugMessageInsert(source, type, id, severity, length, buf); 1109*35238bceSAndroid Build Coastguard Worker} 1110*35238bceSAndroid Build Coastguard Worker 1111*35238bceSAndroid Build Coastguard Workervoid glwDeleteBuffers (GLsizei n, const GLuint *buffers) 1112*35238bceSAndroid Build Coastguard Worker{ 1113*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1114*35238bceSAndroid Build Coastguard Worker if (!gl) 1115*35238bceSAndroid Build Coastguard Worker return; 1116*35238bceSAndroid Build Coastguard Worker gl->deleteBuffers(n, buffers); 1117*35238bceSAndroid Build Coastguard Worker} 1118*35238bceSAndroid Build Coastguard Worker 1119*35238bceSAndroid Build Coastguard Workervoid glwDeleteFramebuffers (GLsizei n, const GLuint *framebuffers) 1120*35238bceSAndroid Build Coastguard Worker{ 1121*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1122*35238bceSAndroid Build Coastguard Worker if (!gl) 1123*35238bceSAndroid Build Coastguard Worker return; 1124*35238bceSAndroid Build Coastguard Worker gl->deleteFramebuffers(n, framebuffers); 1125*35238bceSAndroid Build Coastguard Worker} 1126*35238bceSAndroid Build Coastguard Worker 1127*35238bceSAndroid Build Coastguard Workervoid glwDeleteProgram (GLuint program) 1128*35238bceSAndroid Build Coastguard Worker{ 1129*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1130*35238bceSAndroid Build Coastguard Worker if (!gl) 1131*35238bceSAndroid Build Coastguard Worker return; 1132*35238bceSAndroid Build Coastguard Worker gl->deleteProgram(program); 1133*35238bceSAndroid Build Coastguard Worker} 1134*35238bceSAndroid Build Coastguard Worker 1135*35238bceSAndroid Build Coastguard Workervoid glwDeleteProgramPipelines (GLsizei n, const GLuint *pipelines) 1136*35238bceSAndroid Build Coastguard Worker{ 1137*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1138*35238bceSAndroid Build Coastguard Worker if (!gl) 1139*35238bceSAndroid Build Coastguard Worker return; 1140*35238bceSAndroid Build Coastguard Worker gl->deleteProgramPipelines(n, pipelines); 1141*35238bceSAndroid Build Coastguard Worker} 1142*35238bceSAndroid Build Coastguard Worker 1143*35238bceSAndroid Build Coastguard Workervoid glwDeleteQueries (GLsizei n, const GLuint *ids) 1144*35238bceSAndroid Build Coastguard Worker{ 1145*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1146*35238bceSAndroid Build Coastguard Worker if (!gl) 1147*35238bceSAndroid Build Coastguard Worker return; 1148*35238bceSAndroid Build Coastguard Worker gl->deleteQueries(n, ids); 1149*35238bceSAndroid Build Coastguard Worker} 1150*35238bceSAndroid Build Coastguard Worker 1151*35238bceSAndroid Build Coastguard Workervoid glwDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers) 1152*35238bceSAndroid Build Coastguard Worker{ 1153*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1154*35238bceSAndroid Build Coastguard Worker if (!gl) 1155*35238bceSAndroid Build Coastguard Worker return; 1156*35238bceSAndroid Build Coastguard Worker gl->deleteRenderbuffers(n, renderbuffers); 1157*35238bceSAndroid Build Coastguard Worker} 1158*35238bceSAndroid Build Coastguard Worker 1159*35238bceSAndroid Build Coastguard Workervoid glwDeleteSamplers (GLsizei count, const GLuint *samplers) 1160*35238bceSAndroid Build Coastguard Worker{ 1161*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1162*35238bceSAndroid Build Coastguard Worker if (!gl) 1163*35238bceSAndroid Build Coastguard Worker return; 1164*35238bceSAndroid Build Coastguard Worker gl->deleteSamplers(count, samplers); 1165*35238bceSAndroid Build Coastguard Worker} 1166*35238bceSAndroid Build Coastguard Worker 1167*35238bceSAndroid Build Coastguard Workervoid glwDeleteShader (GLuint shader) 1168*35238bceSAndroid Build Coastguard Worker{ 1169*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1170*35238bceSAndroid Build Coastguard Worker if (!gl) 1171*35238bceSAndroid Build Coastguard Worker return; 1172*35238bceSAndroid Build Coastguard Worker gl->deleteShader(shader); 1173*35238bceSAndroid Build Coastguard Worker} 1174*35238bceSAndroid Build Coastguard Worker 1175*35238bceSAndroid Build Coastguard Workervoid glwDeleteSync (GLsync sync) 1176*35238bceSAndroid Build Coastguard Worker{ 1177*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1178*35238bceSAndroid Build Coastguard Worker if (!gl) 1179*35238bceSAndroid Build Coastguard Worker return; 1180*35238bceSAndroid Build Coastguard Worker gl->deleteSync(sync); 1181*35238bceSAndroid Build Coastguard Worker} 1182*35238bceSAndroid Build Coastguard Worker 1183*35238bceSAndroid Build Coastguard Workervoid glwDeleteTextures (GLsizei n, const GLuint *textures) 1184*35238bceSAndroid Build Coastguard Worker{ 1185*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1186*35238bceSAndroid Build Coastguard Worker if (!gl) 1187*35238bceSAndroid Build Coastguard Worker return; 1188*35238bceSAndroid Build Coastguard Worker gl->deleteTextures(n, textures); 1189*35238bceSAndroid Build Coastguard Worker} 1190*35238bceSAndroid Build Coastguard Worker 1191*35238bceSAndroid Build Coastguard Workervoid glwDeleteTransformFeedbacks (GLsizei n, const GLuint *ids) 1192*35238bceSAndroid Build Coastguard Worker{ 1193*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1194*35238bceSAndroid Build Coastguard Worker if (!gl) 1195*35238bceSAndroid Build Coastguard Worker return; 1196*35238bceSAndroid Build Coastguard Worker gl->deleteTransformFeedbacks(n, ids); 1197*35238bceSAndroid Build Coastguard Worker} 1198*35238bceSAndroid Build Coastguard Worker 1199*35238bceSAndroid Build Coastguard Workervoid glwDeleteVertexArrays (GLsizei n, const GLuint *arrays) 1200*35238bceSAndroid Build Coastguard Worker{ 1201*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1202*35238bceSAndroid Build Coastguard Worker if (!gl) 1203*35238bceSAndroid Build Coastguard Worker return; 1204*35238bceSAndroid Build Coastguard Worker gl->deleteVertexArrays(n, arrays); 1205*35238bceSAndroid Build Coastguard Worker} 1206*35238bceSAndroid Build Coastguard Worker 1207*35238bceSAndroid Build Coastguard Workervoid glwDepthBoundsEXT (GLclampd zmin, GLclampd zmax) 1208*35238bceSAndroid Build Coastguard Worker{ 1209*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1210*35238bceSAndroid Build Coastguard Worker if (!gl) 1211*35238bceSAndroid Build Coastguard Worker return; 1212*35238bceSAndroid Build Coastguard Worker gl->depthBoundsEXT(zmin, zmax); 1213*35238bceSAndroid Build Coastguard Worker} 1214*35238bceSAndroid Build Coastguard Worker 1215*35238bceSAndroid Build Coastguard Workervoid glwDepthFunc (GLenum func) 1216*35238bceSAndroid Build Coastguard Worker{ 1217*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1218*35238bceSAndroid Build Coastguard Worker if (!gl) 1219*35238bceSAndroid Build Coastguard Worker return; 1220*35238bceSAndroid Build Coastguard Worker gl->depthFunc(func); 1221*35238bceSAndroid Build Coastguard Worker} 1222*35238bceSAndroid Build Coastguard Worker 1223*35238bceSAndroid Build Coastguard Workervoid glwDepthMask (GLboolean flag) 1224*35238bceSAndroid Build Coastguard Worker{ 1225*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1226*35238bceSAndroid Build Coastguard Worker if (!gl) 1227*35238bceSAndroid Build Coastguard Worker return; 1228*35238bceSAndroid Build Coastguard Worker gl->depthMask(flag); 1229*35238bceSAndroid Build Coastguard Worker} 1230*35238bceSAndroid Build Coastguard Worker 1231*35238bceSAndroid Build Coastguard Workervoid glwDepthRange (GLdouble n, GLdouble f) 1232*35238bceSAndroid Build Coastguard Worker{ 1233*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1234*35238bceSAndroid Build Coastguard Worker if (!gl) 1235*35238bceSAndroid Build Coastguard Worker return; 1236*35238bceSAndroid Build Coastguard Worker gl->depthRange(n, f); 1237*35238bceSAndroid Build Coastguard Worker} 1238*35238bceSAndroid Build Coastguard Worker 1239*35238bceSAndroid Build Coastguard Workervoid glwDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v) 1240*35238bceSAndroid Build Coastguard Worker{ 1241*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1242*35238bceSAndroid Build Coastguard Worker if (!gl) 1243*35238bceSAndroid Build Coastguard Worker return; 1244*35238bceSAndroid Build Coastguard Worker gl->depthRangeArrayfvOES(first, count, v); 1245*35238bceSAndroid Build Coastguard Worker} 1246*35238bceSAndroid Build Coastguard Worker 1247*35238bceSAndroid Build Coastguard Workervoid glwDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v) 1248*35238bceSAndroid Build Coastguard Worker{ 1249*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1250*35238bceSAndroid Build Coastguard Worker if (!gl) 1251*35238bceSAndroid Build Coastguard Worker return; 1252*35238bceSAndroid Build Coastguard Worker gl->depthRangeArrayv(first, count, v); 1253*35238bceSAndroid Build Coastguard Worker} 1254*35238bceSAndroid Build Coastguard Worker 1255*35238bceSAndroid Build Coastguard Workervoid glwDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f) 1256*35238bceSAndroid Build Coastguard Worker{ 1257*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1258*35238bceSAndroid Build Coastguard Worker if (!gl) 1259*35238bceSAndroid Build Coastguard Worker return; 1260*35238bceSAndroid Build Coastguard Worker gl->depthRangeIndexed(index, n, f); 1261*35238bceSAndroid Build Coastguard Worker} 1262*35238bceSAndroid Build Coastguard Worker 1263*35238bceSAndroid Build Coastguard Workervoid glwDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f) 1264*35238bceSAndroid Build Coastguard Worker{ 1265*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1266*35238bceSAndroid Build Coastguard Worker if (!gl) 1267*35238bceSAndroid Build Coastguard Worker return; 1268*35238bceSAndroid Build Coastguard Worker gl->depthRangeIndexedfOES(index, n, f); 1269*35238bceSAndroid Build Coastguard Worker} 1270*35238bceSAndroid Build Coastguard Worker 1271*35238bceSAndroid Build Coastguard Workervoid glwDepthRangef (GLfloat n, GLfloat f) 1272*35238bceSAndroid Build Coastguard Worker{ 1273*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1274*35238bceSAndroid Build Coastguard Worker if (!gl) 1275*35238bceSAndroid Build Coastguard Worker return; 1276*35238bceSAndroid Build Coastguard Worker gl->depthRangef(n, f); 1277*35238bceSAndroid Build Coastguard Worker} 1278*35238bceSAndroid Build Coastguard Worker 1279*35238bceSAndroid Build Coastguard Workervoid glwDetachShader (GLuint program, GLuint shader) 1280*35238bceSAndroid Build Coastguard Worker{ 1281*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1282*35238bceSAndroid Build Coastguard Worker if (!gl) 1283*35238bceSAndroid Build Coastguard Worker return; 1284*35238bceSAndroid Build Coastguard Worker gl->detachShader(program, shader); 1285*35238bceSAndroid Build Coastguard Worker} 1286*35238bceSAndroid Build Coastguard Worker 1287*35238bceSAndroid Build Coastguard Workervoid glwDisable (GLenum cap) 1288*35238bceSAndroid Build Coastguard Worker{ 1289*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1290*35238bceSAndroid Build Coastguard Worker if (!gl) 1291*35238bceSAndroid Build Coastguard Worker return; 1292*35238bceSAndroid Build Coastguard Worker gl->disable(cap); 1293*35238bceSAndroid Build Coastguard Worker} 1294*35238bceSAndroid Build Coastguard Worker 1295*35238bceSAndroid Build Coastguard Workervoid glwDisableClientStateIndexedEXT (GLenum array, GLuint index) 1296*35238bceSAndroid Build Coastguard Worker{ 1297*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1298*35238bceSAndroid Build Coastguard Worker if (!gl) 1299*35238bceSAndroid Build Coastguard Worker return; 1300*35238bceSAndroid Build Coastguard Worker gl->disableClientStateIndexedEXT(array, index); 1301*35238bceSAndroid Build Coastguard Worker} 1302*35238bceSAndroid Build Coastguard Worker 1303*35238bceSAndroid Build Coastguard Workervoid glwDisableClientStateiEXT (GLenum array, GLuint index) 1304*35238bceSAndroid Build Coastguard Worker{ 1305*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1306*35238bceSAndroid Build Coastguard Worker if (!gl) 1307*35238bceSAndroid Build Coastguard Worker return; 1308*35238bceSAndroid Build Coastguard Worker gl->disableClientStateiEXT(array, index); 1309*35238bceSAndroid Build Coastguard Worker} 1310*35238bceSAndroid Build Coastguard Worker 1311*35238bceSAndroid Build Coastguard Workervoid glwDisableVertexArrayAttrib (GLuint vaobj, GLuint index) 1312*35238bceSAndroid Build Coastguard Worker{ 1313*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1314*35238bceSAndroid Build Coastguard Worker if (!gl) 1315*35238bceSAndroid Build Coastguard Worker return; 1316*35238bceSAndroid Build Coastguard Worker gl->disableVertexArrayAttrib(vaobj, index); 1317*35238bceSAndroid Build Coastguard Worker} 1318*35238bceSAndroid Build Coastguard Worker 1319*35238bceSAndroid Build Coastguard Workervoid glwDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index) 1320*35238bceSAndroid Build Coastguard Worker{ 1321*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1322*35238bceSAndroid Build Coastguard Worker if (!gl) 1323*35238bceSAndroid Build Coastguard Worker return; 1324*35238bceSAndroid Build Coastguard Worker gl->disableVertexArrayAttribEXT(vaobj, index); 1325*35238bceSAndroid Build Coastguard Worker} 1326*35238bceSAndroid Build Coastguard Worker 1327*35238bceSAndroid Build Coastguard Workervoid glwDisableVertexArrayEXT (GLuint vaobj, GLenum array) 1328*35238bceSAndroid Build Coastguard Worker{ 1329*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1330*35238bceSAndroid Build Coastguard Worker if (!gl) 1331*35238bceSAndroid Build Coastguard Worker return; 1332*35238bceSAndroid Build Coastguard Worker gl->disableVertexArrayEXT(vaobj, array); 1333*35238bceSAndroid Build Coastguard Worker} 1334*35238bceSAndroid Build Coastguard Worker 1335*35238bceSAndroid Build Coastguard Workervoid glwDisableVertexAttribArray (GLuint index) 1336*35238bceSAndroid Build Coastguard Worker{ 1337*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1338*35238bceSAndroid Build Coastguard Worker if (!gl) 1339*35238bceSAndroid Build Coastguard Worker return; 1340*35238bceSAndroid Build Coastguard Worker gl->disableVertexAttribArray(index); 1341*35238bceSAndroid Build Coastguard Worker} 1342*35238bceSAndroid Build Coastguard Worker 1343*35238bceSAndroid Build Coastguard Workervoid glwDisablei (GLenum target, GLuint index) 1344*35238bceSAndroid Build Coastguard Worker{ 1345*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1346*35238bceSAndroid Build Coastguard Worker if (!gl) 1347*35238bceSAndroid Build Coastguard Worker return; 1348*35238bceSAndroid Build Coastguard Worker gl->disablei(target, index); 1349*35238bceSAndroid Build Coastguard Worker} 1350*35238bceSAndroid Build Coastguard Worker 1351*35238bceSAndroid Build Coastguard Workervoid glwDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) 1352*35238bceSAndroid Build Coastguard Worker{ 1353*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1354*35238bceSAndroid Build Coastguard Worker if (!gl) 1355*35238bceSAndroid Build Coastguard Worker return; 1356*35238bceSAndroid Build Coastguard Worker gl->dispatchCompute(num_groups_x, num_groups_y, num_groups_z); 1357*35238bceSAndroid Build Coastguard Worker} 1358*35238bceSAndroid Build Coastguard Worker 1359*35238bceSAndroid Build Coastguard Workervoid glwDispatchComputeIndirect (GLintptr indirect) 1360*35238bceSAndroid Build Coastguard Worker{ 1361*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1362*35238bceSAndroid Build Coastguard Worker if (!gl) 1363*35238bceSAndroid Build Coastguard Worker return; 1364*35238bceSAndroid Build Coastguard Worker gl->dispatchComputeIndirect(indirect); 1365*35238bceSAndroid Build Coastguard Worker} 1366*35238bceSAndroid Build Coastguard Worker 1367*35238bceSAndroid Build Coastguard Workervoid glwDrawArrays (GLenum mode, GLint first, GLsizei count) 1368*35238bceSAndroid Build Coastguard Worker{ 1369*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1370*35238bceSAndroid Build Coastguard Worker if (!gl) 1371*35238bceSAndroid Build Coastguard Worker return; 1372*35238bceSAndroid Build Coastguard Worker gl->drawArrays(mode, first, count); 1373*35238bceSAndroid Build Coastguard Worker} 1374*35238bceSAndroid Build Coastguard Worker 1375*35238bceSAndroid Build Coastguard Workervoid glwDrawArraysIndirect (GLenum mode, const void *indirect) 1376*35238bceSAndroid Build Coastguard Worker{ 1377*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1378*35238bceSAndroid Build Coastguard Worker if (!gl) 1379*35238bceSAndroid Build Coastguard Worker return; 1380*35238bceSAndroid Build Coastguard Worker gl->drawArraysIndirect(mode, indirect); 1381*35238bceSAndroid Build Coastguard Worker} 1382*35238bceSAndroid Build Coastguard Worker 1383*35238bceSAndroid Build Coastguard Workervoid glwDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount) 1384*35238bceSAndroid Build Coastguard Worker{ 1385*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1386*35238bceSAndroid Build Coastguard Worker if (!gl) 1387*35238bceSAndroid Build Coastguard Worker return; 1388*35238bceSAndroid Build Coastguard Worker gl->drawArraysInstanced(mode, first, count, instancecount); 1389*35238bceSAndroid Build Coastguard Worker} 1390*35238bceSAndroid Build Coastguard Worker 1391*35238bceSAndroid Build Coastguard Workervoid glwDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance) 1392*35238bceSAndroid Build Coastguard Worker{ 1393*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1394*35238bceSAndroid Build Coastguard Worker if (!gl) 1395*35238bceSAndroid Build Coastguard Worker return; 1396*35238bceSAndroid Build Coastguard Worker gl->drawArraysInstancedBaseInstance(mode, first, count, instancecount, baseinstance); 1397*35238bceSAndroid Build Coastguard Worker} 1398*35238bceSAndroid Build Coastguard Worker 1399*35238bceSAndroid Build Coastguard Workervoid glwDrawBuffer (GLenum buf) 1400*35238bceSAndroid Build Coastguard Worker{ 1401*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1402*35238bceSAndroid Build Coastguard Worker if (!gl) 1403*35238bceSAndroid Build Coastguard Worker return; 1404*35238bceSAndroid Build Coastguard Worker gl->drawBuffer(buf); 1405*35238bceSAndroid Build Coastguard Worker} 1406*35238bceSAndroid Build Coastguard Worker 1407*35238bceSAndroid Build Coastguard Workervoid glwDrawBuffers (GLsizei n, const GLenum *bufs) 1408*35238bceSAndroid Build Coastguard Worker{ 1409*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1410*35238bceSAndroid Build Coastguard Worker if (!gl) 1411*35238bceSAndroid Build Coastguard Worker return; 1412*35238bceSAndroid Build Coastguard Worker gl->drawBuffers(n, bufs); 1413*35238bceSAndroid Build Coastguard Worker} 1414*35238bceSAndroid Build Coastguard Worker 1415*35238bceSAndroid Build Coastguard Workervoid glwDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices) 1416*35238bceSAndroid Build Coastguard Worker{ 1417*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1418*35238bceSAndroid Build Coastguard Worker if (!gl) 1419*35238bceSAndroid Build Coastguard Worker return; 1420*35238bceSAndroid Build Coastguard Worker gl->drawElements(mode, count, type, indices); 1421*35238bceSAndroid Build Coastguard Worker} 1422*35238bceSAndroid Build Coastguard Worker 1423*35238bceSAndroid Build Coastguard Workervoid glwDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex) 1424*35238bceSAndroid Build Coastguard Worker{ 1425*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1426*35238bceSAndroid Build Coastguard Worker if (!gl) 1427*35238bceSAndroid Build Coastguard Worker return; 1428*35238bceSAndroid Build Coastguard Worker gl->drawElementsBaseVertex(mode, count, type, indices, basevertex); 1429*35238bceSAndroid Build Coastguard Worker} 1430*35238bceSAndroid Build Coastguard Worker 1431*35238bceSAndroid Build Coastguard Workervoid glwDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect) 1432*35238bceSAndroid Build Coastguard Worker{ 1433*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1434*35238bceSAndroid Build Coastguard Worker if (!gl) 1435*35238bceSAndroid Build Coastguard Worker return; 1436*35238bceSAndroid Build Coastguard Worker gl->drawElementsIndirect(mode, type, indirect); 1437*35238bceSAndroid Build Coastguard Worker} 1438*35238bceSAndroid Build Coastguard Worker 1439*35238bceSAndroid Build Coastguard Workervoid glwDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount) 1440*35238bceSAndroid Build Coastguard Worker{ 1441*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1442*35238bceSAndroid Build Coastguard Worker if (!gl) 1443*35238bceSAndroid Build Coastguard Worker return; 1444*35238bceSAndroid Build Coastguard Worker gl->drawElementsInstanced(mode, count, type, indices, instancecount); 1445*35238bceSAndroid Build Coastguard Worker} 1446*35238bceSAndroid Build Coastguard Worker 1447*35238bceSAndroid Build Coastguard Workervoid glwDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance) 1448*35238bceSAndroid Build Coastguard Worker{ 1449*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1450*35238bceSAndroid Build Coastguard Worker if (!gl) 1451*35238bceSAndroid Build Coastguard Worker return; 1452*35238bceSAndroid Build Coastguard Worker gl->drawElementsInstancedBaseInstance(mode, count, type, indices, instancecount, baseinstance); 1453*35238bceSAndroid Build Coastguard Worker} 1454*35238bceSAndroid Build Coastguard Worker 1455*35238bceSAndroid Build Coastguard Workervoid glwDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex) 1456*35238bceSAndroid Build Coastguard Worker{ 1457*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1458*35238bceSAndroid Build Coastguard Worker if (!gl) 1459*35238bceSAndroid Build Coastguard Worker return; 1460*35238bceSAndroid Build Coastguard Worker gl->drawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); 1461*35238bceSAndroid Build Coastguard Worker} 1462*35238bceSAndroid Build Coastguard Worker 1463*35238bceSAndroid Build Coastguard Workervoid glwDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance) 1464*35238bceSAndroid Build Coastguard Worker{ 1465*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1466*35238bceSAndroid Build Coastguard Worker if (!gl) 1467*35238bceSAndroid Build Coastguard Worker return; 1468*35238bceSAndroid Build Coastguard Worker gl->drawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, instancecount, basevertex, baseinstance); 1469*35238bceSAndroid Build Coastguard Worker} 1470*35238bceSAndroid Build Coastguard Worker 1471*35238bceSAndroid Build Coastguard Workervoid glwDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices) 1472*35238bceSAndroid Build Coastguard Worker{ 1473*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1474*35238bceSAndroid Build Coastguard Worker if (!gl) 1475*35238bceSAndroid Build Coastguard Worker return; 1476*35238bceSAndroid Build Coastguard Worker gl->drawRangeElements(mode, start, end, count, type, indices); 1477*35238bceSAndroid Build Coastguard Worker} 1478*35238bceSAndroid Build Coastguard Worker 1479*35238bceSAndroid Build Coastguard Workervoid glwDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex) 1480*35238bceSAndroid Build Coastguard Worker{ 1481*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1482*35238bceSAndroid Build Coastguard Worker if (!gl) 1483*35238bceSAndroid Build Coastguard Worker return; 1484*35238bceSAndroid Build Coastguard Worker gl->drawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); 1485*35238bceSAndroid Build Coastguard Worker} 1486*35238bceSAndroid Build Coastguard Worker 1487*35238bceSAndroid Build Coastguard Workervoid glwDrawTransformFeedback (GLenum mode, GLuint id) 1488*35238bceSAndroid Build Coastguard Worker{ 1489*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1490*35238bceSAndroid Build Coastguard Worker if (!gl) 1491*35238bceSAndroid Build Coastguard Worker return; 1492*35238bceSAndroid Build Coastguard Worker gl->drawTransformFeedback(mode, id); 1493*35238bceSAndroid Build Coastguard Worker} 1494*35238bceSAndroid Build Coastguard Worker 1495*35238bceSAndroid Build Coastguard Workervoid glwDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount) 1496*35238bceSAndroid Build Coastguard Worker{ 1497*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1498*35238bceSAndroid Build Coastguard Worker if (!gl) 1499*35238bceSAndroid Build Coastguard Worker return; 1500*35238bceSAndroid Build Coastguard Worker gl->drawTransformFeedbackInstanced(mode, id, instancecount); 1501*35238bceSAndroid Build Coastguard Worker} 1502*35238bceSAndroid Build Coastguard Worker 1503*35238bceSAndroid Build Coastguard Workervoid glwDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream) 1504*35238bceSAndroid Build Coastguard Worker{ 1505*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1506*35238bceSAndroid Build Coastguard Worker if (!gl) 1507*35238bceSAndroid Build Coastguard Worker return; 1508*35238bceSAndroid Build Coastguard Worker gl->drawTransformFeedbackStream(mode, id, stream); 1509*35238bceSAndroid Build Coastguard Worker} 1510*35238bceSAndroid Build Coastguard Worker 1511*35238bceSAndroid Build Coastguard Workervoid glwDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount) 1512*35238bceSAndroid Build Coastguard Worker{ 1513*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1514*35238bceSAndroid Build Coastguard Worker if (!gl) 1515*35238bceSAndroid Build Coastguard Worker return; 1516*35238bceSAndroid Build Coastguard Worker gl->drawTransformFeedbackStreamInstanced(mode, id, stream, instancecount); 1517*35238bceSAndroid Build Coastguard Worker} 1518*35238bceSAndroid Build Coastguard Worker 1519*35238bceSAndroid Build Coastguard Workervoid glwEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image) 1520*35238bceSAndroid Build Coastguard Worker{ 1521*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1522*35238bceSAndroid Build Coastguard Worker if (!gl) 1523*35238bceSAndroid Build Coastguard Worker return; 1524*35238bceSAndroid Build Coastguard Worker gl->eglImageTargetRenderbufferStorageOES(target, image); 1525*35238bceSAndroid Build Coastguard Worker} 1526*35238bceSAndroid Build Coastguard Worker 1527*35238bceSAndroid Build Coastguard Workervoid glwEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image) 1528*35238bceSAndroid Build Coastguard Worker{ 1529*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1530*35238bceSAndroid Build Coastguard Worker if (!gl) 1531*35238bceSAndroid Build Coastguard Worker return; 1532*35238bceSAndroid Build Coastguard Worker gl->eglImageTargetTexture2DOES(target, image); 1533*35238bceSAndroid Build Coastguard Worker} 1534*35238bceSAndroid Build Coastguard Worker 1535*35238bceSAndroid Build Coastguard Workervoid glwEnable (GLenum cap) 1536*35238bceSAndroid Build Coastguard Worker{ 1537*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1538*35238bceSAndroid Build Coastguard Worker if (!gl) 1539*35238bceSAndroid Build Coastguard Worker return; 1540*35238bceSAndroid Build Coastguard Worker gl->enable(cap); 1541*35238bceSAndroid Build Coastguard Worker} 1542*35238bceSAndroid Build Coastguard Worker 1543*35238bceSAndroid Build Coastguard Workervoid glwEnableClientStateIndexedEXT (GLenum array, GLuint index) 1544*35238bceSAndroid Build Coastguard Worker{ 1545*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1546*35238bceSAndroid Build Coastguard Worker if (!gl) 1547*35238bceSAndroid Build Coastguard Worker return; 1548*35238bceSAndroid Build Coastguard Worker gl->enableClientStateIndexedEXT(array, index); 1549*35238bceSAndroid Build Coastguard Worker} 1550*35238bceSAndroid Build Coastguard Worker 1551*35238bceSAndroid Build Coastguard Workervoid glwEnableClientStateiEXT (GLenum array, GLuint index) 1552*35238bceSAndroid Build Coastguard Worker{ 1553*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1554*35238bceSAndroid Build Coastguard Worker if (!gl) 1555*35238bceSAndroid Build Coastguard Worker return; 1556*35238bceSAndroid Build Coastguard Worker gl->enableClientStateiEXT(array, index); 1557*35238bceSAndroid Build Coastguard Worker} 1558*35238bceSAndroid Build Coastguard Worker 1559*35238bceSAndroid Build Coastguard Workervoid glwEnableVertexArrayAttrib (GLuint vaobj, GLuint index) 1560*35238bceSAndroid Build Coastguard Worker{ 1561*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1562*35238bceSAndroid Build Coastguard Worker if (!gl) 1563*35238bceSAndroid Build Coastguard Worker return; 1564*35238bceSAndroid Build Coastguard Worker gl->enableVertexArrayAttrib(vaobj, index); 1565*35238bceSAndroid Build Coastguard Worker} 1566*35238bceSAndroid Build Coastguard Worker 1567*35238bceSAndroid Build Coastguard Workervoid glwEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index) 1568*35238bceSAndroid Build Coastguard Worker{ 1569*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1570*35238bceSAndroid Build Coastguard Worker if (!gl) 1571*35238bceSAndroid Build Coastguard Worker return; 1572*35238bceSAndroid Build Coastguard Worker gl->enableVertexArrayAttribEXT(vaobj, index); 1573*35238bceSAndroid Build Coastguard Worker} 1574*35238bceSAndroid Build Coastguard Worker 1575*35238bceSAndroid Build Coastguard Workervoid glwEnableVertexArrayEXT (GLuint vaobj, GLenum array) 1576*35238bceSAndroid Build Coastguard Worker{ 1577*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1578*35238bceSAndroid Build Coastguard Worker if (!gl) 1579*35238bceSAndroid Build Coastguard Worker return; 1580*35238bceSAndroid Build Coastguard Worker gl->enableVertexArrayEXT(vaobj, array); 1581*35238bceSAndroid Build Coastguard Worker} 1582*35238bceSAndroid Build Coastguard Worker 1583*35238bceSAndroid Build Coastguard Workervoid glwEnableVertexAttribArray (GLuint index) 1584*35238bceSAndroid Build Coastguard Worker{ 1585*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1586*35238bceSAndroid Build Coastguard Worker if (!gl) 1587*35238bceSAndroid Build Coastguard Worker return; 1588*35238bceSAndroid Build Coastguard Worker gl->enableVertexAttribArray(index); 1589*35238bceSAndroid Build Coastguard Worker} 1590*35238bceSAndroid Build Coastguard Worker 1591*35238bceSAndroid Build Coastguard Workervoid glwEnablei (GLenum target, GLuint index) 1592*35238bceSAndroid Build Coastguard Worker{ 1593*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1594*35238bceSAndroid Build Coastguard Worker if (!gl) 1595*35238bceSAndroid Build Coastguard Worker return; 1596*35238bceSAndroid Build Coastguard Worker gl->enablei(target, index); 1597*35238bceSAndroid Build Coastguard Worker} 1598*35238bceSAndroid Build Coastguard Worker 1599*35238bceSAndroid Build Coastguard Workervoid glwEndConditionalRender (void) 1600*35238bceSAndroid Build Coastguard Worker{ 1601*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1602*35238bceSAndroid Build Coastguard Worker if (!gl) 1603*35238bceSAndroid Build Coastguard Worker return; 1604*35238bceSAndroid Build Coastguard Worker gl->endConditionalRender(); 1605*35238bceSAndroid Build Coastguard Worker} 1606*35238bceSAndroid Build Coastguard Worker 1607*35238bceSAndroid Build Coastguard Workervoid glwEndQuery (GLenum target) 1608*35238bceSAndroid Build Coastguard Worker{ 1609*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1610*35238bceSAndroid Build Coastguard Worker if (!gl) 1611*35238bceSAndroid Build Coastguard Worker return; 1612*35238bceSAndroid Build Coastguard Worker gl->endQuery(target); 1613*35238bceSAndroid Build Coastguard Worker} 1614*35238bceSAndroid Build Coastguard Worker 1615*35238bceSAndroid Build Coastguard Workervoid glwEndQueryIndexed (GLenum target, GLuint index) 1616*35238bceSAndroid Build Coastguard Worker{ 1617*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1618*35238bceSAndroid Build Coastguard Worker if (!gl) 1619*35238bceSAndroid Build Coastguard Worker return; 1620*35238bceSAndroid Build Coastguard Worker gl->endQueryIndexed(target, index); 1621*35238bceSAndroid Build Coastguard Worker} 1622*35238bceSAndroid Build Coastguard Worker 1623*35238bceSAndroid Build Coastguard Workervoid glwEndTransformFeedback (void) 1624*35238bceSAndroid Build Coastguard Worker{ 1625*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1626*35238bceSAndroid Build Coastguard Worker if (!gl) 1627*35238bceSAndroid Build Coastguard Worker return; 1628*35238bceSAndroid Build Coastguard Worker gl->endTransformFeedback(); 1629*35238bceSAndroid Build Coastguard Worker} 1630*35238bceSAndroid Build Coastguard Worker 1631*35238bceSAndroid Build Coastguard WorkerGLsync glwFenceSync (GLenum condition, GLbitfield flags) 1632*35238bceSAndroid Build Coastguard Worker{ 1633*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1634*35238bceSAndroid Build Coastguard Worker if (!gl) 1635*35238bceSAndroid Build Coastguard Worker return (GLsync)0; 1636*35238bceSAndroid Build Coastguard Worker return gl->fenceSync(condition, flags); 1637*35238bceSAndroid Build Coastguard Worker} 1638*35238bceSAndroid Build Coastguard Worker 1639*35238bceSAndroid Build Coastguard Workervoid glwFinish (void) 1640*35238bceSAndroid Build Coastguard Worker{ 1641*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1642*35238bceSAndroid Build Coastguard Worker if (!gl) 1643*35238bceSAndroid Build Coastguard Worker return; 1644*35238bceSAndroid Build Coastguard Worker gl->finish(); 1645*35238bceSAndroid Build Coastguard Worker} 1646*35238bceSAndroid Build Coastguard Worker 1647*35238bceSAndroid Build Coastguard Workervoid glwFlush (void) 1648*35238bceSAndroid Build Coastguard Worker{ 1649*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1650*35238bceSAndroid Build Coastguard Worker if (!gl) 1651*35238bceSAndroid Build Coastguard Worker return; 1652*35238bceSAndroid Build Coastguard Worker gl->flush(); 1653*35238bceSAndroid Build Coastguard Worker} 1654*35238bceSAndroid Build Coastguard Worker 1655*35238bceSAndroid Build Coastguard Workervoid glwFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length) 1656*35238bceSAndroid Build Coastguard Worker{ 1657*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1658*35238bceSAndroid Build Coastguard Worker if (!gl) 1659*35238bceSAndroid Build Coastguard Worker return; 1660*35238bceSAndroid Build Coastguard Worker gl->flushMappedBufferRange(target, offset, length); 1661*35238bceSAndroid Build Coastguard Worker} 1662*35238bceSAndroid Build Coastguard Worker 1663*35238bceSAndroid Build Coastguard Workervoid glwFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length) 1664*35238bceSAndroid Build Coastguard Worker{ 1665*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1666*35238bceSAndroid Build Coastguard Worker if (!gl) 1667*35238bceSAndroid Build Coastguard Worker return; 1668*35238bceSAndroid Build Coastguard Worker gl->flushMappedNamedBufferRange(buffer, offset, length); 1669*35238bceSAndroid Build Coastguard Worker} 1670*35238bceSAndroid Build Coastguard Worker 1671*35238bceSAndroid Build Coastguard Workervoid glwFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length) 1672*35238bceSAndroid Build Coastguard Worker{ 1673*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1674*35238bceSAndroid Build Coastguard Worker if (!gl) 1675*35238bceSAndroid Build Coastguard Worker return; 1676*35238bceSAndroid Build Coastguard Worker gl->flushMappedNamedBufferRangeEXT(buffer, offset, length); 1677*35238bceSAndroid Build Coastguard Worker} 1678*35238bceSAndroid Build Coastguard Worker 1679*35238bceSAndroid Build Coastguard Workervoid glwFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode) 1680*35238bceSAndroid Build Coastguard Worker{ 1681*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1682*35238bceSAndroid Build Coastguard Worker if (!gl) 1683*35238bceSAndroid Build Coastguard Worker return; 1684*35238bceSAndroid Build Coastguard Worker gl->framebufferDrawBufferEXT(framebuffer, mode); 1685*35238bceSAndroid Build Coastguard Worker} 1686*35238bceSAndroid Build Coastguard Worker 1687*35238bceSAndroid Build Coastguard Workervoid glwFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs) 1688*35238bceSAndroid Build Coastguard Worker{ 1689*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1690*35238bceSAndroid Build Coastguard Worker if (!gl) 1691*35238bceSAndroid Build Coastguard Worker return; 1692*35238bceSAndroid Build Coastguard Worker gl->framebufferDrawBuffersEXT(framebuffer, n, bufs); 1693*35238bceSAndroid Build Coastguard Worker} 1694*35238bceSAndroid Build Coastguard Worker 1695*35238bceSAndroid Build Coastguard Workervoid glwFramebufferParameteri (GLenum target, GLenum pname, GLint param) 1696*35238bceSAndroid Build Coastguard Worker{ 1697*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1698*35238bceSAndroid Build Coastguard Worker if (!gl) 1699*35238bceSAndroid Build Coastguard Worker return; 1700*35238bceSAndroid Build Coastguard Worker gl->framebufferParameteri(target, pname, param); 1701*35238bceSAndroid Build Coastguard Worker} 1702*35238bceSAndroid Build Coastguard Worker 1703*35238bceSAndroid Build Coastguard Workervoid glwFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode) 1704*35238bceSAndroid Build Coastguard Worker{ 1705*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1706*35238bceSAndroid Build Coastguard Worker if (!gl) 1707*35238bceSAndroid Build Coastguard Worker return; 1708*35238bceSAndroid Build Coastguard Worker gl->framebufferReadBufferEXT(framebuffer, mode); 1709*35238bceSAndroid Build Coastguard Worker} 1710*35238bceSAndroid Build Coastguard Worker 1711*35238bceSAndroid Build Coastguard Workervoid glwFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) 1712*35238bceSAndroid Build Coastguard Worker{ 1713*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1714*35238bceSAndroid Build Coastguard Worker if (!gl) 1715*35238bceSAndroid Build Coastguard Worker return; 1716*35238bceSAndroid Build Coastguard Worker gl->framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); 1717*35238bceSAndroid Build Coastguard Worker} 1718*35238bceSAndroid Build Coastguard Worker 1719*35238bceSAndroid Build Coastguard Workervoid glwFramebufferShadingRateEXT (GLenum target, GLenum attachment, GLuint texture, GLint baseLayer, GLsizei numLayers, GLsizei texelWidth, GLsizei texelHeight) 1720*35238bceSAndroid Build Coastguard Worker{ 1721*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1722*35238bceSAndroid Build Coastguard Worker if (!gl) 1723*35238bceSAndroid Build Coastguard Worker return; 1724*35238bceSAndroid Build Coastguard Worker gl->framebufferShadingRateEXT(target, attachment, texture, baseLayer, numLayers, texelWidth, texelHeight); 1725*35238bceSAndroid Build Coastguard Worker} 1726*35238bceSAndroid Build Coastguard Worker 1727*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level) 1728*35238bceSAndroid Build Coastguard Worker{ 1729*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1730*35238bceSAndroid Build Coastguard Worker if (!gl) 1731*35238bceSAndroid Build Coastguard Worker return; 1732*35238bceSAndroid Build Coastguard Worker gl->framebufferTexture(target, attachment, texture, level); 1733*35238bceSAndroid Build Coastguard Worker} 1734*35238bceSAndroid Build Coastguard Worker 1735*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) 1736*35238bceSAndroid Build Coastguard Worker{ 1737*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1738*35238bceSAndroid Build Coastguard Worker if (!gl) 1739*35238bceSAndroid Build Coastguard Worker return; 1740*35238bceSAndroid Build Coastguard Worker gl->framebufferTexture1D(target, attachment, textarget, texture, level); 1741*35238bceSAndroid Build Coastguard Worker} 1742*35238bceSAndroid Build Coastguard Worker 1743*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) 1744*35238bceSAndroid Build Coastguard Worker{ 1745*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1746*35238bceSAndroid Build Coastguard Worker if (!gl) 1747*35238bceSAndroid Build Coastguard Worker return; 1748*35238bceSAndroid Build Coastguard Worker gl->framebufferTexture2D(target, attachment, textarget, texture, level); 1749*35238bceSAndroid Build Coastguard Worker} 1750*35238bceSAndroid Build Coastguard Worker 1751*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) 1752*35238bceSAndroid Build Coastguard Worker{ 1753*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1754*35238bceSAndroid Build Coastguard Worker if (!gl) 1755*35238bceSAndroid Build Coastguard Worker return; 1756*35238bceSAndroid Build Coastguard Worker gl->framebufferTexture2DMultisampleEXT(target, attachment, textarget, texture, level, samples); 1757*35238bceSAndroid Build Coastguard Worker} 1758*35238bceSAndroid Build Coastguard Worker 1759*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) 1760*35238bceSAndroid Build Coastguard Worker{ 1761*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1762*35238bceSAndroid Build Coastguard Worker if (!gl) 1763*35238bceSAndroid Build Coastguard Worker return; 1764*35238bceSAndroid Build Coastguard Worker gl->framebufferTexture3D(target, attachment, textarget, texture, level, zoffset); 1765*35238bceSAndroid Build Coastguard Worker} 1766*35238bceSAndroid Build Coastguard Worker 1767*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) 1768*35238bceSAndroid Build Coastguard Worker{ 1769*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1770*35238bceSAndroid Build Coastguard Worker if (!gl) 1771*35238bceSAndroid Build Coastguard Worker return; 1772*35238bceSAndroid Build Coastguard Worker gl->framebufferTexture3DOES(target, attachment, textarget, texture, level, zoffset); 1773*35238bceSAndroid Build Coastguard Worker} 1774*35238bceSAndroid Build Coastguard Worker 1775*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) 1776*35238bceSAndroid Build Coastguard Worker{ 1777*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1778*35238bceSAndroid Build Coastguard Worker if (!gl) 1779*35238bceSAndroid Build Coastguard Worker return; 1780*35238bceSAndroid Build Coastguard Worker gl->framebufferTextureLayer(target, attachment, texture, level, layer); 1781*35238bceSAndroid Build Coastguard Worker} 1782*35238bceSAndroid Build Coastguard Worker 1783*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews) 1784*35238bceSAndroid Build Coastguard Worker{ 1785*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1786*35238bceSAndroid Build Coastguard Worker if (!gl) 1787*35238bceSAndroid Build Coastguard Worker return; 1788*35238bceSAndroid Build Coastguard Worker gl->framebufferTextureMultisampleMultiviewOVR(target, attachment, texture, level, samples, baseViewIndex, numViews); 1789*35238bceSAndroid Build Coastguard Worker} 1790*35238bceSAndroid Build Coastguard Worker 1791*35238bceSAndroid Build Coastguard Workervoid glwFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews) 1792*35238bceSAndroid Build Coastguard Worker{ 1793*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1794*35238bceSAndroid Build Coastguard Worker if (!gl) 1795*35238bceSAndroid Build Coastguard Worker return; 1796*35238bceSAndroid Build Coastguard Worker gl->framebufferTextureMultiviewOVR(target, attachment, texture, level, baseViewIndex, numViews); 1797*35238bceSAndroid Build Coastguard Worker} 1798*35238bceSAndroid Build Coastguard Worker 1799*35238bceSAndroid Build Coastguard Workervoid glwFrontFace (GLenum mode) 1800*35238bceSAndroid Build Coastguard Worker{ 1801*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1802*35238bceSAndroid Build Coastguard Worker if (!gl) 1803*35238bceSAndroid Build Coastguard Worker return; 1804*35238bceSAndroid Build Coastguard Worker gl->frontFace(mode); 1805*35238bceSAndroid Build Coastguard Worker} 1806*35238bceSAndroid Build Coastguard Worker 1807*35238bceSAndroid Build Coastguard Workervoid glwGenBuffers (GLsizei n, GLuint *buffers) 1808*35238bceSAndroid Build Coastguard Worker{ 1809*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1810*35238bceSAndroid Build Coastguard Worker if (!gl) 1811*35238bceSAndroid Build Coastguard Worker return; 1812*35238bceSAndroid Build Coastguard Worker gl->genBuffers(n, buffers); 1813*35238bceSAndroid Build Coastguard Worker} 1814*35238bceSAndroid Build Coastguard Worker 1815*35238bceSAndroid Build Coastguard Workervoid glwGenFramebuffers (GLsizei n, GLuint *framebuffers) 1816*35238bceSAndroid Build Coastguard Worker{ 1817*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1818*35238bceSAndroid Build Coastguard Worker if (!gl) 1819*35238bceSAndroid Build Coastguard Worker return; 1820*35238bceSAndroid Build Coastguard Worker gl->genFramebuffers(n, framebuffers); 1821*35238bceSAndroid Build Coastguard Worker} 1822*35238bceSAndroid Build Coastguard Worker 1823*35238bceSAndroid Build Coastguard Workervoid glwGenProgramPipelines (GLsizei n, GLuint *pipelines) 1824*35238bceSAndroid Build Coastguard Worker{ 1825*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1826*35238bceSAndroid Build Coastguard Worker if (!gl) 1827*35238bceSAndroid Build Coastguard Worker return; 1828*35238bceSAndroid Build Coastguard Worker gl->genProgramPipelines(n, pipelines); 1829*35238bceSAndroid Build Coastguard Worker} 1830*35238bceSAndroid Build Coastguard Worker 1831*35238bceSAndroid Build Coastguard Workervoid glwGenQueries (GLsizei n, GLuint *ids) 1832*35238bceSAndroid Build Coastguard Worker{ 1833*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1834*35238bceSAndroid Build Coastguard Worker if (!gl) 1835*35238bceSAndroid Build Coastguard Worker return; 1836*35238bceSAndroid Build Coastguard Worker gl->genQueries(n, ids); 1837*35238bceSAndroid Build Coastguard Worker} 1838*35238bceSAndroid Build Coastguard Worker 1839*35238bceSAndroid Build Coastguard Workervoid glwGenRenderbuffers (GLsizei n, GLuint *renderbuffers) 1840*35238bceSAndroid Build Coastguard Worker{ 1841*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1842*35238bceSAndroid Build Coastguard Worker if (!gl) 1843*35238bceSAndroid Build Coastguard Worker return; 1844*35238bceSAndroid Build Coastguard Worker gl->genRenderbuffers(n, renderbuffers); 1845*35238bceSAndroid Build Coastguard Worker} 1846*35238bceSAndroid Build Coastguard Worker 1847*35238bceSAndroid Build Coastguard Workervoid glwGenSamplers (GLsizei count, GLuint *samplers) 1848*35238bceSAndroid Build Coastguard Worker{ 1849*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1850*35238bceSAndroid Build Coastguard Worker if (!gl) 1851*35238bceSAndroid Build Coastguard Worker return; 1852*35238bceSAndroid Build Coastguard Worker gl->genSamplers(count, samplers); 1853*35238bceSAndroid Build Coastguard Worker} 1854*35238bceSAndroid Build Coastguard Worker 1855*35238bceSAndroid Build Coastguard Workervoid glwGenTextures (GLsizei n, GLuint *textures) 1856*35238bceSAndroid Build Coastguard Worker{ 1857*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1858*35238bceSAndroid Build Coastguard Worker if (!gl) 1859*35238bceSAndroid Build Coastguard Worker return; 1860*35238bceSAndroid Build Coastguard Worker gl->genTextures(n, textures); 1861*35238bceSAndroid Build Coastguard Worker} 1862*35238bceSAndroid Build Coastguard Worker 1863*35238bceSAndroid Build Coastguard Workervoid glwGenTransformFeedbacks (GLsizei n, GLuint *ids) 1864*35238bceSAndroid Build Coastguard Worker{ 1865*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1866*35238bceSAndroid Build Coastguard Worker if (!gl) 1867*35238bceSAndroid Build Coastguard Worker return; 1868*35238bceSAndroid Build Coastguard Worker gl->genTransformFeedbacks(n, ids); 1869*35238bceSAndroid Build Coastguard Worker} 1870*35238bceSAndroid Build Coastguard Worker 1871*35238bceSAndroid Build Coastguard Workervoid glwGenVertexArrays (GLsizei n, GLuint *arrays) 1872*35238bceSAndroid Build Coastguard Worker{ 1873*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1874*35238bceSAndroid Build Coastguard Worker if (!gl) 1875*35238bceSAndroid Build Coastguard Worker return; 1876*35238bceSAndroid Build Coastguard Worker gl->genVertexArrays(n, arrays); 1877*35238bceSAndroid Build Coastguard Worker} 1878*35238bceSAndroid Build Coastguard Worker 1879*35238bceSAndroid Build Coastguard Workervoid glwGenerateMipmap (GLenum target) 1880*35238bceSAndroid Build Coastguard Worker{ 1881*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1882*35238bceSAndroid Build Coastguard Worker if (!gl) 1883*35238bceSAndroid Build Coastguard Worker return; 1884*35238bceSAndroid Build Coastguard Worker gl->generateMipmap(target); 1885*35238bceSAndroid Build Coastguard Worker} 1886*35238bceSAndroid Build Coastguard Worker 1887*35238bceSAndroid Build Coastguard Workervoid glwGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target) 1888*35238bceSAndroid Build Coastguard Worker{ 1889*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1890*35238bceSAndroid Build Coastguard Worker if (!gl) 1891*35238bceSAndroid Build Coastguard Worker return; 1892*35238bceSAndroid Build Coastguard Worker gl->generateMultiTexMipmapEXT(texunit, target); 1893*35238bceSAndroid Build Coastguard Worker} 1894*35238bceSAndroid Build Coastguard Worker 1895*35238bceSAndroid Build Coastguard Workervoid glwGenerateTextureMipmap (GLuint texture) 1896*35238bceSAndroid Build Coastguard Worker{ 1897*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1898*35238bceSAndroid Build Coastguard Worker if (!gl) 1899*35238bceSAndroid Build Coastguard Worker return; 1900*35238bceSAndroid Build Coastguard Worker gl->generateTextureMipmap(texture); 1901*35238bceSAndroid Build Coastguard Worker} 1902*35238bceSAndroid Build Coastguard Worker 1903*35238bceSAndroid Build Coastguard Workervoid glwGenerateTextureMipmapEXT (GLuint texture, GLenum target) 1904*35238bceSAndroid Build Coastguard Worker{ 1905*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1906*35238bceSAndroid Build Coastguard Worker if (!gl) 1907*35238bceSAndroid Build Coastguard Worker return; 1908*35238bceSAndroid Build Coastguard Worker gl->generateTextureMipmapEXT(texture, target); 1909*35238bceSAndroid Build Coastguard Worker} 1910*35238bceSAndroid Build Coastguard Worker 1911*35238bceSAndroid Build Coastguard Workervoid glwGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params) 1912*35238bceSAndroid Build Coastguard Worker{ 1913*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1914*35238bceSAndroid Build Coastguard Worker if (!gl) 1915*35238bceSAndroid Build Coastguard Worker return; 1916*35238bceSAndroid Build Coastguard Worker gl->getActiveAtomicCounterBufferiv(program, bufferIndex, pname, params); 1917*35238bceSAndroid Build Coastguard Worker} 1918*35238bceSAndroid Build Coastguard Worker 1919*35238bceSAndroid Build Coastguard Workervoid glwGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) 1920*35238bceSAndroid Build Coastguard Worker{ 1921*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1922*35238bceSAndroid Build Coastguard Worker if (!gl) 1923*35238bceSAndroid Build Coastguard Worker return; 1924*35238bceSAndroid Build Coastguard Worker gl->getActiveAttrib(program, index, bufSize, length, size, type, name); 1925*35238bceSAndroid Build Coastguard Worker} 1926*35238bceSAndroid Build Coastguard Worker 1927*35238bceSAndroid Build Coastguard Workervoid glwGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) 1928*35238bceSAndroid Build Coastguard Worker{ 1929*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1930*35238bceSAndroid Build Coastguard Worker if (!gl) 1931*35238bceSAndroid Build Coastguard Worker return; 1932*35238bceSAndroid Build Coastguard Worker gl->getActiveSubroutineName(program, shadertype, index, bufSize, length, name); 1933*35238bceSAndroid Build Coastguard Worker} 1934*35238bceSAndroid Build Coastguard Worker 1935*35238bceSAndroid Build Coastguard Workervoid glwGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) 1936*35238bceSAndroid Build Coastguard Worker{ 1937*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1938*35238bceSAndroid Build Coastguard Worker if (!gl) 1939*35238bceSAndroid Build Coastguard Worker return; 1940*35238bceSAndroid Build Coastguard Worker gl->getActiveSubroutineUniformName(program, shadertype, index, bufSize, length, name); 1941*35238bceSAndroid Build Coastguard Worker} 1942*35238bceSAndroid Build Coastguard Worker 1943*35238bceSAndroid Build Coastguard Workervoid glwGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values) 1944*35238bceSAndroid Build Coastguard Worker{ 1945*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1946*35238bceSAndroid Build Coastguard Worker if (!gl) 1947*35238bceSAndroid Build Coastguard Worker return; 1948*35238bceSAndroid Build Coastguard Worker gl->getActiveSubroutineUniformiv(program, shadertype, index, pname, values); 1949*35238bceSAndroid Build Coastguard Worker} 1950*35238bceSAndroid Build Coastguard Worker 1951*35238bceSAndroid Build Coastguard Workervoid glwGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) 1952*35238bceSAndroid Build Coastguard Worker{ 1953*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1954*35238bceSAndroid Build Coastguard Worker if (!gl) 1955*35238bceSAndroid Build Coastguard Worker return; 1956*35238bceSAndroid Build Coastguard Worker gl->getActiveUniform(program, index, bufSize, length, size, type, name); 1957*35238bceSAndroid Build Coastguard Worker} 1958*35238bceSAndroid Build Coastguard Worker 1959*35238bceSAndroid Build Coastguard Workervoid glwGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) 1960*35238bceSAndroid Build Coastguard Worker{ 1961*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1962*35238bceSAndroid Build Coastguard Worker if (!gl) 1963*35238bceSAndroid Build Coastguard Worker return; 1964*35238bceSAndroid Build Coastguard Worker gl->getActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); 1965*35238bceSAndroid Build Coastguard Worker} 1966*35238bceSAndroid Build Coastguard Worker 1967*35238bceSAndroid Build Coastguard Workervoid glwGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) 1968*35238bceSAndroid Build Coastguard Worker{ 1969*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1970*35238bceSAndroid Build Coastguard Worker if (!gl) 1971*35238bceSAndroid Build Coastguard Worker return; 1972*35238bceSAndroid Build Coastguard Worker gl->getActiveUniformBlockiv(program, uniformBlockIndex, pname, params); 1973*35238bceSAndroid Build Coastguard Worker} 1974*35238bceSAndroid Build Coastguard Worker 1975*35238bceSAndroid Build Coastguard Workervoid glwGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) 1976*35238bceSAndroid Build Coastguard Worker{ 1977*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1978*35238bceSAndroid Build Coastguard Worker if (!gl) 1979*35238bceSAndroid Build Coastguard Worker return; 1980*35238bceSAndroid Build Coastguard Worker gl->getActiveUniformName(program, uniformIndex, bufSize, length, uniformName); 1981*35238bceSAndroid Build Coastguard Worker} 1982*35238bceSAndroid Build Coastguard Worker 1983*35238bceSAndroid Build Coastguard Workervoid glwGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) 1984*35238bceSAndroid Build Coastguard Worker{ 1985*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1986*35238bceSAndroid Build Coastguard Worker if (!gl) 1987*35238bceSAndroid Build Coastguard Worker return; 1988*35238bceSAndroid Build Coastguard Worker gl->getActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); 1989*35238bceSAndroid Build Coastguard Worker} 1990*35238bceSAndroid Build Coastguard Worker 1991*35238bceSAndroid Build Coastguard Workervoid glwGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders) 1992*35238bceSAndroid Build Coastguard Worker{ 1993*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 1994*35238bceSAndroid Build Coastguard Worker if (!gl) 1995*35238bceSAndroid Build Coastguard Worker return; 1996*35238bceSAndroid Build Coastguard Worker gl->getAttachedShaders(program, maxCount, count, shaders); 1997*35238bceSAndroid Build Coastguard Worker} 1998*35238bceSAndroid Build Coastguard Worker 1999*35238bceSAndroid Build Coastguard WorkerGLint glwGetAttribLocation (GLuint program, const GLchar *name) 2000*35238bceSAndroid Build Coastguard Worker{ 2001*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2002*35238bceSAndroid Build Coastguard Worker if (!gl) 2003*35238bceSAndroid Build Coastguard Worker return (GLint)0; 2004*35238bceSAndroid Build Coastguard Worker return gl->getAttribLocation(program, name); 2005*35238bceSAndroid Build Coastguard Worker} 2006*35238bceSAndroid Build Coastguard Worker 2007*35238bceSAndroid Build Coastguard Workervoid glwGetBooleani_v (GLenum target, GLuint index, GLboolean *data) 2008*35238bceSAndroid Build Coastguard Worker{ 2009*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2010*35238bceSAndroid Build Coastguard Worker if (!gl) 2011*35238bceSAndroid Build Coastguard Worker return; 2012*35238bceSAndroid Build Coastguard Worker gl->getBooleani_v(target, index, data); 2013*35238bceSAndroid Build Coastguard Worker} 2014*35238bceSAndroid Build Coastguard Worker 2015*35238bceSAndroid Build Coastguard Workervoid glwGetBooleanv (GLenum pname, GLboolean *data) 2016*35238bceSAndroid Build Coastguard Worker{ 2017*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2018*35238bceSAndroid Build Coastguard Worker if (!gl) 2019*35238bceSAndroid Build Coastguard Worker return; 2020*35238bceSAndroid Build Coastguard Worker gl->getBooleanv(pname, data); 2021*35238bceSAndroid Build Coastguard Worker} 2022*35238bceSAndroid Build Coastguard Worker 2023*35238bceSAndroid Build Coastguard Workervoid glwGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params) 2024*35238bceSAndroid Build Coastguard Worker{ 2025*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2026*35238bceSAndroid Build Coastguard Worker if (!gl) 2027*35238bceSAndroid Build Coastguard Worker return; 2028*35238bceSAndroid Build Coastguard Worker gl->getBufferParameteri64v(target, pname, params); 2029*35238bceSAndroid Build Coastguard Worker} 2030*35238bceSAndroid Build Coastguard Worker 2031*35238bceSAndroid Build Coastguard Workervoid glwGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) 2032*35238bceSAndroid Build Coastguard Worker{ 2033*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2034*35238bceSAndroid Build Coastguard Worker if (!gl) 2035*35238bceSAndroid Build Coastguard Worker return; 2036*35238bceSAndroid Build Coastguard Worker gl->getBufferParameteriv(target, pname, params); 2037*35238bceSAndroid Build Coastguard Worker} 2038*35238bceSAndroid Build Coastguard Worker 2039*35238bceSAndroid Build Coastguard Workervoid glwGetBufferPointerv (GLenum target, GLenum pname, void **params) 2040*35238bceSAndroid Build Coastguard Worker{ 2041*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2042*35238bceSAndroid Build Coastguard Worker if (!gl) 2043*35238bceSAndroid Build Coastguard Worker return; 2044*35238bceSAndroid Build Coastguard Worker gl->getBufferPointerv(target, pname, params); 2045*35238bceSAndroid Build Coastguard Worker} 2046*35238bceSAndroid Build Coastguard Worker 2047*35238bceSAndroid Build Coastguard Workervoid glwGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data) 2048*35238bceSAndroid Build Coastguard Worker{ 2049*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2050*35238bceSAndroid Build Coastguard Worker if (!gl) 2051*35238bceSAndroid Build Coastguard Worker return; 2052*35238bceSAndroid Build Coastguard Worker gl->getBufferSubData(target, offset, size, data); 2053*35238bceSAndroid Build Coastguard Worker} 2054*35238bceSAndroid Build Coastguard Worker 2055*35238bceSAndroid Build Coastguard Workervoid glwGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img) 2056*35238bceSAndroid Build Coastguard Worker{ 2057*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2058*35238bceSAndroid Build Coastguard Worker if (!gl) 2059*35238bceSAndroid Build Coastguard Worker return; 2060*35238bceSAndroid Build Coastguard Worker gl->getCompressedMultiTexImageEXT(texunit, target, lod, img); 2061*35238bceSAndroid Build Coastguard Worker} 2062*35238bceSAndroid Build Coastguard Worker 2063*35238bceSAndroid Build Coastguard Workervoid glwGetCompressedTexImage (GLenum target, GLint level, void *img) 2064*35238bceSAndroid Build Coastguard Worker{ 2065*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2066*35238bceSAndroid Build Coastguard Worker if (!gl) 2067*35238bceSAndroid Build Coastguard Worker return; 2068*35238bceSAndroid Build Coastguard Worker gl->getCompressedTexImage(target, level, img); 2069*35238bceSAndroid Build Coastguard Worker} 2070*35238bceSAndroid Build Coastguard Worker 2071*35238bceSAndroid Build Coastguard Workervoid glwGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels) 2072*35238bceSAndroid Build Coastguard Worker{ 2073*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2074*35238bceSAndroid Build Coastguard Worker if (!gl) 2075*35238bceSAndroid Build Coastguard Worker return; 2076*35238bceSAndroid Build Coastguard Worker gl->getCompressedTextureImage(texture, level, bufSize, pixels); 2077*35238bceSAndroid Build Coastguard Worker} 2078*35238bceSAndroid Build Coastguard Worker 2079*35238bceSAndroid Build Coastguard Workervoid glwGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img) 2080*35238bceSAndroid Build Coastguard Worker{ 2081*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2082*35238bceSAndroid Build Coastguard Worker if (!gl) 2083*35238bceSAndroid Build Coastguard Worker return; 2084*35238bceSAndroid Build Coastguard Worker gl->getCompressedTextureImageEXT(texture, target, lod, img); 2085*35238bceSAndroid Build Coastguard Worker} 2086*35238bceSAndroid Build Coastguard Worker 2087*35238bceSAndroid Build Coastguard Workervoid glwGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels) 2088*35238bceSAndroid Build Coastguard Worker{ 2089*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2090*35238bceSAndroid Build Coastguard Worker if (!gl) 2091*35238bceSAndroid Build Coastguard Worker return; 2092*35238bceSAndroid Build Coastguard Worker gl->getCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels); 2093*35238bceSAndroid Build Coastguard Worker} 2094*35238bceSAndroid Build Coastguard Worker 2095*35238bceSAndroid Build Coastguard WorkerGLuint glwGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog) 2096*35238bceSAndroid Build Coastguard Worker{ 2097*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2098*35238bceSAndroid Build Coastguard Worker if (!gl) 2099*35238bceSAndroid Build Coastguard Worker return (GLuint)0; 2100*35238bceSAndroid Build Coastguard Worker return gl->getDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog); 2101*35238bceSAndroid Build Coastguard Worker} 2102*35238bceSAndroid Build Coastguard Worker 2103*35238bceSAndroid Build Coastguard Workervoid glwGetDoublei_v (GLenum target, GLuint index, GLdouble *data) 2104*35238bceSAndroid Build Coastguard Worker{ 2105*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2106*35238bceSAndroid Build Coastguard Worker if (!gl) 2107*35238bceSAndroid Build Coastguard Worker return; 2108*35238bceSAndroid Build Coastguard Worker gl->getDoublei_v(target, index, data); 2109*35238bceSAndroid Build Coastguard Worker} 2110*35238bceSAndroid Build Coastguard Worker 2111*35238bceSAndroid Build Coastguard Workervoid glwGetDoublev (GLenum pname, GLdouble *data) 2112*35238bceSAndroid Build Coastguard Worker{ 2113*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2114*35238bceSAndroid Build Coastguard Worker if (!gl) 2115*35238bceSAndroid Build Coastguard Worker return; 2116*35238bceSAndroid Build Coastguard Worker gl->getDoublev(pname, data); 2117*35238bceSAndroid Build Coastguard Worker} 2118*35238bceSAndroid Build Coastguard Worker 2119*35238bceSAndroid Build Coastguard WorkerGLenum glwGetError (void) 2120*35238bceSAndroid Build Coastguard Worker{ 2121*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2122*35238bceSAndroid Build Coastguard Worker if (!gl) 2123*35238bceSAndroid Build Coastguard Worker return GL_INVALID_OPERATION; 2124*35238bceSAndroid Build Coastguard Worker return gl->getError(); 2125*35238bceSAndroid Build Coastguard Worker} 2126*35238bceSAndroid Build Coastguard Worker 2127*35238bceSAndroid Build Coastguard Workervoid glwGetFloati_v (GLenum target, GLuint index, GLfloat *data) 2128*35238bceSAndroid Build Coastguard Worker{ 2129*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2130*35238bceSAndroid Build Coastguard Worker if (!gl) 2131*35238bceSAndroid Build Coastguard Worker return; 2132*35238bceSAndroid Build Coastguard Worker gl->getFloati_v(target, index, data); 2133*35238bceSAndroid Build Coastguard Worker} 2134*35238bceSAndroid Build Coastguard Worker 2135*35238bceSAndroid Build Coastguard Workervoid glwGetFloatv (GLenum pname, GLfloat *data) 2136*35238bceSAndroid Build Coastguard Worker{ 2137*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2138*35238bceSAndroid Build Coastguard Worker if (!gl) 2139*35238bceSAndroid Build Coastguard Worker return; 2140*35238bceSAndroid Build Coastguard Worker gl->getFloatv(pname, data); 2141*35238bceSAndroid Build Coastguard Worker} 2142*35238bceSAndroid Build Coastguard Worker 2143*35238bceSAndroid Build Coastguard WorkerGLint glwGetFragDataIndex (GLuint program, const GLchar *name) 2144*35238bceSAndroid Build Coastguard Worker{ 2145*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2146*35238bceSAndroid Build Coastguard Worker if (!gl) 2147*35238bceSAndroid Build Coastguard Worker return (GLint)0; 2148*35238bceSAndroid Build Coastguard Worker return gl->getFragDataIndex(program, name); 2149*35238bceSAndroid Build Coastguard Worker} 2150*35238bceSAndroid Build Coastguard Worker 2151*35238bceSAndroid Build Coastguard WorkerGLint glwGetFragDataLocation (GLuint program, const GLchar *name) 2152*35238bceSAndroid Build Coastguard Worker{ 2153*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2154*35238bceSAndroid Build Coastguard Worker if (!gl) 2155*35238bceSAndroid Build Coastguard Worker return (GLint)0; 2156*35238bceSAndroid Build Coastguard Worker return gl->getFragDataLocation(program, name); 2157*35238bceSAndroid Build Coastguard Worker} 2158*35238bceSAndroid Build Coastguard Worker 2159*35238bceSAndroid Build Coastguard Workervoid glwGetFragmentShadingRatesEXT (GLsizei samples, GLsizei maxCount, GLsizei *count, GLenum *shadingRates) 2160*35238bceSAndroid Build Coastguard Worker{ 2161*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2162*35238bceSAndroid Build Coastguard Worker if (!gl) 2163*35238bceSAndroid Build Coastguard Worker return; 2164*35238bceSAndroid Build Coastguard Worker gl->getFragmentShadingRatesEXT(samples, maxCount, count, shadingRates); 2165*35238bceSAndroid Build Coastguard Worker} 2166*35238bceSAndroid Build Coastguard Worker 2167*35238bceSAndroid Build Coastguard Workervoid glwGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params) 2168*35238bceSAndroid Build Coastguard Worker{ 2169*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2170*35238bceSAndroid Build Coastguard Worker if (!gl) 2171*35238bceSAndroid Build Coastguard Worker return; 2172*35238bceSAndroid Build Coastguard Worker gl->getFramebufferAttachmentParameteriv(target, attachment, pname, params); 2173*35238bceSAndroid Build Coastguard Worker} 2174*35238bceSAndroid Build Coastguard Worker 2175*35238bceSAndroid Build Coastguard Workervoid glwGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params) 2176*35238bceSAndroid Build Coastguard Worker{ 2177*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2178*35238bceSAndroid Build Coastguard Worker if (!gl) 2179*35238bceSAndroid Build Coastguard Worker return; 2180*35238bceSAndroid Build Coastguard Worker gl->getFramebufferParameteriv(target, pname, params); 2181*35238bceSAndroid Build Coastguard Worker} 2182*35238bceSAndroid Build Coastguard Worker 2183*35238bceSAndroid Build Coastguard Workervoid glwGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params) 2184*35238bceSAndroid Build Coastguard Worker{ 2185*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2186*35238bceSAndroid Build Coastguard Worker if (!gl) 2187*35238bceSAndroid Build Coastguard Worker return; 2188*35238bceSAndroid Build Coastguard Worker gl->getFramebufferParameterivEXT(framebuffer, pname, params); 2189*35238bceSAndroid Build Coastguard Worker} 2190*35238bceSAndroid Build Coastguard Worker 2191*35238bceSAndroid Build Coastguard WorkerGLenum glwGetGraphicsResetStatus (void) 2192*35238bceSAndroid Build Coastguard Worker{ 2193*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2194*35238bceSAndroid Build Coastguard Worker if (!gl) 2195*35238bceSAndroid Build Coastguard Worker return (GLenum)0; 2196*35238bceSAndroid Build Coastguard Worker return gl->getGraphicsResetStatus(); 2197*35238bceSAndroid Build Coastguard Worker} 2198*35238bceSAndroid Build Coastguard Worker 2199*35238bceSAndroid Build Coastguard Workervoid glwGetInteger64i_v (GLenum target, GLuint index, GLint64 *data) 2200*35238bceSAndroid Build Coastguard Worker{ 2201*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2202*35238bceSAndroid Build Coastguard Worker if (!gl) 2203*35238bceSAndroid Build Coastguard Worker return; 2204*35238bceSAndroid Build Coastguard Worker gl->getInteger64i_v(target, index, data); 2205*35238bceSAndroid Build Coastguard Worker} 2206*35238bceSAndroid Build Coastguard Worker 2207*35238bceSAndroid Build Coastguard Workervoid glwGetInteger64v (GLenum pname, GLint64 *data) 2208*35238bceSAndroid Build Coastguard Worker{ 2209*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2210*35238bceSAndroid Build Coastguard Worker if (!gl) 2211*35238bceSAndroid Build Coastguard Worker return; 2212*35238bceSAndroid Build Coastguard Worker gl->getInteger64v(pname, data); 2213*35238bceSAndroid Build Coastguard Worker} 2214*35238bceSAndroid Build Coastguard Worker 2215*35238bceSAndroid Build Coastguard Workervoid glwGetIntegeri_v (GLenum target, GLuint index, GLint *data) 2216*35238bceSAndroid Build Coastguard Worker{ 2217*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2218*35238bceSAndroid Build Coastguard Worker if (!gl) 2219*35238bceSAndroid Build Coastguard Worker return; 2220*35238bceSAndroid Build Coastguard Worker gl->getIntegeri_v(target, index, data); 2221*35238bceSAndroid Build Coastguard Worker} 2222*35238bceSAndroid Build Coastguard Worker 2223*35238bceSAndroid Build Coastguard Workervoid glwGetIntegerv (GLenum pname, GLint *data) 2224*35238bceSAndroid Build Coastguard Worker{ 2225*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2226*35238bceSAndroid Build Coastguard Worker if (!gl) 2227*35238bceSAndroid Build Coastguard Worker return; 2228*35238bceSAndroid Build Coastguard Worker gl->getIntegerv(pname, data); 2229*35238bceSAndroid Build Coastguard Worker} 2230*35238bceSAndroid Build Coastguard Worker 2231*35238bceSAndroid Build Coastguard Workervoid glwGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params) 2232*35238bceSAndroid Build Coastguard Worker{ 2233*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2234*35238bceSAndroid Build Coastguard Worker if (!gl) 2235*35238bceSAndroid Build Coastguard Worker return; 2236*35238bceSAndroid Build Coastguard Worker gl->getInternalformatSampleivNV(target, internalformat, samples, pname, count, params); 2237*35238bceSAndroid Build Coastguard Worker} 2238*35238bceSAndroid Build Coastguard Worker 2239*35238bceSAndroid Build Coastguard Workervoid glwGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params) 2240*35238bceSAndroid Build Coastguard Worker{ 2241*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2242*35238bceSAndroid Build Coastguard Worker if (!gl) 2243*35238bceSAndroid Build Coastguard Worker return; 2244*35238bceSAndroid Build Coastguard Worker gl->getInternalformati64v(target, internalformat, pname, count, params); 2245*35238bceSAndroid Build Coastguard Worker} 2246*35238bceSAndroid Build Coastguard Worker 2247*35238bceSAndroid Build Coastguard Workervoid glwGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params) 2248*35238bceSAndroid Build Coastguard Worker{ 2249*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2250*35238bceSAndroid Build Coastguard Worker if (!gl) 2251*35238bceSAndroid Build Coastguard Worker return; 2252*35238bceSAndroid Build Coastguard Worker gl->getInternalformativ(target, internalformat, pname, count, params); 2253*35238bceSAndroid Build Coastguard Worker} 2254*35238bceSAndroid Build Coastguard Worker 2255*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params) 2256*35238bceSAndroid Build Coastguard Worker{ 2257*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2258*35238bceSAndroid Build Coastguard Worker if (!gl) 2259*35238bceSAndroid Build Coastguard Worker return; 2260*35238bceSAndroid Build Coastguard Worker gl->getMultiTexEnvfvEXT(texunit, target, pname, params); 2261*35238bceSAndroid Build Coastguard Worker} 2262*35238bceSAndroid Build Coastguard Worker 2263*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params) 2264*35238bceSAndroid Build Coastguard Worker{ 2265*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2266*35238bceSAndroid Build Coastguard Worker if (!gl) 2267*35238bceSAndroid Build Coastguard Worker return; 2268*35238bceSAndroid Build Coastguard Worker gl->getMultiTexEnvivEXT(texunit, target, pname, params); 2269*35238bceSAndroid Build Coastguard Worker} 2270*35238bceSAndroid Build Coastguard Worker 2271*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params) 2272*35238bceSAndroid Build Coastguard Worker{ 2273*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2274*35238bceSAndroid Build Coastguard Worker if (!gl) 2275*35238bceSAndroid Build Coastguard Worker return; 2276*35238bceSAndroid Build Coastguard Worker gl->getMultiTexGendvEXT(texunit, coord, pname, params); 2277*35238bceSAndroid Build Coastguard Worker} 2278*35238bceSAndroid Build Coastguard Worker 2279*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params) 2280*35238bceSAndroid Build Coastguard Worker{ 2281*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2282*35238bceSAndroid Build Coastguard Worker if (!gl) 2283*35238bceSAndroid Build Coastguard Worker return; 2284*35238bceSAndroid Build Coastguard Worker gl->getMultiTexGenfvEXT(texunit, coord, pname, params); 2285*35238bceSAndroid Build Coastguard Worker} 2286*35238bceSAndroid Build Coastguard Worker 2287*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params) 2288*35238bceSAndroid Build Coastguard Worker{ 2289*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2290*35238bceSAndroid Build Coastguard Worker if (!gl) 2291*35238bceSAndroid Build Coastguard Worker return; 2292*35238bceSAndroid Build Coastguard Worker gl->getMultiTexGenivEXT(texunit, coord, pname, params); 2293*35238bceSAndroid Build Coastguard Worker} 2294*35238bceSAndroid Build Coastguard Worker 2295*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels) 2296*35238bceSAndroid Build Coastguard Worker{ 2297*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2298*35238bceSAndroid Build Coastguard Worker if (!gl) 2299*35238bceSAndroid Build Coastguard Worker return; 2300*35238bceSAndroid Build Coastguard Worker gl->getMultiTexImageEXT(texunit, target, level, format, type, pixels); 2301*35238bceSAndroid Build Coastguard Worker} 2302*35238bceSAndroid Build Coastguard Worker 2303*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params) 2304*35238bceSAndroid Build Coastguard Worker{ 2305*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2306*35238bceSAndroid Build Coastguard Worker if (!gl) 2307*35238bceSAndroid Build Coastguard Worker return; 2308*35238bceSAndroid Build Coastguard Worker gl->getMultiTexLevelParameterfvEXT(texunit, target, level, pname, params); 2309*35238bceSAndroid Build Coastguard Worker} 2310*35238bceSAndroid Build Coastguard Worker 2311*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params) 2312*35238bceSAndroid Build Coastguard Worker{ 2313*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2314*35238bceSAndroid Build Coastguard Worker if (!gl) 2315*35238bceSAndroid Build Coastguard Worker return; 2316*35238bceSAndroid Build Coastguard Worker gl->getMultiTexLevelParameterivEXT(texunit, target, level, pname, params); 2317*35238bceSAndroid Build Coastguard Worker} 2318*35238bceSAndroid Build Coastguard Worker 2319*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params) 2320*35238bceSAndroid Build Coastguard Worker{ 2321*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2322*35238bceSAndroid Build Coastguard Worker if (!gl) 2323*35238bceSAndroid Build Coastguard Worker return; 2324*35238bceSAndroid Build Coastguard Worker gl->getMultiTexParameterIivEXT(texunit, target, pname, params); 2325*35238bceSAndroid Build Coastguard Worker} 2326*35238bceSAndroid Build Coastguard Worker 2327*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params) 2328*35238bceSAndroid Build Coastguard Worker{ 2329*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2330*35238bceSAndroid Build Coastguard Worker if (!gl) 2331*35238bceSAndroid Build Coastguard Worker return; 2332*35238bceSAndroid Build Coastguard Worker gl->getMultiTexParameterIuivEXT(texunit, target, pname, params); 2333*35238bceSAndroid Build Coastguard Worker} 2334*35238bceSAndroid Build Coastguard Worker 2335*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params) 2336*35238bceSAndroid Build Coastguard Worker{ 2337*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2338*35238bceSAndroid Build Coastguard Worker if (!gl) 2339*35238bceSAndroid Build Coastguard Worker return; 2340*35238bceSAndroid Build Coastguard Worker gl->getMultiTexParameterfvEXT(texunit, target, pname, params); 2341*35238bceSAndroid Build Coastguard Worker} 2342*35238bceSAndroid Build Coastguard Worker 2343*35238bceSAndroid Build Coastguard Workervoid glwGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params) 2344*35238bceSAndroid Build Coastguard Worker{ 2345*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2346*35238bceSAndroid Build Coastguard Worker if (!gl) 2347*35238bceSAndroid Build Coastguard Worker return; 2348*35238bceSAndroid Build Coastguard Worker gl->getMultiTexParameterivEXT(texunit, target, pname, params); 2349*35238bceSAndroid Build Coastguard Worker} 2350*35238bceSAndroid Build Coastguard Worker 2351*35238bceSAndroid Build Coastguard Workervoid glwGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val) 2352*35238bceSAndroid Build Coastguard Worker{ 2353*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2354*35238bceSAndroid Build Coastguard Worker if (!gl) 2355*35238bceSAndroid Build Coastguard Worker return; 2356*35238bceSAndroid Build Coastguard Worker gl->getMultisamplefv(pname, index, val); 2357*35238bceSAndroid Build Coastguard Worker} 2358*35238bceSAndroid Build Coastguard Worker 2359*35238bceSAndroid Build Coastguard Workervoid glwGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params) 2360*35238bceSAndroid Build Coastguard Worker{ 2361*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2362*35238bceSAndroid Build Coastguard Worker if (!gl) 2363*35238bceSAndroid Build Coastguard Worker return; 2364*35238bceSAndroid Build Coastguard Worker gl->getNamedBufferParameteri64v(buffer, pname, params); 2365*35238bceSAndroid Build Coastguard Worker} 2366*35238bceSAndroid Build Coastguard Worker 2367*35238bceSAndroid Build Coastguard Workervoid glwGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params) 2368*35238bceSAndroid Build Coastguard Worker{ 2369*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2370*35238bceSAndroid Build Coastguard Worker if (!gl) 2371*35238bceSAndroid Build Coastguard Worker return; 2372*35238bceSAndroid Build Coastguard Worker gl->getNamedBufferParameteriv(buffer, pname, params); 2373*35238bceSAndroid Build Coastguard Worker} 2374*35238bceSAndroid Build Coastguard Worker 2375*35238bceSAndroid Build Coastguard Workervoid glwGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params) 2376*35238bceSAndroid Build Coastguard Worker{ 2377*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2378*35238bceSAndroid Build Coastguard Worker if (!gl) 2379*35238bceSAndroid Build Coastguard Worker return; 2380*35238bceSAndroid Build Coastguard Worker gl->getNamedBufferParameterivEXT(buffer, pname, params); 2381*35238bceSAndroid Build Coastguard Worker} 2382*35238bceSAndroid Build Coastguard Worker 2383*35238bceSAndroid Build Coastguard Workervoid glwGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params) 2384*35238bceSAndroid Build Coastguard Worker{ 2385*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2386*35238bceSAndroid Build Coastguard Worker if (!gl) 2387*35238bceSAndroid Build Coastguard Worker return; 2388*35238bceSAndroid Build Coastguard Worker gl->getNamedBufferPointerv(buffer, pname, params); 2389*35238bceSAndroid Build Coastguard Worker} 2390*35238bceSAndroid Build Coastguard Worker 2391*35238bceSAndroid Build Coastguard Workervoid glwGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params) 2392*35238bceSAndroid Build Coastguard Worker{ 2393*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2394*35238bceSAndroid Build Coastguard Worker if (!gl) 2395*35238bceSAndroid Build Coastguard Worker return; 2396*35238bceSAndroid Build Coastguard Worker gl->getNamedBufferPointervEXT(buffer, pname, params); 2397*35238bceSAndroid Build Coastguard Worker} 2398*35238bceSAndroid Build Coastguard Worker 2399*35238bceSAndroid Build Coastguard Workervoid glwGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data) 2400*35238bceSAndroid Build Coastguard Worker{ 2401*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2402*35238bceSAndroid Build Coastguard Worker if (!gl) 2403*35238bceSAndroid Build Coastguard Worker return; 2404*35238bceSAndroid Build Coastguard Worker gl->getNamedBufferSubData(buffer, offset, size, data); 2405*35238bceSAndroid Build Coastguard Worker} 2406*35238bceSAndroid Build Coastguard Worker 2407*35238bceSAndroid Build Coastguard Workervoid glwGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data) 2408*35238bceSAndroid Build Coastguard Worker{ 2409*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2410*35238bceSAndroid Build Coastguard Worker if (!gl) 2411*35238bceSAndroid Build Coastguard Worker return; 2412*35238bceSAndroid Build Coastguard Worker gl->getNamedBufferSubDataEXT(buffer, offset, size, data); 2413*35238bceSAndroid Build Coastguard Worker} 2414*35238bceSAndroid Build Coastguard Worker 2415*35238bceSAndroid Build Coastguard Workervoid glwGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params) 2416*35238bceSAndroid Build Coastguard Worker{ 2417*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2418*35238bceSAndroid Build Coastguard Worker if (!gl) 2419*35238bceSAndroid Build Coastguard Worker return; 2420*35238bceSAndroid Build Coastguard Worker gl->getNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, params); 2421*35238bceSAndroid Build Coastguard Worker} 2422*35238bceSAndroid Build Coastguard Worker 2423*35238bceSAndroid Build Coastguard Workervoid glwGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params) 2424*35238bceSAndroid Build Coastguard Worker{ 2425*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2426*35238bceSAndroid Build Coastguard Worker if (!gl) 2427*35238bceSAndroid Build Coastguard Worker return; 2428*35238bceSAndroid Build Coastguard Worker gl->getNamedFramebufferAttachmentParameterivEXT(framebuffer, attachment, pname, params); 2429*35238bceSAndroid Build Coastguard Worker} 2430*35238bceSAndroid Build Coastguard Worker 2431*35238bceSAndroid Build Coastguard Workervoid glwGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param) 2432*35238bceSAndroid Build Coastguard Worker{ 2433*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2434*35238bceSAndroid Build Coastguard Worker if (!gl) 2435*35238bceSAndroid Build Coastguard Worker return; 2436*35238bceSAndroid Build Coastguard Worker gl->getNamedFramebufferParameteriv(framebuffer, pname, param); 2437*35238bceSAndroid Build Coastguard Worker} 2438*35238bceSAndroid Build Coastguard Worker 2439*35238bceSAndroid Build Coastguard Workervoid glwGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params) 2440*35238bceSAndroid Build Coastguard Worker{ 2441*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2442*35238bceSAndroid Build Coastguard Worker if (!gl) 2443*35238bceSAndroid Build Coastguard Worker return; 2444*35238bceSAndroid Build Coastguard Worker gl->getNamedFramebufferParameterivEXT(framebuffer, pname, params); 2445*35238bceSAndroid Build Coastguard Worker} 2446*35238bceSAndroid Build Coastguard Worker 2447*35238bceSAndroid Build Coastguard Workervoid glwGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params) 2448*35238bceSAndroid Build Coastguard Worker{ 2449*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2450*35238bceSAndroid Build Coastguard Worker if (!gl) 2451*35238bceSAndroid Build Coastguard Worker return; 2452*35238bceSAndroid Build Coastguard Worker gl->getNamedProgramLocalParameterIivEXT(program, target, index, params); 2453*35238bceSAndroid Build Coastguard Worker} 2454*35238bceSAndroid Build Coastguard Worker 2455*35238bceSAndroid Build Coastguard Workervoid glwGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params) 2456*35238bceSAndroid Build Coastguard Worker{ 2457*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2458*35238bceSAndroid Build Coastguard Worker if (!gl) 2459*35238bceSAndroid Build Coastguard Worker return; 2460*35238bceSAndroid Build Coastguard Worker gl->getNamedProgramLocalParameterIuivEXT(program, target, index, params); 2461*35238bceSAndroid Build Coastguard Worker} 2462*35238bceSAndroid Build Coastguard Worker 2463*35238bceSAndroid Build Coastguard Workervoid glwGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params) 2464*35238bceSAndroid Build Coastguard Worker{ 2465*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2466*35238bceSAndroid Build Coastguard Worker if (!gl) 2467*35238bceSAndroid Build Coastguard Worker return; 2468*35238bceSAndroid Build Coastguard Worker gl->getNamedProgramLocalParameterdvEXT(program, target, index, params); 2469*35238bceSAndroid Build Coastguard Worker} 2470*35238bceSAndroid Build Coastguard Worker 2471*35238bceSAndroid Build Coastguard Workervoid glwGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params) 2472*35238bceSAndroid Build Coastguard Worker{ 2473*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2474*35238bceSAndroid Build Coastguard Worker if (!gl) 2475*35238bceSAndroid Build Coastguard Worker return; 2476*35238bceSAndroid Build Coastguard Worker gl->getNamedProgramLocalParameterfvEXT(program, target, index, params); 2477*35238bceSAndroid Build Coastguard Worker} 2478*35238bceSAndroid Build Coastguard Worker 2479*35238bceSAndroid Build Coastguard Workervoid glwGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string) 2480*35238bceSAndroid Build Coastguard Worker{ 2481*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2482*35238bceSAndroid Build Coastguard Worker if (!gl) 2483*35238bceSAndroid Build Coastguard Worker return; 2484*35238bceSAndroid Build Coastguard Worker gl->getNamedProgramStringEXT(program, target, pname, string); 2485*35238bceSAndroid Build Coastguard Worker} 2486*35238bceSAndroid Build Coastguard Worker 2487*35238bceSAndroid Build Coastguard Workervoid glwGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params) 2488*35238bceSAndroid Build Coastguard Worker{ 2489*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2490*35238bceSAndroid Build Coastguard Worker if (!gl) 2491*35238bceSAndroid Build Coastguard Worker return; 2492*35238bceSAndroid Build Coastguard Worker gl->getNamedProgramivEXT(program, target, pname, params); 2493*35238bceSAndroid Build Coastguard Worker} 2494*35238bceSAndroid Build Coastguard Worker 2495*35238bceSAndroid Build Coastguard Workervoid glwGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params) 2496*35238bceSAndroid Build Coastguard Worker{ 2497*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2498*35238bceSAndroid Build Coastguard Worker if (!gl) 2499*35238bceSAndroid Build Coastguard Worker return; 2500*35238bceSAndroid Build Coastguard Worker gl->getNamedRenderbufferParameteriv(renderbuffer, pname, params); 2501*35238bceSAndroid Build Coastguard Worker} 2502*35238bceSAndroid Build Coastguard Worker 2503*35238bceSAndroid Build Coastguard Workervoid glwGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params) 2504*35238bceSAndroid Build Coastguard Worker{ 2505*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2506*35238bceSAndroid Build Coastguard Worker if (!gl) 2507*35238bceSAndroid Build Coastguard Worker return; 2508*35238bceSAndroid Build Coastguard Worker gl->getNamedRenderbufferParameterivEXT(renderbuffer, pname, params); 2509*35238bceSAndroid Build Coastguard Worker} 2510*35238bceSAndroid Build Coastguard Worker 2511*35238bceSAndroid Build Coastguard Workervoid glwGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) 2512*35238bceSAndroid Build Coastguard Worker{ 2513*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2514*35238bceSAndroid Build Coastguard Worker if (!gl) 2515*35238bceSAndroid Build Coastguard Worker return; 2516*35238bceSAndroid Build Coastguard Worker gl->getObjectLabel(identifier, name, bufSize, length, label); 2517*35238bceSAndroid Build Coastguard Worker} 2518*35238bceSAndroid Build Coastguard Worker 2519*35238bceSAndroid Build Coastguard Workervoid glwGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label) 2520*35238bceSAndroid Build Coastguard Worker{ 2521*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2522*35238bceSAndroid Build Coastguard Worker if (!gl) 2523*35238bceSAndroid Build Coastguard Worker return; 2524*35238bceSAndroid Build Coastguard Worker gl->getObjectPtrLabel(ptr, bufSize, length, label); 2525*35238bceSAndroid Build Coastguard Worker} 2526*35238bceSAndroid Build Coastguard Worker 2527*35238bceSAndroid Build Coastguard Workervoid glwGetPointerIndexedvEXT (GLenum target, GLuint index, void **data) 2528*35238bceSAndroid Build Coastguard Worker{ 2529*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2530*35238bceSAndroid Build Coastguard Worker if (!gl) 2531*35238bceSAndroid Build Coastguard Worker return; 2532*35238bceSAndroid Build Coastguard Worker gl->getPointerIndexedvEXT(target, index, data); 2533*35238bceSAndroid Build Coastguard Worker} 2534*35238bceSAndroid Build Coastguard Worker 2535*35238bceSAndroid Build Coastguard Workervoid glwGetPointeri_vEXT (GLenum pname, GLuint index, void **params) 2536*35238bceSAndroid Build Coastguard Worker{ 2537*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2538*35238bceSAndroid Build Coastguard Worker if (!gl) 2539*35238bceSAndroid Build Coastguard Worker return; 2540*35238bceSAndroid Build Coastguard Worker gl->getPointeri_vEXT(pname, index, params); 2541*35238bceSAndroid Build Coastguard Worker} 2542*35238bceSAndroid Build Coastguard Worker 2543*35238bceSAndroid Build Coastguard Workervoid glwGetPointerv (GLenum pname, void **params) 2544*35238bceSAndroid Build Coastguard Worker{ 2545*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2546*35238bceSAndroid Build Coastguard Worker if (!gl) 2547*35238bceSAndroid Build Coastguard Worker return; 2548*35238bceSAndroid Build Coastguard Worker gl->getPointerv(pname, params); 2549*35238bceSAndroid Build Coastguard Worker} 2550*35238bceSAndroid Build Coastguard Worker 2551*35238bceSAndroid Build Coastguard Workervoid glwGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary) 2552*35238bceSAndroid Build Coastguard Worker{ 2553*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2554*35238bceSAndroid Build Coastguard Worker if (!gl) 2555*35238bceSAndroid Build Coastguard Worker return; 2556*35238bceSAndroid Build Coastguard Worker gl->getProgramBinary(program, bufSize, length, binaryFormat, binary); 2557*35238bceSAndroid Build Coastguard Worker} 2558*35238bceSAndroid Build Coastguard Worker 2559*35238bceSAndroid Build Coastguard Workervoid glwGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) 2560*35238bceSAndroid Build Coastguard Worker{ 2561*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2562*35238bceSAndroid Build Coastguard Worker if (!gl) 2563*35238bceSAndroid Build Coastguard Worker return; 2564*35238bceSAndroid Build Coastguard Worker gl->getProgramInfoLog(program, bufSize, length, infoLog); 2565*35238bceSAndroid Build Coastguard Worker} 2566*35238bceSAndroid Build Coastguard Worker 2567*35238bceSAndroid Build Coastguard Workervoid glwGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params) 2568*35238bceSAndroid Build Coastguard Worker{ 2569*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2570*35238bceSAndroid Build Coastguard Worker if (!gl) 2571*35238bceSAndroid Build Coastguard Worker return; 2572*35238bceSAndroid Build Coastguard Worker gl->getProgramInterfaceiv(program, programInterface, pname, params); 2573*35238bceSAndroid Build Coastguard Worker} 2574*35238bceSAndroid Build Coastguard Worker 2575*35238bceSAndroid Build Coastguard Workervoid glwGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) 2576*35238bceSAndroid Build Coastguard Worker{ 2577*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2578*35238bceSAndroid Build Coastguard Worker if (!gl) 2579*35238bceSAndroid Build Coastguard Worker return; 2580*35238bceSAndroid Build Coastguard Worker gl->getProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); 2581*35238bceSAndroid Build Coastguard Worker} 2582*35238bceSAndroid Build Coastguard Worker 2583*35238bceSAndroid Build Coastguard Workervoid glwGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params) 2584*35238bceSAndroid Build Coastguard Worker{ 2585*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2586*35238bceSAndroid Build Coastguard Worker if (!gl) 2587*35238bceSAndroid Build Coastguard Worker return; 2588*35238bceSAndroid Build Coastguard Worker gl->getProgramPipelineiv(pipeline, pname, params); 2589*35238bceSAndroid Build Coastguard Worker} 2590*35238bceSAndroid Build Coastguard Worker 2591*35238bceSAndroid Build Coastguard WorkerGLuint glwGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name) 2592*35238bceSAndroid Build Coastguard Worker{ 2593*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2594*35238bceSAndroid Build Coastguard Worker if (!gl) 2595*35238bceSAndroid Build Coastguard Worker return (GLuint)0; 2596*35238bceSAndroid Build Coastguard Worker return gl->getProgramResourceIndex(program, programInterface, name); 2597*35238bceSAndroid Build Coastguard Worker} 2598*35238bceSAndroid Build Coastguard Worker 2599*35238bceSAndroid Build Coastguard WorkerGLint glwGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name) 2600*35238bceSAndroid Build Coastguard Worker{ 2601*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2602*35238bceSAndroid Build Coastguard Worker if (!gl) 2603*35238bceSAndroid Build Coastguard Worker return (GLint)0; 2604*35238bceSAndroid Build Coastguard Worker return gl->getProgramResourceLocation(program, programInterface, name); 2605*35238bceSAndroid Build Coastguard Worker} 2606*35238bceSAndroid Build Coastguard Worker 2607*35238bceSAndroid Build Coastguard WorkerGLint glwGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name) 2608*35238bceSAndroid Build Coastguard Worker{ 2609*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2610*35238bceSAndroid Build Coastguard Worker if (!gl) 2611*35238bceSAndroid Build Coastguard Worker return (GLint)0; 2612*35238bceSAndroid Build Coastguard Worker return gl->getProgramResourceLocationIndex(program, programInterface, name); 2613*35238bceSAndroid Build Coastguard Worker} 2614*35238bceSAndroid Build Coastguard Worker 2615*35238bceSAndroid Build Coastguard Workervoid glwGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) 2616*35238bceSAndroid Build Coastguard Worker{ 2617*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2618*35238bceSAndroid Build Coastguard Worker if (!gl) 2619*35238bceSAndroid Build Coastguard Worker return; 2620*35238bceSAndroid Build Coastguard Worker gl->getProgramResourceName(program, programInterface, index, bufSize, length, name); 2621*35238bceSAndroid Build Coastguard Worker} 2622*35238bceSAndroid Build Coastguard Worker 2623*35238bceSAndroid Build Coastguard Workervoid glwGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params) 2624*35238bceSAndroid Build Coastguard Worker{ 2625*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2626*35238bceSAndroid Build Coastguard Worker if (!gl) 2627*35238bceSAndroid Build Coastguard Worker return; 2628*35238bceSAndroid Build Coastguard Worker gl->getProgramResourceiv(program, programInterface, index, propCount, props, count, length, params); 2629*35238bceSAndroid Build Coastguard Worker} 2630*35238bceSAndroid Build Coastguard Worker 2631*35238bceSAndroid Build Coastguard Workervoid glwGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values) 2632*35238bceSAndroid Build Coastguard Worker{ 2633*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2634*35238bceSAndroid Build Coastguard Worker if (!gl) 2635*35238bceSAndroid Build Coastguard Worker return; 2636*35238bceSAndroid Build Coastguard Worker gl->getProgramStageiv(program, shadertype, pname, values); 2637*35238bceSAndroid Build Coastguard Worker} 2638*35238bceSAndroid Build Coastguard Worker 2639*35238bceSAndroid Build Coastguard Workervoid glwGetProgramiv (GLuint program, GLenum pname, GLint *params) 2640*35238bceSAndroid Build Coastguard Worker{ 2641*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2642*35238bceSAndroid Build Coastguard Worker if (!gl) 2643*35238bceSAndroid Build Coastguard Worker return; 2644*35238bceSAndroid Build Coastguard Worker gl->getProgramiv(program, pname, params); 2645*35238bceSAndroid Build Coastguard Worker} 2646*35238bceSAndroid Build Coastguard Worker 2647*35238bceSAndroid Build Coastguard Workervoid glwGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset) 2648*35238bceSAndroid Build Coastguard Worker{ 2649*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2650*35238bceSAndroid Build Coastguard Worker if (!gl) 2651*35238bceSAndroid Build Coastguard Worker return; 2652*35238bceSAndroid Build Coastguard Worker gl->getQueryBufferObjecti64v(id, buffer, pname, offset); 2653*35238bceSAndroid Build Coastguard Worker} 2654*35238bceSAndroid Build Coastguard Worker 2655*35238bceSAndroid Build Coastguard Workervoid glwGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset) 2656*35238bceSAndroid Build Coastguard Worker{ 2657*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2658*35238bceSAndroid Build Coastguard Worker if (!gl) 2659*35238bceSAndroid Build Coastguard Worker return; 2660*35238bceSAndroid Build Coastguard Worker gl->getQueryBufferObjectiv(id, buffer, pname, offset); 2661*35238bceSAndroid Build Coastguard Worker} 2662*35238bceSAndroid Build Coastguard Worker 2663*35238bceSAndroid Build Coastguard Workervoid glwGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset) 2664*35238bceSAndroid Build Coastguard Worker{ 2665*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2666*35238bceSAndroid Build Coastguard Worker if (!gl) 2667*35238bceSAndroid Build Coastguard Worker return; 2668*35238bceSAndroid Build Coastguard Worker gl->getQueryBufferObjectui64v(id, buffer, pname, offset); 2669*35238bceSAndroid Build Coastguard Worker} 2670*35238bceSAndroid Build Coastguard Worker 2671*35238bceSAndroid Build Coastguard Workervoid glwGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset) 2672*35238bceSAndroid Build Coastguard Worker{ 2673*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2674*35238bceSAndroid Build Coastguard Worker if (!gl) 2675*35238bceSAndroid Build Coastguard Worker return; 2676*35238bceSAndroid Build Coastguard Worker gl->getQueryBufferObjectuiv(id, buffer, pname, offset); 2677*35238bceSAndroid Build Coastguard Worker} 2678*35238bceSAndroid Build Coastguard Worker 2679*35238bceSAndroid Build Coastguard Workervoid glwGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params) 2680*35238bceSAndroid Build Coastguard Worker{ 2681*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2682*35238bceSAndroid Build Coastguard Worker if (!gl) 2683*35238bceSAndroid Build Coastguard Worker return; 2684*35238bceSAndroid Build Coastguard Worker gl->getQueryIndexediv(target, index, pname, params); 2685*35238bceSAndroid Build Coastguard Worker} 2686*35238bceSAndroid Build Coastguard Worker 2687*35238bceSAndroid Build Coastguard Workervoid glwGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params) 2688*35238bceSAndroid Build Coastguard Worker{ 2689*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2690*35238bceSAndroid Build Coastguard Worker if (!gl) 2691*35238bceSAndroid Build Coastguard Worker return; 2692*35238bceSAndroid Build Coastguard Worker gl->getQueryObjecti64v(id, pname, params); 2693*35238bceSAndroid Build Coastguard Worker} 2694*35238bceSAndroid Build Coastguard Worker 2695*35238bceSAndroid Build Coastguard Workervoid glwGetQueryObjectiv (GLuint id, GLenum pname, GLint *params) 2696*35238bceSAndroid Build Coastguard Worker{ 2697*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2698*35238bceSAndroid Build Coastguard Worker if (!gl) 2699*35238bceSAndroid Build Coastguard Worker return; 2700*35238bceSAndroid Build Coastguard Worker gl->getQueryObjectiv(id, pname, params); 2701*35238bceSAndroid Build Coastguard Worker} 2702*35238bceSAndroid Build Coastguard Worker 2703*35238bceSAndroid Build Coastguard Workervoid glwGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params) 2704*35238bceSAndroid Build Coastguard Worker{ 2705*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2706*35238bceSAndroid Build Coastguard Worker if (!gl) 2707*35238bceSAndroid Build Coastguard Worker return; 2708*35238bceSAndroid Build Coastguard Worker gl->getQueryObjectui64v(id, pname, params); 2709*35238bceSAndroid Build Coastguard Worker} 2710*35238bceSAndroid Build Coastguard Worker 2711*35238bceSAndroid Build Coastguard Workervoid glwGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params) 2712*35238bceSAndroid Build Coastguard Worker{ 2713*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2714*35238bceSAndroid Build Coastguard Worker if (!gl) 2715*35238bceSAndroid Build Coastguard Worker return; 2716*35238bceSAndroid Build Coastguard Worker gl->getQueryObjectuiv(id, pname, params); 2717*35238bceSAndroid Build Coastguard Worker} 2718*35238bceSAndroid Build Coastguard Worker 2719*35238bceSAndroid Build Coastguard Workervoid glwGetQueryiv (GLenum target, GLenum pname, GLint *params) 2720*35238bceSAndroid Build Coastguard Worker{ 2721*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2722*35238bceSAndroid Build Coastguard Worker if (!gl) 2723*35238bceSAndroid Build Coastguard Worker return; 2724*35238bceSAndroid Build Coastguard Worker gl->getQueryiv(target, pname, params); 2725*35238bceSAndroid Build Coastguard Worker} 2726*35238bceSAndroid Build Coastguard Worker 2727*35238bceSAndroid Build Coastguard Workervoid glwGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params) 2728*35238bceSAndroid Build Coastguard Worker{ 2729*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2730*35238bceSAndroid Build Coastguard Worker if (!gl) 2731*35238bceSAndroid Build Coastguard Worker return; 2732*35238bceSAndroid Build Coastguard Worker gl->getRenderbufferParameteriv(target, pname, params); 2733*35238bceSAndroid Build Coastguard Worker} 2734*35238bceSAndroid Build Coastguard Worker 2735*35238bceSAndroid Build Coastguard Workervoid glwGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params) 2736*35238bceSAndroid Build Coastguard Worker{ 2737*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2738*35238bceSAndroid Build Coastguard Worker if (!gl) 2739*35238bceSAndroid Build Coastguard Worker return; 2740*35238bceSAndroid Build Coastguard Worker gl->getSamplerParameterIiv(sampler, pname, params); 2741*35238bceSAndroid Build Coastguard Worker} 2742*35238bceSAndroid Build Coastguard Worker 2743*35238bceSAndroid Build Coastguard Workervoid glwGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params) 2744*35238bceSAndroid Build Coastguard Worker{ 2745*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2746*35238bceSAndroid Build Coastguard Worker if (!gl) 2747*35238bceSAndroid Build Coastguard Worker return; 2748*35238bceSAndroid Build Coastguard Worker gl->getSamplerParameterIuiv(sampler, pname, params); 2749*35238bceSAndroid Build Coastguard Worker} 2750*35238bceSAndroid Build Coastguard Worker 2751*35238bceSAndroid Build Coastguard Workervoid glwGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params) 2752*35238bceSAndroid Build Coastguard Worker{ 2753*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2754*35238bceSAndroid Build Coastguard Worker if (!gl) 2755*35238bceSAndroid Build Coastguard Worker return; 2756*35238bceSAndroid Build Coastguard Worker gl->getSamplerParameterfv(sampler, pname, params); 2757*35238bceSAndroid Build Coastguard Worker} 2758*35238bceSAndroid Build Coastguard Worker 2759*35238bceSAndroid Build Coastguard Workervoid glwGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params) 2760*35238bceSAndroid Build Coastguard Worker{ 2761*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2762*35238bceSAndroid Build Coastguard Worker if (!gl) 2763*35238bceSAndroid Build Coastguard Worker return; 2764*35238bceSAndroid Build Coastguard Worker gl->getSamplerParameteriv(sampler, pname, params); 2765*35238bceSAndroid Build Coastguard Worker} 2766*35238bceSAndroid Build Coastguard Worker 2767*35238bceSAndroid Build Coastguard Workervoid glwGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) 2768*35238bceSAndroid Build Coastguard Worker{ 2769*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2770*35238bceSAndroid Build Coastguard Worker if (!gl) 2771*35238bceSAndroid Build Coastguard Worker return; 2772*35238bceSAndroid Build Coastguard Worker gl->getShaderInfoLog(shader, bufSize, length, infoLog); 2773*35238bceSAndroid Build Coastguard Worker} 2774*35238bceSAndroid Build Coastguard Worker 2775*35238bceSAndroid Build Coastguard Workervoid glwGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) 2776*35238bceSAndroid Build Coastguard Worker{ 2777*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2778*35238bceSAndroid Build Coastguard Worker if (!gl) 2779*35238bceSAndroid Build Coastguard Worker return; 2780*35238bceSAndroid Build Coastguard Worker gl->getShaderPrecisionFormat(shadertype, precisiontype, range, precision); 2781*35238bceSAndroid Build Coastguard Worker} 2782*35238bceSAndroid Build Coastguard Worker 2783*35238bceSAndroid Build Coastguard Workervoid glwGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) 2784*35238bceSAndroid Build Coastguard Worker{ 2785*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2786*35238bceSAndroid Build Coastguard Worker if (!gl) 2787*35238bceSAndroid Build Coastguard Worker return; 2788*35238bceSAndroid Build Coastguard Worker gl->getShaderSource(shader, bufSize, length, source); 2789*35238bceSAndroid Build Coastguard Worker} 2790*35238bceSAndroid Build Coastguard Worker 2791*35238bceSAndroid Build Coastguard Workervoid glwGetShaderiv (GLuint shader, GLenum pname, GLint *params) 2792*35238bceSAndroid Build Coastguard Worker{ 2793*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2794*35238bceSAndroid Build Coastguard Worker if (!gl) 2795*35238bceSAndroid Build Coastguard Worker return; 2796*35238bceSAndroid Build Coastguard Worker gl->getShaderiv(shader, pname, params); 2797*35238bceSAndroid Build Coastguard Worker} 2798*35238bceSAndroid Build Coastguard Worker 2799*35238bceSAndroid Build Coastguard Workerconst GLubyte * glwGetString (GLenum name) 2800*35238bceSAndroid Build Coastguard Worker{ 2801*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2802*35238bceSAndroid Build Coastguard Worker if (!gl) 2803*35238bceSAndroid Build Coastguard Worker return (const GLubyte *)0; 2804*35238bceSAndroid Build Coastguard Worker return gl->getString(name); 2805*35238bceSAndroid Build Coastguard Worker} 2806*35238bceSAndroid Build Coastguard Worker 2807*35238bceSAndroid Build Coastguard Workerconst GLubyte * glwGetStringi (GLenum name, GLuint index) 2808*35238bceSAndroid Build Coastguard Worker{ 2809*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2810*35238bceSAndroid Build Coastguard Worker if (!gl) 2811*35238bceSAndroid Build Coastguard Worker return (const GLubyte *)0; 2812*35238bceSAndroid Build Coastguard Worker return gl->getStringi(name, index); 2813*35238bceSAndroid Build Coastguard Worker} 2814*35238bceSAndroid Build Coastguard Worker 2815*35238bceSAndroid Build Coastguard WorkerGLuint glwGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name) 2816*35238bceSAndroid Build Coastguard Worker{ 2817*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2818*35238bceSAndroid Build Coastguard Worker if (!gl) 2819*35238bceSAndroid Build Coastguard Worker return (GLuint)0; 2820*35238bceSAndroid Build Coastguard Worker return gl->getSubroutineIndex(program, shadertype, name); 2821*35238bceSAndroid Build Coastguard Worker} 2822*35238bceSAndroid Build Coastguard Worker 2823*35238bceSAndroid Build Coastguard WorkerGLint glwGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name) 2824*35238bceSAndroid Build Coastguard Worker{ 2825*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2826*35238bceSAndroid Build Coastguard Worker if (!gl) 2827*35238bceSAndroid Build Coastguard Worker return (GLint)0; 2828*35238bceSAndroid Build Coastguard Worker return gl->getSubroutineUniformLocation(program, shadertype, name); 2829*35238bceSAndroid Build Coastguard Worker} 2830*35238bceSAndroid Build Coastguard Worker 2831*35238bceSAndroid Build Coastguard Workervoid glwGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values) 2832*35238bceSAndroid Build Coastguard Worker{ 2833*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2834*35238bceSAndroid Build Coastguard Worker if (!gl) 2835*35238bceSAndroid Build Coastguard Worker return; 2836*35238bceSAndroid Build Coastguard Worker gl->getSynciv(sync, pname, count, length, values); 2837*35238bceSAndroid Build Coastguard Worker} 2838*35238bceSAndroid Build Coastguard Worker 2839*35238bceSAndroid Build Coastguard Workervoid glwGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels) 2840*35238bceSAndroid Build Coastguard Worker{ 2841*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2842*35238bceSAndroid Build Coastguard Worker if (!gl) 2843*35238bceSAndroid Build Coastguard Worker return; 2844*35238bceSAndroid Build Coastguard Worker gl->getTexImage(target, level, format, type, pixels); 2845*35238bceSAndroid Build Coastguard Worker} 2846*35238bceSAndroid Build Coastguard Worker 2847*35238bceSAndroid Build Coastguard Workervoid glwGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params) 2848*35238bceSAndroid Build Coastguard Worker{ 2849*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2850*35238bceSAndroid Build Coastguard Worker if (!gl) 2851*35238bceSAndroid Build Coastguard Worker return; 2852*35238bceSAndroid Build Coastguard Worker gl->getTexLevelParameterfv(target, level, pname, params); 2853*35238bceSAndroid Build Coastguard Worker} 2854*35238bceSAndroid Build Coastguard Worker 2855*35238bceSAndroid Build Coastguard Workervoid glwGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) 2856*35238bceSAndroid Build Coastguard Worker{ 2857*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2858*35238bceSAndroid Build Coastguard Worker if (!gl) 2859*35238bceSAndroid Build Coastguard Worker return; 2860*35238bceSAndroid Build Coastguard Worker gl->getTexLevelParameteriv(target, level, pname, params); 2861*35238bceSAndroid Build Coastguard Worker} 2862*35238bceSAndroid Build Coastguard Worker 2863*35238bceSAndroid Build Coastguard Workervoid glwGetTexParameterIiv (GLenum target, GLenum pname, GLint *params) 2864*35238bceSAndroid Build Coastguard Worker{ 2865*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2866*35238bceSAndroid Build Coastguard Worker if (!gl) 2867*35238bceSAndroid Build Coastguard Worker return; 2868*35238bceSAndroid Build Coastguard Worker gl->getTexParameterIiv(target, pname, params); 2869*35238bceSAndroid Build Coastguard Worker} 2870*35238bceSAndroid Build Coastguard Worker 2871*35238bceSAndroid Build Coastguard Workervoid glwGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params) 2872*35238bceSAndroid Build Coastguard Worker{ 2873*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2874*35238bceSAndroid Build Coastguard Worker if (!gl) 2875*35238bceSAndroid Build Coastguard Worker return; 2876*35238bceSAndroid Build Coastguard Worker gl->getTexParameterIuiv(target, pname, params); 2877*35238bceSAndroid Build Coastguard Worker} 2878*35238bceSAndroid Build Coastguard Worker 2879*35238bceSAndroid Build Coastguard Workervoid glwGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) 2880*35238bceSAndroid Build Coastguard Worker{ 2881*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2882*35238bceSAndroid Build Coastguard Worker if (!gl) 2883*35238bceSAndroid Build Coastguard Worker return; 2884*35238bceSAndroid Build Coastguard Worker gl->getTexParameterfv(target, pname, params); 2885*35238bceSAndroid Build Coastguard Worker} 2886*35238bceSAndroid Build Coastguard Worker 2887*35238bceSAndroid Build Coastguard Workervoid glwGetTexParameteriv (GLenum target, GLenum pname, GLint *params) 2888*35238bceSAndroid Build Coastguard Worker{ 2889*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2890*35238bceSAndroid Build Coastguard Worker if (!gl) 2891*35238bceSAndroid Build Coastguard Worker return; 2892*35238bceSAndroid Build Coastguard Worker gl->getTexParameteriv(target, pname, params); 2893*35238bceSAndroid Build Coastguard Worker} 2894*35238bceSAndroid Build Coastguard Worker 2895*35238bceSAndroid Build Coastguard Workervoid glwGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels) 2896*35238bceSAndroid Build Coastguard Worker{ 2897*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2898*35238bceSAndroid Build Coastguard Worker if (!gl) 2899*35238bceSAndroid Build Coastguard Worker return; 2900*35238bceSAndroid Build Coastguard Worker gl->getTextureImage(texture, level, format, type, bufSize, pixels); 2901*35238bceSAndroid Build Coastguard Worker} 2902*35238bceSAndroid Build Coastguard Worker 2903*35238bceSAndroid Build Coastguard Workervoid glwGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels) 2904*35238bceSAndroid Build Coastguard Worker{ 2905*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2906*35238bceSAndroid Build Coastguard Worker if (!gl) 2907*35238bceSAndroid Build Coastguard Worker return; 2908*35238bceSAndroid Build Coastguard Worker gl->getTextureImageEXT(texture, target, level, format, type, pixels); 2909*35238bceSAndroid Build Coastguard Worker} 2910*35238bceSAndroid Build Coastguard Worker 2911*35238bceSAndroid Build Coastguard Workervoid glwGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params) 2912*35238bceSAndroid Build Coastguard Worker{ 2913*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2914*35238bceSAndroid Build Coastguard Worker if (!gl) 2915*35238bceSAndroid Build Coastguard Worker return; 2916*35238bceSAndroid Build Coastguard Worker gl->getTextureLevelParameterfv(texture, level, pname, params); 2917*35238bceSAndroid Build Coastguard Worker} 2918*35238bceSAndroid Build Coastguard Worker 2919*35238bceSAndroid Build Coastguard Workervoid glwGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params) 2920*35238bceSAndroid Build Coastguard Worker{ 2921*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2922*35238bceSAndroid Build Coastguard Worker if (!gl) 2923*35238bceSAndroid Build Coastguard Worker return; 2924*35238bceSAndroid Build Coastguard Worker gl->getTextureLevelParameterfvEXT(texture, target, level, pname, params); 2925*35238bceSAndroid Build Coastguard Worker} 2926*35238bceSAndroid Build Coastguard Worker 2927*35238bceSAndroid Build Coastguard Workervoid glwGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params) 2928*35238bceSAndroid Build Coastguard Worker{ 2929*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2930*35238bceSAndroid Build Coastguard Worker if (!gl) 2931*35238bceSAndroid Build Coastguard Worker return; 2932*35238bceSAndroid Build Coastguard Worker gl->getTextureLevelParameteriv(texture, level, pname, params); 2933*35238bceSAndroid Build Coastguard Worker} 2934*35238bceSAndroid Build Coastguard Worker 2935*35238bceSAndroid Build Coastguard Workervoid glwGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params) 2936*35238bceSAndroid Build Coastguard Worker{ 2937*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2938*35238bceSAndroid Build Coastguard Worker if (!gl) 2939*35238bceSAndroid Build Coastguard Worker return; 2940*35238bceSAndroid Build Coastguard Worker gl->getTextureLevelParameterivEXT(texture, target, level, pname, params); 2941*35238bceSAndroid Build Coastguard Worker} 2942*35238bceSAndroid Build Coastguard Worker 2943*35238bceSAndroid Build Coastguard Workervoid glwGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params) 2944*35238bceSAndroid Build Coastguard Worker{ 2945*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2946*35238bceSAndroid Build Coastguard Worker if (!gl) 2947*35238bceSAndroid Build Coastguard Worker return; 2948*35238bceSAndroid Build Coastguard Worker gl->getTextureParameterIiv(texture, pname, params); 2949*35238bceSAndroid Build Coastguard Worker} 2950*35238bceSAndroid Build Coastguard Worker 2951*35238bceSAndroid Build Coastguard Workervoid glwGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params) 2952*35238bceSAndroid Build Coastguard Worker{ 2953*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2954*35238bceSAndroid Build Coastguard Worker if (!gl) 2955*35238bceSAndroid Build Coastguard Worker return; 2956*35238bceSAndroid Build Coastguard Worker gl->getTextureParameterIivEXT(texture, target, pname, params); 2957*35238bceSAndroid Build Coastguard Worker} 2958*35238bceSAndroid Build Coastguard Worker 2959*35238bceSAndroid Build Coastguard Workervoid glwGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params) 2960*35238bceSAndroid Build Coastguard Worker{ 2961*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2962*35238bceSAndroid Build Coastguard Worker if (!gl) 2963*35238bceSAndroid Build Coastguard Worker return; 2964*35238bceSAndroid Build Coastguard Worker gl->getTextureParameterIuiv(texture, pname, params); 2965*35238bceSAndroid Build Coastguard Worker} 2966*35238bceSAndroid Build Coastguard Worker 2967*35238bceSAndroid Build Coastguard Workervoid glwGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params) 2968*35238bceSAndroid Build Coastguard Worker{ 2969*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2970*35238bceSAndroid Build Coastguard Worker if (!gl) 2971*35238bceSAndroid Build Coastguard Worker return; 2972*35238bceSAndroid Build Coastguard Worker gl->getTextureParameterIuivEXT(texture, target, pname, params); 2973*35238bceSAndroid Build Coastguard Worker} 2974*35238bceSAndroid Build Coastguard Worker 2975*35238bceSAndroid Build Coastguard Workervoid glwGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params) 2976*35238bceSAndroid Build Coastguard Worker{ 2977*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2978*35238bceSAndroid Build Coastguard Worker if (!gl) 2979*35238bceSAndroid Build Coastguard Worker return; 2980*35238bceSAndroid Build Coastguard Worker gl->getTextureParameterfv(texture, pname, params); 2981*35238bceSAndroid Build Coastguard Worker} 2982*35238bceSAndroid Build Coastguard Worker 2983*35238bceSAndroid Build Coastguard Workervoid glwGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params) 2984*35238bceSAndroid Build Coastguard Worker{ 2985*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2986*35238bceSAndroid Build Coastguard Worker if (!gl) 2987*35238bceSAndroid Build Coastguard Worker return; 2988*35238bceSAndroid Build Coastguard Worker gl->getTextureParameterfvEXT(texture, target, pname, params); 2989*35238bceSAndroid Build Coastguard Worker} 2990*35238bceSAndroid Build Coastguard Worker 2991*35238bceSAndroid Build Coastguard Workervoid glwGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params) 2992*35238bceSAndroid Build Coastguard Worker{ 2993*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 2994*35238bceSAndroid Build Coastguard Worker if (!gl) 2995*35238bceSAndroid Build Coastguard Worker return; 2996*35238bceSAndroid Build Coastguard Worker gl->getTextureParameteriv(texture, pname, params); 2997*35238bceSAndroid Build Coastguard Worker} 2998*35238bceSAndroid Build Coastguard Worker 2999*35238bceSAndroid Build Coastguard Workervoid glwGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params) 3000*35238bceSAndroid Build Coastguard Worker{ 3001*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3002*35238bceSAndroid Build Coastguard Worker if (!gl) 3003*35238bceSAndroid Build Coastguard Worker return; 3004*35238bceSAndroid Build Coastguard Worker gl->getTextureParameterivEXT(texture, target, pname, params); 3005*35238bceSAndroid Build Coastguard Worker} 3006*35238bceSAndroid Build Coastguard Worker 3007*35238bceSAndroid Build Coastguard Workervoid glwGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels) 3008*35238bceSAndroid Build Coastguard Worker{ 3009*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3010*35238bceSAndroid Build Coastguard Worker if (!gl) 3011*35238bceSAndroid Build Coastguard Worker return; 3012*35238bceSAndroid Build Coastguard Worker gl->getTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels); 3013*35238bceSAndroid Build Coastguard Worker} 3014*35238bceSAndroid Build Coastguard Worker 3015*35238bceSAndroid Build Coastguard Workervoid glwGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) 3016*35238bceSAndroid Build Coastguard Worker{ 3017*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3018*35238bceSAndroid Build Coastguard Worker if (!gl) 3019*35238bceSAndroid Build Coastguard Worker return; 3020*35238bceSAndroid Build Coastguard Worker gl->getTransformFeedbackVarying(program, index, bufSize, length, size, type, name); 3021*35238bceSAndroid Build Coastguard Worker} 3022*35238bceSAndroid Build Coastguard Worker 3023*35238bceSAndroid Build Coastguard Workervoid glwGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param) 3024*35238bceSAndroid Build Coastguard Worker{ 3025*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3026*35238bceSAndroid Build Coastguard Worker if (!gl) 3027*35238bceSAndroid Build Coastguard Worker return; 3028*35238bceSAndroid Build Coastguard Worker gl->getTransformFeedbacki64_v(xfb, pname, index, param); 3029*35238bceSAndroid Build Coastguard Worker} 3030*35238bceSAndroid Build Coastguard Worker 3031*35238bceSAndroid Build Coastguard Workervoid glwGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param) 3032*35238bceSAndroid Build Coastguard Worker{ 3033*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3034*35238bceSAndroid Build Coastguard Worker if (!gl) 3035*35238bceSAndroid Build Coastguard Worker return; 3036*35238bceSAndroid Build Coastguard Worker gl->getTransformFeedbacki_v(xfb, pname, index, param); 3037*35238bceSAndroid Build Coastguard Worker} 3038*35238bceSAndroid Build Coastguard Worker 3039*35238bceSAndroid Build Coastguard Workervoid glwGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param) 3040*35238bceSAndroid Build Coastguard Worker{ 3041*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3042*35238bceSAndroid Build Coastguard Worker if (!gl) 3043*35238bceSAndroid Build Coastguard Worker return; 3044*35238bceSAndroid Build Coastguard Worker gl->getTransformFeedbackiv(xfb, pname, param); 3045*35238bceSAndroid Build Coastguard Worker} 3046*35238bceSAndroid Build Coastguard Worker 3047*35238bceSAndroid Build Coastguard WorkerGLuint glwGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName) 3048*35238bceSAndroid Build Coastguard Worker{ 3049*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3050*35238bceSAndroid Build Coastguard Worker if (!gl) 3051*35238bceSAndroid Build Coastguard Worker return (GLuint)0; 3052*35238bceSAndroid Build Coastguard Worker return gl->getUniformBlockIndex(program, uniformBlockName); 3053*35238bceSAndroid Build Coastguard Worker} 3054*35238bceSAndroid Build Coastguard Worker 3055*35238bceSAndroid Build Coastguard Workervoid glwGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices) 3056*35238bceSAndroid Build Coastguard Worker{ 3057*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3058*35238bceSAndroid Build Coastguard Worker if (!gl) 3059*35238bceSAndroid Build Coastguard Worker return; 3060*35238bceSAndroid Build Coastguard Worker gl->getUniformIndices(program, uniformCount, uniformNames, uniformIndices); 3061*35238bceSAndroid Build Coastguard Worker} 3062*35238bceSAndroid Build Coastguard Worker 3063*35238bceSAndroid Build Coastguard WorkerGLint glwGetUniformLocation (GLuint program, const GLchar *name) 3064*35238bceSAndroid Build Coastguard Worker{ 3065*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3066*35238bceSAndroid Build Coastguard Worker if (!gl) 3067*35238bceSAndroid Build Coastguard Worker return (GLint)0; 3068*35238bceSAndroid Build Coastguard Worker return gl->getUniformLocation(program, name); 3069*35238bceSAndroid Build Coastguard Worker} 3070*35238bceSAndroid Build Coastguard Worker 3071*35238bceSAndroid Build Coastguard Workervoid glwGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params) 3072*35238bceSAndroid Build Coastguard Worker{ 3073*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3074*35238bceSAndroid Build Coastguard Worker if (!gl) 3075*35238bceSAndroid Build Coastguard Worker return; 3076*35238bceSAndroid Build Coastguard Worker gl->getUniformSubroutineuiv(shadertype, location, params); 3077*35238bceSAndroid Build Coastguard Worker} 3078*35238bceSAndroid Build Coastguard Worker 3079*35238bceSAndroid Build Coastguard Workervoid glwGetUniformdv (GLuint program, GLint location, GLdouble *params) 3080*35238bceSAndroid Build Coastguard Worker{ 3081*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3082*35238bceSAndroid Build Coastguard Worker if (!gl) 3083*35238bceSAndroid Build Coastguard Worker return; 3084*35238bceSAndroid Build Coastguard Worker gl->getUniformdv(program, location, params); 3085*35238bceSAndroid Build Coastguard Worker} 3086*35238bceSAndroid Build Coastguard Worker 3087*35238bceSAndroid Build Coastguard Workervoid glwGetUniformfv (GLuint program, GLint location, GLfloat *params) 3088*35238bceSAndroid Build Coastguard Worker{ 3089*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3090*35238bceSAndroid Build Coastguard Worker if (!gl) 3091*35238bceSAndroid Build Coastguard Worker return; 3092*35238bceSAndroid Build Coastguard Worker gl->getUniformfv(program, location, params); 3093*35238bceSAndroid Build Coastguard Worker} 3094*35238bceSAndroid Build Coastguard Worker 3095*35238bceSAndroid Build Coastguard Workervoid glwGetUniformiv (GLuint program, GLint location, GLint *params) 3096*35238bceSAndroid Build Coastguard Worker{ 3097*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3098*35238bceSAndroid Build Coastguard Worker if (!gl) 3099*35238bceSAndroid Build Coastguard Worker return; 3100*35238bceSAndroid Build Coastguard Worker gl->getUniformiv(program, location, params); 3101*35238bceSAndroid Build Coastguard Worker} 3102*35238bceSAndroid Build Coastguard Worker 3103*35238bceSAndroid Build Coastguard Workervoid glwGetUniformuiv (GLuint program, GLint location, GLuint *params) 3104*35238bceSAndroid Build Coastguard Worker{ 3105*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3106*35238bceSAndroid Build Coastguard Worker if (!gl) 3107*35238bceSAndroid Build Coastguard Worker return; 3108*35238bceSAndroid Build Coastguard Worker gl->getUniformuiv(program, location, params); 3109*35238bceSAndroid Build Coastguard Worker} 3110*35238bceSAndroid Build Coastguard Worker 3111*35238bceSAndroid Build Coastguard Workervoid glwGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param) 3112*35238bceSAndroid Build Coastguard Worker{ 3113*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3114*35238bceSAndroid Build Coastguard Worker if (!gl) 3115*35238bceSAndroid Build Coastguard Worker return; 3116*35238bceSAndroid Build Coastguard Worker gl->getVertexArrayIndexed64iv(vaobj, index, pname, param); 3117*35238bceSAndroid Build Coastguard Worker} 3118*35238bceSAndroid Build Coastguard Worker 3119*35238bceSAndroid Build Coastguard Workervoid glwGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param) 3120*35238bceSAndroid Build Coastguard Worker{ 3121*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3122*35238bceSAndroid Build Coastguard Worker if (!gl) 3123*35238bceSAndroid Build Coastguard Worker return; 3124*35238bceSAndroid Build Coastguard Worker gl->getVertexArrayIndexediv(vaobj, index, pname, param); 3125*35238bceSAndroid Build Coastguard Worker} 3126*35238bceSAndroid Build Coastguard Worker 3127*35238bceSAndroid Build Coastguard Workervoid glwGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param) 3128*35238bceSAndroid Build Coastguard Worker{ 3129*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3130*35238bceSAndroid Build Coastguard Worker if (!gl) 3131*35238bceSAndroid Build Coastguard Worker return; 3132*35238bceSAndroid Build Coastguard Worker gl->getVertexArrayIntegeri_vEXT(vaobj, index, pname, param); 3133*35238bceSAndroid Build Coastguard Worker} 3134*35238bceSAndroid Build Coastguard Worker 3135*35238bceSAndroid Build Coastguard Workervoid glwGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param) 3136*35238bceSAndroid Build Coastguard Worker{ 3137*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3138*35238bceSAndroid Build Coastguard Worker if (!gl) 3139*35238bceSAndroid Build Coastguard Worker return; 3140*35238bceSAndroid Build Coastguard Worker gl->getVertexArrayIntegervEXT(vaobj, pname, param); 3141*35238bceSAndroid Build Coastguard Worker} 3142*35238bceSAndroid Build Coastguard Worker 3143*35238bceSAndroid Build Coastguard Workervoid glwGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param) 3144*35238bceSAndroid Build Coastguard Worker{ 3145*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3146*35238bceSAndroid Build Coastguard Worker if (!gl) 3147*35238bceSAndroid Build Coastguard Worker return; 3148*35238bceSAndroid Build Coastguard Worker gl->getVertexArrayPointeri_vEXT(vaobj, index, pname, param); 3149*35238bceSAndroid Build Coastguard Worker} 3150*35238bceSAndroid Build Coastguard Worker 3151*35238bceSAndroid Build Coastguard Workervoid glwGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param) 3152*35238bceSAndroid Build Coastguard Worker{ 3153*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3154*35238bceSAndroid Build Coastguard Worker if (!gl) 3155*35238bceSAndroid Build Coastguard Worker return; 3156*35238bceSAndroid Build Coastguard Worker gl->getVertexArrayPointervEXT(vaobj, pname, param); 3157*35238bceSAndroid Build Coastguard Worker} 3158*35238bceSAndroid Build Coastguard Worker 3159*35238bceSAndroid Build Coastguard Workervoid glwGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param) 3160*35238bceSAndroid Build Coastguard Worker{ 3161*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3162*35238bceSAndroid Build Coastguard Worker if (!gl) 3163*35238bceSAndroid Build Coastguard Worker return; 3164*35238bceSAndroid Build Coastguard Worker gl->getVertexArrayiv(vaobj, pname, param); 3165*35238bceSAndroid Build Coastguard Worker} 3166*35238bceSAndroid Build Coastguard Worker 3167*35238bceSAndroid Build Coastguard Workervoid glwGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params) 3168*35238bceSAndroid Build Coastguard Worker{ 3169*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3170*35238bceSAndroid Build Coastguard Worker if (!gl) 3171*35238bceSAndroid Build Coastguard Worker return; 3172*35238bceSAndroid Build Coastguard Worker gl->getVertexAttribIiv(index, pname, params); 3173*35238bceSAndroid Build Coastguard Worker} 3174*35238bceSAndroid Build Coastguard Worker 3175*35238bceSAndroid Build Coastguard Workervoid glwGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params) 3176*35238bceSAndroid Build Coastguard Worker{ 3177*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3178*35238bceSAndroid Build Coastguard Worker if (!gl) 3179*35238bceSAndroid Build Coastguard Worker return; 3180*35238bceSAndroid Build Coastguard Worker gl->getVertexAttribIuiv(index, pname, params); 3181*35238bceSAndroid Build Coastguard Worker} 3182*35238bceSAndroid Build Coastguard Worker 3183*35238bceSAndroid Build Coastguard Workervoid glwGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params) 3184*35238bceSAndroid Build Coastguard Worker{ 3185*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3186*35238bceSAndroid Build Coastguard Worker if (!gl) 3187*35238bceSAndroid Build Coastguard Worker return; 3188*35238bceSAndroid Build Coastguard Worker gl->getVertexAttribLdv(index, pname, params); 3189*35238bceSAndroid Build Coastguard Worker} 3190*35238bceSAndroid Build Coastguard Worker 3191*35238bceSAndroid Build Coastguard Workervoid glwGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer) 3192*35238bceSAndroid Build Coastguard Worker{ 3193*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3194*35238bceSAndroid Build Coastguard Worker if (!gl) 3195*35238bceSAndroid Build Coastguard Worker return; 3196*35238bceSAndroid Build Coastguard Worker gl->getVertexAttribPointerv(index, pname, pointer); 3197*35238bceSAndroid Build Coastguard Worker} 3198*35238bceSAndroid Build Coastguard Worker 3199*35238bceSAndroid Build Coastguard Workervoid glwGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params) 3200*35238bceSAndroid Build Coastguard Worker{ 3201*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3202*35238bceSAndroid Build Coastguard Worker if (!gl) 3203*35238bceSAndroid Build Coastguard Worker return; 3204*35238bceSAndroid Build Coastguard Worker gl->getVertexAttribdv(index, pname, params); 3205*35238bceSAndroid Build Coastguard Worker} 3206*35238bceSAndroid Build Coastguard Worker 3207*35238bceSAndroid Build Coastguard Workervoid glwGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params) 3208*35238bceSAndroid Build Coastguard Worker{ 3209*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3210*35238bceSAndroid Build Coastguard Worker if (!gl) 3211*35238bceSAndroid Build Coastguard Worker return; 3212*35238bceSAndroid Build Coastguard Worker gl->getVertexAttribfv(index, pname, params); 3213*35238bceSAndroid Build Coastguard Worker} 3214*35238bceSAndroid Build Coastguard Worker 3215*35238bceSAndroid Build Coastguard Workervoid glwGetVertexAttribiv (GLuint index, GLenum pname, GLint *params) 3216*35238bceSAndroid Build Coastguard Worker{ 3217*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3218*35238bceSAndroid Build Coastguard Worker if (!gl) 3219*35238bceSAndroid Build Coastguard Worker return; 3220*35238bceSAndroid Build Coastguard Worker gl->getVertexAttribiv(index, pname, params); 3221*35238bceSAndroid Build Coastguard Worker} 3222*35238bceSAndroid Build Coastguard Worker 3223*35238bceSAndroid Build Coastguard Workervoid glwGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels) 3224*35238bceSAndroid Build Coastguard Worker{ 3225*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3226*35238bceSAndroid Build Coastguard Worker if (!gl) 3227*35238bceSAndroid Build Coastguard Worker return; 3228*35238bceSAndroid Build Coastguard Worker gl->getnCompressedTexImage(target, lod, bufSize, pixels); 3229*35238bceSAndroid Build Coastguard Worker} 3230*35238bceSAndroid Build Coastguard Worker 3231*35238bceSAndroid Build Coastguard Workervoid glwGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels) 3232*35238bceSAndroid Build Coastguard Worker{ 3233*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3234*35238bceSAndroid Build Coastguard Worker if (!gl) 3235*35238bceSAndroid Build Coastguard Worker return; 3236*35238bceSAndroid Build Coastguard Worker gl->getnTexImage(target, level, format, type, bufSize, pixels); 3237*35238bceSAndroid Build Coastguard Worker} 3238*35238bceSAndroid Build Coastguard Worker 3239*35238bceSAndroid Build Coastguard Workervoid glwGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params) 3240*35238bceSAndroid Build Coastguard Worker{ 3241*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3242*35238bceSAndroid Build Coastguard Worker if (!gl) 3243*35238bceSAndroid Build Coastguard Worker return; 3244*35238bceSAndroid Build Coastguard Worker gl->getnUniformdv(program, location, bufSize, params); 3245*35238bceSAndroid Build Coastguard Worker} 3246*35238bceSAndroid Build Coastguard Worker 3247*35238bceSAndroid Build Coastguard Workervoid glwGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params) 3248*35238bceSAndroid Build Coastguard Worker{ 3249*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3250*35238bceSAndroid Build Coastguard Worker if (!gl) 3251*35238bceSAndroid Build Coastguard Worker return; 3252*35238bceSAndroid Build Coastguard Worker gl->getnUniformfv(program, location, bufSize, params); 3253*35238bceSAndroid Build Coastguard Worker} 3254*35238bceSAndroid Build Coastguard Worker 3255*35238bceSAndroid Build Coastguard Workervoid glwGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params) 3256*35238bceSAndroid Build Coastguard Worker{ 3257*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3258*35238bceSAndroid Build Coastguard Worker if (!gl) 3259*35238bceSAndroid Build Coastguard Worker return; 3260*35238bceSAndroid Build Coastguard Worker gl->getnUniformiv(program, location, bufSize, params); 3261*35238bceSAndroid Build Coastguard Worker} 3262*35238bceSAndroid Build Coastguard Worker 3263*35238bceSAndroid Build Coastguard Workervoid glwGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params) 3264*35238bceSAndroid Build Coastguard Worker{ 3265*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3266*35238bceSAndroid Build Coastguard Worker if (!gl) 3267*35238bceSAndroid Build Coastguard Worker return; 3268*35238bceSAndroid Build Coastguard Worker gl->getnUniformuiv(program, location, bufSize, params); 3269*35238bceSAndroid Build Coastguard Worker} 3270*35238bceSAndroid Build Coastguard Worker 3271*35238bceSAndroid Build Coastguard Workervoid glwHint (GLenum target, GLenum mode) 3272*35238bceSAndroid Build Coastguard Worker{ 3273*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3274*35238bceSAndroid Build Coastguard Worker if (!gl) 3275*35238bceSAndroid Build Coastguard Worker return; 3276*35238bceSAndroid Build Coastguard Worker gl->hint(target, mode); 3277*35238bceSAndroid Build Coastguard Worker} 3278*35238bceSAndroid Build Coastguard Worker 3279*35238bceSAndroid Build Coastguard Workervoid glwInsertEventMarkerEXT (GLsizei length, const GLchar *marker) 3280*35238bceSAndroid Build Coastguard Worker{ 3281*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3282*35238bceSAndroid Build Coastguard Worker if (!gl) 3283*35238bceSAndroid Build Coastguard Worker return; 3284*35238bceSAndroid Build Coastguard Worker gl->insertEventMarkerEXT(length, marker); 3285*35238bceSAndroid Build Coastguard Worker} 3286*35238bceSAndroid Build Coastguard Worker 3287*35238bceSAndroid Build Coastguard Workervoid glwInvalidateBufferData (GLuint buffer) 3288*35238bceSAndroid Build Coastguard Worker{ 3289*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3290*35238bceSAndroid Build Coastguard Worker if (!gl) 3291*35238bceSAndroid Build Coastguard Worker return; 3292*35238bceSAndroid Build Coastguard Worker gl->invalidateBufferData(buffer); 3293*35238bceSAndroid Build Coastguard Worker} 3294*35238bceSAndroid Build Coastguard Worker 3295*35238bceSAndroid Build Coastguard Workervoid glwInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length) 3296*35238bceSAndroid Build Coastguard Worker{ 3297*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3298*35238bceSAndroid Build Coastguard Worker if (!gl) 3299*35238bceSAndroid Build Coastguard Worker return; 3300*35238bceSAndroid Build Coastguard Worker gl->invalidateBufferSubData(buffer, offset, length); 3301*35238bceSAndroid Build Coastguard Worker} 3302*35238bceSAndroid Build Coastguard Worker 3303*35238bceSAndroid Build Coastguard Workervoid glwInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments) 3304*35238bceSAndroid Build Coastguard Worker{ 3305*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3306*35238bceSAndroid Build Coastguard Worker if (!gl) 3307*35238bceSAndroid Build Coastguard Worker return; 3308*35238bceSAndroid Build Coastguard Worker gl->invalidateFramebuffer(target, numAttachments, attachments); 3309*35238bceSAndroid Build Coastguard Worker} 3310*35238bceSAndroid Build Coastguard Worker 3311*35238bceSAndroid Build Coastguard Workervoid glwInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments) 3312*35238bceSAndroid Build Coastguard Worker{ 3313*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3314*35238bceSAndroid Build Coastguard Worker if (!gl) 3315*35238bceSAndroid Build Coastguard Worker return; 3316*35238bceSAndroid Build Coastguard Worker gl->invalidateNamedFramebufferData(framebuffer, numAttachments, attachments); 3317*35238bceSAndroid Build Coastguard Worker} 3318*35238bceSAndroid Build Coastguard Worker 3319*35238bceSAndroid Build Coastguard Workervoid glwInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height) 3320*35238bceSAndroid Build Coastguard Worker{ 3321*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3322*35238bceSAndroid Build Coastguard Worker if (!gl) 3323*35238bceSAndroid Build Coastguard Worker return; 3324*35238bceSAndroid Build Coastguard Worker gl->invalidateNamedFramebufferSubData(framebuffer, numAttachments, attachments, x, y, width, height); 3325*35238bceSAndroid Build Coastguard Worker} 3326*35238bceSAndroid Build Coastguard Worker 3327*35238bceSAndroid Build Coastguard Workervoid glwInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height) 3328*35238bceSAndroid Build Coastguard Worker{ 3329*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3330*35238bceSAndroid Build Coastguard Worker if (!gl) 3331*35238bceSAndroid Build Coastguard Worker return; 3332*35238bceSAndroid Build Coastguard Worker gl->invalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height); 3333*35238bceSAndroid Build Coastguard Worker} 3334*35238bceSAndroid Build Coastguard Worker 3335*35238bceSAndroid Build Coastguard Workervoid glwInvalidateTexImage (GLuint texture, GLint level) 3336*35238bceSAndroid Build Coastguard Worker{ 3337*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3338*35238bceSAndroid Build Coastguard Worker if (!gl) 3339*35238bceSAndroid Build Coastguard Worker return; 3340*35238bceSAndroid Build Coastguard Worker gl->invalidateTexImage(texture, level); 3341*35238bceSAndroid Build Coastguard Worker} 3342*35238bceSAndroid Build Coastguard Worker 3343*35238bceSAndroid Build Coastguard Workervoid glwInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth) 3344*35238bceSAndroid Build Coastguard Worker{ 3345*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3346*35238bceSAndroid Build Coastguard Worker if (!gl) 3347*35238bceSAndroid Build Coastguard Worker return; 3348*35238bceSAndroid Build Coastguard Worker gl->invalidateTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth); 3349*35238bceSAndroid Build Coastguard Worker} 3350*35238bceSAndroid Build Coastguard Worker 3351*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsBuffer (GLuint buffer) 3352*35238bceSAndroid Build Coastguard Worker{ 3353*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3354*35238bceSAndroid Build Coastguard Worker if (!gl) 3355*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3356*35238bceSAndroid Build Coastguard Worker return gl->isBuffer(buffer); 3357*35238bceSAndroid Build Coastguard Worker} 3358*35238bceSAndroid Build Coastguard Worker 3359*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsEnabled (GLenum cap) 3360*35238bceSAndroid Build Coastguard Worker{ 3361*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3362*35238bceSAndroid Build Coastguard Worker if (!gl) 3363*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3364*35238bceSAndroid Build Coastguard Worker return gl->isEnabled(cap); 3365*35238bceSAndroid Build Coastguard Worker} 3366*35238bceSAndroid Build Coastguard Worker 3367*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsEnabledi (GLenum target, GLuint index) 3368*35238bceSAndroid Build Coastguard Worker{ 3369*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3370*35238bceSAndroid Build Coastguard Worker if (!gl) 3371*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3372*35238bceSAndroid Build Coastguard Worker return gl->isEnabledi(target, index); 3373*35238bceSAndroid Build Coastguard Worker} 3374*35238bceSAndroid Build Coastguard Worker 3375*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsFramebuffer (GLuint framebuffer) 3376*35238bceSAndroid Build Coastguard Worker{ 3377*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3378*35238bceSAndroid Build Coastguard Worker if (!gl) 3379*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3380*35238bceSAndroid Build Coastguard Worker return gl->isFramebuffer(framebuffer); 3381*35238bceSAndroid Build Coastguard Worker} 3382*35238bceSAndroid Build Coastguard Worker 3383*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsProgram (GLuint program) 3384*35238bceSAndroid Build Coastguard Worker{ 3385*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3386*35238bceSAndroid Build Coastguard Worker if (!gl) 3387*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3388*35238bceSAndroid Build Coastguard Worker return gl->isProgram(program); 3389*35238bceSAndroid Build Coastguard Worker} 3390*35238bceSAndroid Build Coastguard Worker 3391*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsProgramPipeline (GLuint pipeline) 3392*35238bceSAndroid Build Coastguard Worker{ 3393*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3394*35238bceSAndroid Build Coastguard Worker if (!gl) 3395*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3396*35238bceSAndroid Build Coastguard Worker return gl->isProgramPipeline(pipeline); 3397*35238bceSAndroid Build Coastguard Worker} 3398*35238bceSAndroid Build Coastguard Worker 3399*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsQuery (GLuint id) 3400*35238bceSAndroid Build Coastguard Worker{ 3401*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3402*35238bceSAndroid Build Coastguard Worker if (!gl) 3403*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3404*35238bceSAndroid Build Coastguard Worker return gl->isQuery(id); 3405*35238bceSAndroid Build Coastguard Worker} 3406*35238bceSAndroid Build Coastguard Worker 3407*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsRenderbuffer (GLuint renderbuffer) 3408*35238bceSAndroid Build Coastguard Worker{ 3409*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3410*35238bceSAndroid Build Coastguard Worker if (!gl) 3411*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3412*35238bceSAndroid Build Coastguard Worker return gl->isRenderbuffer(renderbuffer); 3413*35238bceSAndroid Build Coastguard Worker} 3414*35238bceSAndroid Build Coastguard Worker 3415*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsSampler (GLuint sampler) 3416*35238bceSAndroid Build Coastguard Worker{ 3417*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3418*35238bceSAndroid Build Coastguard Worker if (!gl) 3419*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3420*35238bceSAndroid Build Coastguard Worker return gl->isSampler(sampler); 3421*35238bceSAndroid Build Coastguard Worker} 3422*35238bceSAndroid Build Coastguard Worker 3423*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsShader (GLuint shader) 3424*35238bceSAndroid Build Coastguard Worker{ 3425*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3426*35238bceSAndroid Build Coastguard Worker if (!gl) 3427*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3428*35238bceSAndroid Build Coastguard Worker return gl->isShader(shader); 3429*35238bceSAndroid Build Coastguard Worker} 3430*35238bceSAndroid Build Coastguard Worker 3431*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsSync (GLsync sync) 3432*35238bceSAndroid Build Coastguard Worker{ 3433*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3434*35238bceSAndroid Build Coastguard Worker if (!gl) 3435*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3436*35238bceSAndroid Build Coastguard Worker return gl->isSync(sync); 3437*35238bceSAndroid Build Coastguard Worker} 3438*35238bceSAndroid Build Coastguard Worker 3439*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsTexture (GLuint texture) 3440*35238bceSAndroid Build Coastguard Worker{ 3441*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3442*35238bceSAndroid Build Coastguard Worker if (!gl) 3443*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3444*35238bceSAndroid Build Coastguard Worker return gl->isTexture(texture); 3445*35238bceSAndroid Build Coastguard Worker} 3446*35238bceSAndroid Build Coastguard Worker 3447*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsTransformFeedback (GLuint id) 3448*35238bceSAndroid Build Coastguard Worker{ 3449*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3450*35238bceSAndroid Build Coastguard Worker if (!gl) 3451*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3452*35238bceSAndroid Build Coastguard Worker return gl->isTransformFeedback(id); 3453*35238bceSAndroid Build Coastguard Worker} 3454*35238bceSAndroid Build Coastguard Worker 3455*35238bceSAndroid Build Coastguard WorkerGLboolean glwIsVertexArray (GLuint array) 3456*35238bceSAndroid Build Coastguard Worker{ 3457*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3458*35238bceSAndroid Build Coastguard Worker if (!gl) 3459*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 3460*35238bceSAndroid Build Coastguard Worker return gl->isVertexArray(array); 3461*35238bceSAndroid Build Coastguard Worker} 3462*35238bceSAndroid Build Coastguard Worker 3463*35238bceSAndroid Build Coastguard Workervoid glwLineWidth (GLfloat width) 3464*35238bceSAndroid Build Coastguard Worker{ 3465*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3466*35238bceSAndroid Build Coastguard Worker if (!gl) 3467*35238bceSAndroid Build Coastguard Worker return; 3468*35238bceSAndroid Build Coastguard Worker gl->lineWidth(width); 3469*35238bceSAndroid Build Coastguard Worker} 3470*35238bceSAndroid Build Coastguard Worker 3471*35238bceSAndroid Build Coastguard Workervoid glwLinkProgram (GLuint program) 3472*35238bceSAndroid Build Coastguard Worker{ 3473*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3474*35238bceSAndroid Build Coastguard Worker if (!gl) 3475*35238bceSAndroid Build Coastguard Worker return; 3476*35238bceSAndroid Build Coastguard Worker gl->linkProgram(program); 3477*35238bceSAndroid Build Coastguard Worker} 3478*35238bceSAndroid Build Coastguard Worker 3479*35238bceSAndroid Build Coastguard Workervoid glwLogicOp (GLenum opcode) 3480*35238bceSAndroid Build Coastguard Worker{ 3481*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3482*35238bceSAndroid Build Coastguard Worker if (!gl) 3483*35238bceSAndroid Build Coastguard Worker return; 3484*35238bceSAndroid Build Coastguard Worker gl->logicOp(opcode); 3485*35238bceSAndroid Build Coastguard Worker} 3486*35238bceSAndroid Build Coastguard Worker 3487*35238bceSAndroid Build Coastguard Workervoid * glwMapBuffer (GLenum target, GLenum access) 3488*35238bceSAndroid Build Coastguard Worker{ 3489*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3490*35238bceSAndroid Build Coastguard Worker if (!gl) 3491*35238bceSAndroid Build Coastguard Worker return (void *)0; 3492*35238bceSAndroid Build Coastguard Worker return gl->mapBuffer(target, access); 3493*35238bceSAndroid Build Coastguard Worker} 3494*35238bceSAndroid Build Coastguard Worker 3495*35238bceSAndroid Build Coastguard Workervoid * glwMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) 3496*35238bceSAndroid Build Coastguard Worker{ 3497*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3498*35238bceSAndroid Build Coastguard Worker if (!gl) 3499*35238bceSAndroid Build Coastguard Worker return (void *)0; 3500*35238bceSAndroid Build Coastguard Worker return gl->mapBufferRange(target, offset, length, access); 3501*35238bceSAndroid Build Coastguard Worker} 3502*35238bceSAndroid Build Coastguard Worker 3503*35238bceSAndroid Build Coastguard Workervoid * glwMapNamedBuffer (GLuint buffer, GLenum access) 3504*35238bceSAndroid Build Coastguard Worker{ 3505*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3506*35238bceSAndroid Build Coastguard Worker if (!gl) 3507*35238bceSAndroid Build Coastguard Worker return (void *)0; 3508*35238bceSAndroid Build Coastguard Worker return gl->mapNamedBuffer(buffer, access); 3509*35238bceSAndroid Build Coastguard Worker} 3510*35238bceSAndroid Build Coastguard Worker 3511*35238bceSAndroid Build Coastguard Workervoid * glwMapNamedBufferEXT (GLuint buffer, GLenum access) 3512*35238bceSAndroid Build Coastguard Worker{ 3513*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3514*35238bceSAndroid Build Coastguard Worker if (!gl) 3515*35238bceSAndroid Build Coastguard Worker return (void *)0; 3516*35238bceSAndroid Build Coastguard Worker return gl->mapNamedBufferEXT(buffer, access); 3517*35238bceSAndroid Build Coastguard Worker} 3518*35238bceSAndroid Build Coastguard Worker 3519*35238bceSAndroid Build Coastguard Workervoid * glwMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) 3520*35238bceSAndroid Build Coastguard Worker{ 3521*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3522*35238bceSAndroid Build Coastguard Worker if (!gl) 3523*35238bceSAndroid Build Coastguard Worker return (void *)0; 3524*35238bceSAndroid Build Coastguard Worker return gl->mapNamedBufferRange(buffer, offset, length, access); 3525*35238bceSAndroid Build Coastguard Worker} 3526*35238bceSAndroid Build Coastguard Worker 3527*35238bceSAndroid Build Coastguard Workervoid * glwMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) 3528*35238bceSAndroid Build Coastguard Worker{ 3529*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3530*35238bceSAndroid Build Coastguard Worker if (!gl) 3531*35238bceSAndroid Build Coastguard Worker return (void *)0; 3532*35238bceSAndroid Build Coastguard Worker return gl->mapNamedBufferRangeEXT(buffer, offset, length, access); 3533*35238bceSAndroid Build Coastguard Worker} 3534*35238bceSAndroid Build Coastguard Worker 3535*35238bceSAndroid Build Coastguard Workervoid glwMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) 3536*35238bceSAndroid Build Coastguard Worker{ 3537*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3538*35238bceSAndroid Build Coastguard Worker if (!gl) 3539*35238bceSAndroid Build Coastguard Worker return; 3540*35238bceSAndroid Build Coastguard Worker gl->matrixFrustumEXT(mode, left, right, bottom, top, zNear, zFar); 3541*35238bceSAndroid Build Coastguard Worker} 3542*35238bceSAndroid Build Coastguard Worker 3543*35238bceSAndroid Build Coastguard Workervoid glwMatrixLoadIdentityEXT (GLenum mode) 3544*35238bceSAndroid Build Coastguard Worker{ 3545*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3546*35238bceSAndroid Build Coastguard Worker if (!gl) 3547*35238bceSAndroid Build Coastguard Worker return; 3548*35238bceSAndroid Build Coastguard Worker gl->matrixLoadIdentityEXT(mode); 3549*35238bceSAndroid Build Coastguard Worker} 3550*35238bceSAndroid Build Coastguard Worker 3551*35238bceSAndroid Build Coastguard Workervoid glwMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m) 3552*35238bceSAndroid Build Coastguard Worker{ 3553*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3554*35238bceSAndroid Build Coastguard Worker if (!gl) 3555*35238bceSAndroid Build Coastguard Worker return; 3556*35238bceSAndroid Build Coastguard Worker gl->matrixLoadTransposedEXT(mode, m); 3557*35238bceSAndroid Build Coastguard Worker} 3558*35238bceSAndroid Build Coastguard Worker 3559*35238bceSAndroid Build Coastguard Workervoid glwMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m) 3560*35238bceSAndroid Build Coastguard Worker{ 3561*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3562*35238bceSAndroid Build Coastguard Worker if (!gl) 3563*35238bceSAndroid Build Coastguard Worker return; 3564*35238bceSAndroid Build Coastguard Worker gl->matrixLoadTransposefEXT(mode, m); 3565*35238bceSAndroid Build Coastguard Worker} 3566*35238bceSAndroid Build Coastguard Worker 3567*35238bceSAndroid Build Coastguard Workervoid glwMatrixLoaddEXT (GLenum mode, const GLdouble *m) 3568*35238bceSAndroid Build Coastguard Worker{ 3569*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3570*35238bceSAndroid Build Coastguard Worker if (!gl) 3571*35238bceSAndroid Build Coastguard Worker return; 3572*35238bceSAndroid Build Coastguard Worker gl->matrixLoaddEXT(mode, m); 3573*35238bceSAndroid Build Coastguard Worker} 3574*35238bceSAndroid Build Coastguard Worker 3575*35238bceSAndroid Build Coastguard Workervoid glwMatrixLoadfEXT (GLenum mode, const GLfloat *m) 3576*35238bceSAndroid Build Coastguard Worker{ 3577*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3578*35238bceSAndroid Build Coastguard Worker if (!gl) 3579*35238bceSAndroid Build Coastguard Worker return; 3580*35238bceSAndroid Build Coastguard Worker gl->matrixLoadfEXT(mode, m); 3581*35238bceSAndroid Build Coastguard Worker} 3582*35238bceSAndroid Build Coastguard Worker 3583*35238bceSAndroid Build Coastguard Workervoid glwMatrixMultTransposedEXT (GLenum mode, const GLdouble *m) 3584*35238bceSAndroid Build Coastguard Worker{ 3585*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3586*35238bceSAndroid Build Coastguard Worker if (!gl) 3587*35238bceSAndroid Build Coastguard Worker return; 3588*35238bceSAndroid Build Coastguard Worker gl->matrixMultTransposedEXT(mode, m); 3589*35238bceSAndroid Build Coastguard Worker} 3590*35238bceSAndroid Build Coastguard Worker 3591*35238bceSAndroid Build Coastguard Workervoid glwMatrixMultTransposefEXT (GLenum mode, const GLfloat *m) 3592*35238bceSAndroid Build Coastguard Worker{ 3593*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3594*35238bceSAndroid Build Coastguard Worker if (!gl) 3595*35238bceSAndroid Build Coastguard Worker return; 3596*35238bceSAndroid Build Coastguard Worker gl->matrixMultTransposefEXT(mode, m); 3597*35238bceSAndroid Build Coastguard Worker} 3598*35238bceSAndroid Build Coastguard Worker 3599*35238bceSAndroid Build Coastguard Workervoid glwMatrixMultdEXT (GLenum mode, const GLdouble *m) 3600*35238bceSAndroid Build Coastguard Worker{ 3601*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3602*35238bceSAndroid Build Coastguard Worker if (!gl) 3603*35238bceSAndroid Build Coastguard Worker return; 3604*35238bceSAndroid Build Coastguard Worker gl->matrixMultdEXT(mode, m); 3605*35238bceSAndroid Build Coastguard Worker} 3606*35238bceSAndroid Build Coastguard Worker 3607*35238bceSAndroid Build Coastguard Workervoid glwMatrixMultfEXT (GLenum mode, const GLfloat *m) 3608*35238bceSAndroid Build Coastguard Worker{ 3609*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3610*35238bceSAndroid Build Coastguard Worker if (!gl) 3611*35238bceSAndroid Build Coastguard Worker return; 3612*35238bceSAndroid Build Coastguard Worker gl->matrixMultfEXT(mode, m); 3613*35238bceSAndroid Build Coastguard Worker} 3614*35238bceSAndroid Build Coastguard Worker 3615*35238bceSAndroid Build Coastguard Workervoid glwMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) 3616*35238bceSAndroid Build Coastguard Worker{ 3617*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3618*35238bceSAndroid Build Coastguard Worker if (!gl) 3619*35238bceSAndroid Build Coastguard Worker return; 3620*35238bceSAndroid Build Coastguard Worker gl->matrixOrthoEXT(mode, left, right, bottom, top, zNear, zFar); 3621*35238bceSAndroid Build Coastguard Worker} 3622*35238bceSAndroid Build Coastguard Worker 3623*35238bceSAndroid Build Coastguard Workervoid glwMatrixPopEXT (GLenum mode) 3624*35238bceSAndroid Build Coastguard Worker{ 3625*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3626*35238bceSAndroid Build Coastguard Worker if (!gl) 3627*35238bceSAndroid Build Coastguard Worker return; 3628*35238bceSAndroid Build Coastguard Worker gl->matrixPopEXT(mode); 3629*35238bceSAndroid Build Coastguard Worker} 3630*35238bceSAndroid Build Coastguard Worker 3631*35238bceSAndroid Build Coastguard Workervoid glwMatrixPushEXT (GLenum mode) 3632*35238bceSAndroid Build Coastguard Worker{ 3633*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3634*35238bceSAndroid Build Coastguard Worker if (!gl) 3635*35238bceSAndroid Build Coastguard Worker return; 3636*35238bceSAndroid Build Coastguard Worker gl->matrixPushEXT(mode); 3637*35238bceSAndroid Build Coastguard Worker} 3638*35238bceSAndroid Build Coastguard Worker 3639*35238bceSAndroid Build Coastguard Workervoid glwMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z) 3640*35238bceSAndroid Build Coastguard Worker{ 3641*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3642*35238bceSAndroid Build Coastguard Worker if (!gl) 3643*35238bceSAndroid Build Coastguard Worker return; 3644*35238bceSAndroid Build Coastguard Worker gl->matrixRotatedEXT(mode, angle, x, y, z); 3645*35238bceSAndroid Build Coastguard Worker} 3646*35238bceSAndroid Build Coastguard Worker 3647*35238bceSAndroid Build Coastguard Workervoid glwMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) 3648*35238bceSAndroid Build Coastguard Worker{ 3649*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3650*35238bceSAndroid Build Coastguard Worker if (!gl) 3651*35238bceSAndroid Build Coastguard Worker return; 3652*35238bceSAndroid Build Coastguard Worker gl->matrixRotatefEXT(mode, angle, x, y, z); 3653*35238bceSAndroid Build Coastguard Worker} 3654*35238bceSAndroid Build Coastguard Worker 3655*35238bceSAndroid Build Coastguard Workervoid glwMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z) 3656*35238bceSAndroid Build Coastguard Worker{ 3657*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3658*35238bceSAndroid Build Coastguard Worker if (!gl) 3659*35238bceSAndroid Build Coastguard Worker return; 3660*35238bceSAndroid Build Coastguard Worker gl->matrixScaledEXT(mode, x, y, z); 3661*35238bceSAndroid Build Coastguard Worker} 3662*35238bceSAndroid Build Coastguard Worker 3663*35238bceSAndroid Build Coastguard Workervoid glwMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z) 3664*35238bceSAndroid Build Coastguard Worker{ 3665*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3666*35238bceSAndroid Build Coastguard Worker if (!gl) 3667*35238bceSAndroid Build Coastguard Worker return; 3668*35238bceSAndroid Build Coastguard Worker gl->matrixScalefEXT(mode, x, y, z); 3669*35238bceSAndroid Build Coastguard Worker} 3670*35238bceSAndroid Build Coastguard Worker 3671*35238bceSAndroid Build Coastguard Workervoid glwMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z) 3672*35238bceSAndroid Build Coastguard Worker{ 3673*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3674*35238bceSAndroid Build Coastguard Worker if (!gl) 3675*35238bceSAndroid Build Coastguard Worker return; 3676*35238bceSAndroid Build Coastguard Worker gl->matrixTranslatedEXT(mode, x, y, z); 3677*35238bceSAndroid Build Coastguard Worker} 3678*35238bceSAndroid Build Coastguard Worker 3679*35238bceSAndroid Build Coastguard Workervoid glwMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z) 3680*35238bceSAndroid Build Coastguard Worker{ 3681*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3682*35238bceSAndroid Build Coastguard Worker if (!gl) 3683*35238bceSAndroid Build Coastguard Worker return; 3684*35238bceSAndroid Build Coastguard Worker gl->matrixTranslatefEXT(mode, x, y, z); 3685*35238bceSAndroid Build Coastguard Worker} 3686*35238bceSAndroid Build Coastguard Worker 3687*35238bceSAndroid Build Coastguard Workervoid glwMaxShaderCompilerThreadsKHR (GLuint count) 3688*35238bceSAndroid Build Coastguard Worker{ 3689*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3690*35238bceSAndroid Build Coastguard Worker if (!gl) 3691*35238bceSAndroid Build Coastguard Worker return; 3692*35238bceSAndroid Build Coastguard Worker gl->maxShaderCompilerThreadsKHR(count); 3693*35238bceSAndroid Build Coastguard Worker} 3694*35238bceSAndroid Build Coastguard Worker 3695*35238bceSAndroid Build Coastguard Workervoid glwMemoryBarrier (GLbitfield barriers) 3696*35238bceSAndroid Build Coastguard Worker{ 3697*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3698*35238bceSAndroid Build Coastguard Worker if (!gl) 3699*35238bceSAndroid Build Coastguard Worker return; 3700*35238bceSAndroid Build Coastguard Worker gl->memoryBarrier(barriers); 3701*35238bceSAndroid Build Coastguard Worker} 3702*35238bceSAndroid Build Coastguard Worker 3703*35238bceSAndroid Build Coastguard Workervoid glwMemoryBarrierByRegion (GLbitfield barriers) 3704*35238bceSAndroid Build Coastguard Worker{ 3705*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3706*35238bceSAndroid Build Coastguard Worker if (!gl) 3707*35238bceSAndroid Build Coastguard Worker return; 3708*35238bceSAndroid Build Coastguard Worker gl->memoryBarrierByRegion(barriers); 3709*35238bceSAndroid Build Coastguard Worker} 3710*35238bceSAndroid Build Coastguard Worker 3711*35238bceSAndroid Build Coastguard Workervoid glwMinSampleShading (GLfloat value) 3712*35238bceSAndroid Build Coastguard Worker{ 3713*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3714*35238bceSAndroid Build Coastguard Worker if (!gl) 3715*35238bceSAndroid Build Coastguard Worker return; 3716*35238bceSAndroid Build Coastguard Worker gl->minSampleShading(value); 3717*35238bceSAndroid Build Coastguard Worker} 3718*35238bceSAndroid Build Coastguard Worker 3719*35238bceSAndroid Build Coastguard Workervoid glwMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount) 3720*35238bceSAndroid Build Coastguard Worker{ 3721*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3722*35238bceSAndroid Build Coastguard Worker if (!gl) 3723*35238bceSAndroid Build Coastguard Worker return; 3724*35238bceSAndroid Build Coastguard Worker gl->multiDrawArrays(mode, first, count, drawcount); 3725*35238bceSAndroid Build Coastguard Worker} 3726*35238bceSAndroid Build Coastguard Worker 3727*35238bceSAndroid Build Coastguard Workervoid glwMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride) 3728*35238bceSAndroid Build Coastguard Worker{ 3729*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3730*35238bceSAndroid Build Coastguard Worker if (!gl) 3731*35238bceSAndroid Build Coastguard Worker return; 3732*35238bceSAndroid Build Coastguard Worker gl->multiDrawArraysIndirect(mode, indirect, drawcount, stride); 3733*35238bceSAndroid Build Coastguard Worker} 3734*35238bceSAndroid Build Coastguard Worker 3735*35238bceSAndroid Build Coastguard Workervoid glwMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) 3736*35238bceSAndroid Build Coastguard Worker{ 3737*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3738*35238bceSAndroid Build Coastguard Worker if (!gl) 3739*35238bceSAndroid Build Coastguard Worker return; 3740*35238bceSAndroid Build Coastguard Worker gl->multiDrawArraysIndirectCount(mode, indirect, drawcount, maxdrawcount, stride); 3741*35238bceSAndroid Build Coastguard Worker} 3742*35238bceSAndroid Build Coastguard Worker 3743*35238bceSAndroid Build Coastguard Workervoid glwMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount) 3744*35238bceSAndroid Build Coastguard Worker{ 3745*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3746*35238bceSAndroid Build Coastguard Worker if (!gl) 3747*35238bceSAndroid Build Coastguard Worker return; 3748*35238bceSAndroid Build Coastguard Worker gl->multiDrawElements(mode, count, type, indices, drawcount); 3749*35238bceSAndroid Build Coastguard Worker} 3750*35238bceSAndroid Build Coastguard Worker 3751*35238bceSAndroid Build Coastguard Workervoid glwMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex) 3752*35238bceSAndroid Build Coastguard Worker{ 3753*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3754*35238bceSAndroid Build Coastguard Worker if (!gl) 3755*35238bceSAndroid Build Coastguard Worker return; 3756*35238bceSAndroid Build Coastguard Worker gl->multiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); 3757*35238bceSAndroid Build Coastguard Worker} 3758*35238bceSAndroid Build Coastguard Worker 3759*35238bceSAndroid Build Coastguard Workervoid glwMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride) 3760*35238bceSAndroid Build Coastguard Worker{ 3761*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3762*35238bceSAndroid Build Coastguard Worker if (!gl) 3763*35238bceSAndroid Build Coastguard Worker return; 3764*35238bceSAndroid Build Coastguard Worker gl->multiDrawElementsIndirect(mode, type, indirect, drawcount, stride); 3765*35238bceSAndroid Build Coastguard Worker} 3766*35238bceSAndroid Build Coastguard Worker 3767*35238bceSAndroid Build Coastguard Workervoid glwMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) 3768*35238bceSAndroid Build Coastguard Worker{ 3769*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3770*35238bceSAndroid Build Coastguard Worker if (!gl) 3771*35238bceSAndroid Build Coastguard Worker return; 3772*35238bceSAndroid Build Coastguard Worker gl->multiDrawElementsIndirectCount(mode, type, indirect, drawcount, maxdrawcount, stride); 3773*35238bceSAndroid Build Coastguard Worker} 3774*35238bceSAndroid Build Coastguard Worker 3775*35238bceSAndroid Build Coastguard Workervoid glwMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer) 3776*35238bceSAndroid Build Coastguard Worker{ 3777*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3778*35238bceSAndroid Build Coastguard Worker if (!gl) 3779*35238bceSAndroid Build Coastguard Worker return; 3780*35238bceSAndroid Build Coastguard Worker gl->multiTexBufferEXT(texunit, target, internalformat, buffer); 3781*35238bceSAndroid Build Coastguard Worker} 3782*35238bceSAndroid Build Coastguard Worker 3783*35238bceSAndroid Build Coastguard Workervoid glwMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer) 3784*35238bceSAndroid Build Coastguard Worker{ 3785*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3786*35238bceSAndroid Build Coastguard Worker if (!gl) 3787*35238bceSAndroid Build Coastguard Worker return; 3788*35238bceSAndroid Build Coastguard Worker gl->multiTexCoordPointerEXT(texunit, size, type, stride, pointer); 3789*35238bceSAndroid Build Coastguard Worker} 3790*35238bceSAndroid Build Coastguard Worker 3791*35238bceSAndroid Build Coastguard Workervoid glwMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param) 3792*35238bceSAndroid Build Coastguard Worker{ 3793*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3794*35238bceSAndroid Build Coastguard Worker if (!gl) 3795*35238bceSAndroid Build Coastguard Worker return; 3796*35238bceSAndroid Build Coastguard Worker gl->multiTexEnvfEXT(texunit, target, pname, param); 3797*35238bceSAndroid Build Coastguard Worker} 3798*35238bceSAndroid Build Coastguard Worker 3799*35238bceSAndroid Build Coastguard Workervoid glwMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params) 3800*35238bceSAndroid Build Coastguard Worker{ 3801*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3802*35238bceSAndroid Build Coastguard Worker if (!gl) 3803*35238bceSAndroid Build Coastguard Worker return; 3804*35238bceSAndroid Build Coastguard Worker gl->multiTexEnvfvEXT(texunit, target, pname, params); 3805*35238bceSAndroid Build Coastguard Worker} 3806*35238bceSAndroid Build Coastguard Worker 3807*35238bceSAndroid Build Coastguard Workervoid glwMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param) 3808*35238bceSAndroid Build Coastguard Worker{ 3809*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3810*35238bceSAndroid Build Coastguard Worker if (!gl) 3811*35238bceSAndroid Build Coastguard Worker return; 3812*35238bceSAndroid Build Coastguard Worker gl->multiTexEnviEXT(texunit, target, pname, param); 3813*35238bceSAndroid Build Coastguard Worker} 3814*35238bceSAndroid Build Coastguard Worker 3815*35238bceSAndroid Build Coastguard Workervoid glwMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params) 3816*35238bceSAndroid Build Coastguard Worker{ 3817*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3818*35238bceSAndroid Build Coastguard Worker if (!gl) 3819*35238bceSAndroid Build Coastguard Worker return; 3820*35238bceSAndroid Build Coastguard Worker gl->multiTexEnvivEXT(texunit, target, pname, params); 3821*35238bceSAndroid Build Coastguard Worker} 3822*35238bceSAndroid Build Coastguard Worker 3823*35238bceSAndroid Build Coastguard Workervoid glwMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param) 3824*35238bceSAndroid Build Coastguard Worker{ 3825*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3826*35238bceSAndroid Build Coastguard Worker if (!gl) 3827*35238bceSAndroid Build Coastguard Worker return; 3828*35238bceSAndroid Build Coastguard Worker gl->multiTexGendEXT(texunit, coord, pname, param); 3829*35238bceSAndroid Build Coastguard Worker} 3830*35238bceSAndroid Build Coastguard Worker 3831*35238bceSAndroid Build Coastguard Workervoid glwMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params) 3832*35238bceSAndroid Build Coastguard Worker{ 3833*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3834*35238bceSAndroid Build Coastguard Worker if (!gl) 3835*35238bceSAndroid Build Coastguard Worker return; 3836*35238bceSAndroid Build Coastguard Worker gl->multiTexGendvEXT(texunit, coord, pname, params); 3837*35238bceSAndroid Build Coastguard Worker} 3838*35238bceSAndroid Build Coastguard Worker 3839*35238bceSAndroid Build Coastguard Workervoid glwMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param) 3840*35238bceSAndroid Build Coastguard Worker{ 3841*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3842*35238bceSAndroid Build Coastguard Worker if (!gl) 3843*35238bceSAndroid Build Coastguard Worker return; 3844*35238bceSAndroid Build Coastguard Worker gl->multiTexGenfEXT(texunit, coord, pname, param); 3845*35238bceSAndroid Build Coastguard Worker} 3846*35238bceSAndroid Build Coastguard Worker 3847*35238bceSAndroid Build Coastguard Workervoid glwMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params) 3848*35238bceSAndroid Build Coastguard Worker{ 3849*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3850*35238bceSAndroid Build Coastguard Worker if (!gl) 3851*35238bceSAndroid Build Coastguard Worker return; 3852*35238bceSAndroid Build Coastguard Worker gl->multiTexGenfvEXT(texunit, coord, pname, params); 3853*35238bceSAndroid Build Coastguard Worker} 3854*35238bceSAndroid Build Coastguard Worker 3855*35238bceSAndroid Build Coastguard Workervoid glwMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param) 3856*35238bceSAndroid Build Coastguard Worker{ 3857*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3858*35238bceSAndroid Build Coastguard Worker if (!gl) 3859*35238bceSAndroid Build Coastguard Worker return; 3860*35238bceSAndroid Build Coastguard Worker gl->multiTexGeniEXT(texunit, coord, pname, param); 3861*35238bceSAndroid Build Coastguard Worker} 3862*35238bceSAndroid Build Coastguard Worker 3863*35238bceSAndroid Build Coastguard Workervoid glwMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params) 3864*35238bceSAndroid Build Coastguard Worker{ 3865*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3866*35238bceSAndroid Build Coastguard Worker if (!gl) 3867*35238bceSAndroid Build Coastguard Worker return; 3868*35238bceSAndroid Build Coastguard Worker gl->multiTexGenivEXT(texunit, coord, pname, params); 3869*35238bceSAndroid Build Coastguard Worker} 3870*35238bceSAndroid Build Coastguard Worker 3871*35238bceSAndroid Build Coastguard Workervoid glwMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels) 3872*35238bceSAndroid Build Coastguard Worker{ 3873*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3874*35238bceSAndroid Build Coastguard Worker if (!gl) 3875*35238bceSAndroid Build Coastguard Worker return; 3876*35238bceSAndroid Build Coastguard Worker gl->multiTexImage1DEXT(texunit, target, level, internalformat, width, border, format, type, pixels); 3877*35238bceSAndroid Build Coastguard Worker} 3878*35238bceSAndroid Build Coastguard Worker 3879*35238bceSAndroid Build Coastguard Workervoid glwMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) 3880*35238bceSAndroid Build Coastguard Worker{ 3881*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3882*35238bceSAndroid Build Coastguard Worker if (!gl) 3883*35238bceSAndroid Build Coastguard Worker return; 3884*35238bceSAndroid Build Coastguard Worker gl->multiTexImage2DEXT(texunit, target, level, internalformat, width, height, border, format, type, pixels); 3885*35238bceSAndroid Build Coastguard Worker} 3886*35238bceSAndroid Build Coastguard Worker 3887*35238bceSAndroid Build Coastguard Workervoid glwMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels) 3888*35238bceSAndroid Build Coastguard Worker{ 3889*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3890*35238bceSAndroid Build Coastguard Worker if (!gl) 3891*35238bceSAndroid Build Coastguard Worker return; 3892*35238bceSAndroid Build Coastguard Worker gl->multiTexImage3DEXT(texunit, target, level, internalformat, width, height, depth, border, format, type, pixels); 3893*35238bceSAndroid Build Coastguard Worker} 3894*35238bceSAndroid Build Coastguard Worker 3895*35238bceSAndroid Build Coastguard Workervoid glwMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params) 3896*35238bceSAndroid Build Coastguard Worker{ 3897*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3898*35238bceSAndroid Build Coastguard Worker if (!gl) 3899*35238bceSAndroid Build Coastguard Worker return; 3900*35238bceSAndroid Build Coastguard Worker gl->multiTexParameterIivEXT(texunit, target, pname, params); 3901*35238bceSAndroid Build Coastguard Worker} 3902*35238bceSAndroid Build Coastguard Worker 3903*35238bceSAndroid Build Coastguard Workervoid glwMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params) 3904*35238bceSAndroid Build Coastguard Worker{ 3905*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3906*35238bceSAndroid Build Coastguard Worker if (!gl) 3907*35238bceSAndroid Build Coastguard Worker return; 3908*35238bceSAndroid Build Coastguard Worker gl->multiTexParameterIuivEXT(texunit, target, pname, params); 3909*35238bceSAndroid Build Coastguard Worker} 3910*35238bceSAndroid Build Coastguard Worker 3911*35238bceSAndroid Build Coastguard Workervoid glwMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param) 3912*35238bceSAndroid Build Coastguard Worker{ 3913*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3914*35238bceSAndroid Build Coastguard Worker if (!gl) 3915*35238bceSAndroid Build Coastguard Worker return; 3916*35238bceSAndroid Build Coastguard Worker gl->multiTexParameterfEXT(texunit, target, pname, param); 3917*35238bceSAndroid Build Coastguard Worker} 3918*35238bceSAndroid Build Coastguard Worker 3919*35238bceSAndroid Build Coastguard Workervoid glwMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params) 3920*35238bceSAndroid Build Coastguard Worker{ 3921*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3922*35238bceSAndroid Build Coastguard Worker if (!gl) 3923*35238bceSAndroid Build Coastguard Worker return; 3924*35238bceSAndroid Build Coastguard Worker gl->multiTexParameterfvEXT(texunit, target, pname, params); 3925*35238bceSAndroid Build Coastguard Worker} 3926*35238bceSAndroid Build Coastguard Worker 3927*35238bceSAndroid Build Coastguard Workervoid glwMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param) 3928*35238bceSAndroid Build Coastguard Worker{ 3929*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3930*35238bceSAndroid Build Coastguard Worker if (!gl) 3931*35238bceSAndroid Build Coastguard Worker return; 3932*35238bceSAndroid Build Coastguard Worker gl->multiTexParameteriEXT(texunit, target, pname, param); 3933*35238bceSAndroid Build Coastguard Worker} 3934*35238bceSAndroid Build Coastguard Worker 3935*35238bceSAndroid Build Coastguard Workervoid glwMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params) 3936*35238bceSAndroid Build Coastguard Worker{ 3937*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3938*35238bceSAndroid Build Coastguard Worker if (!gl) 3939*35238bceSAndroid Build Coastguard Worker return; 3940*35238bceSAndroid Build Coastguard Worker gl->multiTexParameterivEXT(texunit, target, pname, params); 3941*35238bceSAndroid Build Coastguard Worker} 3942*35238bceSAndroid Build Coastguard Worker 3943*35238bceSAndroid Build Coastguard Workervoid glwMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer) 3944*35238bceSAndroid Build Coastguard Worker{ 3945*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3946*35238bceSAndroid Build Coastguard Worker if (!gl) 3947*35238bceSAndroid Build Coastguard Worker return; 3948*35238bceSAndroid Build Coastguard Worker gl->multiTexRenderbufferEXT(texunit, target, renderbuffer); 3949*35238bceSAndroid Build Coastguard Worker} 3950*35238bceSAndroid Build Coastguard Worker 3951*35238bceSAndroid Build Coastguard Workervoid glwMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels) 3952*35238bceSAndroid Build Coastguard Worker{ 3953*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3954*35238bceSAndroid Build Coastguard Worker if (!gl) 3955*35238bceSAndroid Build Coastguard Worker return; 3956*35238bceSAndroid Build Coastguard Worker gl->multiTexSubImage1DEXT(texunit, target, level, xoffset, width, format, type, pixels); 3957*35238bceSAndroid Build Coastguard Worker} 3958*35238bceSAndroid Build Coastguard Worker 3959*35238bceSAndroid Build Coastguard Workervoid glwMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels) 3960*35238bceSAndroid Build Coastguard Worker{ 3961*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3962*35238bceSAndroid Build Coastguard Worker if (!gl) 3963*35238bceSAndroid Build Coastguard Worker return; 3964*35238bceSAndroid Build Coastguard Worker gl->multiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, width, height, format, type, pixels); 3965*35238bceSAndroid Build Coastguard Worker} 3966*35238bceSAndroid Build Coastguard Worker 3967*35238bceSAndroid Build Coastguard Workervoid glwMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels) 3968*35238bceSAndroid Build Coastguard Worker{ 3969*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3970*35238bceSAndroid Build Coastguard Worker if (!gl) 3971*35238bceSAndroid Build Coastguard Worker return; 3972*35238bceSAndroid Build Coastguard Worker gl->multiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 3973*35238bceSAndroid Build Coastguard Worker} 3974*35238bceSAndroid Build Coastguard Worker 3975*35238bceSAndroid Build Coastguard Workervoid glwMulticastBarrierNV (void) 3976*35238bceSAndroid Build Coastguard Worker{ 3977*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3978*35238bceSAndroid Build Coastguard Worker if (!gl) 3979*35238bceSAndroid Build Coastguard Worker return; 3980*35238bceSAndroid Build Coastguard Worker gl->multicastBarrierNV(); 3981*35238bceSAndroid Build Coastguard Worker} 3982*35238bceSAndroid Build Coastguard Worker 3983*35238bceSAndroid Build Coastguard Workervoid glwMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) 3984*35238bceSAndroid Build Coastguard Worker{ 3985*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3986*35238bceSAndroid Build Coastguard Worker if (!gl) 3987*35238bceSAndroid Build Coastguard Worker return; 3988*35238bceSAndroid Build Coastguard Worker gl->multicastBlitFramebufferNV(srcGpu, dstGpu, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 3989*35238bceSAndroid Build Coastguard Worker} 3990*35238bceSAndroid Build Coastguard Worker 3991*35238bceSAndroid Build Coastguard Workervoid glwMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data) 3992*35238bceSAndroid Build Coastguard Worker{ 3993*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 3994*35238bceSAndroid Build Coastguard Worker if (!gl) 3995*35238bceSAndroid Build Coastguard Worker return; 3996*35238bceSAndroid Build Coastguard Worker gl->multicastBufferSubDataNV(gpuMask, buffer, offset, size, data); 3997*35238bceSAndroid Build Coastguard Worker} 3998*35238bceSAndroid Build Coastguard Worker 3999*35238bceSAndroid Build Coastguard Workervoid glwMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) 4000*35238bceSAndroid Build Coastguard Worker{ 4001*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4002*35238bceSAndroid Build Coastguard Worker if (!gl) 4003*35238bceSAndroid Build Coastguard Worker return; 4004*35238bceSAndroid Build Coastguard Worker gl->multicastCopyBufferSubDataNV(readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size); 4005*35238bceSAndroid Build Coastguard Worker} 4006*35238bceSAndroid Build Coastguard Worker 4007*35238bceSAndroid Build Coastguard Workervoid glwMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) 4008*35238bceSAndroid Build Coastguard Worker{ 4009*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4010*35238bceSAndroid Build Coastguard Worker if (!gl) 4011*35238bceSAndroid Build Coastguard Worker return; 4012*35238bceSAndroid Build Coastguard Worker gl->multicastCopyImageSubDataNV(srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); 4013*35238bceSAndroid Build Coastguard Worker} 4014*35238bceSAndroid Build Coastguard Worker 4015*35238bceSAndroid Build Coastguard Workervoid glwMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v) 4016*35238bceSAndroid Build Coastguard Worker{ 4017*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4018*35238bceSAndroid Build Coastguard Worker if (!gl) 4019*35238bceSAndroid Build Coastguard Worker return; 4020*35238bceSAndroid Build Coastguard Worker gl->multicastFramebufferSampleLocationsfvNV(gpu, framebuffer, start, count, v); 4021*35238bceSAndroid Build Coastguard Worker} 4022*35238bceSAndroid Build Coastguard Worker 4023*35238bceSAndroid Build Coastguard Workervoid glwMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params) 4024*35238bceSAndroid Build Coastguard Worker{ 4025*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4026*35238bceSAndroid Build Coastguard Worker if (!gl) 4027*35238bceSAndroid Build Coastguard Worker return; 4028*35238bceSAndroid Build Coastguard Worker gl->multicastGetQueryObjecti64vNV(gpu, id, pname, params); 4029*35238bceSAndroid Build Coastguard Worker} 4030*35238bceSAndroid Build Coastguard Worker 4031*35238bceSAndroid Build Coastguard Workervoid glwMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params) 4032*35238bceSAndroid Build Coastguard Worker{ 4033*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4034*35238bceSAndroid Build Coastguard Worker if (!gl) 4035*35238bceSAndroid Build Coastguard Worker return; 4036*35238bceSAndroid Build Coastguard Worker gl->multicastGetQueryObjectivNV(gpu, id, pname, params); 4037*35238bceSAndroid Build Coastguard Worker} 4038*35238bceSAndroid Build Coastguard Worker 4039*35238bceSAndroid Build Coastguard Workervoid glwMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params) 4040*35238bceSAndroid Build Coastguard Worker{ 4041*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4042*35238bceSAndroid Build Coastguard Worker if (!gl) 4043*35238bceSAndroid Build Coastguard Worker return; 4044*35238bceSAndroid Build Coastguard Worker gl->multicastGetQueryObjectui64vNV(gpu, id, pname, params); 4045*35238bceSAndroid Build Coastguard Worker} 4046*35238bceSAndroid Build Coastguard Worker 4047*35238bceSAndroid Build Coastguard Workervoid glwMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params) 4048*35238bceSAndroid Build Coastguard Worker{ 4049*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4050*35238bceSAndroid Build Coastguard Worker if (!gl) 4051*35238bceSAndroid Build Coastguard Worker return; 4052*35238bceSAndroid Build Coastguard Worker gl->multicastGetQueryObjectuivNV(gpu, id, pname, params); 4053*35238bceSAndroid Build Coastguard Worker} 4054*35238bceSAndroid Build Coastguard Worker 4055*35238bceSAndroid Build Coastguard Workervoid glwMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask) 4056*35238bceSAndroid Build Coastguard Worker{ 4057*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4058*35238bceSAndroid Build Coastguard Worker if (!gl) 4059*35238bceSAndroid Build Coastguard Worker return; 4060*35238bceSAndroid Build Coastguard Worker gl->multicastWaitSyncNV(signalGpu, waitGpuMask); 4061*35238bceSAndroid Build Coastguard Worker} 4062*35238bceSAndroid Build Coastguard Worker 4063*35238bceSAndroid Build Coastguard Workervoid glwNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage) 4064*35238bceSAndroid Build Coastguard Worker{ 4065*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4066*35238bceSAndroid Build Coastguard Worker if (!gl) 4067*35238bceSAndroid Build Coastguard Worker return; 4068*35238bceSAndroid Build Coastguard Worker gl->namedBufferData(buffer, size, data, usage); 4069*35238bceSAndroid Build Coastguard Worker} 4070*35238bceSAndroid Build Coastguard Worker 4071*35238bceSAndroid Build Coastguard Workervoid glwNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage) 4072*35238bceSAndroid Build Coastguard Worker{ 4073*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4074*35238bceSAndroid Build Coastguard Worker if (!gl) 4075*35238bceSAndroid Build Coastguard Worker return; 4076*35238bceSAndroid Build Coastguard Worker gl->namedBufferDataEXT(buffer, size, data, usage); 4077*35238bceSAndroid Build Coastguard Worker} 4078*35238bceSAndroid Build Coastguard Worker 4079*35238bceSAndroid Build Coastguard Workervoid glwNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit) 4080*35238bceSAndroid Build Coastguard Worker{ 4081*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4082*35238bceSAndroid Build Coastguard Worker if (!gl) 4083*35238bceSAndroid Build Coastguard Worker return; 4084*35238bceSAndroid Build Coastguard Worker gl->namedBufferPageCommitmentARB(buffer, offset, size, commit); 4085*35238bceSAndroid Build Coastguard Worker} 4086*35238bceSAndroid Build Coastguard Worker 4087*35238bceSAndroid Build Coastguard Workervoid glwNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit) 4088*35238bceSAndroid Build Coastguard Worker{ 4089*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4090*35238bceSAndroid Build Coastguard Worker if (!gl) 4091*35238bceSAndroid Build Coastguard Worker return; 4092*35238bceSAndroid Build Coastguard Worker gl->namedBufferPageCommitmentEXT(buffer, offset, size, commit); 4093*35238bceSAndroid Build Coastguard Worker} 4094*35238bceSAndroid Build Coastguard Worker 4095*35238bceSAndroid Build Coastguard Workervoid glwNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags) 4096*35238bceSAndroid Build Coastguard Worker{ 4097*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4098*35238bceSAndroid Build Coastguard Worker if (!gl) 4099*35238bceSAndroid Build Coastguard Worker return; 4100*35238bceSAndroid Build Coastguard Worker gl->namedBufferStorage(buffer, size, data, flags); 4101*35238bceSAndroid Build Coastguard Worker} 4102*35238bceSAndroid Build Coastguard Worker 4103*35238bceSAndroid Build Coastguard Workervoid glwNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data) 4104*35238bceSAndroid Build Coastguard Worker{ 4105*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4106*35238bceSAndroid Build Coastguard Worker if (!gl) 4107*35238bceSAndroid Build Coastguard Worker return; 4108*35238bceSAndroid Build Coastguard Worker gl->namedBufferSubData(buffer, offset, size, data); 4109*35238bceSAndroid Build Coastguard Worker} 4110*35238bceSAndroid Build Coastguard Worker 4111*35238bceSAndroid Build Coastguard Workervoid glwNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) 4112*35238bceSAndroid Build Coastguard Worker{ 4113*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4114*35238bceSAndroid Build Coastguard Worker if (!gl) 4115*35238bceSAndroid Build Coastguard Worker return; 4116*35238bceSAndroid Build Coastguard Worker gl->namedCopyBufferSubDataEXT(readBuffer, writeBuffer, readOffset, writeOffset, size); 4117*35238bceSAndroid Build Coastguard Worker} 4118*35238bceSAndroid Build Coastguard Worker 4119*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf) 4120*35238bceSAndroid Build Coastguard Worker{ 4121*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4122*35238bceSAndroid Build Coastguard Worker if (!gl) 4123*35238bceSAndroid Build Coastguard Worker return; 4124*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferDrawBuffer(framebuffer, buf); 4125*35238bceSAndroid Build Coastguard Worker} 4126*35238bceSAndroid Build Coastguard Worker 4127*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs) 4128*35238bceSAndroid Build Coastguard Worker{ 4129*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4130*35238bceSAndroid Build Coastguard Worker if (!gl) 4131*35238bceSAndroid Build Coastguard Worker return; 4132*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferDrawBuffers(framebuffer, n, bufs); 4133*35238bceSAndroid Build Coastguard Worker} 4134*35238bceSAndroid Build Coastguard Worker 4135*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param) 4136*35238bceSAndroid Build Coastguard Worker{ 4137*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4138*35238bceSAndroid Build Coastguard Worker if (!gl) 4139*35238bceSAndroid Build Coastguard Worker return; 4140*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferParameteri(framebuffer, pname, param); 4141*35238bceSAndroid Build Coastguard Worker} 4142*35238bceSAndroid Build Coastguard Worker 4143*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param) 4144*35238bceSAndroid Build Coastguard Worker{ 4145*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4146*35238bceSAndroid Build Coastguard Worker if (!gl) 4147*35238bceSAndroid Build Coastguard Worker return; 4148*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferParameteriEXT(framebuffer, pname, param); 4149*35238bceSAndroid Build Coastguard Worker} 4150*35238bceSAndroid Build Coastguard Worker 4151*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src) 4152*35238bceSAndroid Build Coastguard Worker{ 4153*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4154*35238bceSAndroid Build Coastguard Worker if (!gl) 4155*35238bceSAndroid Build Coastguard Worker return; 4156*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferReadBuffer(framebuffer, src); 4157*35238bceSAndroid Build Coastguard Worker} 4158*35238bceSAndroid Build Coastguard Worker 4159*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) 4160*35238bceSAndroid Build Coastguard Worker{ 4161*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4162*35238bceSAndroid Build Coastguard Worker if (!gl) 4163*35238bceSAndroid Build Coastguard Worker return; 4164*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget, renderbuffer); 4165*35238bceSAndroid Build Coastguard Worker} 4166*35238bceSAndroid Build Coastguard Worker 4167*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) 4168*35238bceSAndroid Build Coastguard Worker{ 4169*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4170*35238bceSAndroid Build Coastguard Worker if (!gl) 4171*35238bceSAndroid Build Coastguard Worker return; 4172*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferRenderbufferEXT(framebuffer, attachment, renderbuffertarget, renderbuffer); 4173*35238bceSAndroid Build Coastguard Worker} 4174*35238bceSAndroid Build Coastguard Worker 4175*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) 4176*35238bceSAndroid Build Coastguard Worker{ 4177*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4178*35238bceSAndroid Build Coastguard Worker if (!gl) 4179*35238bceSAndroid Build Coastguard Worker return; 4180*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferTexture(framebuffer, attachment, texture, level); 4181*35238bceSAndroid Build Coastguard Worker} 4182*35238bceSAndroid Build Coastguard Worker 4183*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) 4184*35238bceSAndroid Build Coastguard Worker{ 4185*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4186*35238bceSAndroid Build Coastguard Worker if (!gl) 4187*35238bceSAndroid Build Coastguard Worker return; 4188*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferTexture1DEXT(framebuffer, attachment, textarget, texture, level); 4189*35238bceSAndroid Build Coastguard Worker} 4190*35238bceSAndroid Build Coastguard Worker 4191*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) 4192*35238bceSAndroid Build Coastguard Worker{ 4193*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4194*35238bceSAndroid Build Coastguard Worker if (!gl) 4195*35238bceSAndroid Build Coastguard Worker return; 4196*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferTexture2DEXT(framebuffer, attachment, textarget, texture, level); 4197*35238bceSAndroid Build Coastguard Worker} 4198*35238bceSAndroid Build Coastguard Worker 4199*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) 4200*35238bceSAndroid Build Coastguard Worker{ 4201*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4202*35238bceSAndroid Build Coastguard Worker if (!gl) 4203*35238bceSAndroid Build Coastguard Worker return; 4204*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferTexture3DEXT(framebuffer, attachment, textarget, texture, level, zoffset); 4205*35238bceSAndroid Build Coastguard Worker} 4206*35238bceSAndroid Build Coastguard Worker 4207*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) 4208*35238bceSAndroid Build Coastguard Worker{ 4209*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4210*35238bceSAndroid Build Coastguard Worker if (!gl) 4211*35238bceSAndroid Build Coastguard Worker return; 4212*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferTextureEXT(framebuffer, attachment, texture, level); 4213*35238bceSAndroid Build Coastguard Worker} 4214*35238bceSAndroid Build Coastguard Worker 4215*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face) 4216*35238bceSAndroid Build Coastguard Worker{ 4217*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4218*35238bceSAndroid Build Coastguard Worker if (!gl) 4219*35238bceSAndroid Build Coastguard Worker return; 4220*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferTextureFaceEXT(framebuffer, attachment, texture, level, face); 4221*35238bceSAndroid Build Coastguard Worker} 4222*35238bceSAndroid Build Coastguard Worker 4223*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) 4224*35238bceSAndroid Build Coastguard Worker{ 4225*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4226*35238bceSAndroid Build Coastguard Worker if (!gl) 4227*35238bceSAndroid Build Coastguard Worker return; 4228*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer); 4229*35238bceSAndroid Build Coastguard Worker} 4230*35238bceSAndroid Build Coastguard Worker 4231*35238bceSAndroid Build Coastguard Workervoid glwNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) 4232*35238bceSAndroid Build Coastguard Worker{ 4233*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4234*35238bceSAndroid Build Coastguard Worker if (!gl) 4235*35238bceSAndroid Build Coastguard Worker return; 4236*35238bceSAndroid Build Coastguard Worker gl->namedFramebufferTextureLayerEXT(framebuffer, attachment, texture, level, layer); 4237*35238bceSAndroid Build Coastguard Worker} 4238*35238bceSAndroid Build Coastguard Worker 4239*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 4240*35238bceSAndroid Build Coastguard Worker{ 4241*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4242*35238bceSAndroid Build Coastguard Worker if (!gl) 4243*35238bceSAndroid Build Coastguard Worker return; 4244*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameter4dEXT(program, target, index, x, y, z, w); 4245*35238bceSAndroid Build Coastguard Worker} 4246*35238bceSAndroid Build Coastguard Worker 4247*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params) 4248*35238bceSAndroid Build Coastguard Worker{ 4249*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4250*35238bceSAndroid Build Coastguard Worker if (!gl) 4251*35238bceSAndroid Build Coastguard Worker return; 4252*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameter4dvEXT(program, target, index, params); 4253*35238bceSAndroid Build Coastguard Worker} 4254*35238bceSAndroid Build Coastguard Worker 4255*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 4256*35238bceSAndroid Build Coastguard Worker{ 4257*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4258*35238bceSAndroid Build Coastguard Worker if (!gl) 4259*35238bceSAndroid Build Coastguard Worker return; 4260*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameter4fEXT(program, target, index, x, y, z, w); 4261*35238bceSAndroid Build Coastguard Worker} 4262*35238bceSAndroid Build Coastguard Worker 4263*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params) 4264*35238bceSAndroid Build Coastguard Worker{ 4265*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4266*35238bceSAndroid Build Coastguard Worker if (!gl) 4267*35238bceSAndroid Build Coastguard Worker return; 4268*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameter4fvEXT(program, target, index, params); 4269*35238bceSAndroid Build Coastguard Worker} 4270*35238bceSAndroid Build Coastguard Worker 4271*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) 4272*35238bceSAndroid Build Coastguard Worker{ 4273*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4274*35238bceSAndroid Build Coastguard Worker if (!gl) 4275*35238bceSAndroid Build Coastguard Worker return; 4276*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameterI4iEXT(program, target, index, x, y, z, w); 4277*35238bceSAndroid Build Coastguard Worker} 4278*35238bceSAndroid Build Coastguard Worker 4279*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params) 4280*35238bceSAndroid Build Coastguard Worker{ 4281*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4282*35238bceSAndroid Build Coastguard Worker if (!gl) 4283*35238bceSAndroid Build Coastguard Worker return; 4284*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameterI4ivEXT(program, target, index, params); 4285*35238bceSAndroid Build Coastguard Worker} 4286*35238bceSAndroid Build Coastguard Worker 4287*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) 4288*35238bceSAndroid Build Coastguard Worker{ 4289*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4290*35238bceSAndroid Build Coastguard Worker if (!gl) 4291*35238bceSAndroid Build Coastguard Worker return; 4292*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameterI4uiEXT(program, target, index, x, y, z, w); 4293*35238bceSAndroid Build Coastguard Worker} 4294*35238bceSAndroid Build Coastguard Worker 4295*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params) 4296*35238bceSAndroid Build Coastguard Worker{ 4297*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4298*35238bceSAndroid Build Coastguard Worker if (!gl) 4299*35238bceSAndroid Build Coastguard Worker return; 4300*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameterI4uivEXT(program, target, index, params); 4301*35238bceSAndroid Build Coastguard Worker} 4302*35238bceSAndroid Build Coastguard Worker 4303*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params) 4304*35238bceSAndroid Build Coastguard Worker{ 4305*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4306*35238bceSAndroid Build Coastguard Worker if (!gl) 4307*35238bceSAndroid Build Coastguard Worker return; 4308*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParameters4fvEXT(program, target, index, count, params); 4309*35238bceSAndroid Build Coastguard Worker} 4310*35238bceSAndroid Build Coastguard Worker 4311*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params) 4312*35238bceSAndroid Build Coastguard Worker{ 4313*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4314*35238bceSAndroid Build Coastguard Worker if (!gl) 4315*35238bceSAndroid Build Coastguard Worker return; 4316*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParametersI4ivEXT(program, target, index, count, params); 4317*35238bceSAndroid Build Coastguard Worker} 4318*35238bceSAndroid Build Coastguard Worker 4319*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params) 4320*35238bceSAndroid Build Coastguard Worker{ 4321*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4322*35238bceSAndroid Build Coastguard Worker if (!gl) 4323*35238bceSAndroid Build Coastguard Worker return; 4324*35238bceSAndroid Build Coastguard Worker gl->namedProgramLocalParametersI4uivEXT(program, target, index, count, params); 4325*35238bceSAndroid Build Coastguard Worker} 4326*35238bceSAndroid Build Coastguard Worker 4327*35238bceSAndroid Build Coastguard Workervoid glwNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string) 4328*35238bceSAndroid Build Coastguard Worker{ 4329*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4330*35238bceSAndroid Build Coastguard Worker if (!gl) 4331*35238bceSAndroid Build Coastguard Worker return; 4332*35238bceSAndroid Build Coastguard Worker gl->namedProgramStringEXT(program, target, format, len, string); 4333*35238bceSAndroid Build Coastguard Worker} 4334*35238bceSAndroid Build Coastguard Worker 4335*35238bceSAndroid Build Coastguard Workervoid glwNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) 4336*35238bceSAndroid Build Coastguard Worker{ 4337*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4338*35238bceSAndroid Build Coastguard Worker if (!gl) 4339*35238bceSAndroid Build Coastguard Worker return; 4340*35238bceSAndroid Build Coastguard Worker gl->namedRenderbufferStorage(renderbuffer, internalformat, width, height); 4341*35238bceSAndroid Build Coastguard Worker} 4342*35238bceSAndroid Build Coastguard Worker 4343*35238bceSAndroid Build Coastguard Workervoid glwNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) 4344*35238bceSAndroid Build Coastguard Worker{ 4345*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4346*35238bceSAndroid Build Coastguard Worker if (!gl) 4347*35238bceSAndroid Build Coastguard Worker return; 4348*35238bceSAndroid Build Coastguard Worker gl->namedRenderbufferStorageEXT(renderbuffer, internalformat, width, height); 4349*35238bceSAndroid Build Coastguard Worker} 4350*35238bceSAndroid Build Coastguard Worker 4351*35238bceSAndroid Build Coastguard Workervoid glwNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) 4352*35238bceSAndroid Build Coastguard Worker{ 4353*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4354*35238bceSAndroid Build Coastguard Worker if (!gl) 4355*35238bceSAndroid Build Coastguard Worker return; 4356*35238bceSAndroid Build Coastguard Worker gl->namedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width, height); 4357*35238bceSAndroid Build Coastguard Worker} 4358*35238bceSAndroid Build Coastguard Worker 4359*35238bceSAndroid Build Coastguard Workervoid glwNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) 4360*35238bceSAndroid Build Coastguard Worker{ 4361*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4362*35238bceSAndroid Build Coastguard Worker if (!gl) 4363*35238bceSAndroid Build Coastguard Worker return; 4364*35238bceSAndroid Build Coastguard Worker gl->namedRenderbufferStorageMultisampleCoverageEXT(renderbuffer, coverageSamples, colorSamples, internalformat, width, height); 4365*35238bceSAndroid Build Coastguard Worker} 4366*35238bceSAndroid Build Coastguard Worker 4367*35238bceSAndroid Build Coastguard Workervoid glwNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) 4368*35238bceSAndroid Build Coastguard Worker{ 4369*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4370*35238bceSAndroid Build Coastguard Worker if (!gl) 4371*35238bceSAndroid Build Coastguard Worker return; 4372*35238bceSAndroid Build Coastguard Worker gl->namedRenderbufferStorageMultisampleEXT(renderbuffer, samples, internalformat, width, height); 4373*35238bceSAndroid Build Coastguard Worker} 4374*35238bceSAndroid Build Coastguard Worker 4375*35238bceSAndroid Build Coastguard Workervoid glwObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label) 4376*35238bceSAndroid Build Coastguard Worker{ 4377*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4378*35238bceSAndroid Build Coastguard Worker if (!gl) 4379*35238bceSAndroid Build Coastguard Worker return; 4380*35238bceSAndroid Build Coastguard Worker gl->objectLabel(identifier, name, length, label); 4381*35238bceSAndroid Build Coastguard Worker} 4382*35238bceSAndroid Build Coastguard Worker 4383*35238bceSAndroid Build Coastguard Workervoid glwObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label) 4384*35238bceSAndroid Build Coastguard Worker{ 4385*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4386*35238bceSAndroid Build Coastguard Worker if (!gl) 4387*35238bceSAndroid Build Coastguard Worker return; 4388*35238bceSAndroid Build Coastguard Worker gl->objectPtrLabel(ptr, length, label); 4389*35238bceSAndroid Build Coastguard Worker} 4390*35238bceSAndroid Build Coastguard Worker 4391*35238bceSAndroid Build Coastguard Workervoid glwPatchParameterfv (GLenum pname, const GLfloat *values) 4392*35238bceSAndroid Build Coastguard Worker{ 4393*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4394*35238bceSAndroid Build Coastguard Worker if (!gl) 4395*35238bceSAndroid Build Coastguard Worker return; 4396*35238bceSAndroid Build Coastguard Worker gl->patchParameterfv(pname, values); 4397*35238bceSAndroid Build Coastguard Worker} 4398*35238bceSAndroid Build Coastguard Worker 4399*35238bceSAndroid Build Coastguard Workervoid glwPatchParameteri (GLenum pname, GLint value) 4400*35238bceSAndroid Build Coastguard Worker{ 4401*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4402*35238bceSAndroid Build Coastguard Worker if (!gl) 4403*35238bceSAndroid Build Coastguard Worker return; 4404*35238bceSAndroid Build Coastguard Worker gl->patchParameteri(pname, value); 4405*35238bceSAndroid Build Coastguard Worker} 4406*35238bceSAndroid Build Coastguard Worker 4407*35238bceSAndroid Build Coastguard Workervoid glwPauseTransformFeedback (void) 4408*35238bceSAndroid Build Coastguard Worker{ 4409*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4410*35238bceSAndroid Build Coastguard Worker if (!gl) 4411*35238bceSAndroid Build Coastguard Worker return; 4412*35238bceSAndroid Build Coastguard Worker gl->pauseTransformFeedback(); 4413*35238bceSAndroid Build Coastguard Worker} 4414*35238bceSAndroid Build Coastguard Worker 4415*35238bceSAndroid Build Coastguard Workervoid glwPixelStoref (GLenum pname, GLfloat param) 4416*35238bceSAndroid Build Coastguard Worker{ 4417*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4418*35238bceSAndroid Build Coastguard Worker if (!gl) 4419*35238bceSAndroid Build Coastguard Worker return; 4420*35238bceSAndroid Build Coastguard Worker gl->pixelStoref(pname, param); 4421*35238bceSAndroid Build Coastguard Worker} 4422*35238bceSAndroid Build Coastguard Worker 4423*35238bceSAndroid Build Coastguard Workervoid glwPixelStorei (GLenum pname, GLint param) 4424*35238bceSAndroid Build Coastguard Worker{ 4425*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4426*35238bceSAndroid Build Coastguard Worker if (!gl) 4427*35238bceSAndroid Build Coastguard Worker return; 4428*35238bceSAndroid Build Coastguard Worker gl->pixelStorei(pname, param); 4429*35238bceSAndroid Build Coastguard Worker} 4430*35238bceSAndroid Build Coastguard Worker 4431*35238bceSAndroid Build Coastguard Workervoid glwPointParameterf (GLenum pname, GLfloat param) 4432*35238bceSAndroid Build Coastguard Worker{ 4433*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4434*35238bceSAndroid Build Coastguard Worker if (!gl) 4435*35238bceSAndroid Build Coastguard Worker return; 4436*35238bceSAndroid Build Coastguard Worker gl->pointParameterf(pname, param); 4437*35238bceSAndroid Build Coastguard Worker} 4438*35238bceSAndroid Build Coastguard Worker 4439*35238bceSAndroid Build Coastguard Workervoid glwPointParameterfv (GLenum pname, const GLfloat *params) 4440*35238bceSAndroid Build Coastguard Worker{ 4441*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4442*35238bceSAndroid Build Coastguard Worker if (!gl) 4443*35238bceSAndroid Build Coastguard Worker return; 4444*35238bceSAndroid Build Coastguard Worker gl->pointParameterfv(pname, params); 4445*35238bceSAndroid Build Coastguard Worker} 4446*35238bceSAndroid Build Coastguard Worker 4447*35238bceSAndroid Build Coastguard Workervoid glwPointParameteri (GLenum pname, GLint param) 4448*35238bceSAndroid Build Coastguard Worker{ 4449*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4450*35238bceSAndroid Build Coastguard Worker if (!gl) 4451*35238bceSAndroid Build Coastguard Worker return; 4452*35238bceSAndroid Build Coastguard Worker gl->pointParameteri(pname, param); 4453*35238bceSAndroid Build Coastguard Worker} 4454*35238bceSAndroid Build Coastguard Worker 4455*35238bceSAndroid Build Coastguard Workervoid glwPointParameteriv (GLenum pname, const GLint *params) 4456*35238bceSAndroid Build Coastguard Worker{ 4457*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4458*35238bceSAndroid Build Coastguard Worker if (!gl) 4459*35238bceSAndroid Build Coastguard Worker return; 4460*35238bceSAndroid Build Coastguard Worker gl->pointParameteriv(pname, params); 4461*35238bceSAndroid Build Coastguard Worker} 4462*35238bceSAndroid Build Coastguard Worker 4463*35238bceSAndroid Build Coastguard Workervoid glwPointSize (GLfloat size) 4464*35238bceSAndroid Build Coastguard Worker{ 4465*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4466*35238bceSAndroid Build Coastguard Worker if (!gl) 4467*35238bceSAndroid Build Coastguard Worker return; 4468*35238bceSAndroid Build Coastguard Worker gl->pointSize(size); 4469*35238bceSAndroid Build Coastguard Worker} 4470*35238bceSAndroid Build Coastguard Worker 4471*35238bceSAndroid Build Coastguard Workervoid glwPolygonMode (GLenum face, GLenum mode) 4472*35238bceSAndroid Build Coastguard Worker{ 4473*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4474*35238bceSAndroid Build Coastguard Worker if (!gl) 4475*35238bceSAndroid Build Coastguard Worker return; 4476*35238bceSAndroid Build Coastguard Worker gl->polygonMode(face, mode); 4477*35238bceSAndroid Build Coastguard Worker} 4478*35238bceSAndroid Build Coastguard Worker 4479*35238bceSAndroid Build Coastguard Workervoid glwPolygonOffset (GLfloat factor, GLfloat units) 4480*35238bceSAndroid Build Coastguard Worker{ 4481*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4482*35238bceSAndroid Build Coastguard Worker if (!gl) 4483*35238bceSAndroid Build Coastguard Worker return; 4484*35238bceSAndroid Build Coastguard Worker gl->polygonOffset(factor, units); 4485*35238bceSAndroid Build Coastguard Worker} 4486*35238bceSAndroid Build Coastguard Worker 4487*35238bceSAndroid Build Coastguard Workervoid glwPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp) 4488*35238bceSAndroid Build Coastguard Worker{ 4489*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4490*35238bceSAndroid Build Coastguard Worker if (!gl) 4491*35238bceSAndroid Build Coastguard Worker return; 4492*35238bceSAndroid Build Coastguard Worker gl->polygonOffsetClamp(factor, units, clamp); 4493*35238bceSAndroid Build Coastguard Worker} 4494*35238bceSAndroid Build Coastguard Worker 4495*35238bceSAndroid Build Coastguard Workervoid glwPopDebugGroup (void) 4496*35238bceSAndroid Build Coastguard Worker{ 4497*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4498*35238bceSAndroid Build Coastguard Worker if (!gl) 4499*35238bceSAndroid Build Coastguard Worker return; 4500*35238bceSAndroid Build Coastguard Worker gl->popDebugGroup(); 4501*35238bceSAndroid Build Coastguard Worker} 4502*35238bceSAndroid Build Coastguard Worker 4503*35238bceSAndroid Build Coastguard Workervoid glwPopGroupMarkerEXT (void) 4504*35238bceSAndroid Build Coastguard Worker{ 4505*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4506*35238bceSAndroid Build Coastguard Worker if (!gl) 4507*35238bceSAndroid Build Coastguard Worker return; 4508*35238bceSAndroid Build Coastguard Worker gl->popGroupMarkerEXT(); 4509*35238bceSAndroid Build Coastguard Worker} 4510*35238bceSAndroid Build Coastguard Worker 4511*35238bceSAndroid Build Coastguard Workervoid glwPrimitiveBoundingBox (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) 4512*35238bceSAndroid Build Coastguard Worker{ 4513*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4514*35238bceSAndroid Build Coastguard Worker if (!gl) 4515*35238bceSAndroid Build Coastguard Worker return; 4516*35238bceSAndroid Build Coastguard Worker gl->primitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); 4517*35238bceSAndroid Build Coastguard Worker} 4518*35238bceSAndroid Build Coastguard Worker 4519*35238bceSAndroid Build Coastguard Workervoid glwPrimitiveRestartIndex (GLuint index) 4520*35238bceSAndroid Build Coastguard Worker{ 4521*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4522*35238bceSAndroid Build Coastguard Worker if (!gl) 4523*35238bceSAndroid Build Coastguard Worker return; 4524*35238bceSAndroid Build Coastguard Worker gl->primitiveRestartIndex(index); 4525*35238bceSAndroid Build Coastguard Worker} 4526*35238bceSAndroid Build Coastguard Worker 4527*35238bceSAndroid Build Coastguard Workervoid glwProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length) 4528*35238bceSAndroid Build Coastguard Worker{ 4529*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4530*35238bceSAndroid Build Coastguard Worker if (!gl) 4531*35238bceSAndroid Build Coastguard Worker return; 4532*35238bceSAndroid Build Coastguard Worker gl->programBinary(program, binaryFormat, binary, length); 4533*35238bceSAndroid Build Coastguard Worker} 4534*35238bceSAndroid Build Coastguard Worker 4535*35238bceSAndroid Build Coastguard Workervoid glwProgramParameteri (GLuint program, GLenum pname, GLint value) 4536*35238bceSAndroid Build Coastguard Worker{ 4537*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4538*35238bceSAndroid Build Coastguard Worker if (!gl) 4539*35238bceSAndroid Build Coastguard Worker return; 4540*35238bceSAndroid Build Coastguard Worker gl->programParameteri(program, pname, value); 4541*35238bceSAndroid Build Coastguard Worker} 4542*35238bceSAndroid Build Coastguard Worker 4543*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1d (GLuint program, GLint location, GLdouble v0) 4544*35238bceSAndroid Build Coastguard Worker{ 4545*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4546*35238bceSAndroid Build Coastguard Worker if (!gl) 4547*35238bceSAndroid Build Coastguard Worker return; 4548*35238bceSAndroid Build Coastguard Worker gl->programUniform1d(program, location, v0); 4549*35238bceSAndroid Build Coastguard Worker} 4550*35238bceSAndroid Build Coastguard Worker 4551*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1dEXT (GLuint program, GLint location, GLdouble x) 4552*35238bceSAndroid Build Coastguard Worker{ 4553*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4554*35238bceSAndroid Build Coastguard Worker if (!gl) 4555*35238bceSAndroid Build Coastguard Worker return; 4556*35238bceSAndroid Build Coastguard Worker gl->programUniform1dEXT(program, location, x); 4557*35238bceSAndroid Build Coastguard Worker} 4558*35238bceSAndroid Build Coastguard Worker 4559*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value) 4560*35238bceSAndroid Build Coastguard Worker{ 4561*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4562*35238bceSAndroid Build Coastguard Worker if (!gl) 4563*35238bceSAndroid Build Coastguard Worker return; 4564*35238bceSAndroid Build Coastguard Worker gl->programUniform1dv(program, location, count, value); 4565*35238bceSAndroid Build Coastguard Worker} 4566*35238bceSAndroid Build Coastguard Worker 4567*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value) 4568*35238bceSAndroid Build Coastguard Worker{ 4569*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4570*35238bceSAndroid Build Coastguard Worker if (!gl) 4571*35238bceSAndroid Build Coastguard Worker return; 4572*35238bceSAndroid Build Coastguard Worker gl->programUniform1dvEXT(program, location, count, value); 4573*35238bceSAndroid Build Coastguard Worker} 4574*35238bceSAndroid Build Coastguard Worker 4575*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1f (GLuint program, GLint location, GLfloat v0) 4576*35238bceSAndroid Build Coastguard Worker{ 4577*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4578*35238bceSAndroid Build Coastguard Worker if (!gl) 4579*35238bceSAndroid Build Coastguard Worker return; 4580*35238bceSAndroid Build Coastguard Worker gl->programUniform1f(program, location, v0); 4581*35238bceSAndroid Build Coastguard Worker} 4582*35238bceSAndroid Build Coastguard Worker 4583*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) 4584*35238bceSAndroid Build Coastguard Worker{ 4585*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4586*35238bceSAndroid Build Coastguard Worker if (!gl) 4587*35238bceSAndroid Build Coastguard Worker return; 4588*35238bceSAndroid Build Coastguard Worker gl->programUniform1fv(program, location, count, value); 4589*35238bceSAndroid Build Coastguard Worker} 4590*35238bceSAndroid Build Coastguard Worker 4591*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1i (GLuint program, GLint location, GLint v0) 4592*35238bceSAndroid Build Coastguard Worker{ 4593*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4594*35238bceSAndroid Build Coastguard Worker if (!gl) 4595*35238bceSAndroid Build Coastguard Worker return; 4596*35238bceSAndroid Build Coastguard Worker gl->programUniform1i(program, location, v0); 4597*35238bceSAndroid Build Coastguard Worker} 4598*35238bceSAndroid Build Coastguard Worker 4599*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value) 4600*35238bceSAndroid Build Coastguard Worker{ 4601*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4602*35238bceSAndroid Build Coastguard Worker if (!gl) 4603*35238bceSAndroid Build Coastguard Worker return; 4604*35238bceSAndroid Build Coastguard Worker gl->programUniform1iv(program, location, count, value); 4605*35238bceSAndroid Build Coastguard Worker} 4606*35238bceSAndroid Build Coastguard Worker 4607*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1ui (GLuint program, GLint location, GLuint v0) 4608*35238bceSAndroid Build Coastguard Worker{ 4609*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4610*35238bceSAndroid Build Coastguard Worker if (!gl) 4611*35238bceSAndroid Build Coastguard Worker return; 4612*35238bceSAndroid Build Coastguard Worker gl->programUniform1ui(program, location, v0); 4613*35238bceSAndroid Build Coastguard Worker} 4614*35238bceSAndroid Build Coastguard Worker 4615*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) 4616*35238bceSAndroid Build Coastguard Worker{ 4617*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4618*35238bceSAndroid Build Coastguard Worker if (!gl) 4619*35238bceSAndroid Build Coastguard Worker return; 4620*35238bceSAndroid Build Coastguard Worker gl->programUniform1uiv(program, location, count, value); 4621*35238bceSAndroid Build Coastguard Worker} 4622*35238bceSAndroid Build Coastguard Worker 4623*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1) 4624*35238bceSAndroid Build Coastguard Worker{ 4625*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4626*35238bceSAndroid Build Coastguard Worker if (!gl) 4627*35238bceSAndroid Build Coastguard Worker return; 4628*35238bceSAndroid Build Coastguard Worker gl->programUniform2d(program, location, v0, v1); 4629*35238bceSAndroid Build Coastguard Worker} 4630*35238bceSAndroid Build Coastguard Worker 4631*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y) 4632*35238bceSAndroid Build Coastguard Worker{ 4633*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4634*35238bceSAndroid Build Coastguard Worker if (!gl) 4635*35238bceSAndroid Build Coastguard Worker return; 4636*35238bceSAndroid Build Coastguard Worker gl->programUniform2dEXT(program, location, x, y); 4637*35238bceSAndroid Build Coastguard Worker} 4638*35238bceSAndroid Build Coastguard Worker 4639*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value) 4640*35238bceSAndroid Build Coastguard Worker{ 4641*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4642*35238bceSAndroid Build Coastguard Worker if (!gl) 4643*35238bceSAndroid Build Coastguard Worker return; 4644*35238bceSAndroid Build Coastguard Worker gl->programUniform2dv(program, location, count, value); 4645*35238bceSAndroid Build Coastguard Worker} 4646*35238bceSAndroid Build Coastguard Worker 4647*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value) 4648*35238bceSAndroid Build Coastguard Worker{ 4649*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4650*35238bceSAndroid Build Coastguard Worker if (!gl) 4651*35238bceSAndroid Build Coastguard Worker return; 4652*35238bceSAndroid Build Coastguard Worker gl->programUniform2dvEXT(program, location, count, value); 4653*35238bceSAndroid Build Coastguard Worker} 4654*35238bceSAndroid Build Coastguard Worker 4655*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1) 4656*35238bceSAndroid Build Coastguard Worker{ 4657*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4658*35238bceSAndroid Build Coastguard Worker if (!gl) 4659*35238bceSAndroid Build Coastguard Worker return; 4660*35238bceSAndroid Build Coastguard Worker gl->programUniform2f(program, location, v0, v1); 4661*35238bceSAndroid Build Coastguard Worker} 4662*35238bceSAndroid Build Coastguard Worker 4663*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) 4664*35238bceSAndroid Build Coastguard Worker{ 4665*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4666*35238bceSAndroid Build Coastguard Worker if (!gl) 4667*35238bceSAndroid Build Coastguard Worker return; 4668*35238bceSAndroid Build Coastguard Worker gl->programUniform2fv(program, location, count, value); 4669*35238bceSAndroid Build Coastguard Worker} 4670*35238bceSAndroid Build Coastguard Worker 4671*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1) 4672*35238bceSAndroid Build Coastguard Worker{ 4673*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4674*35238bceSAndroid Build Coastguard Worker if (!gl) 4675*35238bceSAndroid Build Coastguard Worker return; 4676*35238bceSAndroid Build Coastguard Worker gl->programUniform2i(program, location, v0, v1); 4677*35238bceSAndroid Build Coastguard Worker} 4678*35238bceSAndroid Build Coastguard Worker 4679*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value) 4680*35238bceSAndroid Build Coastguard Worker{ 4681*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4682*35238bceSAndroid Build Coastguard Worker if (!gl) 4683*35238bceSAndroid Build Coastguard Worker return; 4684*35238bceSAndroid Build Coastguard Worker gl->programUniform2iv(program, location, count, value); 4685*35238bceSAndroid Build Coastguard Worker} 4686*35238bceSAndroid Build Coastguard Worker 4687*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1) 4688*35238bceSAndroid Build Coastguard Worker{ 4689*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4690*35238bceSAndroid Build Coastguard Worker if (!gl) 4691*35238bceSAndroid Build Coastguard Worker return; 4692*35238bceSAndroid Build Coastguard Worker gl->programUniform2ui(program, location, v0, v1); 4693*35238bceSAndroid Build Coastguard Worker} 4694*35238bceSAndroid Build Coastguard Worker 4695*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) 4696*35238bceSAndroid Build Coastguard Worker{ 4697*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4698*35238bceSAndroid Build Coastguard Worker if (!gl) 4699*35238bceSAndroid Build Coastguard Worker return; 4700*35238bceSAndroid Build Coastguard Worker gl->programUniform2uiv(program, location, count, value); 4701*35238bceSAndroid Build Coastguard Worker} 4702*35238bceSAndroid Build Coastguard Worker 4703*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2) 4704*35238bceSAndroid Build Coastguard Worker{ 4705*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4706*35238bceSAndroid Build Coastguard Worker if (!gl) 4707*35238bceSAndroid Build Coastguard Worker return; 4708*35238bceSAndroid Build Coastguard Worker gl->programUniform3d(program, location, v0, v1, v2); 4709*35238bceSAndroid Build Coastguard Worker} 4710*35238bceSAndroid Build Coastguard Worker 4711*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z) 4712*35238bceSAndroid Build Coastguard Worker{ 4713*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4714*35238bceSAndroid Build Coastguard Worker if (!gl) 4715*35238bceSAndroid Build Coastguard Worker return; 4716*35238bceSAndroid Build Coastguard Worker gl->programUniform3dEXT(program, location, x, y, z); 4717*35238bceSAndroid Build Coastguard Worker} 4718*35238bceSAndroid Build Coastguard Worker 4719*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value) 4720*35238bceSAndroid Build Coastguard Worker{ 4721*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4722*35238bceSAndroid Build Coastguard Worker if (!gl) 4723*35238bceSAndroid Build Coastguard Worker return; 4724*35238bceSAndroid Build Coastguard Worker gl->programUniform3dv(program, location, count, value); 4725*35238bceSAndroid Build Coastguard Worker} 4726*35238bceSAndroid Build Coastguard Worker 4727*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value) 4728*35238bceSAndroid Build Coastguard Worker{ 4729*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4730*35238bceSAndroid Build Coastguard Worker if (!gl) 4731*35238bceSAndroid Build Coastguard Worker return; 4732*35238bceSAndroid Build Coastguard Worker gl->programUniform3dvEXT(program, location, count, value); 4733*35238bceSAndroid Build Coastguard Worker} 4734*35238bceSAndroid Build Coastguard Worker 4735*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) 4736*35238bceSAndroid Build Coastguard Worker{ 4737*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4738*35238bceSAndroid Build Coastguard Worker if (!gl) 4739*35238bceSAndroid Build Coastguard Worker return; 4740*35238bceSAndroid Build Coastguard Worker gl->programUniform3f(program, location, v0, v1, v2); 4741*35238bceSAndroid Build Coastguard Worker} 4742*35238bceSAndroid Build Coastguard Worker 4743*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) 4744*35238bceSAndroid Build Coastguard Worker{ 4745*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4746*35238bceSAndroid Build Coastguard Worker if (!gl) 4747*35238bceSAndroid Build Coastguard Worker return; 4748*35238bceSAndroid Build Coastguard Worker gl->programUniform3fv(program, location, count, value); 4749*35238bceSAndroid Build Coastguard Worker} 4750*35238bceSAndroid Build Coastguard Worker 4751*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2) 4752*35238bceSAndroid Build Coastguard Worker{ 4753*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4754*35238bceSAndroid Build Coastguard Worker if (!gl) 4755*35238bceSAndroid Build Coastguard Worker return; 4756*35238bceSAndroid Build Coastguard Worker gl->programUniform3i(program, location, v0, v1, v2); 4757*35238bceSAndroid Build Coastguard Worker} 4758*35238bceSAndroid Build Coastguard Worker 4759*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value) 4760*35238bceSAndroid Build Coastguard Worker{ 4761*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4762*35238bceSAndroid Build Coastguard Worker if (!gl) 4763*35238bceSAndroid Build Coastguard Worker return; 4764*35238bceSAndroid Build Coastguard Worker gl->programUniform3iv(program, location, count, value); 4765*35238bceSAndroid Build Coastguard Worker} 4766*35238bceSAndroid Build Coastguard Worker 4767*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) 4768*35238bceSAndroid Build Coastguard Worker{ 4769*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4770*35238bceSAndroid Build Coastguard Worker if (!gl) 4771*35238bceSAndroid Build Coastguard Worker return; 4772*35238bceSAndroid Build Coastguard Worker gl->programUniform3ui(program, location, v0, v1, v2); 4773*35238bceSAndroid Build Coastguard Worker} 4774*35238bceSAndroid Build Coastguard Worker 4775*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) 4776*35238bceSAndroid Build Coastguard Worker{ 4777*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4778*35238bceSAndroid Build Coastguard Worker if (!gl) 4779*35238bceSAndroid Build Coastguard Worker return; 4780*35238bceSAndroid Build Coastguard Worker gl->programUniform3uiv(program, location, count, value); 4781*35238bceSAndroid Build Coastguard Worker} 4782*35238bceSAndroid Build Coastguard Worker 4783*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3) 4784*35238bceSAndroid Build Coastguard Worker{ 4785*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4786*35238bceSAndroid Build Coastguard Worker if (!gl) 4787*35238bceSAndroid Build Coastguard Worker return; 4788*35238bceSAndroid Build Coastguard Worker gl->programUniform4d(program, location, v0, v1, v2, v3); 4789*35238bceSAndroid Build Coastguard Worker} 4790*35238bceSAndroid Build Coastguard Worker 4791*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 4792*35238bceSAndroid Build Coastguard Worker{ 4793*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4794*35238bceSAndroid Build Coastguard Worker if (!gl) 4795*35238bceSAndroid Build Coastguard Worker return; 4796*35238bceSAndroid Build Coastguard Worker gl->programUniform4dEXT(program, location, x, y, z, w); 4797*35238bceSAndroid Build Coastguard Worker} 4798*35238bceSAndroid Build Coastguard Worker 4799*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value) 4800*35238bceSAndroid Build Coastguard Worker{ 4801*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4802*35238bceSAndroid Build Coastguard Worker if (!gl) 4803*35238bceSAndroid Build Coastguard Worker return; 4804*35238bceSAndroid Build Coastguard Worker gl->programUniform4dv(program, location, count, value); 4805*35238bceSAndroid Build Coastguard Worker} 4806*35238bceSAndroid Build Coastguard Worker 4807*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value) 4808*35238bceSAndroid Build Coastguard Worker{ 4809*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4810*35238bceSAndroid Build Coastguard Worker if (!gl) 4811*35238bceSAndroid Build Coastguard Worker return; 4812*35238bceSAndroid Build Coastguard Worker gl->programUniform4dvEXT(program, location, count, value); 4813*35238bceSAndroid Build Coastguard Worker} 4814*35238bceSAndroid Build Coastguard Worker 4815*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) 4816*35238bceSAndroid Build Coastguard Worker{ 4817*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4818*35238bceSAndroid Build Coastguard Worker if (!gl) 4819*35238bceSAndroid Build Coastguard Worker return; 4820*35238bceSAndroid Build Coastguard Worker gl->programUniform4f(program, location, v0, v1, v2, v3); 4821*35238bceSAndroid Build Coastguard Worker} 4822*35238bceSAndroid Build Coastguard Worker 4823*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) 4824*35238bceSAndroid Build Coastguard Worker{ 4825*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4826*35238bceSAndroid Build Coastguard Worker if (!gl) 4827*35238bceSAndroid Build Coastguard Worker return; 4828*35238bceSAndroid Build Coastguard Worker gl->programUniform4fv(program, location, count, value); 4829*35238bceSAndroid Build Coastguard Worker} 4830*35238bceSAndroid Build Coastguard Worker 4831*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) 4832*35238bceSAndroid Build Coastguard Worker{ 4833*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4834*35238bceSAndroid Build Coastguard Worker if (!gl) 4835*35238bceSAndroid Build Coastguard Worker return; 4836*35238bceSAndroid Build Coastguard Worker gl->programUniform4i(program, location, v0, v1, v2, v3); 4837*35238bceSAndroid Build Coastguard Worker} 4838*35238bceSAndroid Build Coastguard Worker 4839*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value) 4840*35238bceSAndroid Build Coastguard Worker{ 4841*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4842*35238bceSAndroid Build Coastguard Worker if (!gl) 4843*35238bceSAndroid Build Coastguard Worker return; 4844*35238bceSAndroid Build Coastguard Worker gl->programUniform4iv(program, location, count, value); 4845*35238bceSAndroid Build Coastguard Worker} 4846*35238bceSAndroid Build Coastguard Worker 4847*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) 4848*35238bceSAndroid Build Coastguard Worker{ 4849*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4850*35238bceSAndroid Build Coastguard Worker if (!gl) 4851*35238bceSAndroid Build Coastguard Worker return; 4852*35238bceSAndroid Build Coastguard Worker gl->programUniform4ui(program, location, v0, v1, v2, v3); 4853*35238bceSAndroid Build Coastguard Worker} 4854*35238bceSAndroid Build Coastguard Worker 4855*35238bceSAndroid Build Coastguard Workervoid glwProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) 4856*35238bceSAndroid Build Coastguard Worker{ 4857*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4858*35238bceSAndroid Build Coastguard Worker if (!gl) 4859*35238bceSAndroid Build Coastguard Worker return; 4860*35238bceSAndroid Build Coastguard Worker gl->programUniform4uiv(program, location, count, value); 4861*35238bceSAndroid Build Coastguard Worker} 4862*35238bceSAndroid Build Coastguard Worker 4863*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4864*35238bceSAndroid Build Coastguard Worker{ 4865*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4866*35238bceSAndroid Build Coastguard Worker if (!gl) 4867*35238bceSAndroid Build Coastguard Worker return; 4868*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2dv(program, location, count, transpose, value); 4869*35238bceSAndroid Build Coastguard Worker} 4870*35238bceSAndroid Build Coastguard Worker 4871*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4872*35238bceSAndroid Build Coastguard Worker{ 4873*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4874*35238bceSAndroid Build Coastguard Worker if (!gl) 4875*35238bceSAndroid Build Coastguard Worker return; 4876*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2dvEXT(program, location, count, transpose, value); 4877*35238bceSAndroid Build Coastguard Worker} 4878*35238bceSAndroid Build Coastguard Worker 4879*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 4880*35238bceSAndroid Build Coastguard Worker{ 4881*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4882*35238bceSAndroid Build Coastguard Worker if (!gl) 4883*35238bceSAndroid Build Coastguard Worker return; 4884*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2fv(program, location, count, transpose, value); 4885*35238bceSAndroid Build Coastguard Worker} 4886*35238bceSAndroid Build Coastguard Worker 4887*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4888*35238bceSAndroid Build Coastguard Worker{ 4889*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4890*35238bceSAndroid Build Coastguard Worker if (!gl) 4891*35238bceSAndroid Build Coastguard Worker return; 4892*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2x3dv(program, location, count, transpose, value); 4893*35238bceSAndroid Build Coastguard Worker} 4894*35238bceSAndroid Build Coastguard Worker 4895*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4896*35238bceSAndroid Build Coastguard Worker{ 4897*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4898*35238bceSAndroid Build Coastguard Worker if (!gl) 4899*35238bceSAndroid Build Coastguard Worker return; 4900*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2x3dvEXT(program, location, count, transpose, value); 4901*35238bceSAndroid Build Coastguard Worker} 4902*35238bceSAndroid Build Coastguard Worker 4903*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 4904*35238bceSAndroid Build Coastguard Worker{ 4905*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4906*35238bceSAndroid Build Coastguard Worker if (!gl) 4907*35238bceSAndroid Build Coastguard Worker return; 4908*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2x3fv(program, location, count, transpose, value); 4909*35238bceSAndroid Build Coastguard Worker} 4910*35238bceSAndroid Build Coastguard Worker 4911*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4912*35238bceSAndroid Build Coastguard Worker{ 4913*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4914*35238bceSAndroid Build Coastguard Worker if (!gl) 4915*35238bceSAndroid Build Coastguard Worker return; 4916*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2x4dv(program, location, count, transpose, value); 4917*35238bceSAndroid Build Coastguard Worker} 4918*35238bceSAndroid Build Coastguard Worker 4919*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4920*35238bceSAndroid Build Coastguard Worker{ 4921*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4922*35238bceSAndroid Build Coastguard Worker if (!gl) 4923*35238bceSAndroid Build Coastguard Worker return; 4924*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2x4dvEXT(program, location, count, transpose, value); 4925*35238bceSAndroid Build Coastguard Worker} 4926*35238bceSAndroid Build Coastguard Worker 4927*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 4928*35238bceSAndroid Build Coastguard Worker{ 4929*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4930*35238bceSAndroid Build Coastguard Worker if (!gl) 4931*35238bceSAndroid Build Coastguard Worker return; 4932*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix2x4fv(program, location, count, transpose, value); 4933*35238bceSAndroid Build Coastguard Worker} 4934*35238bceSAndroid Build Coastguard Worker 4935*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4936*35238bceSAndroid Build Coastguard Worker{ 4937*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4938*35238bceSAndroid Build Coastguard Worker if (!gl) 4939*35238bceSAndroid Build Coastguard Worker return; 4940*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3dv(program, location, count, transpose, value); 4941*35238bceSAndroid Build Coastguard Worker} 4942*35238bceSAndroid Build Coastguard Worker 4943*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4944*35238bceSAndroid Build Coastguard Worker{ 4945*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4946*35238bceSAndroid Build Coastguard Worker if (!gl) 4947*35238bceSAndroid Build Coastguard Worker return; 4948*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3dvEXT(program, location, count, transpose, value); 4949*35238bceSAndroid Build Coastguard Worker} 4950*35238bceSAndroid Build Coastguard Worker 4951*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 4952*35238bceSAndroid Build Coastguard Worker{ 4953*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4954*35238bceSAndroid Build Coastguard Worker if (!gl) 4955*35238bceSAndroid Build Coastguard Worker return; 4956*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3fv(program, location, count, transpose, value); 4957*35238bceSAndroid Build Coastguard Worker} 4958*35238bceSAndroid Build Coastguard Worker 4959*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4960*35238bceSAndroid Build Coastguard Worker{ 4961*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4962*35238bceSAndroid Build Coastguard Worker if (!gl) 4963*35238bceSAndroid Build Coastguard Worker return; 4964*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3x2dv(program, location, count, transpose, value); 4965*35238bceSAndroid Build Coastguard Worker} 4966*35238bceSAndroid Build Coastguard Worker 4967*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4968*35238bceSAndroid Build Coastguard Worker{ 4969*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4970*35238bceSAndroid Build Coastguard Worker if (!gl) 4971*35238bceSAndroid Build Coastguard Worker return; 4972*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3x2dvEXT(program, location, count, transpose, value); 4973*35238bceSAndroid Build Coastguard Worker} 4974*35238bceSAndroid Build Coastguard Worker 4975*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 4976*35238bceSAndroid Build Coastguard Worker{ 4977*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4978*35238bceSAndroid Build Coastguard Worker if (!gl) 4979*35238bceSAndroid Build Coastguard Worker return; 4980*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3x2fv(program, location, count, transpose, value); 4981*35238bceSAndroid Build Coastguard Worker} 4982*35238bceSAndroid Build Coastguard Worker 4983*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4984*35238bceSAndroid Build Coastguard Worker{ 4985*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4986*35238bceSAndroid Build Coastguard Worker if (!gl) 4987*35238bceSAndroid Build Coastguard Worker return; 4988*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3x4dv(program, location, count, transpose, value); 4989*35238bceSAndroid Build Coastguard Worker} 4990*35238bceSAndroid Build Coastguard Worker 4991*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 4992*35238bceSAndroid Build Coastguard Worker{ 4993*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 4994*35238bceSAndroid Build Coastguard Worker if (!gl) 4995*35238bceSAndroid Build Coastguard Worker return; 4996*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3x4dvEXT(program, location, count, transpose, value); 4997*35238bceSAndroid Build Coastguard Worker} 4998*35238bceSAndroid Build Coastguard Worker 4999*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 5000*35238bceSAndroid Build Coastguard Worker{ 5001*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5002*35238bceSAndroid Build Coastguard Worker if (!gl) 5003*35238bceSAndroid Build Coastguard Worker return; 5004*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix3x4fv(program, location, count, transpose, value); 5005*35238bceSAndroid Build Coastguard Worker} 5006*35238bceSAndroid Build Coastguard Worker 5007*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 5008*35238bceSAndroid Build Coastguard Worker{ 5009*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5010*35238bceSAndroid Build Coastguard Worker if (!gl) 5011*35238bceSAndroid Build Coastguard Worker return; 5012*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4dv(program, location, count, transpose, value); 5013*35238bceSAndroid Build Coastguard Worker} 5014*35238bceSAndroid Build Coastguard Worker 5015*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 5016*35238bceSAndroid Build Coastguard Worker{ 5017*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5018*35238bceSAndroid Build Coastguard Worker if (!gl) 5019*35238bceSAndroid Build Coastguard Worker return; 5020*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4dvEXT(program, location, count, transpose, value); 5021*35238bceSAndroid Build Coastguard Worker} 5022*35238bceSAndroid Build Coastguard Worker 5023*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 5024*35238bceSAndroid Build Coastguard Worker{ 5025*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5026*35238bceSAndroid Build Coastguard Worker if (!gl) 5027*35238bceSAndroid Build Coastguard Worker return; 5028*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4fv(program, location, count, transpose, value); 5029*35238bceSAndroid Build Coastguard Worker} 5030*35238bceSAndroid Build Coastguard Worker 5031*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 5032*35238bceSAndroid Build Coastguard Worker{ 5033*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5034*35238bceSAndroid Build Coastguard Worker if (!gl) 5035*35238bceSAndroid Build Coastguard Worker return; 5036*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4x2dv(program, location, count, transpose, value); 5037*35238bceSAndroid Build Coastguard Worker} 5038*35238bceSAndroid Build Coastguard Worker 5039*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 5040*35238bceSAndroid Build Coastguard Worker{ 5041*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5042*35238bceSAndroid Build Coastguard Worker if (!gl) 5043*35238bceSAndroid Build Coastguard Worker return; 5044*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4x2dvEXT(program, location, count, transpose, value); 5045*35238bceSAndroid Build Coastguard Worker} 5046*35238bceSAndroid Build Coastguard Worker 5047*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 5048*35238bceSAndroid Build Coastguard Worker{ 5049*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5050*35238bceSAndroid Build Coastguard Worker if (!gl) 5051*35238bceSAndroid Build Coastguard Worker return; 5052*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4x2fv(program, location, count, transpose, value); 5053*35238bceSAndroid Build Coastguard Worker} 5054*35238bceSAndroid Build Coastguard Worker 5055*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 5056*35238bceSAndroid Build Coastguard Worker{ 5057*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5058*35238bceSAndroid Build Coastguard Worker if (!gl) 5059*35238bceSAndroid Build Coastguard Worker return; 5060*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4x3dv(program, location, count, transpose, value); 5061*35238bceSAndroid Build Coastguard Worker} 5062*35238bceSAndroid Build Coastguard Worker 5063*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 5064*35238bceSAndroid Build Coastguard Worker{ 5065*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5066*35238bceSAndroid Build Coastguard Worker if (!gl) 5067*35238bceSAndroid Build Coastguard Worker return; 5068*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4x3dvEXT(program, location, count, transpose, value); 5069*35238bceSAndroid Build Coastguard Worker} 5070*35238bceSAndroid Build Coastguard Worker 5071*35238bceSAndroid Build Coastguard Workervoid glwProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 5072*35238bceSAndroid Build Coastguard Worker{ 5073*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5074*35238bceSAndroid Build Coastguard Worker if (!gl) 5075*35238bceSAndroid Build Coastguard Worker return; 5076*35238bceSAndroid Build Coastguard Worker gl->programUniformMatrix4x3fv(program, location, count, transpose, value); 5077*35238bceSAndroid Build Coastguard Worker} 5078*35238bceSAndroid Build Coastguard Worker 5079*35238bceSAndroid Build Coastguard Workervoid glwProvokingVertex (GLenum mode) 5080*35238bceSAndroid Build Coastguard Worker{ 5081*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5082*35238bceSAndroid Build Coastguard Worker if (!gl) 5083*35238bceSAndroid Build Coastguard Worker return; 5084*35238bceSAndroid Build Coastguard Worker gl->provokingVertex(mode); 5085*35238bceSAndroid Build Coastguard Worker} 5086*35238bceSAndroid Build Coastguard Worker 5087*35238bceSAndroid Build Coastguard Workervoid glwPushClientAttribDefaultEXT (GLbitfield mask) 5088*35238bceSAndroid Build Coastguard Worker{ 5089*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5090*35238bceSAndroid Build Coastguard Worker if (!gl) 5091*35238bceSAndroid Build Coastguard Worker return; 5092*35238bceSAndroid Build Coastguard Worker gl->pushClientAttribDefaultEXT(mask); 5093*35238bceSAndroid Build Coastguard Worker} 5094*35238bceSAndroid Build Coastguard Worker 5095*35238bceSAndroid Build Coastguard Workervoid glwPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message) 5096*35238bceSAndroid Build Coastguard Worker{ 5097*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5098*35238bceSAndroid Build Coastguard Worker if (!gl) 5099*35238bceSAndroid Build Coastguard Worker return; 5100*35238bceSAndroid Build Coastguard Worker gl->pushDebugGroup(source, id, length, message); 5101*35238bceSAndroid Build Coastguard Worker} 5102*35238bceSAndroid Build Coastguard Worker 5103*35238bceSAndroid Build Coastguard Workervoid glwPushGroupMarkerEXT (GLsizei length, const GLchar *marker) 5104*35238bceSAndroid Build Coastguard Worker{ 5105*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5106*35238bceSAndroid Build Coastguard Worker if (!gl) 5107*35238bceSAndroid Build Coastguard Worker return; 5108*35238bceSAndroid Build Coastguard Worker gl->pushGroupMarkerEXT(length, marker); 5109*35238bceSAndroid Build Coastguard Worker} 5110*35238bceSAndroid Build Coastguard Worker 5111*35238bceSAndroid Build Coastguard Workervoid glwQueryCounter (GLuint id, GLenum target) 5112*35238bceSAndroid Build Coastguard Worker{ 5113*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5114*35238bceSAndroid Build Coastguard Worker if (!gl) 5115*35238bceSAndroid Build Coastguard Worker return; 5116*35238bceSAndroid Build Coastguard Worker gl->queryCounter(id, target); 5117*35238bceSAndroid Build Coastguard Worker} 5118*35238bceSAndroid Build Coastguard Worker 5119*35238bceSAndroid Build Coastguard Workervoid glwReadBuffer (GLenum src) 5120*35238bceSAndroid Build Coastguard Worker{ 5121*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5122*35238bceSAndroid Build Coastguard Worker if (!gl) 5123*35238bceSAndroid Build Coastguard Worker return; 5124*35238bceSAndroid Build Coastguard Worker gl->readBuffer(src); 5125*35238bceSAndroid Build Coastguard Worker} 5126*35238bceSAndroid Build Coastguard Worker 5127*35238bceSAndroid Build Coastguard Workervoid glwReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels) 5128*35238bceSAndroid Build Coastguard Worker{ 5129*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5130*35238bceSAndroid Build Coastguard Worker if (!gl) 5131*35238bceSAndroid Build Coastguard Worker return; 5132*35238bceSAndroid Build Coastguard Worker gl->readPixels(x, y, width, height, format, type, pixels); 5133*35238bceSAndroid Build Coastguard Worker} 5134*35238bceSAndroid Build Coastguard Worker 5135*35238bceSAndroid Build Coastguard Workervoid glwReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) 5136*35238bceSAndroid Build Coastguard Worker{ 5137*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5138*35238bceSAndroid Build Coastguard Worker if (!gl) 5139*35238bceSAndroid Build Coastguard Worker return; 5140*35238bceSAndroid Build Coastguard Worker gl->readnPixels(x, y, width, height, format, type, bufSize, data); 5141*35238bceSAndroid Build Coastguard Worker} 5142*35238bceSAndroid Build Coastguard Worker 5143*35238bceSAndroid Build Coastguard Workervoid glwReleaseShaderCompiler (void) 5144*35238bceSAndroid Build Coastguard Worker{ 5145*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5146*35238bceSAndroid Build Coastguard Worker if (!gl) 5147*35238bceSAndroid Build Coastguard Worker return; 5148*35238bceSAndroid Build Coastguard Worker gl->releaseShaderCompiler(); 5149*35238bceSAndroid Build Coastguard Worker} 5150*35238bceSAndroid Build Coastguard Worker 5151*35238bceSAndroid Build Coastguard Workervoid glwRenderGpuMaskNV (GLbitfield mask) 5152*35238bceSAndroid Build Coastguard Worker{ 5153*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5154*35238bceSAndroid Build Coastguard Worker if (!gl) 5155*35238bceSAndroid Build Coastguard Worker return; 5156*35238bceSAndroid Build Coastguard Worker gl->renderGpuMaskNV(mask); 5157*35238bceSAndroid Build Coastguard Worker} 5158*35238bceSAndroid Build Coastguard Worker 5159*35238bceSAndroid Build Coastguard Workervoid glwRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) 5160*35238bceSAndroid Build Coastguard Worker{ 5161*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5162*35238bceSAndroid Build Coastguard Worker if (!gl) 5163*35238bceSAndroid Build Coastguard Worker return; 5164*35238bceSAndroid Build Coastguard Worker gl->renderbufferStorage(target, internalformat, width, height); 5165*35238bceSAndroid Build Coastguard Worker} 5166*35238bceSAndroid Build Coastguard Worker 5167*35238bceSAndroid Build Coastguard Workervoid glwRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) 5168*35238bceSAndroid Build Coastguard Worker{ 5169*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5170*35238bceSAndroid Build Coastguard Worker if (!gl) 5171*35238bceSAndroid Build Coastguard Worker return; 5172*35238bceSAndroid Build Coastguard Worker gl->renderbufferStorageMultisample(target, samples, internalformat, width, height); 5173*35238bceSAndroid Build Coastguard Worker} 5174*35238bceSAndroid Build Coastguard Worker 5175*35238bceSAndroid Build Coastguard Workervoid glwRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) 5176*35238bceSAndroid Build Coastguard Worker{ 5177*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5178*35238bceSAndroid Build Coastguard Worker if (!gl) 5179*35238bceSAndroid Build Coastguard Worker return; 5180*35238bceSAndroid Build Coastguard Worker gl->renderbufferStorageMultisampleEXT(target, samples, internalformat, width, height); 5181*35238bceSAndroid Build Coastguard Worker} 5182*35238bceSAndroid Build Coastguard Worker 5183*35238bceSAndroid Build Coastguard Workervoid glwResumeTransformFeedback (void) 5184*35238bceSAndroid Build Coastguard Worker{ 5185*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5186*35238bceSAndroid Build Coastguard Worker if (!gl) 5187*35238bceSAndroid Build Coastguard Worker return; 5188*35238bceSAndroid Build Coastguard Worker gl->resumeTransformFeedback(); 5189*35238bceSAndroid Build Coastguard Worker} 5190*35238bceSAndroid Build Coastguard Worker 5191*35238bceSAndroid Build Coastguard Workervoid glwSampleCoverage (GLfloat value, GLboolean invert) 5192*35238bceSAndroid Build Coastguard Worker{ 5193*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5194*35238bceSAndroid Build Coastguard Worker if (!gl) 5195*35238bceSAndroid Build Coastguard Worker return; 5196*35238bceSAndroid Build Coastguard Worker gl->sampleCoverage(value, invert); 5197*35238bceSAndroid Build Coastguard Worker} 5198*35238bceSAndroid Build Coastguard Worker 5199*35238bceSAndroid Build Coastguard Workervoid glwSampleMaski (GLuint maskNumber, GLbitfield mask) 5200*35238bceSAndroid Build Coastguard Worker{ 5201*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5202*35238bceSAndroid Build Coastguard Worker if (!gl) 5203*35238bceSAndroid Build Coastguard Worker return; 5204*35238bceSAndroid Build Coastguard Worker gl->sampleMaski(maskNumber, mask); 5205*35238bceSAndroid Build Coastguard Worker} 5206*35238bceSAndroid Build Coastguard Worker 5207*35238bceSAndroid Build Coastguard Workervoid glwSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param) 5208*35238bceSAndroid Build Coastguard Worker{ 5209*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5210*35238bceSAndroid Build Coastguard Worker if (!gl) 5211*35238bceSAndroid Build Coastguard Worker return; 5212*35238bceSAndroid Build Coastguard Worker gl->samplerParameterIiv(sampler, pname, param); 5213*35238bceSAndroid Build Coastguard Worker} 5214*35238bceSAndroid Build Coastguard Worker 5215*35238bceSAndroid Build Coastguard Workervoid glwSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param) 5216*35238bceSAndroid Build Coastguard Worker{ 5217*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5218*35238bceSAndroid Build Coastguard Worker if (!gl) 5219*35238bceSAndroid Build Coastguard Worker return; 5220*35238bceSAndroid Build Coastguard Worker gl->samplerParameterIuiv(sampler, pname, param); 5221*35238bceSAndroid Build Coastguard Worker} 5222*35238bceSAndroid Build Coastguard Worker 5223*35238bceSAndroid Build Coastguard Workervoid glwSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param) 5224*35238bceSAndroid Build Coastguard Worker{ 5225*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5226*35238bceSAndroid Build Coastguard Worker if (!gl) 5227*35238bceSAndroid Build Coastguard Worker return; 5228*35238bceSAndroid Build Coastguard Worker gl->samplerParameterf(sampler, pname, param); 5229*35238bceSAndroid Build Coastguard Worker} 5230*35238bceSAndroid Build Coastguard Worker 5231*35238bceSAndroid Build Coastguard Workervoid glwSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param) 5232*35238bceSAndroid Build Coastguard Worker{ 5233*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5234*35238bceSAndroid Build Coastguard Worker if (!gl) 5235*35238bceSAndroid Build Coastguard Worker return; 5236*35238bceSAndroid Build Coastguard Worker gl->samplerParameterfv(sampler, pname, param); 5237*35238bceSAndroid Build Coastguard Worker} 5238*35238bceSAndroid Build Coastguard Worker 5239*35238bceSAndroid Build Coastguard Workervoid glwSamplerParameteri (GLuint sampler, GLenum pname, GLint param) 5240*35238bceSAndroid Build Coastguard Worker{ 5241*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5242*35238bceSAndroid Build Coastguard Worker if (!gl) 5243*35238bceSAndroid Build Coastguard Worker return; 5244*35238bceSAndroid Build Coastguard Worker gl->samplerParameteri(sampler, pname, param); 5245*35238bceSAndroid Build Coastguard Worker} 5246*35238bceSAndroid Build Coastguard Worker 5247*35238bceSAndroid Build Coastguard Workervoid glwSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param) 5248*35238bceSAndroid Build Coastguard Worker{ 5249*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5250*35238bceSAndroid Build Coastguard Worker if (!gl) 5251*35238bceSAndroid Build Coastguard Worker return; 5252*35238bceSAndroid Build Coastguard Worker gl->samplerParameteriv(sampler, pname, param); 5253*35238bceSAndroid Build Coastguard Worker} 5254*35238bceSAndroid Build Coastguard Worker 5255*35238bceSAndroid Build Coastguard Workervoid glwScissor (GLint x, GLint y, GLsizei width, GLsizei height) 5256*35238bceSAndroid Build Coastguard Worker{ 5257*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5258*35238bceSAndroid Build Coastguard Worker if (!gl) 5259*35238bceSAndroid Build Coastguard Worker return; 5260*35238bceSAndroid Build Coastguard Worker gl->scissor(x, y, width, height); 5261*35238bceSAndroid Build Coastguard Worker} 5262*35238bceSAndroid Build Coastguard Worker 5263*35238bceSAndroid Build Coastguard Workervoid glwScissorArrayv (GLuint first, GLsizei count, const GLint *v) 5264*35238bceSAndroid Build Coastguard Worker{ 5265*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5266*35238bceSAndroid Build Coastguard Worker if (!gl) 5267*35238bceSAndroid Build Coastguard Worker return; 5268*35238bceSAndroid Build Coastguard Worker gl->scissorArrayv(first, count, v); 5269*35238bceSAndroid Build Coastguard Worker} 5270*35238bceSAndroid Build Coastguard Worker 5271*35238bceSAndroid Build Coastguard Workervoid glwScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) 5272*35238bceSAndroid Build Coastguard Worker{ 5273*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5274*35238bceSAndroid Build Coastguard Worker if (!gl) 5275*35238bceSAndroid Build Coastguard Worker return; 5276*35238bceSAndroid Build Coastguard Worker gl->scissorIndexed(index, left, bottom, width, height); 5277*35238bceSAndroid Build Coastguard Worker} 5278*35238bceSAndroid Build Coastguard Worker 5279*35238bceSAndroid Build Coastguard Workervoid glwScissorIndexedv (GLuint index, const GLint *v) 5280*35238bceSAndroid Build Coastguard Worker{ 5281*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5282*35238bceSAndroid Build Coastguard Worker if (!gl) 5283*35238bceSAndroid Build Coastguard Worker return; 5284*35238bceSAndroid Build Coastguard Worker gl->scissorIndexedv(index, v); 5285*35238bceSAndroid Build Coastguard Worker} 5286*35238bceSAndroid Build Coastguard Worker 5287*35238bceSAndroid Build Coastguard Workervoid glwShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length) 5288*35238bceSAndroid Build Coastguard Worker{ 5289*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5290*35238bceSAndroid Build Coastguard Worker if (!gl) 5291*35238bceSAndroid Build Coastguard Worker return; 5292*35238bceSAndroid Build Coastguard Worker gl->shaderBinary(count, shaders, binaryFormat, binary, length); 5293*35238bceSAndroid Build Coastguard Worker} 5294*35238bceSAndroid Build Coastguard Worker 5295*35238bceSAndroid Build Coastguard Workervoid glwShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length) 5296*35238bceSAndroid Build Coastguard Worker{ 5297*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5298*35238bceSAndroid Build Coastguard Worker if (!gl) 5299*35238bceSAndroid Build Coastguard Worker return; 5300*35238bceSAndroid Build Coastguard Worker gl->shaderSource(shader, count, string, length); 5301*35238bceSAndroid Build Coastguard Worker} 5302*35238bceSAndroid Build Coastguard Worker 5303*35238bceSAndroid Build Coastguard Workervoid glwShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding) 5304*35238bceSAndroid Build Coastguard Worker{ 5305*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5306*35238bceSAndroid Build Coastguard Worker if (!gl) 5307*35238bceSAndroid Build Coastguard Worker return; 5308*35238bceSAndroid Build Coastguard Worker gl->shaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding); 5309*35238bceSAndroid Build Coastguard Worker} 5310*35238bceSAndroid Build Coastguard Worker 5311*35238bceSAndroid Build Coastguard Workervoid glwShadingRateEXT (GLenum rate) 5312*35238bceSAndroid Build Coastguard Worker{ 5313*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5314*35238bceSAndroid Build Coastguard Worker if (!gl) 5315*35238bceSAndroid Build Coastguard Worker return; 5316*35238bceSAndroid Build Coastguard Worker gl->shadingRateEXT(rate); 5317*35238bceSAndroid Build Coastguard Worker} 5318*35238bceSAndroid Build Coastguard Worker 5319*35238bceSAndroid Build Coastguard Workervoid glwShadingRateCombinerOpsEXT (GLenum combinerOp0, GLenum combinerOp1) 5320*35238bceSAndroid Build Coastguard Worker{ 5321*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5322*35238bceSAndroid Build Coastguard Worker if (!gl) 5323*35238bceSAndroid Build Coastguard Worker return; 5324*35238bceSAndroid Build Coastguard Worker gl->shadingRateCombinerOpsEXT(combinerOp0, combinerOp1); 5325*35238bceSAndroid Build Coastguard Worker} 5326*35238bceSAndroid Build Coastguard Worker 5327*35238bceSAndroid Build Coastguard Workervoid glwSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue) 5328*35238bceSAndroid Build Coastguard Worker{ 5329*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5330*35238bceSAndroid Build Coastguard Worker if (!gl) 5331*35238bceSAndroid Build Coastguard Worker return; 5332*35238bceSAndroid Build Coastguard Worker gl->specializeShader(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); 5333*35238bceSAndroid Build Coastguard Worker} 5334*35238bceSAndroid Build Coastguard Worker 5335*35238bceSAndroid Build Coastguard Workervoid glwStencilFunc (GLenum func, GLint ref, GLuint mask) 5336*35238bceSAndroid Build Coastguard Worker{ 5337*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5338*35238bceSAndroid Build Coastguard Worker if (!gl) 5339*35238bceSAndroid Build Coastguard Worker return; 5340*35238bceSAndroid Build Coastguard Worker gl->stencilFunc(func, ref, mask); 5341*35238bceSAndroid Build Coastguard Worker} 5342*35238bceSAndroid Build Coastguard Worker 5343*35238bceSAndroid Build Coastguard Workervoid glwStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) 5344*35238bceSAndroid Build Coastguard Worker{ 5345*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5346*35238bceSAndroid Build Coastguard Worker if (!gl) 5347*35238bceSAndroid Build Coastguard Worker return; 5348*35238bceSAndroid Build Coastguard Worker gl->stencilFuncSeparate(face, func, ref, mask); 5349*35238bceSAndroid Build Coastguard Worker} 5350*35238bceSAndroid Build Coastguard Worker 5351*35238bceSAndroid Build Coastguard Workervoid glwStencilMask (GLuint mask) 5352*35238bceSAndroid Build Coastguard Worker{ 5353*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5354*35238bceSAndroid Build Coastguard Worker if (!gl) 5355*35238bceSAndroid Build Coastguard Worker return; 5356*35238bceSAndroid Build Coastguard Worker gl->stencilMask(mask); 5357*35238bceSAndroid Build Coastguard Worker} 5358*35238bceSAndroid Build Coastguard Worker 5359*35238bceSAndroid Build Coastguard Workervoid glwStencilMaskSeparate (GLenum face, GLuint mask) 5360*35238bceSAndroid Build Coastguard Worker{ 5361*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5362*35238bceSAndroid Build Coastguard Worker if (!gl) 5363*35238bceSAndroid Build Coastguard Worker return; 5364*35238bceSAndroid Build Coastguard Worker gl->stencilMaskSeparate(face, mask); 5365*35238bceSAndroid Build Coastguard Worker} 5366*35238bceSAndroid Build Coastguard Worker 5367*35238bceSAndroid Build Coastguard Workervoid glwStencilOp (GLenum fail, GLenum zfail, GLenum zpass) 5368*35238bceSAndroid Build Coastguard Worker{ 5369*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5370*35238bceSAndroid Build Coastguard Worker if (!gl) 5371*35238bceSAndroid Build Coastguard Worker return; 5372*35238bceSAndroid Build Coastguard Worker gl->stencilOp(fail, zfail, zpass); 5373*35238bceSAndroid Build Coastguard Worker} 5374*35238bceSAndroid Build Coastguard Worker 5375*35238bceSAndroid Build Coastguard Workervoid glwStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) 5376*35238bceSAndroid Build Coastguard Worker{ 5377*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5378*35238bceSAndroid Build Coastguard Worker if (!gl) 5379*35238bceSAndroid Build Coastguard Worker return; 5380*35238bceSAndroid Build Coastguard Worker gl->stencilOpSeparate(face, sfail, dpfail, dppass); 5381*35238bceSAndroid Build Coastguard Worker} 5382*35238bceSAndroid Build Coastguard Worker 5383*35238bceSAndroid Build Coastguard Workervoid glwTexBuffer (GLenum target, GLenum internalformat, GLuint buffer) 5384*35238bceSAndroid Build Coastguard Worker{ 5385*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5386*35238bceSAndroid Build Coastguard Worker if (!gl) 5387*35238bceSAndroid Build Coastguard Worker return; 5388*35238bceSAndroid Build Coastguard Worker gl->texBuffer(target, internalformat, buffer); 5389*35238bceSAndroid Build Coastguard Worker} 5390*35238bceSAndroid Build Coastguard Worker 5391*35238bceSAndroid Build Coastguard Workervoid glwTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) 5392*35238bceSAndroid Build Coastguard Worker{ 5393*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5394*35238bceSAndroid Build Coastguard Worker if (!gl) 5395*35238bceSAndroid Build Coastguard Worker return; 5396*35238bceSAndroid Build Coastguard Worker gl->texBufferRange(target, internalformat, buffer, offset, size); 5397*35238bceSAndroid Build Coastguard Worker} 5398*35238bceSAndroid Build Coastguard Worker 5399*35238bceSAndroid Build Coastguard Workervoid glwTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels) 5400*35238bceSAndroid Build Coastguard Worker{ 5401*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5402*35238bceSAndroid Build Coastguard Worker if (!gl) 5403*35238bceSAndroid Build Coastguard Worker return; 5404*35238bceSAndroid Build Coastguard Worker gl->texImage1D(target, level, internalformat, width, border, format, type, pixels); 5405*35238bceSAndroid Build Coastguard Worker} 5406*35238bceSAndroid Build Coastguard Worker 5407*35238bceSAndroid Build Coastguard Workervoid glwTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) 5408*35238bceSAndroid Build Coastguard Worker{ 5409*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5410*35238bceSAndroid Build Coastguard Worker if (!gl) 5411*35238bceSAndroid Build Coastguard Worker return; 5412*35238bceSAndroid Build Coastguard Worker gl->texImage2D(target, level, internalformat, width, height, border, format, type, pixels); 5413*35238bceSAndroid Build Coastguard Worker} 5414*35238bceSAndroid Build Coastguard Worker 5415*35238bceSAndroid Build Coastguard Workervoid glwTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) 5416*35238bceSAndroid Build Coastguard Worker{ 5417*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5418*35238bceSAndroid Build Coastguard Worker if (!gl) 5419*35238bceSAndroid Build Coastguard Worker return; 5420*35238bceSAndroid Build Coastguard Worker gl->texImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); 5421*35238bceSAndroid Build Coastguard Worker} 5422*35238bceSAndroid Build Coastguard Worker 5423*35238bceSAndroid Build Coastguard Workervoid glwTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels) 5424*35238bceSAndroid Build Coastguard Worker{ 5425*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5426*35238bceSAndroid Build Coastguard Worker if (!gl) 5427*35238bceSAndroid Build Coastguard Worker return; 5428*35238bceSAndroid Build Coastguard Worker gl->texImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); 5429*35238bceSAndroid Build Coastguard Worker} 5430*35238bceSAndroid Build Coastguard Worker 5431*35238bceSAndroid Build Coastguard Workervoid glwTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) 5432*35238bceSAndroid Build Coastguard Worker{ 5433*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5434*35238bceSAndroid Build Coastguard Worker if (!gl) 5435*35238bceSAndroid Build Coastguard Worker return; 5436*35238bceSAndroid Build Coastguard Worker gl->texImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); 5437*35238bceSAndroid Build Coastguard Worker} 5438*35238bceSAndroid Build Coastguard Worker 5439*35238bceSAndroid Build Coastguard Workervoid glwTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels) 5440*35238bceSAndroid Build Coastguard Worker{ 5441*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5442*35238bceSAndroid Build Coastguard Worker if (!gl) 5443*35238bceSAndroid Build Coastguard Worker return; 5444*35238bceSAndroid Build Coastguard Worker gl->texImage3DOES(target, level, internalformat, width, height, depth, border, format, type, pixels); 5445*35238bceSAndroid Build Coastguard Worker} 5446*35238bceSAndroid Build Coastguard Worker 5447*35238bceSAndroid Build Coastguard Workervoid glwTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) 5448*35238bceSAndroid Build Coastguard Worker{ 5449*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5450*35238bceSAndroid Build Coastguard Worker if (!gl) 5451*35238bceSAndroid Build Coastguard Worker return; 5452*35238bceSAndroid Build Coastguard Worker gl->texPageCommitmentARB(target, level, xoffset, yoffset, zoffset, width, height, depth, commit); 5453*35238bceSAndroid Build Coastguard Worker} 5454*35238bceSAndroid Build Coastguard Worker 5455*35238bceSAndroid Build Coastguard Workervoid glwTexParameterIiv (GLenum target, GLenum pname, const GLint *params) 5456*35238bceSAndroid Build Coastguard Worker{ 5457*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5458*35238bceSAndroid Build Coastguard Worker if (!gl) 5459*35238bceSAndroid Build Coastguard Worker return; 5460*35238bceSAndroid Build Coastguard Worker gl->texParameterIiv(target, pname, params); 5461*35238bceSAndroid Build Coastguard Worker} 5462*35238bceSAndroid Build Coastguard Worker 5463*35238bceSAndroid Build Coastguard Workervoid glwTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params) 5464*35238bceSAndroid Build Coastguard Worker{ 5465*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5466*35238bceSAndroid Build Coastguard Worker if (!gl) 5467*35238bceSAndroid Build Coastguard Worker return; 5468*35238bceSAndroid Build Coastguard Worker gl->texParameterIuiv(target, pname, params); 5469*35238bceSAndroid Build Coastguard Worker} 5470*35238bceSAndroid Build Coastguard Worker 5471*35238bceSAndroid Build Coastguard Workervoid glwTexParameterf (GLenum target, GLenum pname, GLfloat param) 5472*35238bceSAndroid Build Coastguard Worker{ 5473*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5474*35238bceSAndroid Build Coastguard Worker if (!gl) 5475*35238bceSAndroid Build Coastguard Worker return; 5476*35238bceSAndroid Build Coastguard Worker gl->texParameterf(target, pname, param); 5477*35238bceSAndroid Build Coastguard Worker} 5478*35238bceSAndroid Build Coastguard Worker 5479*35238bceSAndroid Build Coastguard Workervoid glwTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) 5480*35238bceSAndroid Build Coastguard Worker{ 5481*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5482*35238bceSAndroid Build Coastguard Worker if (!gl) 5483*35238bceSAndroid Build Coastguard Worker return; 5484*35238bceSAndroid Build Coastguard Worker gl->texParameterfv(target, pname, params); 5485*35238bceSAndroid Build Coastguard Worker} 5486*35238bceSAndroid Build Coastguard Worker 5487*35238bceSAndroid Build Coastguard Workervoid glwTexParameteri (GLenum target, GLenum pname, GLint param) 5488*35238bceSAndroid Build Coastguard Worker{ 5489*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5490*35238bceSAndroid Build Coastguard Worker if (!gl) 5491*35238bceSAndroid Build Coastguard Worker return; 5492*35238bceSAndroid Build Coastguard Worker gl->texParameteri(target, pname, param); 5493*35238bceSAndroid Build Coastguard Worker} 5494*35238bceSAndroid Build Coastguard Worker 5495*35238bceSAndroid Build Coastguard Workervoid glwTexParameteriv (GLenum target, GLenum pname, const GLint *params) 5496*35238bceSAndroid Build Coastguard Worker{ 5497*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5498*35238bceSAndroid Build Coastguard Worker if (!gl) 5499*35238bceSAndroid Build Coastguard Worker return; 5500*35238bceSAndroid Build Coastguard Worker gl->texParameteriv(target, pname, params); 5501*35238bceSAndroid Build Coastguard Worker} 5502*35238bceSAndroid Build Coastguard Worker 5503*35238bceSAndroid Build Coastguard Workervoid glwTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) 5504*35238bceSAndroid Build Coastguard Worker{ 5505*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5506*35238bceSAndroid Build Coastguard Worker if (!gl) 5507*35238bceSAndroid Build Coastguard Worker return; 5508*35238bceSAndroid Build Coastguard Worker gl->texStorage1D(target, levels, internalformat, width); 5509*35238bceSAndroid Build Coastguard Worker} 5510*35238bceSAndroid Build Coastguard Worker 5511*35238bceSAndroid Build Coastguard Workervoid glwTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) 5512*35238bceSAndroid Build Coastguard Worker{ 5513*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5514*35238bceSAndroid Build Coastguard Worker if (!gl) 5515*35238bceSAndroid Build Coastguard Worker return; 5516*35238bceSAndroid Build Coastguard Worker gl->texStorage2D(target, levels, internalformat, width, height); 5517*35238bceSAndroid Build Coastguard Worker} 5518*35238bceSAndroid Build Coastguard Worker 5519*35238bceSAndroid Build Coastguard Workervoid glwTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) 5520*35238bceSAndroid Build Coastguard Worker{ 5521*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5522*35238bceSAndroid Build Coastguard Worker if (!gl) 5523*35238bceSAndroid Build Coastguard Worker return; 5524*35238bceSAndroid Build Coastguard Worker gl->texStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); 5525*35238bceSAndroid Build Coastguard Worker} 5526*35238bceSAndroid Build Coastguard Worker 5527*35238bceSAndroid Build Coastguard Workervoid glwTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) 5528*35238bceSAndroid Build Coastguard Worker{ 5529*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5530*35238bceSAndroid Build Coastguard Worker if (!gl) 5531*35238bceSAndroid Build Coastguard Worker return; 5532*35238bceSAndroid Build Coastguard Worker gl->texStorage3D(target, levels, internalformat, width, height, depth); 5533*35238bceSAndroid Build Coastguard Worker} 5534*35238bceSAndroid Build Coastguard Worker 5535*35238bceSAndroid Build Coastguard Workervoid glwTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) 5536*35238bceSAndroid Build Coastguard Worker{ 5537*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5538*35238bceSAndroid Build Coastguard Worker if (!gl) 5539*35238bceSAndroid Build Coastguard Worker return; 5540*35238bceSAndroid Build Coastguard Worker gl->texStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); 5541*35238bceSAndroid Build Coastguard Worker} 5542*35238bceSAndroid Build Coastguard Worker 5543*35238bceSAndroid Build Coastguard Workervoid glwTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels) 5544*35238bceSAndroid Build Coastguard Worker{ 5545*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5546*35238bceSAndroid Build Coastguard Worker if (!gl) 5547*35238bceSAndroid Build Coastguard Worker return; 5548*35238bceSAndroid Build Coastguard Worker gl->texSubImage1D(target, level, xoffset, width, format, type, pixels); 5549*35238bceSAndroid Build Coastguard Worker} 5550*35238bceSAndroid Build Coastguard Worker 5551*35238bceSAndroid Build Coastguard Workervoid glwTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels) 5552*35238bceSAndroid Build Coastguard Worker{ 5553*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5554*35238bceSAndroid Build Coastguard Worker if (!gl) 5555*35238bceSAndroid Build Coastguard Worker return; 5556*35238bceSAndroid Build Coastguard Worker gl->texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); 5557*35238bceSAndroid Build Coastguard Worker} 5558*35238bceSAndroid Build Coastguard Worker 5559*35238bceSAndroid Build Coastguard Workervoid glwTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels) 5560*35238bceSAndroid Build Coastguard Worker{ 5561*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5562*35238bceSAndroid Build Coastguard Worker if (!gl) 5563*35238bceSAndroid Build Coastguard Worker return; 5564*35238bceSAndroid Build Coastguard Worker gl->texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 5565*35238bceSAndroid Build Coastguard Worker} 5566*35238bceSAndroid Build Coastguard Worker 5567*35238bceSAndroid Build Coastguard Workervoid glwTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels) 5568*35238bceSAndroid Build Coastguard Worker{ 5569*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5570*35238bceSAndroid Build Coastguard Worker if (!gl) 5571*35238bceSAndroid Build Coastguard Worker return; 5572*35238bceSAndroid Build Coastguard Worker gl->texSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 5573*35238bceSAndroid Build Coastguard Worker} 5574*35238bceSAndroid Build Coastguard Worker 5575*35238bceSAndroid Build Coastguard Workervoid glwTextureBarrier (void) 5576*35238bceSAndroid Build Coastguard Worker{ 5577*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5578*35238bceSAndroid Build Coastguard Worker if (!gl) 5579*35238bceSAndroid Build Coastguard Worker return; 5580*35238bceSAndroid Build Coastguard Worker gl->textureBarrier(); 5581*35238bceSAndroid Build Coastguard Worker} 5582*35238bceSAndroid Build Coastguard Worker 5583*35238bceSAndroid Build Coastguard Workervoid glwTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer) 5584*35238bceSAndroid Build Coastguard Worker{ 5585*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5586*35238bceSAndroid Build Coastguard Worker if (!gl) 5587*35238bceSAndroid Build Coastguard Worker return; 5588*35238bceSAndroid Build Coastguard Worker gl->textureBuffer(texture, internalformat, buffer); 5589*35238bceSAndroid Build Coastguard Worker} 5590*35238bceSAndroid Build Coastguard Worker 5591*35238bceSAndroid Build Coastguard Workervoid glwTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer) 5592*35238bceSAndroid Build Coastguard Worker{ 5593*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5594*35238bceSAndroid Build Coastguard Worker if (!gl) 5595*35238bceSAndroid Build Coastguard Worker return; 5596*35238bceSAndroid Build Coastguard Worker gl->textureBufferEXT(texture, target, internalformat, buffer); 5597*35238bceSAndroid Build Coastguard Worker} 5598*35238bceSAndroid Build Coastguard Worker 5599*35238bceSAndroid Build Coastguard Workervoid glwTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) 5600*35238bceSAndroid Build Coastguard Worker{ 5601*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5602*35238bceSAndroid Build Coastguard Worker if (!gl) 5603*35238bceSAndroid Build Coastguard Worker return; 5604*35238bceSAndroid Build Coastguard Worker gl->textureBufferRange(texture, internalformat, buffer, offset, size); 5605*35238bceSAndroid Build Coastguard Worker} 5606*35238bceSAndroid Build Coastguard Worker 5607*35238bceSAndroid Build Coastguard Workervoid glwTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) 5608*35238bceSAndroid Build Coastguard Worker{ 5609*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5610*35238bceSAndroid Build Coastguard Worker if (!gl) 5611*35238bceSAndroid Build Coastguard Worker return; 5612*35238bceSAndroid Build Coastguard Worker gl->textureBufferRangeEXT(texture, target, internalformat, buffer, offset, size); 5613*35238bceSAndroid Build Coastguard Worker} 5614*35238bceSAndroid Build Coastguard Worker 5615*35238bceSAndroid Build Coastguard Workervoid glwTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels) 5616*35238bceSAndroid Build Coastguard Worker{ 5617*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5618*35238bceSAndroid Build Coastguard Worker if (!gl) 5619*35238bceSAndroid Build Coastguard Worker return; 5620*35238bceSAndroid Build Coastguard Worker gl->textureImage1DEXT(texture, target, level, internalformat, width, border, format, type, pixels); 5621*35238bceSAndroid Build Coastguard Worker} 5622*35238bceSAndroid Build Coastguard Worker 5623*35238bceSAndroid Build Coastguard Workervoid glwTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) 5624*35238bceSAndroid Build Coastguard Worker{ 5625*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5626*35238bceSAndroid Build Coastguard Worker if (!gl) 5627*35238bceSAndroid Build Coastguard Worker return; 5628*35238bceSAndroid Build Coastguard Worker gl->textureImage2DEXT(texture, target, level, internalformat, width, height, border, format, type, pixels); 5629*35238bceSAndroid Build Coastguard Worker} 5630*35238bceSAndroid Build Coastguard Worker 5631*35238bceSAndroid Build Coastguard Workervoid glwTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels) 5632*35238bceSAndroid Build Coastguard Worker{ 5633*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5634*35238bceSAndroid Build Coastguard Worker if (!gl) 5635*35238bceSAndroid Build Coastguard Worker return; 5636*35238bceSAndroid Build Coastguard Worker gl->textureImage3DEXT(texture, target, level, internalformat, width, height, depth, border, format, type, pixels); 5637*35238bceSAndroid Build Coastguard Worker} 5638*35238bceSAndroid Build Coastguard Worker 5639*35238bceSAndroid Build Coastguard Workervoid glwTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) 5640*35238bceSAndroid Build Coastguard Worker{ 5641*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5642*35238bceSAndroid Build Coastguard Worker if (!gl) 5643*35238bceSAndroid Build Coastguard Worker return; 5644*35238bceSAndroid Build Coastguard Worker gl->texturePageCommitmentEXT(texture, level, xoffset, yoffset, zoffset, width, height, depth, commit); 5645*35238bceSAndroid Build Coastguard Worker} 5646*35238bceSAndroid Build Coastguard Worker 5647*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params) 5648*35238bceSAndroid Build Coastguard Worker{ 5649*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5650*35238bceSAndroid Build Coastguard Worker if (!gl) 5651*35238bceSAndroid Build Coastguard Worker return; 5652*35238bceSAndroid Build Coastguard Worker gl->textureParameterIiv(texture, pname, params); 5653*35238bceSAndroid Build Coastguard Worker} 5654*35238bceSAndroid Build Coastguard Worker 5655*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params) 5656*35238bceSAndroid Build Coastguard Worker{ 5657*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5658*35238bceSAndroid Build Coastguard Worker if (!gl) 5659*35238bceSAndroid Build Coastguard Worker return; 5660*35238bceSAndroid Build Coastguard Worker gl->textureParameterIivEXT(texture, target, pname, params); 5661*35238bceSAndroid Build Coastguard Worker} 5662*35238bceSAndroid Build Coastguard Worker 5663*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params) 5664*35238bceSAndroid Build Coastguard Worker{ 5665*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5666*35238bceSAndroid Build Coastguard Worker if (!gl) 5667*35238bceSAndroid Build Coastguard Worker return; 5668*35238bceSAndroid Build Coastguard Worker gl->textureParameterIuiv(texture, pname, params); 5669*35238bceSAndroid Build Coastguard Worker} 5670*35238bceSAndroid Build Coastguard Worker 5671*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params) 5672*35238bceSAndroid Build Coastguard Worker{ 5673*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5674*35238bceSAndroid Build Coastguard Worker if (!gl) 5675*35238bceSAndroid Build Coastguard Worker return; 5676*35238bceSAndroid Build Coastguard Worker gl->textureParameterIuivEXT(texture, target, pname, params); 5677*35238bceSAndroid Build Coastguard Worker} 5678*35238bceSAndroid Build Coastguard Worker 5679*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterf (GLuint texture, GLenum pname, GLfloat param) 5680*35238bceSAndroid Build Coastguard Worker{ 5681*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5682*35238bceSAndroid Build Coastguard Worker if (!gl) 5683*35238bceSAndroid Build Coastguard Worker return; 5684*35238bceSAndroid Build Coastguard Worker gl->textureParameterf(texture, pname, param); 5685*35238bceSAndroid Build Coastguard Worker} 5686*35238bceSAndroid Build Coastguard Worker 5687*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param) 5688*35238bceSAndroid Build Coastguard Worker{ 5689*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5690*35238bceSAndroid Build Coastguard Worker if (!gl) 5691*35238bceSAndroid Build Coastguard Worker return; 5692*35238bceSAndroid Build Coastguard Worker gl->textureParameterfEXT(texture, target, pname, param); 5693*35238bceSAndroid Build Coastguard Worker} 5694*35238bceSAndroid Build Coastguard Worker 5695*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param) 5696*35238bceSAndroid Build Coastguard Worker{ 5697*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5698*35238bceSAndroid Build Coastguard Worker if (!gl) 5699*35238bceSAndroid Build Coastguard Worker return; 5700*35238bceSAndroid Build Coastguard Worker gl->textureParameterfv(texture, pname, param); 5701*35238bceSAndroid Build Coastguard Worker} 5702*35238bceSAndroid Build Coastguard Worker 5703*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params) 5704*35238bceSAndroid Build Coastguard Worker{ 5705*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5706*35238bceSAndroid Build Coastguard Worker if (!gl) 5707*35238bceSAndroid Build Coastguard Worker return; 5708*35238bceSAndroid Build Coastguard Worker gl->textureParameterfvEXT(texture, target, pname, params); 5709*35238bceSAndroid Build Coastguard Worker} 5710*35238bceSAndroid Build Coastguard Worker 5711*35238bceSAndroid Build Coastguard Workervoid glwTextureParameteri (GLuint texture, GLenum pname, GLint param) 5712*35238bceSAndroid Build Coastguard Worker{ 5713*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5714*35238bceSAndroid Build Coastguard Worker if (!gl) 5715*35238bceSAndroid Build Coastguard Worker return; 5716*35238bceSAndroid Build Coastguard Worker gl->textureParameteri(texture, pname, param); 5717*35238bceSAndroid Build Coastguard Worker} 5718*35238bceSAndroid Build Coastguard Worker 5719*35238bceSAndroid Build Coastguard Workervoid glwTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param) 5720*35238bceSAndroid Build Coastguard Worker{ 5721*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5722*35238bceSAndroid Build Coastguard Worker if (!gl) 5723*35238bceSAndroid Build Coastguard Worker return; 5724*35238bceSAndroid Build Coastguard Worker gl->textureParameteriEXT(texture, target, pname, param); 5725*35238bceSAndroid Build Coastguard Worker} 5726*35238bceSAndroid Build Coastguard Worker 5727*35238bceSAndroid Build Coastguard Workervoid glwTextureParameteriv (GLuint texture, GLenum pname, const GLint *param) 5728*35238bceSAndroid Build Coastguard Worker{ 5729*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5730*35238bceSAndroid Build Coastguard Worker if (!gl) 5731*35238bceSAndroid Build Coastguard Worker return; 5732*35238bceSAndroid Build Coastguard Worker gl->textureParameteriv(texture, pname, param); 5733*35238bceSAndroid Build Coastguard Worker} 5734*35238bceSAndroid Build Coastguard Worker 5735*35238bceSAndroid Build Coastguard Workervoid glwTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params) 5736*35238bceSAndroid Build Coastguard Worker{ 5737*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5738*35238bceSAndroid Build Coastguard Worker if (!gl) 5739*35238bceSAndroid Build Coastguard Worker return; 5740*35238bceSAndroid Build Coastguard Worker gl->textureParameterivEXT(texture, target, pname, params); 5741*35238bceSAndroid Build Coastguard Worker} 5742*35238bceSAndroid Build Coastguard Worker 5743*35238bceSAndroid Build Coastguard Workervoid glwTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer) 5744*35238bceSAndroid Build Coastguard Worker{ 5745*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5746*35238bceSAndroid Build Coastguard Worker if (!gl) 5747*35238bceSAndroid Build Coastguard Worker return; 5748*35238bceSAndroid Build Coastguard Worker gl->textureRenderbufferEXT(texture, target, renderbuffer); 5749*35238bceSAndroid Build Coastguard Worker} 5750*35238bceSAndroid Build Coastguard Worker 5751*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width) 5752*35238bceSAndroid Build Coastguard Worker{ 5753*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5754*35238bceSAndroid Build Coastguard Worker if (!gl) 5755*35238bceSAndroid Build Coastguard Worker return; 5756*35238bceSAndroid Build Coastguard Worker gl->textureStorage1D(texture, levels, internalformat, width); 5757*35238bceSAndroid Build Coastguard Worker} 5758*35238bceSAndroid Build Coastguard Worker 5759*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) 5760*35238bceSAndroid Build Coastguard Worker{ 5761*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5762*35238bceSAndroid Build Coastguard Worker if (!gl) 5763*35238bceSAndroid Build Coastguard Worker return; 5764*35238bceSAndroid Build Coastguard Worker gl->textureStorage1DEXT(texture, target, levels, internalformat, width); 5765*35238bceSAndroid Build Coastguard Worker} 5766*35238bceSAndroid Build Coastguard Worker 5767*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) 5768*35238bceSAndroid Build Coastguard Worker{ 5769*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5770*35238bceSAndroid Build Coastguard Worker if (!gl) 5771*35238bceSAndroid Build Coastguard Worker return; 5772*35238bceSAndroid Build Coastguard Worker gl->textureStorage2D(texture, levels, internalformat, width, height); 5773*35238bceSAndroid Build Coastguard Worker} 5774*35238bceSAndroid Build Coastguard Worker 5775*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) 5776*35238bceSAndroid Build Coastguard Worker{ 5777*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5778*35238bceSAndroid Build Coastguard Worker if (!gl) 5779*35238bceSAndroid Build Coastguard Worker return; 5780*35238bceSAndroid Build Coastguard Worker gl->textureStorage2DEXT(texture, target, levels, internalformat, width, height); 5781*35238bceSAndroid Build Coastguard Worker} 5782*35238bceSAndroid Build Coastguard Worker 5783*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) 5784*35238bceSAndroid Build Coastguard Worker{ 5785*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5786*35238bceSAndroid Build Coastguard Worker if (!gl) 5787*35238bceSAndroid Build Coastguard Worker return; 5788*35238bceSAndroid Build Coastguard Worker gl->textureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations); 5789*35238bceSAndroid Build Coastguard Worker} 5790*35238bceSAndroid Build Coastguard Worker 5791*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) 5792*35238bceSAndroid Build Coastguard Worker{ 5793*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5794*35238bceSAndroid Build Coastguard Worker if (!gl) 5795*35238bceSAndroid Build Coastguard Worker return; 5796*35238bceSAndroid Build Coastguard Worker gl->textureStorage2DMultisampleEXT(texture, target, samples, internalformat, width, height, fixedsamplelocations); 5797*35238bceSAndroid Build Coastguard Worker} 5798*35238bceSAndroid Build Coastguard Worker 5799*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) 5800*35238bceSAndroid Build Coastguard Worker{ 5801*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5802*35238bceSAndroid Build Coastguard Worker if (!gl) 5803*35238bceSAndroid Build Coastguard Worker return; 5804*35238bceSAndroid Build Coastguard Worker gl->textureStorage3D(texture, levels, internalformat, width, height, depth); 5805*35238bceSAndroid Build Coastguard Worker} 5806*35238bceSAndroid Build Coastguard Worker 5807*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) 5808*35238bceSAndroid Build Coastguard Worker{ 5809*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5810*35238bceSAndroid Build Coastguard Worker if (!gl) 5811*35238bceSAndroid Build Coastguard Worker return; 5812*35238bceSAndroid Build Coastguard Worker gl->textureStorage3DEXT(texture, target, levels, internalformat, width, height, depth); 5813*35238bceSAndroid Build Coastguard Worker} 5814*35238bceSAndroid Build Coastguard Worker 5815*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) 5816*35238bceSAndroid Build Coastguard Worker{ 5817*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5818*35238bceSAndroid Build Coastguard Worker if (!gl) 5819*35238bceSAndroid Build Coastguard Worker return; 5820*35238bceSAndroid Build Coastguard Worker gl->textureStorage3DMultisample(texture, samples, internalformat, width, height, depth, fixedsamplelocations); 5821*35238bceSAndroid Build Coastguard Worker} 5822*35238bceSAndroid Build Coastguard Worker 5823*35238bceSAndroid Build Coastguard Workervoid glwTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) 5824*35238bceSAndroid Build Coastguard Worker{ 5825*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5826*35238bceSAndroid Build Coastguard Worker if (!gl) 5827*35238bceSAndroid Build Coastguard Worker return; 5828*35238bceSAndroid Build Coastguard Worker gl->textureStorage3DMultisampleEXT(texture, target, samples, internalformat, width, height, depth, fixedsamplelocations); 5829*35238bceSAndroid Build Coastguard Worker} 5830*35238bceSAndroid Build Coastguard Worker 5831*35238bceSAndroid Build Coastguard Workervoid glwTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels) 5832*35238bceSAndroid Build Coastguard Worker{ 5833*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5834*35238bceSAndroid Build Coastguard Worker if (!gl) 5835*35238bceSAndroid Build Coastguard Worker return; 5836*35238bceSAndroid Build Coastguard Worker gl->textureSubImage1D(texture, level, xoffset, width, format, type, pixels); 5837*35238bceSAndroid Build Coastguard Worker} 5838*35238bceSAndroid Build Coastguard Worker 5839*35238bceSAndroid Build Coastguard Workervoid glwTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels) 5840*35238bceSAndroid Build Coastguard Worker{ 5841*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5842*35238bceSAndroid Build Coastguard Worker if (!gl) 5843*35238bceSAndroid Build Coastguard Worker return; 5844*35238bceSAndroid Build Coastguard Worker gl->textureSubImage1DEXT(texture, target, level, xoffset, width, format, type, pixels); 5845*35238bceSAndroid Build Coastguard Worker} 5846*35238bceSAndroid Build Coastguard Worker 5847*35238bceSAndroid Build Coastguard Workervoid glwTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels) 5848*35238bceSAndroid Build Coastguard Worker{ 5849*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5850*35238bceSAndroid Build Coastguard Worker if (!gl) 5851*35238bceSAndroid Build Coastguard Worker return; 5852*35238bceSAndroid Build Coastguard Worker gl->textureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels); 5853*35238bceSAndroid Build Coastguard Worker} 5854*35238bceSAndroid Build Coastguard Worker 5855*35238bceSAndroid Build Coastguard Workervoid glwTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels) 5856*35238bceSAndroid Build Coastguard Worker{ 5857*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5858*35238bceSAndroid Build Coastguard Worker if (!gl) 5859*35238bceSAndroid Build Coastguard Worker return; 5860*35238bceSAndroid Build Coastguard Worker gl->textureSubImage2DEXT(texture, target, level, xoffset, yoffset, width, height, format, type, pixels); 5861*35238bceSAndroid Build Coastguard Worker} 5862*35238bceSAndroid Build Coastguard Worker 5863*35238bceSAndroid Build Coastguard Workervoid glwTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels) 5864*35238bceSAndroid Build Coastguard Worker{ 5865*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5866*35238bceSAndroid Build Coastguard Worker if (!gl) 5867*35238bceSAndroid Build Coastguard Worker return; 5868*35238bceSAndroid Build Coastguard Worker gl->textureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 5869*35238bceSAndroid Build Coastguard Worker} 5870*35238bceSAndroid Build Coastguard Worker 5871*35238bceSAndroid Build Coastguard Workervoid glwTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels) 5872*35238bceSAndroid Build Coastguard Worker{ 5873*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5874*35238bceSAndroid Build Coastguard Worker if (!gl) 5875*35238bceSAndroid Build Coastguard Worker return; 5876*35238bceSAndroid Build Coastguard Worker gl->textureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 5877*35238bceSAndroid Build Coastguard Worker} 5878*35238bceSAndroid Build Coastguard Worker 5879*35238bceSAndroid Build Coastguard Workervoid glwTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) 5880*35238bceSAndroid Build Coastguard Worker{ 5881*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5882*35238bceSAndroid Build Coastguard Worker if (!gl) 5883*35238bceSAndroid Build Coastguard Worker return; 5884*35238bceSAndroid Build Coastguard Worker gl->textureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); 5885*35238bceSAndroid Build Coastguard Worker} 5886*35238bceSAndroid Build Coastguard Worker 5887*35238bceSAndroid Build Coastguard Workervoid glwTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer) 5888*35238bceSAndroid Build Coastguard Worker{ 5889*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5890*35238bceSAndroid Build Coastguard Worker if (!gl) 5891*35238bceSAndroid Build Coastguard Worker return; 5892*35238bceSAndroid Build Coastguard Worker gl->transformFeedbackBufferBase(xfb, index, buffer); 5893*35238bceSAndroid Build Coastguard Worker} 5894*35238bceSAndroid Build Coastguard Worker 5895*35238bceSAndroid Build Coastguard Workervoid glwTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) 5896*35238bceSAndroid Build Coastguard Worker{ 5897*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5898*35238bceSAndroid Build Coastguard Worker if (!gl) 5899*35238bceSAndroid Build Coastguard Worker return; 5900*35238bceSAndroid Build Coastguard Worker gl->transformFeedbackBufferRange(xfb, index, buffer, offset, size); 5901*35238bceSAndroid Build Coastguard Worker} 5902*35238bceSAndroid Build Coastguard Worker 5903*35238bceSAndroid Build Coastguard Workervoid glwTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode) 5904*35238bceSAndroid Build Coastguard Worker{ 5905*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5906*35238bceSAndroid Build Coastguard Worker if (!gl) 5907*35238bceSAndroid Build Coastguard Worker return; 5908*35238bceSAndroid Build Coastguard Worker gl->transformFeedbackVaryings(program, count, varyings, bufferMode); 5909*35238bceSAndroid Build Coastguard Worker} 5910*35238bceSAndroid Build Coastguard Worker 5911*35238bceSAndroid Build Coastguard Workervoid glwUniform1d (GLint location, GLdouble x) 5912*35238bceSAndroid Build Coastguard Worker{ 5913*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5914*35238bceSAndroid Build Coastguard Worker if (!gl) 5915*35238bceSAndroid Build Coastguard Worker return; 5916*35238bceSAndroid Build Coastguard Worker gl->uniform1d(location, x); 5917*35238bceSAndroid Build Coastguard Worker} 5918*35238bceSAndroid Build Coastguard Worker 5919*35238bceSAndroid Build Coastguard Workervoid glwUniform1dv (GLint location, GLsizei count, const GLdouble *value) 5920*35238bceSAndroid Build Coastguard Worker{ 5921*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5922*35238bceSAndroid Build Coastguard Worker if (!gl) 5923*35238bceSAndroid Build Coastguard Worker return; 5924*35238bceSAndroid Build Coastguard Worker gl->uniform1dv(location, count, value); 5925*35238bceSAndroid Build Coastguard Worker} 5926*35238bceSAndroid Build Coastguard Worker 5927*35238bceSAndroid Build Coastguard Workervoid glwUniform1f (GLint location, GLfloat v0) 5928*35238bceSAndroid Build Coastguard Worker{ 5929*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5930*35238bceSAndroid Build Coastguard Worker if (!gl) 5931*35238bceSAndroid Build Coastguard Worker return; 5932*35238bceSAndroid Build Coastguard Worker gl->uniform1f(location, v0); 5933*35238bceSAndroid Build Coastguard Worker} 5934*35238bceSAndroid Build Coastguard Worker 5935*35238bceSAndroid Build Coastguard Workervoid glwUniform1fv (GLint location, GLsizei count, const GLfloat *value) 5936*35238bceSAndroid Build Coastguard Worker{ 5937*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5938*35238bceSAndroid Build Coastguard Worker if (!gl) 5939*35238bceSAndroid Build Coastguard Worker return; 5940*35238bceSAndroid Build Coastguard Worker gl->uniform1fv(location, count, value); 5941*35238bceSAndroid Build Coastguard Worker} 5942*35238bceSAndroid Build Coastguard Worker 5943*35238bceSAndroid Build Coastguard Workervoid glwUniform1i (GLint location, GLint v0) 5944*35238bceSAndroid Build Coastguard Worker{ 5945*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5946*35238bceSAndroid Build Coastguard Worker if (!gl) 5947*35238bceSAndroid Build Coastguard Worker return; 5948*35238bceSAndroid Build Coastguard Worker gl->uniform1i(location, v0); 5949*35238bceSAndroid Build Coastguard Worker} 5950*35238bceSAndroid Build Coastguard Worker 5951*35238bceSAndroid Build Coastguard Workervoid glwUniform1iv (GLint location, GLsizei count, const GLint *value) 5952*35238bceSAndroid Build Coastguard Worker{ 5953*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5954*35238bceSAndroid Build Coastguard Worker if (!gl) 5955*35238bceSAndroid Build Coastguard Worker return; 5956*35238bceSAndroid Build Coastguard Worker gl->uniform1iv(location, count, value); 5957*35238bceSAndroid Build Coastguard Worker} 5958*35238bceSAndroid Build Coastguard Worker 5959*35238bceSAndroid Build Coastguard Workervoid glwUniform1ui (GLint location, GLuint v0) 5960*35238bceSAndroid Build Coastguard Worker{ 5961*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5962*35238bceSAndroid Build Coastguard Worker if (!gl) 5963*35238bceSAndroid Build Coastguard Worker return; 5964*35238bceSAndroid Build Coastguard Worker gl->uniform1ui(location, v0); 5965*35238bceSAndroid Build Coastguard Worker} 5966*35238bceSAndroid Build Coastguard Worker 5967*35238bceSAndroid Build Coastguard Workervoid glwUniform1uiv (GLint location, GLsizei count, const GLuint *value) 5968*35238bceSAndroid Build Coastguard Worker{ 5969*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5970*35238bceSAndroid Build Coastguard Worker if (!gl) 5971*35238bceSAndroid Build Coastguard Worker return; 5972*35238bceSAndroid Build Coastguard Worker gl->uniform1uiv(location, count, value); 5973*35238bceSAndroid Build Coastguard Worker} 5974*35238bceSAndroid Build Coastguard Worker 5975*35238bceSAndroid Build Coastguard Workervoid glwUniform2d (GLint location, GLdouble x, GLdouble y) 5976*35238bceSAndroid Build Coastguard Worker{ 5977*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5978*35238bceSAndroid Build Coastguard Worker if (!gl) 5979*35238bceSAndroid Build Coastguard Worker return; 5980*35238bceSAndroid Build Coastguard Worker gl->uniform2d(location, x, y); 5981*35238bceSAndroid Build Coastguard Worker} 5982*35238bceSAndroid Build Coastguard Worker 5983*35238bceSAndroid Build Coastguard Workervoid glwUniform2dv (GLint location, GLsizei count, const GLdouble *value) 5984*35238bceSAndroid Build Coastguard Worker{ 5985*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5986*35238bceSAndroid Build Coastguard Worker if (!gl) 5987*35238bceSAndroid Build Coastguard Worker return; 5988*35238bceSAndroid Build Coastguard Worker gl->uniform2dv(location, count, value); 5989*35238bceSAndroid Build Coastguard Worker} 5990*35238bceSAndroid Build Coastguard Worker 5991*35238bceSAndroid Build Coastguard Workervoid glwUniform2f (GLint location, GLfloat v0, GLfloat v1) 5992*35238bceSAndroid Build Coastguard Worker{ 5993*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 5994*35238bceSAndroid Build Coastguard Worker if (!gl) 5995*35238bceSAndroid Build Coastguard Worker return; 5996*35238bceSAndroid Build Coastguard Worker gl->uniform2f(location, v0, v1); 5997*35238bceSAndroid Build Coastguard Worker} 5998*35238bceSAndroid Build Coastguard Worker 5999*35238bceSAndroid Build Coastguard Workervoid glwUniform2fv (GLint location, GLsizei count, const GLfloat *value) 6000*35238bceSAndroid Build Coastguard Worker{ 6001*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6002*35238bceSAndroid Build Coastguard Worker if (!gl) 6003*35238bceSAndroid Build Coastguard Worker return; 6004*35238bceSAndroid Build Coastguard Worker gl->uniform2fv(location, count, value); 6005*35238bceSAndroid Build Coastguard Worker} 6006*35238bceSAndroid Build Coastguard Worker 6007*35238bceSAndroid Build Coastguard Workervoid glwUniform2i (GLint location, GLint v0, GLint v1) 6008*35238bceSAndroid Build Coastguard Worker{ 6009*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6010*35238bceSAndroid Build Coastguard Worker if (!gl) 6011*35238bceSAndroid Build Coastguard Worker return; 6012*35238bceSAndroid Build Coastguard Worker gl->uniform2i(location, v0, v1); 6013*35238bceSAndroid Build Coastguard Worker} 6014*35238bceSAndroid Build Coastguard Worker 6015*35238bceSAndroid Build Coastguard Workervoid glwUniform2iv (GLint location, GLsizei count, const GLint *value) 6016*35238bceSAndroid Build Coastguard Worker{ 6017*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6018*35238bceSAndroid Build Coastguard Worker if (!gl) 6019*35238bceSAndroid Build Coastguard Worker return; 6020*35238bceSAndroid Build Coastguard Worker gl->uniform2iv(location, count, value); 6021*35238bceSAndroid Build Coastguard Worker} 6022*35238bceSAndroid Build Coastguard Worker 6023*35238bceSAndroid Build Coastguard Workervoid glwUniform2ui (GLint location, GLuint v0, GLuint v1) 6024*35238bceSAndroid Build Coastguard Worker{ 6025*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6026*35238bceSAndroid Build Coastguard Worker if (!gl) 6027*35238bceSAndroid Build Coastguard Worker return; 6028*35238bceSAndroid Build Coastguard Worker gl->uniform2ui(location, v0, v1); 6029*35238bceSAndroid Build Coastguard Worker} 6030*35238bceSAndroid Build Coastguard Worker 6031*35238bceSAndroid Build Coastguard Workervoid glwUniform2uiv (GLint location, GLsizei count, const GLuint *value) 6032*35238bceSAndroid Build Coastguard Worker{ 6033*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6034*35238bceSAndroid Build Coastguard Worker if (!gl) 6035*35238bceSAndroid Build Coastguard Worker return; 6036*35238bceSAndroid Build Coastguard Worker gl->uniform2uiv(location, count, value); 6037*35238bceSAndroid Build Coastguard Worker} 6038*35238bceSAndroid Build Coastguard Worker 6039*35238bceSAndroid Build Coastguard Workervoid glwUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z) 6040*35238bceSAndroid Build Coastguard Worker{ 6041*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6042*35238bceSAndroid Build Coastguard Worker if (!gl) 6043*35238bceSAndroid Build Coastguard Worker return; 6044*35238bceSAndroid Build Coastguard Worker gl->uniform3d(location, x, y, z); 6045*35238bceSAndroid Build Coastguard Worker} 6046*35238bceSAndroid Build Coastguard Worker 6047*35238bceSAndroid Build Coastguard Workervoid glwUniform3dv (GLint location, GLsizei count, const GLdouble *value) 6048*35238bceSAndroid Build Coastguard Worker{ 6049*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6050*35238bceSAndroid Build Coastguard Worker if (!gl) 6051*35238bceSAndroid Build Coastguard Worker return; 6052*35238bceSAndroid Build Coastguard Worker gl->uniform3dv(location, count, value); 6053*35238bceSAndroid Build Coastguard Worker} 6054*35238bceSAndroid Build Coastguard Worker 6055*35238bceSAndroid Build Coastguard Workervoid glwUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) 6056*35238bceSAndroid Build Coastguard Worker{ 6057*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6058*35238bceSAndroid Build Coastguard Worker if (!gl) 6059*35238bceSAndroid Build Coastguard Worker return; 6060*35238bceSAndroid Build Coastguard Worker gl->uniform3f(location, v0, v1, v2); 6061*35238bceSAndroid Build Coastguard Worker} 6062*35238bceSAndroid Build Coastguard Worker 6063*35238bceSAndroid Build Coastguard Workervoid glwUniform3fv (GLint location, GLsizei count, const GLfloat *value) 6064*35238bceSAndroid Build Coastguard Worker{ 6065*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6066*35238bceSAndroid Build Coastguard Worker if (!gl) 6067*35238bceSAndroid Build Coastguard Worker return; 6068*35238bceSAndroid Build Coastguard Worker gl->uniform3fv(location, count, value); 6069*35238bceSAndroid Build Coastguard Worker} 6070*35238bceSAndroid Build Coastguard Worker 6071*35238bceSAndroid Build Coastguard Workervoid glwUniform3i (GLint location, GLint v0, GLint v1, GLint v2) 6072*35238bceSAndroid Build Coastguard Worker{ 6073*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6074*35238bceSAndroid Build Coastguard Worker if (!gl) 6075*35238bceSAndroid Build Coastguard Worker return; 6076*35238bceSAndroid Build Coastguard Worker gl->uniform3i(location, v0, v1, v2); 6077*35238bceSAndroid Build Coastguard Worker} 6078*35238bceSAndroid Build Coastguard Worker 6079*35238bceSAndroid Build Coastguard Workervoid glwUniform3iv (GLint location, GLsizei count, const GLint *value) 6080*35238bceSAndroid Build Coastguard Worker{ 6081*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6082*35238bceSAndroid Build Coastguard Worker if (!gl) 6083*35238bceSAndroid Build Coastguard Worker return; 6084*35238bceSAndroid Build Coastguard Worker gl->uniform3iv(location, count, value); 6085*35238bceSAndroid Build Coastguard Worker} 6086*35238bceSAndroid Build Coastguard Worker 6087*35238bceSAndroid Build Coastguard Workervoid glwUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2) 6088*35238bceSAndroid Build Coastguard Worker{ 6089*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6090*35238bceSAndroid Build Coastguard Worker if (!gl) 6091*35238bceSAndroid Build Coastguard Worker return; 6092*35238bceSAndroid Build Coastguard Worker gl->uniform3ui(location, v0, v1, v2); 6093*35238bceSAndroid Build Coastguard Worker} 6094*35238bceSAndroid Build Coastguard Worker 6095*35238bceSAndroid Build Coastguard Workervoid glwUniform3uiv (GLint location, GLsizei count, const GLuint *value) 6096*35238bceSAndroid Build Coastguard Worker{ 6097*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6098*35238bceSAndroid Build Coastguard Worker if (!gl) 6099*35238bceSAndroid Build Coastguard Worker return; 6100*35238bceSAndroid Build Coastguard Worker gl->uniform3uiv(location, count, value); 6101*35238bceSAndroid Build Coastguard Worker} 6102*35238bceSAndroid Build Coastguard Worker 6103*35238bceSAndroid Build Coastguard Workervoid glwUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 6104*35238bceSAndroid Build Coastguard Worker{ 6105*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6106*35238bceSAndroid Build Coastguard Worker if (!gl) 6107*35238bceSAndroid Build Coastguard Worker return; 6108*35238bceSAndroid Build Coastguard Worker gl->uniform4d(location, x, y, z, w); 6109*35238bceSAndroid Build Coastguard Worker} 6110*35238bceSAndroid Build Coastguard Worker 6111*35238bceSAndroid Build Coastguard Workervoid glwUniform4dv (GLint location, GLsizei count, const GLdouble *value) 6112*35238bceSAndroid Build Coastguard Worker{ 6113*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6114*35238bceSAndroid Build Coastguard Worker if (!gl) 6115*35238bceSAndroid Build Coastguard Worker return; 6116*35238bceSAndroid Build Coastguard Worker gl->uniform4dv(location, count, value); 6117*35238bceSAndroid Build Coastguard Worker} 6118*35238bceSAndroid Build Coastguard Worker 6119*35238bceSAndroid Build Coastguard Workervoid glwUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) 6120*35238bceSAndroid Build Coastguard Worker{ 6121*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6122*35238bceSAndroid Build Coastguard Worker if (!gl) 6123*35238bceSAndroid Build Coastguard Worker return; 6124*35238bceSAndroid Build Coastguard Worker gl->uniform4f(location, v0, v1, v2, v3); 6125*35238bceSAndroid Build Coastguard Worker} 6126*35238bceSAndroid Build Coastguard Worker 6127*35238bceSAndroid Build Coastguard Workervoid glwUniform4fv (GLint location, GLsizei count, const GLfloat *value) 6128*35238bceSAndroid Build Coastguard Worker{ 6129*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6130*35238bceSAndroid Build Coastguard Worker if (!gl) 6131*35238bceSAndroid Build Coastguard Worker return; 6132*35238bceSAndroid Build Coastguard Worker gl->uniform4fv(location, count, value); 6133*35238bceSAndroid Build Coastguard Worker} 6134*35238bceSAndroid Build Coastguard Worker 6135*35238bceSAndroid Build Coastguard Workervoid glwUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) 6136*35238bceSAndroid Build Coastguard Worker{ 6137*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6138*35238bceSAndroid Build Coastguard Worker if (!gl) 6139*35238bceSAndroid Build Coastguard Worker return; 6140*35238bceSAndroid Build Coastguard Worker gl->uniform4i(location, v0, v1, v2, v3); 6141*35238bceSAndroid Build Coastguard Worker} 6142*35238bceSAndroid Build Coastguard Worker 6143*35238bceSAndroid Build Coastguard Workervoid glwUniform4iv (GLint location, GLsizei count, const GLint *value) 6144*35238bceSAndroid Build Coastguard Worker{ 6145*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6146*35238bceSAndroid Build Coastguard Worker if (!gl) 6147*35238bceSAndroid Build Coastguard Worker return; 6148*35238bceSAndroid Build Coastguard Worker gl->uniform4iv(location, count, value); 6149*35238bceSAndroid Build Coastguard Worker} 6150*35238bceSAndroid Build Coastguard Worker 6151*35238bceSAndroid Build Coastguard Workervoid glwUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) 6152*35238bceSAndroid Build Coastguard Worker{ 6153*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6154*35238bceSAndroid Build Coastguard Worker if (!gl) 6155*35238bceSAndroid Build Coastguard Worker return; 6156*35238bceSAndroid Build Coastguard Worker gl->uniform4ui(location, v0, v1, v2, v3); 6157*35238bceSAndroid Build Coastguard Worker} 6158*35238bceSAndroid Build Coastguard Worker 6159*35238bceSAndroid Build Coastguard Workervoid glwUniform4uiv (GLint location, GLsizei count, const GLuint *value) 6160*35238bceSAndroid Build Coastguard Worker{ 6161*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6162*35238bceSAndroid Build Coastguard Worker if (!gl) 6163*35238bceSAndroid Build Coastguard Worker return; 6164*35238bceSAndroid Build Coastguard Worker gl->uniform4uiv(location, count, value); 6165*35238bceSAndroid Build Coastguard Worker} 6166*35238bceSAndroid Build Coastguard Worker 6167*35238bceSAndroid Build Coastguard Workervoid glwUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) 6168*35238bceSAndroid Build Coastguard Worker{ 6169*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6170*35238bceSAndroid Build Coastguard Worker if (!gl) 6171*35238bceSAndroid Build Coastguard Worker return; 6172*35238bceSAndroid Build Coastguard Worker gl->uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); 6173*35238bceSAndroid Build Coastguard Worker} 6174*35238bceSAndroid Build Coastguard Worker 6175*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6176*35238bceSAndroid Build Coastguard Worker{ 6177*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6178*35238bceSAndroid Build Coastguard Worker if (!gl) 6179*35238bceSAndroid Build Coastguard Worker return; 6180*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix2dv(location, count, transpose, value); 6181*35238bceSAndroid Build Coastguard Worker} 6182*35238bceSAndroid Build Coastguard Worker 6183*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6184*35238bceSAndroid Build Coastguard Worker{ 6185*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6186*35238bceSAndroid Build Coastguard Worker if (!gl) 6187*35238bceSAndroid Build Coastguard Worker return; 6188*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix2fv(location, count, transpose, value); 6189*35238bceSAndroid Build Coastguard Worker} 6190*35238bceSAndroid Build Coastguard Worker 6191*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6192*35238bceSAndroid Build Coastguard Worker{ 6193*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6194*35238bceSAndroid Build Coastguard Worker if (!gl) 6195*35238bceSAndroid Build Coastguard Worker return; 6196*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix2x3dv(location, count, transpose, value); 6197*35238bceSAndroid Build Coastguard Worker} 6198*35238bceSAndroid Build Coastguard Worker 6199*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6200*35238bceSAndroid Build Coastguard Worker{ 6201*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6202*35238bceSAndroid Build Coastguard Worker if (!gl) 6203*35238bceSAndroid Build Coastguard Worker return; 6204*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix2x3fv(location, count, transpose, value); 6205*35238bceSAndroid Build Coastguard Worker} 6206*35238bceSAndroid Build Coastguard Worker 6207*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6208*35238bceSAndroid Build Coastguard Worker{ 6209*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6210*35238bceSAndroid Build Coastguard Worker if (!gl) 6211*35238bceSAndroid Build Coastguard Worker return; 6212*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix2x4dv(location, count, transpose, value); 6213*35238bceSAndroid Build Coastguard Worker} 6214*35238bceSAndroid Build Coastguard Worker 6215*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6216*35238bceSAndroid Build Coastguard Worker{ 6217*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6218*35238bceSAndroid Build Coastguard Worker if (!gl) 6219*35238bceSAndroid Build Coastguard Worker return; 6220*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix2x4fv(location, count, transpose, value); 6221*35238bceSAndroid Build Coastguard Worker} 6222*35238bceSAndroid Build Coastguard Worker 6223*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6224*35238bceSAndroid Build Coastguard Worker{ 6225*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6226*35238bceSAndroid Build Coastguard Worker if (!gl) 6227*35238bceSAndroid Build Coastguard Worker return; 6228*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix3dv(location, count, transpose, value); 6229*35238bceSAndroid Build Coastguard Worker} 6230*35238bceSAndroid Build Coastguard Worker 6231*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6232*35238bceSAndroid Build Coastguard Worker{ 6233*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6234*35238bceSAndroid Build Coastguard Worker if (!gl) 6235*35238bceSAndroid Build Coastguard Worker return; 6236*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix3fv(location, count, transpose, value); 6237*35238bceSAndroid Build Coastguard Worker} 6238*35238bceSAndroid Build Coastguard Worker 6239*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6240*35238bceSAndroid Build Coastguard Worker{ 6241*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6242*35238bceSAndroid Build Coastguard Worker if (!gl) 6243*35238bceSAndroid Build Coastguard Worker return; 6244*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix3x2dv(location, count, transpose, value); 6245*35238bceSAndroid Build Coastguard Worker} 6246*35238bceSAndroid Build Coastguard Worker 6247*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6248*35238bceSAndroid Build Coastguard Worker{ 6249*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6250*35238bceSAndroid Build Coastguard Worker if (!gl) 6251*35238bceSAndroid Build Coastguard Worker return; 6252*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix3x2fv(location, count, transpose, value); 6253*35238bceSAndroid Build Coastguard Worker} 6254*35238bceSAndroid Build Coastguard Worker 6255*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6256*35238bceSAndroid Build Coastguard Worker{ 6257*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6258*35238bceSAndroid Build Coastguard Worker if (!gl) 6259*35238bceSAndroid Build Coastguard Worker return; 6260*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix3x4dv(location, count, transpose, value); 6261*35238bceSAndroid Build Coastguard Worker} 6262*35238bceSAndroid Build Coastguard Worker 6263*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6264*35238bceSAndroid Build Coastguard Worker{ 6265*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6266*35238bceSAndroid Build Coastguard Worker if (!gl) 6267*35238bceSAndroid Build Coastguard Worker return; 6268*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix3x4fv(location, count, transpose, value); 6269*35238bceSAndroid Build Coastguard Worker} 6270*35238bceSAndroid Build Coastguard Worker 6271*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6272*35238bceSAndroid Build Coastguard Worker{ 6273*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6274*35238bceSAndroid Build Coastguard Worker if (!gl) 6275*35238bceSAndroid Build Coastguard Worker return; 6276*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix4dv(location, count, transpose, value); 6277*35238bceSAndroid Build Coastguard Worker} 6278*35238bceSAndroid Build Coastguard Worker 6279*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6280*35238bceSAndroid Build Coastguard Worker{ 6281*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6282*35238bceSAndroid Build Coastguard Worker if (!gl) 6283*35238bceSAndroid Build Coastguard Worker return; 6284*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix4fv(location, count, transpose, value); 6285*35238bceSAndroid Build Coastguard Worker} 6286*35238bceSAndroid Build Coastguard Worker 6287*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6288*35238bceSAndroid Build Coastguard Worker{ 6289*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6290*35238bceSAndroid Build Coastguard Worker if (!gl) 6291*35238bceSAndroid Build Coastguard Worker return; 6292*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix4x2dv(location, count, transpose, value); 6293*35238bceSAndroid Build Coastguard Worker} 6294*35238bceSAndroid Build Coastguard Worker 6295*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6296*35238bceSAndroid Build Coastguard Worker{ 6297*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6298*35238bceSAndroid Build Coastguard Worker if (!gl) 6299*35238bceSAndroid Build Coastguard Worker return; 6300*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix4x2fv(location, count, transpose, value); 6301*35238bceSAndroid Build Coastguard Worker} 6302*35238bceSAndroid Build Coastguard Worker 6303*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) 6304*35238bceSAndroid Build Coastguard Worker{ 6305*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6306*35238bceSAndroid Build Coastguard Worker if (!gl) 6307*35238bceSAndroid Build Coastguard Worker return; 6308*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix4x3dv(location, count, transpose, value); 6309*35238bceSAndroid Build Coastguard Worker} 6310*35238bceSAndroid Build Coastguard Worker 6311*35238bceSAndroid Build Coastguard Workervoid glwUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) 6312*35238bceSAndroid Build Coastguard Worker{ 6313*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6314*35238bceSAndroid Build Coastguard Worker if (!gl) 6315*35238bceSAndroid Build Coastguard Worker return; 6316*35238bceSAndroid Build Coastguard Worker gl->uniformMatrix4x3fv(location, count, transpose, value); 6317*35238bceSAndroid Build Coastguard Worker} 6318*35238bceSAndroid Build Coastguard Worker 6319*35238bceSAndroid Build Coastguard Workervoid glwUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices) 6320*35238bceSAndroid Build Coastguard Worker{ 6321*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6322*35238bceSAndroid Build Coastguard Worker if (!gl) 6323*35238bceSAndroid Build Coastguard Worker return; 6324*35238bceSAndroid Build Coastguard Worker gl->uniformSubroutinesuiv(shadertype, count, indices); 6325*35238bceSAndroid Build Coastguard Worker} 6326*35238bceSAndroid Build Coastguard Worker 6327*35238bceSAndroid Build Coastguard WorkerGLboolean glwUnmapBuffer (GLenum target) 6328*35238bceSAndroid Build Coastguard Worker{ 6329*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6330*35238bceSAndroid Build Coastguard Worker if (!gl) 6331*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 6332*35238bceSAndroid Build Coastguard Worker return gl->unmapBuffer(target); 6333*35238bceSAndroid Build Coastguard Worker} 6334*35238bceSAndroid Build Coastguard Worker 6335*35238bceSAndroid Build Coastguard WorkerGLboolean glwUnmapNamedBuffer (GLuint buffer) 6336*35238bceSAndroid Build Coastguard Worker{ 6337*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6338*35238bceSAndroid Build Coastguard Worker if (!gl) 6339*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 6340*35238bceSAndroid Build Coastguard Worker return gl->unmapNamedBuffer(buffer); 6341*35238bceSAndroid Build Coastguard Worker} 6342*35238bceSAndroid Build Coastguard Worker 6343*35238bceSAndroid Build Coastguard WorkerGLboolean glwUnmapNamedBufferEXT (GLuint buffer) 6344*35238bceSAndroid Build Coastguard Worker{ 6345*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6346*35238bceSAndroid Build Coastguard Worker if (!gl) 6347*35238bceSAndroid Build Coastguard Worker return (GLboolean)0; 6348*35238bceSAndroid Build Coastguard Worker return gl->unmapNamedBufferEXT(buffer); 6349*35238bceSAndroid Build Coastguard Worker} 6350*35238bceSAndroid Build Coastguard Worker 6351*35238bceSAndroid Build Coastguard Workervoid glwUseProgram (GLuint program) 6352*35238bceSAndroid Build Coastguard Worker{ 6353*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6354*35238bceSAndroid Build Coastguard Worker if (!gl) 6355*35238bceSAndroid Build Coastguard Worker return; 6356*35238bceSAndroid Build Coastguard Worker gl->useProgram(program); 6357*35238bceSAndroid Build Coastguard Worker} 6358*35238bceSAndroid Build Coastguard Worker 6359*35238bceSAndroid Build Coastguard Workervoid glwUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program) 6360*35238bceSAndroid Build Coastguard Worker{ 6361*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6362*35238bceSAndroid Build Coastguard Worker if (!gl) 6363*35238bceSAndroid Build Coastguard Worker return; 6364*35238bceSAndroid Build Coastguard Worker gl->useProgramStages(pipeline, stages, program); 6365*35238bceSAndroid Build Coastguard Worker} 6366*35238bceSAndroid Build Coastguard Worker 6367*35238bceSAndroid Build Coastguard Workervoid glwValidateProgram (GLuint program) 6368*35238bceSAndroid Build Coastguard Worker{ 6369*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6370*35238bceSAndroid Build Coastguard Worker if (!gl) 6371*35238bceSAndroid Build Coastguard Worker return; 6372*35238bceSAndroid Build Coastguard Worker gl->validateProgram(program); 6373*35238bceSAndroid Build Coastguard Worker} 6374*35238bceSAndroid Build Coastguard Worker 6375*35238bceSAndroid Build Coastguard Workervoid glwValidateProgramPipeline (GLuint pipeline) 6376*35238bceSAndroid Build Coastguard Worker{ 6377*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6378*35238bceSAndroid Build Coastguard Worker if (!gl) 6379*35238bceSAndroid Build Coastguard Worker return; 6380*35238bceSAndroid Build Coastguard Worker gl->validateProgramPipeline(pipeline); 6381*35238bceSAndroid Build Coastguard Worker} 6382*35238bceSAndroid Build Coastguard Worker 6383*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex) 6384*35238bceSAndroid Build Coastguard Worker{ 6385*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6386*35238bceSAndroid Build Coastguard Worker if (!gl) 6387*35238bceSAndroid Build Coastguard Worker return; 6388*35238bceSAndroid Build Coastguard Worker gl->vertexArrayAttribBinding(vaobj, attribindex, bindingindex); 6389*35238bceSAndroid Build Coastguard Worker} 6390*35238bceSAndroid Build Coastguard Worker 6391*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) 6392*35238bceSAndroid Build Coastguard Worker{ 6393*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6394*35238bceSAndroid Build Coastguard Worker if (!gl) 6395*35238bceSAndroid Build Coastguard Worker return; 6396*35238bceSAndroid Build Coastguard Worker gl->vertexArrayAttribFormat(vaobj, attribindex, size, type, normalized, relativeoffset); 6397*35238bceSAndroid Build Coastguard Worker} 6398*35238bceSAndroid Build Coastguard Worker 6399*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) 6400*35238bceSAndroid Build Coastguard Worker{ 6401*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6402*35238bceSAndroid Build Coastguard Worker if (!gl) 6403*35238bceSAndroid Build Coastguard Worker return; 6404*35238bceSAndroid Build Coastguard Worker gl->vertexArrayAttribIFormat(vaobj, attribindex, size, type, relativeoffset); 6405*35238bceSAndroid Build Coastguard Worker} 6406*35238bceSAndroid Build Coastguard Worker 6407*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) 6408*35238bceSAndroid Build Coastguard Worker{ 6409*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6410*35238bceSAndroid Build Coastguard Worker if (!gl) 6411*35238bceSAndroid Build Coastguard Worker return; 6412*35238bceSAndroid Build Coastguard Worker gl->vertexArrayAttribLFormat(vaobj, attribindex, size, type, relativeoffset); 6413*35238bceSAndroid Build Coastguard Worker} 6414*35238bceSAndroid Build Coastguard Worker 6415*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) 6416*35238bceSAndroid Build Coastguard Worker{ 6417*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6418*35238bceSAndroid Build Coastguard Worker if (!gl) 6419*35238bceSAndroid Build Coastguard Worker return; 6420*35238bceSAndroid Build Coastguard Worker gl->vertexArrayBindVertexBufferEXT(vaobj, bindingindex, buffer, offset, stride); 6421*35238bceSAndroid Build Coastguard Worker} 6422*35238bceSAndroid Build Coastguard Worker 6423*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor) 6424*35238bceSAndroid Build Coastguard Worker{ 6425*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6426*35238bceSAndroid Build Coastguard Worker if (!gl) 6427*35238bceSAndroid Build Coastguard Worker return; 6428*35238bceSAndroid Build Coastguard Worker gl->vertexArrayBindingDivisor(vaobj, bindingindex, divisor); 6429*35238bceSAndroid Build Coastguard Worker} 6430*35238bceSAndroid Build Coastguard Worker 6431*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) 6432*35238bceSAndroid Build Coastguard Worker{ 6433*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6434*35238bceSAndroid Build Coastguard Worker if (!gl) 6435*35238bceSAndroid Build Coastguard Worker return; 6436*35238bceSAndroid Build Coastguard Worker gl->vertexArrayColorOffsetEXT(vaobj, buffer, size, type, stride, offset); 6437*35238bceSAndroid Build Coastguard Worker} 6438*35238bceSAndroid Build Coastguard Worker 6439*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset) 6440*35238bceSAndroid Build Coastguard Worker{ 6441*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6442*35238bceSAndroid Build Coastguard Worker if (!gl) 6443*35238bceSAndroid Build Coastguard Worker return; 6444*35238bceSAndroid Build Coastguard Worker gl->vertexArrayEdgeFlagOffsetEXT(vaobj, buffer, stride, offset); 6445*35238bceSAndroid Build Coastguard Worker} 6446*35238bceSAndroid Build Coastguard Worker 6447*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayElementBuffer (GLuint vaobj, GLuint buffer) 6448*35238bceSAndroid Build Coastguard Worker{ 6449*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6450*35238bceSAndroid Build Coastguard Worker if (!gl) 6451*35238bceSAndroid Build Coastguard Worker return; 6452*35238bceSAndroid Build Coastguard Worker gl->vertexArrayElementBuffer(vaobj, buffer); 6453*35238bceSAndroid Build Coastguard Worker} 6454*35238bceSAndroid Build Coastguard Worker 6455*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) 6456*35238bceSAndroid Build Coastguard Worker{ 6457*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6458*35238bceSAndroid Build Coastguard Worker if (!gl) 6459*35238bceSAndroid Build Coastguard Worker return; 6460*35238bceSAndroid Build Coastguard Worker gl->vertexArrayFogCoordOffsetEXT(vaobj, buffer, type, stride, offset); 6461*35238bceSAndroid Build Coastguard Worker} 6462*35238bceSAndroid Build Coastguard Worker 6463*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) 6464*35238bceSAndroid Build Coastguard Worker{ 6465*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6466*35238bceSAndroid Build Coastguard Worker if (!gl) 6467*35238bceSAndroid Build Coastguard Worker return; 6468*35238bceSAndroid Build Coastguard Worker gl->vertexArrayIndexOffsetEXT(vaobj, buffer, type, stride, offset); 6469*35238bceSAndroid Build Coastguard Worker} 6470*35238bceSAndroid Build Coastguard Worker 6471*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset) 6472*35238bceSAndroid Build Coastguard Worker{ 6473*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6474*35238bceSAndroid Build Coastguard Worker if (!gl) 6475*35238bceSAndroid Build Coastguard Worker return; 6476*35238bceSAndroid Build Coastguard Worker gl->vertexArrayMultiTexCoordOffsetEXT(vaobj, buffer, texunit, size, type, stride, offset); 6477*35238bceSAndroid Build Coastguard Worker} 6478*35238bceSAndroid Build Coastguard Worker 6479*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) 6480*35238bceSAndroid Build Coastguard Worker{ 6481*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6482*35238bceSAndroid Build Coastguard Worker if (!gl) 6483*35238bceSAndroid Build Coastguard Worker return; 6484*35238bceSAndroid Build Coastguard Worker gl->vertexArrayNormalOffsetEXT(vaobj, buffer, type, stride, offset); 6485*35238bceSAndroid Build Coastguard Worker} 6486*35238bceSAndroid Build Coastguard Worker 6487*35238bceSAndroid Build Coastguard Workervoid glwVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) 6488*35238bceSAndroid Build Coastguard Worker{ 6489*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6490*35238bceSAndroid Build Coastguard Worker if (!gl) 6491*35238bceSAndroid Build Coastguard Worker return; 6492*35238bceSAndroid Build Coastguard Worker gl->vertexArraySecondaryColorOffsetEXT(vaobj, buffer, size, type, stride, offset); 6493*35238bceSAndroid Build Coastguard Worker} 6494*35238bceSAndroid Build Coastguard Worker 6495*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) 6496*35238bceSAndroid Build Coastguard Worker{ 6497*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6498*35238bceSAndroid Build Coastguard Worker if (!gl) 6499*35238bceSAndroid Build Coastguard Worker return; 6500*35238bceSAndroid Build Coastguard Worker gl->vertexArrayTexCoordOffsetEXT(vaobj, buffer, size, type, stride, offset); 6501*35238bceSAndroid Build Coastguard Worker} 6502*35238bceSAndroid Build Coastguard Worker 6503*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex) 6504*35238bceSAndroid Build Coastguard Worker{ 6505*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6506*35238bceSAndroid Build Coastguard Worker if (!gl) 6507*35238bceSAndroid Build Coastguard Worker return; 6508*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexAttribBindingEXT(vaobj, attribindex, bindingindex); 6509*35238bceSAndroid Build Coastguard Worker} 6510*35238bceSAndroid Build Coastguard Worker 6511*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor) 6512*35238bceSAndroid Build Coastguard Worker{ 6513*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6514*35238bceSAndroid Build Coastguard Worker if (!gl) 6515*35238bceSAndroid Build Coastguard Worker return; 6516*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexAttribDivisorEXT(vaobj, index, divisor); 6517*35238bceSAndroid Build Coastguard Worker} 6518*35238bceSAndroid Build Coastguard Worker 6519*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) 6520*35238bceSAndroid Build Coastguard Worker{ 6521*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6522*35238bceSAndroid Build Coastguard Worker if (!gl) 6523*35238bceSAndroid Build Coastguard Worker return; 6524*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexAttribFormatEXT(vaobj, attribindex, size, type, normalized, relativeoffset); 6525*35238bceSAndroid Build Coastguard Worker} 6526*35238bceSAndroid Build Coastguard Worker 6527*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) 6528*35238bceSAndroid Build Coastguard Worker{ 6529*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6530*35238bceSAndroid Build Coastguard Worker if (!gl) 6531*35238bceSAndroid Build Coastguard Worker return; 6532*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexAttribIFormatEXT(vaobj, attribindex, size, type, relativeoffset); 6533*35238bceSAndroid Build Coastguard Worker} 6534*35238bceSAndroid Build Coastguard Worker 6535*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset) 6536*35238bceSAndroid Build Coastguard Worker{ 6537*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6538*35238bceSAndroid Build Coastguard Worker if (!gl) 6539*35238bceSAndroid Build Coastguard Worker return; 6540*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexAttribIOffsetEXT(vaobj, buffer, index, size, type, stride, offset); 6541*35238bceSAndroid Build Coastguard Worker} 6542*35238bceSAndroid Build Coastguard Worker 6543*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) 6544*35238bceSAndroid Build Coastguard Worker{ 6545*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6546*35238bceSAndroid Build Coastguard Worker if (!gl) 6547*35238bceSAndroid Build Coastguard Worker return; 6548*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexAttribLFormatEXT(vaobj, attribindex, size, type, relativeoffset); 6549*35238bceSAndroid Build Coastguard Worker} 6550*35238bceSAndroid Build Coastguard Worker 6551*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset) 6552*35238bceSAndroid Build Coastguard Worker{ 6553*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6554*35238bceSAndroid Build Coastguard Worker if (!gl) 6555*35238bceSAndroid Build Coastguard Worker return; 6556*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexAttribLOffsetEXT(vaobj, buffer, index, size, type, stride, offset); 6557*35238bceSAndroid Build Coastguard Worker} 6558*35238bceSAndroid Build Coastguard Worker 6559*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset) 6560*35238bceSAndroid Build Coastguard Worker{ 6561*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6562*35238bceSAndroid Build Coastguard Worker if (!gl) 6563*35238bceSAndroid Build Coastguard Worker return; 6564*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexAttribOffsetEXT(vaobj, buffer, index, size, type, normalized, stride, offset); 6565*35238bceSAndroid Build Coastguard Worker} 6566*35238bceSAndroid Build Coastguard Worker 6567*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor) 6568*35238bceSAndroid Build Coastguard Worker{ 6569*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6570*35238bceSAndroid Build Coastguard Worker if (!gl) 6571*35238bceSAndroid Build Coastguard Worker return; 6572*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexBindingDivisorEXT(vaobj, bindingindex, divisor); 6573*35238bceSAndroid Build Coastguard Worker} 6574*35238bceSAndroid Build Coastguard Worker 6575*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) 6576*35238bceSAndroid Build Coastguard Worker{ 6577*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6578*35238bceSAndroid Build Coastguard Worker if (!gl) 6579*35238bceSAndroid Build Coastguard Worker return; 6580*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexBuffer(vaobj, bindingindex, buffer, offset, stride); 6581*35238bceSAndroid Build Coastguard Worker} 6582*35238bceSAndroid Build Coastguard Worker 6583*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides) 6584*35238bceSAndroid Build Coastguard Worker{ 6585*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6586*35238bceSAndroid Build Coastguard Worker if (!gl) 6587*35238bceSAndroid Build Coastguard Worker return; 6588*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, strides); 6589*35238bceSAndroid Build Coastguard Worker} 6590*35238bceSAndroid Build Coastguard Worker 6591*35238bceSAndroid Build Coastguard Workervoid glwVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) 6592*35238bceSAndroid Build Coastguard Worker{ 6593*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6594*35238bceSAndroid Build Coastguard Worker if (!gl) 6595*35238bceSAndroid Build Coastguard Worker return; 6596*35238bceSAndroid Build Coastguard Worker gl->vertexArrayVertexOffsetEXT(vaobj, buffer, size, type, stride, offset); 6597*35238bceSAndroid Build Coastguard Worker} 6598*35238bceSAndroid Build Coastguard Worker 6599*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib1d (GLuint index, GLdouble x) 6600*35238bceSAndroid Build Coastguard Worker{ 6601*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6602*35238bceSAndroid Build Coastguard Worker if (!gl) 6603*35238bceSAndroid Build Coastguard Worker return; 6604*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib1d(index, x); 6605*35238bceSAndroid Build Coastguard Worker} 6606*35238bceSAndroid Build Coastguard Worker 6607*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib1dv (GLuint index, const GLdouble *v) 6608*35238bceSAndroid Build Coastguard Worker{ 6609*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6610*35238bceSAndroid Build Coastguard Worker if (!gl) 6611*35238bceSAndroid Build Coastguard Worker return; 6612*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib1dv(index, v); 6613*35238bceSAndroid Build Coastguard Worker} 6614*35238bceSAndroid Build Coastguard Worker 6615*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib1f (GLuint index, GLfloat x) 6616*35238bceSAndroid Build Coastguard Worker{ 6617*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6618*35238bceSAndroid Build Coastguard Worker if (!gl) 6619*35238bceSAndroid Build Coastguard Worker return; 6620*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib1f(index, x); 6621*35238bceSAndroid Build Coastguard Worker} 6622*35238bceSAndroid Build Coastguard Worker 6623*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib1fv (GLuint index, const GLfloat *v) 6624*35238bceSAndroid Build Coastguard Worker{ 6625*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6626*35238bceSAndroid Build Coastguard Worker if (!gl) 6627*35238bceSAndroid Build Coastguard Worker return; 6628*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib1fv(index, v); 6629*35238bceSAndroid Build Coastguard Worker} 6630*35238bceSAndroid Build Coastguard Worker 6631*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib1s (GLuint index, GLshort x) 6632*35238bceSAndroid Build Coastguard Worker{ 6633*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6634*35238bceSAndroid Build Coastguard Worker if (!gl) 6635*35238bceSAndroid Build Coastguard Worker return; 6636*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib1s(index, x); 6637*35238bceSAndroid Build Coastguard Worker} 6638*35238bceSAndroid Build Coastguard Worker 6639*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib1sv (GLuint index, const GLshort *v) 6640*35238bceSAndroid Build Coastguard Worker{ 6641*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6642*35238bceSAndroid Build Coastguard Worker if (!gl) 6643*35238bceSAndroid Build Coastguard Worker return; 6644*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib1sv(index, v); 6645*35238bceSAndroid Build Coastguard Worker} 6646*35238bceSAndroid Build Coastguard Worker 6647*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib2d (GLuint index, GLdouble x, GLdouble y) 6648*35238bceSAndroid Build Coastguard Worker{ 6649*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6650*35238bceSAndroid Build Coastguard Worker if (!gl) 6651*35238bceSAndroid Build Coastguard Worker return; 6652*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib2d(index, x, y); 6653*35238bceSAndroid Build Coastguard Worker} 6654*35238bceSAndroid Build Coastguard Worker 6655*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib2dv (GLuint index, const GLdouble *v) 6656*35238bceSAndroid Build Coastguard Worker{ 6657*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6658*35238bceSAndroid Build Coastguard Worker if (!gl) 6659*35238bceSAndroid Build Coastguard Worker return; 6660*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib2dv(index, v); 6661*35238bceSAndroid Build Coastguard Worker} 6662*35238bceSAndroid Build Coastguard Worker 6663*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib2f (GLuint index, GLfloat x, GLfloat y) 6664*35238bceSAndroid Build Coastguard Worker{ 6665*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6666*35238bceSAndroid Build Coastguard Worker if (!gl) 6667*35238bceSAndroid Build Coastguard Worker return; 6668*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib2f(index, x, y); 6669*35238bceSAndroid Build Coastguard Worker} 6670*35238bceSAndroid Build Coastguard Worker 6671*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib2fv (GLuint index, const GLfloat *v) 6672*35238bceSAndroid Build Coastguard Worker{ 6673*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6674*35238bceSAndroid Build Coastguard Worker if (!gl) 6675*35238bceSAndroid Build Coastguard Worker return; 6676*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib2fv(index, v); 6677*35238bceSAndroid Build Coastguard Worker} 6678*35238bceSAndroid Build Coastguard Worker 6679*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib2s (GLuint index, GLshort x, GLshort y) 6680*35238bceSAndroid Build Coastguard Worker{ 6681*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6682*35238bceSAndroid Build Coastguard Worker if (!gl) 6683*35238bceSAndroid Build Coastguard Worker return; 6684*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib2s(index, x, y); 6685*35238bceSAndroid Build Coastguard Worker} 6686*35238bceSAndroid Build Coastguard Worker 6687*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib2sv (GLuint index, const GLshort *v) 6688*35238bceSAndroid Build Coastguard Worker{ 6689*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6690*35238bceSAndroid Build Coastguard Worker if (!gl) 6691*35238bceSAndroid Build Coastguard Worker return; 6692*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib2sv(index, v); 6693*35238bceSAndroid Build Coastguard Worker} 6694*35238bceSAndroid Build Coastguard Worker 6695*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) 6696*35238bceSAndroid Build Coastguard Worker{ 6697*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6698*35238bceSAndroid Build Coastguard Worker if (!gl) 6699*35238bceSAndroid Build Coastguard Worker return; 6700*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib3d(index, x, y, z); 6701*35238bceSAndroid Build Coastguard Worker} 6702*35238bceSAndroid Build Coastguard Worker 6703*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib3dv (GLuint index, const GLdouble *v) 6704*35238bceSAndroid Build Coastguard Worker{ 6705*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6706*35238bceSAndroid Build Coastguard Worker if (!gl) 6707*35238bceSAndroid Build Coastguard Worker return; 6708*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib3dv(index, v); 6709*35238bceSAndroid Build Coastguard Worker} 6710*35238bceSAndroid Build Coastguard Worker 6711*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z) 6712*35238bceSAndroid Build Coastguard Worker{ 6713*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6714*35238bceSAndroid Build Coastguard Worker if (!gl) 6715*35238bceSAndroid Build Coastguard Worker return; 6716*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib3f(index, x, y, z); 6717*35238bceSAndroid Build Coastguard Worker} 6718*35238bceSAndroid Build Coastguard Worker 6719*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib3fv (GLuint index, const GLfloat *v) 6720*35238bceSAndroid Build Coastguard Worker{ 6721*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6722*35238bceSAndroid Build Coastguard Worker if (!gl) 6723*35238bceSAndroid Build Coastguard Worker return; 6724*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib3fv(index, v); 6725*35238bceSAndroid Build Coastguard Worker} 6726*35238bceSAndroid Build Coastguard Worker 6727*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z) 6728*35238bceSAndroid Build Coastguard Worker{ 6729*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6730*35238bceSAndroid Build Coastguard Worker if (!gl) 6731*35238bceSAndroid Build Coastguard Worker return; 6732*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib3s(index, x, y, z); 6733*35238bceSAndroid Build Coastguard Worker} 6734*35238bceSAndroid Build Coastguard Worker 6735*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib3sv (GLuint index, const GLshort *v) 6736*35238bceSAndroid Build Coastguard Worker{ 6737*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6738*35238bceSAndroid Build Coastguard Worker if (!gl) 6739*35238bceSAndroid Build Coastguard Worker return; 6740*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib3sv(index, v); 6741*35238bceSAndroid Build Coastguard Worker} 6742*35238bceSAndroid Build Coastguard Worker 6743*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4Nbv (GLuint index, const GLbyte *v) 6744*35238bceSAndroid Build Coastguard Worker{ 6745*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6746*35238bceSAndroid Build Coastguard Worker if (!gl) 6747*35238bceSAndroid Build Coastguard Worker return; 6748*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4Nbv(index, v); 6749*35238bceSAndroid Build Coastguard Worker} 6750*35238bceSAndroid Build Coastguard Worker 6751*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4Niv (GLuint index, const GLint *v) 6752*35238bceSAndroid Build Coastguard Worker{ 6753*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6754*35238bceSAndroid Build Coastguard Worker if (!gl) 6755*35238bceSAndroid Build Coastguard Worker return; 6756*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4Niv(index, v); 6757*35238bceSAndroid Build Coastguard Worker} 6758*35238bceSAndroid Build Coastguard Worker 6759*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4Nsv (GLuint index, const GLshort *v) 6760*35238bceSAndroid Build Coastguard Worker{ 6761*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6762*35238bceSAndroid Build Coastguard Worker if (!gl) 6763*35238bceSAndroid Build Coastguard Worker return; 6764*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4Nsv(index, v); 6765*35238bceSAndroid Build Coastguard Worker} 6766*35238bceSAndroid Build Coastguard Worker 6767*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) 6768*35238bceSAndroid Build Coastguard Worker{ 6769*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6770*35238bceSAndroid Build Coastguard Worker if (!gl) 6771*35238bceSAndroid Build Coastguard Worker return; 6772*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4Nub(index, x, y, z, w); 6773*35238bceSAndroid Build Coastguard Worker} 6774*35238bceSAndroid Build Coastguard Worker 6775*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4Nubv (GLuint index, const GLubyte *v) 6776*35238bceSAndroid Build Coastguard Worker{ 6777*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6778*35238bceSAndroid Build Coastguard Worker if (!gl) 6779*35238bceSAndroid Build Coastguard Worker return; 6780*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4Nubv(index, v); 6781*35238bceSAndroid Build Coastguard Worker} 6782*35238bceSAndroid Build Coastguard Worker 6783*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4Nuiv (GLuint index, const GLuint *v) 6784*35238bceSAndroid Build Coastguard Worker{ 6785*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6786*35238bceSAndroid Build Coastguard Worker if (!gl) 6787*35238bceSAndroid Build Coastguard Worker return; 6788*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4Nuiv(index, v); 6789*35238bceSAndroid Build Coastguard Worker} 6790*35238bceSAndroid Build Coastguard Worker 6791*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4Nusv (GLuint index, const GLushort *v) 6792*35238bceSAndroid Build Coastguard Worker{ 6793*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6794*35238bceSAndroid Build Coastguard Worker if (!gl) 6795*35238bceSAndroid Build Coastguard Worker return; 6796*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4Nusv(index, v); 6797*35238bceSAndroid Build Coastguard Worker} 6798*35238bceSAndroid Build Coastguard Worker 6799*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4bv (GLuint index, const GLbyte *v) 6800*35238bceSAndroid Build Coastguard Worker{ 6801*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6802*35238bceSAndroid Build Coastguard Worker if (!gl) 6803*35238bceSAndroid Build Coastguard Worker return; 6804*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4bv(index, v); 6805*35238bceSAndroid Build Coastguard Worker} 6806*35238bceSAndroid Build Coastguard Worker 6807*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 6808*35238bceSAndroid Build Coastguard Worker{ 6809*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6810*35238bceSAndroid Build Coastguard Worker if (!gl) 6811*35238bceSAndroid Build Coastguard Worker return; 6812*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4d(index, x, y, z, w); 6813*35238bceSAndroid Build Coastguard Worker} 6814*35238bceSAndroid Build Coastguard Worker 6815*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4dv (GLuint index, const GLdouble *v) 6816*35238bceSAndroid Build Coastguard Worker{ 6817*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6818*35238bceSAndroid Build Coastguard Worker if (!gl) 6819*35238bceSAndroid Build Coastguard Worker return; 6820*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4dv(index, v); 6821*35238bceSAndroid Build Coastguard Worker} 6822*35238bceSAndroid Build Coastguard Worker 6823*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) 6824*35238bceSAndroid Build Coastguard Worker{ 6825*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6826*35238bceSAndroid Build Coastguard Worker if (!gl) 6827*35238bceSAndroid Build Coastguard Worker return; 6828*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4f(index, x, y, z, w); 6829*35238bceSAndroid Build Coastguard Worker} 6830*35238bceSAndroid Build Coastguard Worker 6831*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4fv (GLuint index, const GLfloat *v) 6832*35238bceSAndroid Build Coastguard Worker{ 6833*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6834*35238bceSAndroid Build Coastguard Worker if (!gl) 6835*35238bceSAndroid Build Coastguard Worker return; 6836*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4fv(index, v); 6837*35238bceSAndroid Build Coastguard Worker} 6838*35238bceSAndroid Build Coastguard Worker 6839*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4iv (GLuint index, const GLint *v) 6840*35238bceSAndroid Build Coastguard Worker{ 6841*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6842*35238bceSAndroid Build Coastguard Worker if (!gl) 6843*35238bceSAndroid Build Coastguard Worker return; 6844*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4iv(index, v); 6845*35238bceSAndroid Build Coastguard Worker} 6846*35238bceSAndroid Build Coastguard Worker 6847*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) 6848*35238bceSAndroid Build Coastguard Worker{ 6849*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6850*35238bceSAndroid Build Coastguard Worker if (!gl) 6851*35238bceSAndroid Build Coastguard Worker return; 6852*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4s(index, x, y, z, w); 6853*35238bceSAndroid Build Coastguard Worker} 6854*35238bceSAndroid Build Coastguard Worker 6855*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4sv (GLuint index, const GLshort *v) 6856*35238bceSAndroid Build Coastguard Worker{ 6857*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6858*35238bceSAndroid Build Coastguard Worker if (!gl) 6859*35238bceSAndroid Build Coastguard Worker return; 6860*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4sv(index, v); 6861*35238bceSAndroid Build Coastguard Worker} 6862*35238bceSAndroid Build Coastguard Worker 6863*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4ubv (GLuint index, const GLubyte *v) 6864*35238bceSAndroid Build Coastguard Worker{ 6865*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6866*35238bceSAndroid Build Coastguard Worker if (!gl) 6867*35238bceSAndroid Build Coastguard Worker return; 6868*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4ubv(index, v); 6869*35238bceSAndroid Build Coastguard Worker} 6870*35238bceSAndroid Build Coastguard Worker 6871*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4uiv (GLuint index, const GLuint *v) 6872*35238bceSAndroid Build Coastguard Worker{ 6873*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6874*35238bceSAndroid Build Coastguard Worker if (!gl) 6875*35238bceSAndroid Build Coastguard Worker return; 6876*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4uiv(index, v); 6877*35238bceSAndroid Build Coastguard Worker} 6878*35238bceSAndroid Build Coastguard Worker 6879*35238bceSAndroid Build Coastguard Workervoid glwVertexAttrib4usv (GLuint index, const GLushort *v) 6880*35238bceSAndroid Build Coastguard Worker{ 6881*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6882*35238bceSAndroid Build Coastguard Worker if (!gl) 6883*35238bceSAndroid Build Coastguard Worker return; 6884*35238bceSAndroid Build Coastguard Worker gl->vertexAttrib4usv(index, v); 6885*35238bceSAndroid Build Coastguard Worker} 6886*35238bceSAndroid Build Coastguard Worker 6887*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribBinding (GLuint attribindex, GLuint bindingindex) 6888*35238bceSAndroid Build Coastguard Worker{ 6889*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6890*35238bceSAndroid Build Coastguard Worker if (!gl) 6891*35238bceSAndroid Build Coastguard Worker return; 6892*35238bceSAndroid Build Coastguard Worker gl->vertexAttribBinding(attribindex, bindingindex); 6893*35238bceSAndroid Build Coastguard Worker} 6894*35238bceSAndroid Build Coastguard Worker 6895*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribDivisor (GLuint index, GLuint divisor) 6896*35238bceSAndroid Build Coastguard Worker{ 6897*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6898*35238bceSAndroid Build Coastguard Worker if (!gl) 6899*35238bceSAndroid Build Coastguard Worker return; 6900*35238bceSAndroid Build Coastguard Worker gl->vertexAttribDivisor(index, divisor); 6901*35238bceSAndroid Build Coastguard Worker} 6902*35238bceSAndroid Build Coastguard Worker 6903*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) 6904*35238bceSAndroid Build Coastguard Worker{ 6905*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6906*35238bceSAndroid Build Coastguard Worker if (!gl) 6907*35238bceSAndroid Build Coastguard Worker return; 6908*35238bceSAndroid Build Coastguard Worker gl->vertexAttribFormat(attribindex, size, type, normalized, relativeoffset); 6909*35238bceSAndroid Build Coastguard Worker} 6910*35238bceSAndroid Build Coastguard Worker 6911*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI1i (GLuint index, GLint x) 6912*35238bceSAndroid Build Coastguard Worker{ 6913*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6914*35238bceSAndroid Build Coastguard Worker if (!gl) 6915*35238bceSAndroid Build Coastguard Worker return; 6916*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI1i(index, x); 6917*35238bceSAndroid Build Coastguard Worker} 6918*35238bceSAndroid Build Coastguard Worker 6919*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI1iv (GLuint index, const GLint *v) 6920*35238bceSAndroid Build Coastguard Worker{ 6921*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6922*35238bceSAndroid Build Coastguard Worker if (!gl) 6923*35238bceSAndroid Build Coastguard Worker return; 6924*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI1iv(index, v); 6925*35238bceSAndroid Build Coastguard Worker} 6926*35238bceSAndroid Build Coastguard Worker 6927*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI1ui (GLuint index, GLuint x) 6928*35238bceSAndroid Build Coastguard Worker{ 6929*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6930*35238bceSAndroid Build Coastguard Worker if (!gl) 6931*35238bceSAndroid Build Coastguard Worker return; 6932*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI1ui(index, x); 6933*35238bceSAndroid Build Coastguard Worker} 6934*35238bceSAndroid Build Coastguard Worker 6935*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI1uiv (GLuint index, const GLuint *v) 6936*35238bceSAndroid Build Coastguard Worker{ 6937*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6938*35238bceSAndroid Build Coastguard Worker if (!gl) 6939*35238bceSAndroid Build Coastguard Worker return; 6940*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI1uiv(index, v); 6941*35238bceSAndroid Build Coastguard Worker} 6942*35238bceSAndroid Build Coastguard Worker 6943*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI2i (GLuint index, GLint x, GLint y) 6944*35238bceSAndroid Build Coastguard Worker{ 6945*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6946*35238bceSAndroid Build Coastguard Worker if (!gl) 6947*35238bceSAndroid Build Coastguard Worker return; 6948*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI2i(index, x, y); 6949*35238bceSAndroid Build Coastguard Worker} 6950*35238bceSAndroid Build Coastguard Worker 6951*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI2iv (GLuint index, const GLint *v) 6952*35238bceSAndroid Build Coastguard Worker{ 6953*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6954*35238bceSAndroid Build Coastguard Worker if (!gl) 6955*35238bceSAndroid Build Coastguard Worker return; 6956*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI2iv(index, v); 6957*35238bceSAndroid Build Coastguard Worker} 6958*35238bceSAndroid Build Coastguard Worker 6959*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI2ui (GLuint index, GLuint x, GLuint y) 6960*35238bceSAndroid Build Coastguard Worker{ 6961*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6962*35238bceSAndroid Build Coastguard Worker if (!gl) 6963*35238bceSAndroid Build Coastguard Worker return; 6964*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI2ui(index, x, y); 6965*35238bceSAndroid Build Coastguard Worker} 6966*35238bceSAndroid Build Coastguard Worker 6967*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI2uiv (GLuint index, const GLuint *v) 6968*35238bceSAndroid Build Coastguard Worker{ 6969*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6970*35238bceSAndroid Build Coastguard Worker if (!gl) 6971*35238bceSAndroid Build Coastguard Worker return; 6972*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI2uiv(index, v); 6973*35238bceSAndroid Build Coastguard Worker} 6974*35238bceSAndroid Build Coastguard Worker 6975*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z) 6976*35238bceSAndroid Build Coastguard Worker{ 6977*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6978*35238bceSAndroid Build Coastguard Worker if (!gl) 6979*35238bceSAndroid Build Coastguard Worker return; 6980*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI3i(index, x, y, z); 6981*35238bceSAndroid Build Coastguard Worker} 6982*35238bceSAndroid Build Coastguard Worker 6983*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI3iv (GLuint index, const GLint *v) 6984*35238bceSAndroid Build Coastguard Worker{ 6985*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6986*35238bceSAndroid Build Coastguard Worker if (!gl) 6987*35238bceSAndroid Build Coastguard Worker return; 6988*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI3iv(index, v); 6989*35238bceSAndroid Build Coastguard Worker} 6990*35238bceSAndroid Build Coastguard Worker 6991*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z) 6992*35238bceSAndroid Build Coastguard Worker{ 6993*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 6994*35238bceSAndroid Build Coastguard Worker if (!gl) 6995*35238bceSAndroid Build Coastguard Worker return; 6996*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI3ui(index, x, y, z); 6997*35238bceSAndroid Build Coastguard Worker} 6998*35238bceSAndroid Build Coastguard Worker 6999*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI3uiv (GLuint index, const GLuint *v) 7000*35238bceSAndroid Build Coastguard Worker{ 7001*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7002*35238bceSAndroid Build Coastguard Worker if (!gl) 7003*35238bceSAndroid Build Coastguard Worker return; 7004*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI3uiv(index, v); 7005*35238bceSAndroid Build Coastguard Worker} 7006*35238bceSAndroid Build Coastguard Worker 7007*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI4bv (GLuint index, const GLbyte *v) 7008*35238bceSAndroid Build Coastguard Worker{ 7009*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7010*35238bceSAndroid Build Coastguard Worker if (!gl) 7011*35238bceSAndroid Build Coastguard Worker return; 7012*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI4bv(index, v); 7013*35238bceSAndroid Build Coastguard Worker} 7014*35238bceSAndroid Build Coastguard Worker 7015*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w) 7016*35238bceSAndroid Build Coastguard Worker{ 7017*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7018*35238bceSAndroid Build Coastguard Worker if (!gl) 7019*35238bceSAndroid Build Coastguard Worker return; 7020*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI4i(index, x, y, z, w); 7021*35238bceSAndroid Build Coastguard Worker} 7022*35238bceSAndroid Build Coastguard Worker 7023*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI4iv (GLuint index, const GLint *v) 7024*35238bceSAndroid Build Coastguard Worker{ 7025*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7026*35238bceSAndroid Build Coastguard Worker if (!gl) 7027*35238bceSAndroid Build Coastguard Worker return; 7028*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI4iv(index, v); 7029*35238bceSAndroid Build Coastguard Worker} 7030*35238bceSAndroid Build Coastguard Worker 7031*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI4sv (GLuint index, const GLshort *v) 7032*35238bceSAndroid Build Coastguard Worker{ 7033*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7034*35238bceSAndroid Build Coastguard Worker if (!gl) 7035*35238bceSAndroid Build Coastguard Worker return; 7036*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI4sv(index, v); 7037*35238bceSAndroid Build Coastguard Worker} 7038*35238bceSAndroid Build Coastguard Worker 7039*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI4ubv (GLuint index, const GLubyte *v) 7040*35238bceSAndroid Build Coastguard Worker{ 7041*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7042*35238bceSAndroid Build Coastguard Worker if (!gl) 7043*35238bceSAndroid Build Coastguard Worker return; 7044*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI4ubv(index, v); 7045*35238bceSAndroid Build Coastguard Worker} 7046*35238bceSAndroid Build Coastguard Worker 7047*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) 7048*35238bceSAndroid Build Coastguard Worker{ 7049*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7050*35238bceSAndroid Build Coastguard Worker if (!gl) 7051*35238bceSAndroid Build Coastguard Worker return; 7052*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI4ui(index, x, y, z, w); 7053*35238bceSAndroid Build Coastguard Worker} 7054*35238bceSAndroid Build Coastguard Worker 7055*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI4uiv (GLuint index, const GLuint *v) 7056*35238bceSAndroid Build Coastguard Worker{ 7057*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7058*35238bceSAndroid Build Coastguard Worker if (!gl) 7059*35238bceSAndroid Build Coastguard Worker return; 7060*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI4uiv(index, v); 7061*35238bceSAndroid Build Coastguard Worker} 7062*35238bceSAndroid Build Coastguard Worker 7063*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribI4usv (GLuint index, const GLushort *v) 7064*35238bceSAndroid Build Coastguard Worker{ 7065*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7066*35238bceSAndroid Build Coastguard Worker if (!gl) 7067*35238bceSAndroid Build Coastguard Worker return; 7068*35238bceSAndroid Build Coastguard Worker gl->vertexAttribI4usv(index, v); 7069*35238bceSAndroid Build Coastguard Worker} 7070*35238bceSAndroid Build Coastguard Worker 7071*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) 7072*35238bceSAndroid Build Coastguard Worker{ 7073*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7074*35238bceSAndroid Build Coastguard Worker if (!gl) 7075*35238bceSAndroid Build Coastguard Worker return; 7076*35238bceSAndroid Build Coastguard Worker gl->vertexAttribIFormat(attribindex, size, type, relativeoffset); 7077*35238bceSAndroid Build Coastguard Worker} 7078*35238bceSAndroid Build Coastguard Worker 7079*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) 7080*35238bceSAndroid Build Coastguard Worker{ 7081*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7082*35238bceSAndroid Build Coastguard Worker if (!gl) 7083*35238bceSAndroid Build Coastguard Worker return; 7084*35238bceSAndroid Build Coastguard Worker gl->vertexAttribIPointer(index, size, type, stride, pointer); 7085*35238bceSAndroid Build Coastguard Worker} 7086*35238bceSAndroid Build Coastguard Worker 7087*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribL1d (GLuint index, GLdouble x) 7088*35238bceSAndroid Build Coastguard Worker{ 7089*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7090*35238bceSAndroid Build Coastguard Worker if (!gl) 7091*35238bceSAndroid Build Coastguard Worker return; 7092*35238bceSAndroid Build Coastguard Worker gl->vertexAttribL1d(index, x); 7093*35238bceSAndroid Build Coastguard Worker} 7094*35238bceSAndroid Build Coastguard Worker 7095*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribL1dv (GLuint index, const GLdouble *v) 7096*35238bceSAndroid Build Coastguard Worker{ 7097*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7098*35238bceSAndroid Build Coastguard Worker if (!gl) 7099*35238bceSAndroid Build Coastguard Worker return; 7100*35238bceSAndroid Build Coastguard Worker gl->vertexAttribL1dv(index, v); 7101*35238bceSAndroid Build Coastguard Worker} 7102*35238bceSAndroid Build Coastguard Worker 7103*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribL2d (GLuint index, GLdouble x, GLdouble y) 7104*35238bceSAndroid Build Coastguard Worker{ 7105*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7106*35238bceSAndroid Build Coastguard Worker if (!gl) 7107*35238bceSAndroid Build Coastguard Worker return; 7108*35238bceSAndroid Build Coastguard Worker gl->vertexAttribL2d(index, x, y); 7109*35238bceSAndroid Build Coastguard Worker} 7110*35238bceSAndroid Build Coastguard Worker 7111*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribL2dv (GLuint index, const GLdouble *v) 7112*35238bceSAndroid Build Coastguard Worker{ 7113*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7114*35238bceSAndroid Build Coastguard Worker if (!gl) 7115*35238bceSAndroid Build Coastguard Worker return; 7116*35238bceSAndroid Build Coastguard Worker gl->vertexAttribL2dv(index, v); 7117*35238bceSAndroid Build Coastguard Worker} 7118*35238bceSAndroid Build Coastguard Worker 7119*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) 7120*35238bceSAndroid Build Coastguard Worker{ 7121*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7122*35238bceSAndroid Build Coastguard Worker if (!gl) 7123*35238bceSAndroid Build Coastguard Worker return; 7124*35238bceSAndroid Build Coastguard Worker gl->vertexAttribL3d(index, x, y, z); 7125*35238bceSAndroid Build Coastguard Worker} 7126*35238bceSAndroid Build Coastguard Worker 7127*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribL3dv (GLuint index, const GLdouble *v) 7128*35238bceSAndroid Build Coastguard Worker{ 7129*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7130*35238bceSAndroid Build Coastguard Worker if (!gl) 7131*35238bceSAndroid Build Coastguard Worker return; 7132*35238bceSAndroid Build Coastguard Worker gl->vertexAttribL3dv(index, v); 7133*35238bceSAndroid Build Coastguard Worker} 7134*35238bceSAndroid Build Coastguard Worker 7135*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) 7136*35238bceSAndroid Build Coastguard Worker{ 7137*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7138*35238bceSAndroid Build Coastguard Worker if (!gl) 7139*35238bceSAndroid Build Coastguard Worker return; 7140*35238bceSAndroid Build Coastguard Worker gl->vertexAttribL4d(index, x, y, z, w); 7141*35238bceSAndroid Build Coastguard Worker} 7142*35238bceSAndroid Build Coastguard Worker 7143*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribL4dv (GLuint index, const GLdouble *v) 7144*35238bceSAndroid Build Coastguard Worker{ 7145*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7146*35238bceSAndroid Build Coastguard Worker if (!gl) 7147*35238bceSAndroid Build Coastguard Worker return; 7148*35238bceSAndroid Build Coastguard Worker gl->vertexAttribL4dv(index, v); 7149*35238bceSAndroid Build Coastguard Worker} 7150*35238bceSAndroid Build Coastguard Worker 7151*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) 7152*35238bceSAndroid Build Coastguard Worker{ 7153*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7154*35238bceSAndroid Build Coastguard Worker if (!gl) 7155*35238bceSAndroid Build Coastguard Worker return; 7156*35238bceSAndroid Build Coastguard Worker gl->vertexAttribLFormat(attribindex, size, type, relativeoffset); 7157*35238bceSAndroid Build Coastguard Worker} 7158*35238bceSAndroid Build Coastguard Worker 7159*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) 7160*35238bceSAndroid Build Coastguard Worker{ 7161*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7162*35238bceSAndroid Build Coastguard Worker if (!gl) 7163*35238bceSAndroid Build Coastguard Worker return; 7164*35238bceSAndroid Build Coastguard Worker gl->vertexAttribLPointer(index, size, type, stride, pointer); 7165*35238bceSAndroid Build Coastguard Worker} 7166*35238bceSAndroid Build Coastguard Worker 7167*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) 7168*35238bceSAndroid Build Coastguard Worker{ 7169*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7170*35238bceSAndroid Build Coastguard Worker if (!gl) 7171*35238bceSAndroid Build Coastguard Worker return; 7172*35238bceSAndroid Build Coastguard Worker gl->vertexAttribP1ui(index, type, normalized, value); 7173*35238bceSAndroid Build Coastguard Worker} 7174*35238bceSAndroid Build Coastguard Worker 7175*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value) 7176*35238bceSAndroid Build Coastguard Worker{ 7177*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7178*35238bceSAndroid Build Coastguard Worker if (!gl) 7179*35238bceSAndroid Build Coastguard Worker return; 7180*35238bceSAndroid Build Coastguard Worker gl->vertexAttribP1uiv(index, type, normalized, value); 7181*35238bceSAndroid Build Coastguard Worker} 7182*35238bceSAndroid Build Coastguard Worker 7183*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) 7184*35238bceSAndroid Build Coastguard Worker{ 7185*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7186*35238bceSAndroid Build Coastguard Worker if (!gl) 7187*35238bceSAndroid Build Coastguard Worker return; 7188*35238bceSAndroid Build Coastguard Worker gl->vertexAttribP2ui(index, type, normalized, value); 7189*35238bceSAndroid Build Coastguard Worker} 7190*35238bceSAndroid Build Coastguard Worker 7191*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value) 7192*35238bceSAndroid Build Coastguard Worker{ 7193*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7194*35238bceSAndroid Build Coastguard Worker if (!gl) 7195*35238bceSAndroid Build Coastguard Worker return; 7196*35238bceSAndroid Build Coastguard Worker gl->vertexAttribP2uiv(index, type, normalized, value); 7197*35238bceSAndroid Build Coastguard Worker} 7198*35238bceSAndroid Build Coastguard Worker 7199*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) 7200*35238bceSAndroid Build Coastguard Worker{ 7201*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7202*35238bceSAndroid Build Coastguard Worker if (!gl) 7203*35238bceSAndroid Build Coastguard Worker return; 7204*35238bceSAndroid Build Coastguard Worker gl->vertexAttribP3ui(index, type, normalized, value); 7205*35238bceSAndroid Build Coastguard Worker} 7206*35238bceSAndroid Build Coastguard Worker 7207*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value) 7208*35238bceSAndroid Build Coastguard Worker{ 7209*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7210*35238bceSAndroid Build Coastguard Worker if (!gl) 7211*35238bceSAndroid Build Coastguard Worker return; 7212*35238bceSAndroid Build Coastguard Worker gl->vertexAttribP3uiv(index, type, normalized, value); 7213*35238bceSAndroid Build Coastguard Worker} 7214*35238bceSAndroid Build Coastguard Worker 7215*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) 7216*35238bceSAndroid Build Coastguard Worker{ 7217*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7218*35238bceSAndroid Build Coastguard Worker if (!gl) 7219*35238bceSAndroid Build Coastguard Worker return; 7220*35238bceSAndroid Build Coastguard Worker gl->vertexAttribP4ui(index, type, normalized, value); 7221*35238bceSAndroid Build Coastguard Worker} 7222*35238bceSAndroid Build Coastguard Worker 7223*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value) 7224*35238bceSAndroid Build Coastguard Worker{ 7225*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7226*35238bceSAndroid Build Coastguard Worker if (!gl) 7227*35238bceSAndroid Build Coastguard Worker return; 7228*35238bceSAndroid Build Coastguard Worker gl->vertexAttribP4uiv(index, type, normalized, value); 7229*35238bceSAndroid Build Coastguard Worker} 7230*35238bceSAndroid Build Coastguard Worker 7231*35238bceSAndroid Build Coastguard Workervoid glwVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer) 7232*35238bceSAndroid Build Coastguard Worker{ 7233*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7234*35238bceSAndroid Build Coastguard Worker if (!gl) 7235*35238bceSAndroid Build Coastguard Worker return; 7236*35238bceSAndroid Build Coastguard Worker gl->vertexAttribPointer(index, size, type, normalized, stride, pointer); 7237*35238bceSAndroid Build Coastguard Worker} 7238*35238bceSAndroid Build Coastguard Worker 7239*35238bceSAndroid Build Coastguard Workervoid glwVertexBindingDivisor (GLuint bindingindex, GLuint divisor) 7240*35238bceSAndroid Build Coastguard Worker{ 7241*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7242*35238bceSAndroid Build Coastguard Worker if (!gl) 7243*35238bceSAndroid Build Coastguard Worker return; 7244*35238bceSAndroid Build Coastguard Worker gl->vertexBindingDivisor(bindingindex, divisor); 7245*35238bceSAndroid Build Coastguard Worker} 7246*35238bceSAndroid Build Coastguard Worker 7247*35238bceSAndroid Build Coastguard Workervoid glwViewport (GLint x, GLint y, GLsizei width, GLsizei height) 7248*35238bceSAndroid Build Coastguard Worker{ 7249*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7250*35238bceSAndroid Build Coastguard Worker if (!gl) 7251*35238bceSAndroid Build Coastguard Worker return; 7252*35238bceSAndroid Build Coastguard Worker gl->viewport(x, y, width, height); 7253*35238bceSAndroid Build Coastguard Worker} 7254*35238bceSAndroid Build Coastguard Worker 7255*35238bceSAndroid Build Coastguard Workervoid glwViewportArrayv (GLuint first, GLsizei count, const GLfloat *v) 7256*35238bceSAndroid Build Coastguard Worker{ 7257*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7258*35238bceSAndroid Build Coastguard Worker if (!gl) 7259*35238bceSAndroid Build Coastguard Worker return; 7260*35238bceSAndroid Build Coastguard Worker gl->viewportArrayv(first, count, v); 7261*35238bceSAndroid Build Coastguard Worker} 7262*35238bceSAndroid Build Coastguard Worker 7263*35238bceSAndroid Build Coastguard Workervoid glwViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) 7264*35238bceSAndroid Build Coastguard Worker{ 7265*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7266*35238bceSAndroid Build Coastguard Worker if (!gl) 7267*35238bceSAndroid Build Coastguard Worker return; 7268*35238bceSAndroid Build Coastguard Worker gl->viewportIndexedf(index, x, y, w, h); 7269*35238bceSAndroid Build Coastguard Worker} 7270*35238bceSAndroid Build Coastguard Worker 7271*35238bceSAndroid Build Coastguard Workervoid glwViewportIndexedfv (GLuint index, const GLfloat *v) 7272*35238bceSAndroid Build Coastguard Worker{ 7273*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7274*35238bceSAndroid Build Coastguard Worker if (!gl) 7275*35238bceSAndroid Build Coastguard Worker return; 7276*35238bceSAndroid Build Coastguard Worker gl->viewportIndexedfv(index, v); 7277*35238bceSAndroid Build Coastguard Worker} 7278*35238bceSAndroid Build Coastguard Worker 7279*35238bceSAndroid Build Coastguard Workervoid glwWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout) 7280*35238bceSAndroid Build Coastguard Worker{ 7281*35238bceSAndroid Build Coastguard Worker const glw::Functions* gl = glw::getCurrentThreadFunctions(); 7282*35238bceSAndroid Build Coastguard Worker if (!gl) 7283*35238bceSAndroid Build Coastguard Worker return; 7284*35238bceSAndroid Build Coastguard Worker gl->waitSync(sync, flags, timeout); 7285*35238bceSAndroid Build Coastguard Worker} 7286