Lines Matching refs:m_wrapper
52 , m_wrapper (DE_NULL) in GLContext()
57 m_wrapper = new glu::CallLogWrapper(gl, log); in GLContext()
58 m_wrapper->enableLogging((logFlags & GLCONTEXT_LOG_CALLS) != 0); in GLContext()
113 delete m_wrapper; in ~GLContext()
119 m_wrapper->enableLogging((logFlags & GLCONTEXT_LOG_CALLS) != 0); in enableLogging()
150 m_wrapper->glActiveTexture(texture); in activeTexture()
155 m_wrapper->glTexParameteri(target, pname, value); in texParameteri()
160 return m_wrapper->glCheckFramebufferStatus(target); in checkFramebufferStatus()
177 m_wrapper->glBindTexture(target, texture); in bindTexture()
182 m_wrapper->glGenTextures(numTextures, textures); in genTextures()
191 m_wrapper->glDeleteTextures(numTextures, textures); in deleteTextures()
213 m_wrapper->glBindFramebuffer(target, defaultFbo); in bindFramebuffer()
215 m_wrapper->glBindFramebuffer(target, framebuffer); in bindFramebuffer()
228 m_wrapper->glGenFramebuffers(numFramebuffers, framebuffers); in genFramebuffers()
237 m_wrapper->glDeleteFramebuffers(numFramebuffers, framebuffers); in deleteFramebuffers()
243 m_wrapper->glBindRenderbuffer(target, renderbuffer); in bindRenderbuffer()
248 m_wrapper->glGenRenderbuffers(numRenderbuffers, renderbuffers); in genRenderbuffers()
257 m_wrapper->glDeleteRenderbuffers(numRenderbuffers, renderbuffers); in deleteRenderbuffers()
262 m_wrapper->glPixelStorei(pname, param); in pixelStorei()
267 m_wrapper->glTexImage1D(target, level, internalFormat, width, border, format, type, data); in texImage1D()
272 m_wrapper->glTexImage2D(target, level, internalFormat, width, height, border, format, type, data); in texImage2D()
277 …m_wrapper->glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type,… in texImage3D()
282 m_wrapper->glTexSubImage1D(target, level, xoffset, width, format, type, data); in texSubImage1D()
287 m_wrapper->glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, data); in texSubImage2D()
292 …m_wrapper->glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format,… in texSubImage3D()
375 m_wrapper->glTexStorage2D(target, levels, internalFormat, width, height); in texStorage2D()
380 m_wrapper->glTexStorage3D(target, levels, internalFormat, width, height, depth); in texStorage3D()
385 m_wrapper->glFramebufferTexture2D(target, attachment, textarget, texture, level); in framebufferTexture2D()
390 m_wrapper->glFramebufferTextureLayer(target, attachment, texture, level, layer); in framebufferTextureLayer()
395 m_wrapper->glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); in framebufferRenderbuffer()
400 m_wrapper->glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); in getFramebufferAttachmentParameteriv()
405 m_wrapper->glRenderbufferStorage(target, internalformat, width, height); in renderbufferStorage()
410 m_wrapper->glRenderbufferStorageMultisample(target, samples, internalFormat, width, height); in renderbufferStorageMultisample()
416 m_wrapper->glBindBuffer(target, buffer); in bindBuffer()
421 m_wrapper->glGenBuffers(numBuffers, buffers); in genBuffers()
428 m_wrapper->glDeleteBuffers(numBuffers, buffers); in deleteBuffers()
435 m_wrapper->glBufferData(target, (glw::GLsizeiptr)size, data, usage); in bufferData()
440 m_wrapper->glBufferSubData(target, (glw::GLintptr)offset, (glw::GLsizeiptr)size, data); in bufferSubData()
445 m_wrapper->glClearColor(red, green, blue, alpha); in clearColor()
450 m_wrapper->glClearDepthf(depth); in clearDepthf()
455 m_wrapper->glClearStencil(stencil); in clearStencil()
460 m_wrapper->glClear(buffers); in clear()
465 m_wrapper->glClearBufferiv(buffer, drawbuffer, value); in clearBufferiv()
470 m_wrapper->glClearBufferfv(buffer, drawbuffer, value); in clearBufferfv()
475 m_wrapper->glClearBufferuiv(buffer, drawbuffer, value); in clearBufferuiv()
480 m_wrapper->glClearBufferfi(buffer, drawbuffer, depth, stencil); in clearBufferfi()
497 m_wrapper->glEnable(cap); in enable()
502 m_wrapper->glDisable(cap); in disable()
507 m_wrapper->glStencilFunc(func, ref, mask); in stencilFunc()
512 m_wrapper->glStencilOp(sfail, dpfail, dppass); in stencilOp()
517 m_wrapper->glDepthFunc(func); in depthFunc()
522 m_wrapper->glDepthRangef(n, f); in depthRangef()
527 m_wrapper->glDepthRange(n, f); in depthRange()
532 m_wrapper->glPolygonOffset(factor, units); in polygonOffset()
537 m_wrapper->glProvokingVertex(convention); in provokingVertex()
542 m_wrapper->glPrimitiveRestartIndex(index); in primitiveRestartIndex()
547 m_wrapper->glStencilFuncSeparate(face, func, ref, mask); in stencilFuncSeparate()
552 m_wrapper->glStencilOpSeparate(face, sfail, dpfail, dppass); in stencilOpSeparate()
557 m_wrapper->glBlendEquation(mode); in blendEquation()
562 m_wrapper->glBlendEquationSeparate(modeRGB, modeAlpha); in blendEquationSeparate()
567 m_wrapper->glBlendFunc(src, dst); in blendFunc()
572 m_wrapper->glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in blendFuncSeparate()
577 m_wrapper->glBlendColor(red, green, blue, alpha); in blendColor()
582 m_wrapper->glColorMask((glw::GLboolean)r, (glw::GLboolean)g, (glw::GLboolean)b, (glw::GLboolean)a); in colorMask()
587 m_wrapper->glDepthMask((glw::GLboolean)mask); in depthMask()
592 m_wrapper->glStencilMask(mask); in stencilMask()
597 m_wrapper->glStencilMaskSeparate(face, mask); in stencilMaskSeparate()
634 m_wrapper->glInvalidateFramebuffer(target, numAttachments, attachments); in invalidateFramebuffer()
639 m_wrapper->glBindVertexArray(array); in bindVertexArray()
644 m_wrapper->glGenVertexArrays(numArrays, vertexArrays); in genVertexArrays()
653 m_wrapper->glDeleteVertexArrays(numArrays, vertexArrays); in deleteVertexArrays()
658 m_wrapper->glVertexAttribPointer(index, size, type, (glw::GLboolean)normalized, stride, pointer); in vertexAttribPointer()
663 m_wrapper->glVertexAttribIPointer(index, size, type, stride, pointer); in vertexAttribIPointer()
668 m_wrapper->glEnableVertexAttribArray(index); in enableVertexAttribArray()
673 m_wrapper->glDisableVertexAttribArray(index); in disableVertexAttribArray()
678 m_wrapper->glVertexAttribDivisor(index, divisor); in vertexAttribDivisor()
683 m_wrapper->glVertexAttrib1f(index, x); in vertexAttrib1f()
688 m_wrapper->glVertexAttrib2f(index, x, y); in vertexAttrib2f()
693 m_wrapper->glVertexAttrib3f(index, x, y, z); in vertexAttrib3f()
698 m_wrapper->glVertexAttrib4f(index, x, y, z, w); in vertexAttrib4f()
703 m_wrapper->glVertexAttribI4i(index, x, y, z, w); in vertexAttribI4i()
708 m_wrapper->glVertexAttribI4ui(index, x, y, z, w); in vertexAttribI4ui()
713 return m_wrapper->glGetAttribLocation(program, name); in getAttribLocation()
718 m_wrapper->glUniform1f(location, v0); in uniform1f()
723 m_wrapper->glUniform1i(location, v0); in uniform1i()
728 m_wrapper->glUniform1fv(location, count, value); in uniform1fv()
733 m_wrapper->glUniform2fv(location, count, value); in uniform2fv()
738 m_wrapper->glUniform3fv(location, count, value); in uniform3fv()
743 m_wrapper->glUniform4fv(location, count, value); in uniform4fv()
748 m_wrapper->glUniform1iv(location, count, value); in uniform1iv()
753 m_wrapper->glUniform2iv(location, count, value); in uniform2iv()
758 m_wrapper->glUniform3iv(location, count, value); in uniform3iv()
763 m_wrapper->glUniform4iv(location, count, value); in uniform4iv()
768 m_wrapper->glUniformMatrix3fv(location, count, (glw::GLboolean)transpose, value); in uniformMatrix3fv()
773 m_wrapper->glUniformMatrix4fv(location, count, (glw::GLboolean)transpose, value); in uniformMatrix4fv()
777 return m_wrapper->glGetUniformLocation(program, name); in getUniformLocation()
782 m_wrapper->glLineWidth(w); in lineWidth()
787 m_wrapper->glDrawArrays(mode, first, count); in drawArrays()
792 m_wrapper->glDrawArraysInstanced(mode, first, count, instanceCount); in drawArraysInstanced()
797 m_wrapper->glDrawElements(mode, count, type, indices); in drawElements()
802 m_wrapper->glDrawElementsInstanced(mode, count, type, indices, instanceCount); in drawElementsInstanced()
807 m_wrapper->glDrawElementsBaseVertex(mode, count, type, indices, baseVertex); in drawElementsBaseVertex()
812 …m_wrapper->glDrawElementsInstancedBaseVertex(mode, count, type, indices, instanceCount, baseVertex… in drawElementsInstancedBaseVertex()
817 m_wrapper->glDrawRangeElements(mode, start, end, count, type, indices); in drawRangeElements()
822 m_wrapper->glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, baseVertex); in drawRangeElementsBaseVertex()
827 m_wrapper->glDrawArraysIndirect(mode, indirect); in drawArraysIndirect()
832 m_wrapper->glDrawElementsIndirect(mode, type, indirect); in drawElementsIndirect()
837 m_wrapper->glMultiDrawArrays(mode, first, count, primCount); in multiDrawArrays()
842 m_wrapper->glMultiDrawElements(mode, count, type, indices, primCount); in multiDrawElements()
847 m_wrapper->glMultiDrawElementsBaseVertex(mode, count, type, indices, primCount, baseVertex); in multiDrawElementsBaseVertex()
895 m_wrapper->glUseProgram(program); in useProgram()
914 return m_wrapper->glGetError(); in getError()
919 m_wrapper->glFinish(); in finish()
924 m_wrapper->glGetIntegerv(pname, params); in getIntegerv()
929 return (const char*)m_wrapper->glGetString(pname); in getString()