13c827367444ee418f129b2c238299f49d3264554Jarkko Poyry/* WARNING: This is auto-generated file. Do not modify, since changes will 23c827367444ee418f129b2c238299f49d3264554Jarkko Poyry * be lost! Modify the generating script instead. 31abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos * 4485a2d1c89e689e6b8523fc3b9c146c63e92bfd7Daniel Andrade Groppe * Generated from Khronos GL API description (gl.xml) revision 32093. 53c827367444ee418f129b2c238299f49d3264554Jarkko Poyry */ 63c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 71abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glActiveShaderProgram (glw::GLuint pipeline, glw::GLuint program) 83c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 93c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glActiveShaderProgram(" << pipeline << ", " << program << ");" << TestLog::EndMessage; 111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.activeShaderProgram(pipeline, program); 121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glActiveTexture (glw::GLenum texture) 151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glActiveTexture(" << getTextureUnitStr(texture) << ");" << TestLog::EndMessage; 181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.activeTexture(texture); 191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glAttachShader (glw::GLuint program, glw::GLuint shader) 221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glAttachShader(" << program << ", " << shader << ");" << TestLog::EndMessage; 251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.attachShader(program, shader); 261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBeginConditionalRender (glw::GLuint id, glw::GLenum mode) 291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBeginConditionalRender(" << id << ", " << toHex(mode) << ");" << TestLog::EndMessage; 321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.beginConditionalRender(id, mode); 331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBeginQuery (glw::GLenum target, glw::GLuint id) 361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBeginQuery(" << getQueryTargetStr(target) << ", " << id << ");" << TestLog::EndMessage; 391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.beginQuery(target, id); 401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBeginQueryIndexed (glw::GLenum target, glw::GLuint index, glw::GLuint id) 431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBeginQueryIndexed(" << toHex(target) << ", " << index << ", " << id << ");" << TestLog::EndMessage; 461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.beginQueryIndexed(target, index, id); 471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBeginTransformFeedback (glw::GLenum primitiveMode) 501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBeginTransformFeedback(" << getPrimitiveTypeStr(primitiveMode) << ");" << TestLog::EndMessage; 531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.beginTransformFeedback(primitiveMode); 541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindAttribLocation (glw::GLuint program, glw::GLuint index, const glw::GLchar *name) 571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindAttribLocation(" << program << ", " << index << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindAttribLocation(program, index, name); 611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindBuffer (glw::GLenum target, glw::GLuint buffer) 641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindBuffer(" << getBufferTargetStr(target) << ", " << buffer << ");" << TestLog::EndMessage; 671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindBuffer(target, buffer); 681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindBufferBase (glw::GLenum target, glw::GLuint index, glw::GLuint buffer) 711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindBufferBase(" << getBufferTargetStr(target) << ", " << index << ", " << buffer << ");" << TestLog::EndMessage; 741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindBufferBase(target, index, buffer); 751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindBufferRange (glw::GLenum target, glw::GLuint index, glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size) 781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindBufferRange(" << getBufferTargetStr(target) << ", " << index << ", " << buffer << ", " << offset << ", " << size << ");" << TestLog::EndMessage; 811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindBufferRange(target, index, buffer, offset, size); 821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindBuffersBase (glw::GLenum target, glw::GLuint first, glw::GLsizei count, const glw::GLuint *buffers) 851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 873cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glBindBuffersBase(" << toHex(target) << ", " << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(buffers))) << ");" << TestLog::EndMessage; 881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindBuffersBase(target, first, count, buffers); 891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindBuffersRange (glw::GLenum target, glw::GLuint first, glw::GLsizei count, const glw::GLuint *buffers, const glw::GLintptr *offsets, const glw::GLsizeiptr *sizes) 921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 943cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glBindBuffersRange(" << toHex(target) << ", " << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(buffers))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(offsets))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(sizes))) << ");" << TestLog::EndMessage; 951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindBuffersRange(target, first, count, buffers, offsets, sizes); 961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindFragDataLocation (glw::GLuint program, glw::GLuint color, const glw::GLchar *name) 991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindFragDataLocation(" << program << ", " << color << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 1021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindFragDataLocation(program, color, name); 1031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindFragDataLocationIndexed (glw::GLuint program, glw::GLuint colorNumber, glw::GLuint index, const glw::GLchar *name) 1061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindFragDataLocationIndexed(" << program << ", " << colorNumber << ", " << index << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 1091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindFragDataLocationIndexed(program, colorNumber, index, name); 1101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindFramebuffer (glw::GLenum target, glw::GLuint framebuffer) 1131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindFramebuffer(" << getFramebufferTargetStr(target) << ", " << framebuffer << ");" << TestLog::EndMessage; 1161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindFramebuffer(target, framebuffer); 1171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindImageTexture (glw::GLuint unit, glw::GLuint texture, glw::GLint level, glw::GLboolean layered, glw::GLint layer, glw::GLenum access, glw::GLenum format) 1201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 122b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glBindImageTexture(" << unit << ", " << texture << ", " << level << ", " << getBooleanStr(layered) << ", " << layer << ", " << getImageAccessStr(access) << ", " << getUncompressedTextureFormatStr(format) << ");" << TestLog::EndMessage; 1231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindImageTexture(unit, texture, level, layered, layer, access, format); 1241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindImageTextures (glw::GLuint first, glw::GLsizei count, const glw::GLuint *textures) 1271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1293cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glBindImageTextures(" << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(textures))) << ");" << TestLog::EndMessage; 1301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindImageTextures(first, count, textures); 1311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindProgramPipeline (glw::GLuint pipeline) 1341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindProgramPipeline(" << pipeline << ");" << TestLog::EndMessage; 1371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindProgramPipeline(pipeline); 1381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindRenderbuffer (glw::GLenum target, glw::GLuint renderbuffer) 1411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindRenderbuffer(" << getFramebufferTargetStr(target) << ", " << renderbuffer << ");" << TestLog::EndMessage; 1441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindRenderbuffer(target, renderbuffer); 1451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindSampler (glw::GLuint unit, glw::GLuint sampler) 1481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindSampler(" << unit << ", " << sampler << ");" << TestLog::EndMessage; 1511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindSampler(unit, sampler); 1521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindSamplers (glw::GLuint first, glw::GLsizei count, const glw::GLuint *samplers) 1551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1573cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glBindSamplers(" << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(samplers))) << ");" << TestLog::EndMessage; 1581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindSamplers(first, count, samplers); 1591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindTexture (glw::GLenum target, glw::GLuint texture) 1621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindTexture(" << getTextureTargetStr(target) << ", " << texture << ");" << TestLog::EndMessage; 1651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindTexture(target, texture); 1661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindTextureUnit (glw::GLuint unit, glw::GLuint texture) 1691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindTextureUnit(" << unit << ", " << texture << ");" << TestLog::EndMessage; 1721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindTextureUnit(unit, texture); 1731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindTextures (glw::GLuint first, glw::GLsizei count, const glw::GLuint *textures) 1761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1783cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glBindTextures(" << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(textures))) << ");" << TestLog::EndMessage; 1791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindTextures(first, count, textures); 1801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindTransformFeedback (glw::GLenum target, glw::GLuint id) 1831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindTransformFeedback(" << getTransformFeedbackTargetStr(target) << ", " << id << ");" << TestLog::EndMessage; 1861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindTransformFeedback(target, id); 1871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindVertexArray (glw::GLuint array) 1901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindVertexArray(" << array << ");" << TestLog::EndMessage; 1931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindVertexArray(array); 1941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 1951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 1961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindVertexBuffer (glw::GLuint bindingindex, glw::GLuint buffer, glw::GLintptr offset, glw::GLsizei stride) 1971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 1981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 1991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBindVertexBuffer(" << bindingindex << ", " << buffer << ", " << offset << ", " << stride << ");" << TestLog::EndMessage; 2001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindVertexBuffer(bindingindex, buffer, offset, stride); 2011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBindVertexBuffers (glw::GLuint first, glw::GLsizei count, const glw::GLuint *buffers, const glw::GLintptr *offsets, const glw::GLsizei *strides) 2041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2063cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glBindVertexBuffers(" << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(buffers))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(offsets))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(strides))) << ");" << TestLog::EndMessage; 2071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bindVertexBuffers(first, count, buffers, offsets, strides); 2081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 210485a2d1c89e689e6b8523fc3b9c146c63e92bfd7Daniel Andrade Groppevoid CallLogWrapper::glBlendBarrier (void) 2111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 213485a2d1c89e689e6b8523fc3b9c146c63e92bfd7Daniel Andrade Groppe m_log << TestLog::Message << "glBlendBarrier(" << ");" << TestLog::EndMessage; 214485a2d1c89e689e6b8523fc3b9c146c63e92bfd7Daniel Andrade Groppe m_gl.blendBarrier(); 2151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendColor (glw::GLfloat red, glw::GLfloat green, glw::GLfloat blue, glw::GLfloat alpha) 2181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlendColor(" << red << ", " << green << ", " << blue << ", " << alpha << ");" << TestLog::EndMessage; 2211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendColor(red, green, blue, alpha); 2221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendEquation (glw::GLenum mode) 2251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlendEquation(" << getBlendEquationStr(mode) << ");" << TestLog::EndMessage; 2281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendEquation(mode); 2291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendEquationSeparate (glw::GLenum modeRGB, glw::GLenum modeAlpha) 2321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlendEquationSeparate(" << getBlendEquationStr(modeRGB) << ", " << getBlendEquationStr(modeAlpha) << ");" << TestLog::EndMessage; 2351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendEquationSeparate(modeRGB, modeAlpha); 2361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendEquationSeparatei (glw::GLuint buf, glw::GLenum modeRGB, glw::GLenum modeAlpha) 2391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2417af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glBlendEquationSeparatei(" << buf << ", " << getBlendEquationStr(modeRGB) << ", " << getBlendEquationStr(modeAlpha) << ");" << TestLog::EndMessage; 2421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendEquationSeparatei(buf, modeRGB, modeAlpha); 2431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendEquationi (glw::GLuint buf, glw::GLenum mode) 2461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2487af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glBlendEquationi(" << buf << ", " << getBlendEquationStr(mode) << ");" << TestLog::EndMessage; 2491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendEquationi(buf, mode); 2501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendFunc (glw::GLenum sfactor, glw::GLenum dfactor) 2531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlendFunc(" << getBlendFactorStr(sfactor) << ", " << getBlendFactorStr(dfactor) << ");" << TestLog::EndMessage; 2561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendFunc(sfactor, dfactor); 2571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendFuncSeparate (glw::GLenum sfactorRGB, glw::GLenum dfactorRGB, glw::GLenum sfactorAlpha, glw::GLenum dfactorAlpha) 2601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlendFuncSeparate(" << getBlendFactorStr(sfactorRGB) << ", " << getBlendFactorStr(dfactorRGB) << ", " << getBlendFactorStr(sfactorAlpha) << ", " << getBlendFactorStr(dfactorAlpha) << ");" << TestLog::EndMessage; 2631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); 2641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendFuncSeparatei (glw::GLuint buf, glw::GLenum srcRGB, glw::GLenum dstRGB, glw::GLenum srcAlpha, glw::GLenum dstAlpha) 2671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlendFuncSeparatei(" << buf << ", " << toHex(srcRGB) << ", " << toHex(dstRGB) << ", " << toHex(srcAlpha) << ", " << toHex(dstAlpha) << ");" << TestLog::EndMessage; 2701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); 2711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlendFunci (glw::GLuint buf, glw::GLenum src, glw::GLenum dst) 2741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlendFunci(" << buf << ", " << toHex(src) << ", " << toHex(dst) << ");" << TestLog::EndMessage; 2771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blendFunci(buf, src, dst); 2781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlitFramebuffer (glw::GLint srcX0, glw::GLint srcY0, glw::GLint srcX1, glw::GLint srcY1, glw::GLint dstX0, glw::GLint dstY0, glw::GLint dstX1, glw::GLint dstY1, glw::GLbitfield mask, glw::GLenum filter) 2811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlitFramebuffer(" << srcX0 << ", " << srcY0 << ", " << srcX1 << ", " << srcY1 << ", " << dstX0 << ", " << dstY0 << ", " << dstX1 << ", " << dstY1 << ", " << getBufferMaskStr(mask) << ", " << getTextureFilterStr(filter) << ");" << TestLog::EndMessage; 2841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 2851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBlitNamedFramebuffer (glw::GLuint readFramebuffer, glw::GLuint drawFramebuffer, glw::GLint srcX0, glw::GLint srcY0, glw::GLint srcX1, glw::GLint srcY1, glw::GLint dstX0, glw::GLint dstY0, glw::GLint dstX1, glw::GLint dstY1, glw::GLbitfield mask, glw::GLenum filter) 2881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBlitNamedFramebuffer(" << readFramebuffer << ", " << drawFramebuffer << ", " << srcX0 << ", " << srcY0 << ", " << srcX1 << ", " << srcY1 << ", " << dstX0 << ", " << dstY0 << ", " << dstX1 << ", " << dstY1 << ", " << toHex(mask) << ", " << toHex(filter) << ");" << TestLog::EndMessage; 2911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.blitNamedFramebuffer(readFramebuffer, drawFramebuffer, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 2921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 2931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 2941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBufferData (glw::GLenum target, glw::GLsizeiptr size, const void *data, glw::GLenum usage) 2951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 2961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 2971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBufferData(" << getBufferTargetStr(target) << ", " << size << ", " << data << ", " << getUsageStr(usage) << ");" << TestLog::EndMessage; 2981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bufferData(target, size, data, usage); 2991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBufferStorage (glw::GLenum target, glw::GLsizeiptr size, const void *data, glw::GLbitfield flags) 3021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBufferStorage(" << toHex(target) << ", " << size << ", " << data << ", " << toHex(flags) << ");" << TestLog::EndMessage; 3051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bufferStorage(target, size, data, flags); 3061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glBufferSubData (glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, const void *data) 3091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glBufferSubData(" << getBufferTargetStr(target) << ", " << offset << ", " << size << ", " << data << ");" << TestLog::EndMessage; 3121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.bufferSubData(target, offset, size, data); 3131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLenum CallLogWrapper::glCheckFramebufferStatus (glw::GLenum target) 3161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCheckFramebufferStatus(" << getFramebufferTargetStr(target) << ");" << TestLog::EndMessage; 3191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLenum returnValue = m_gl.checkFramebufferStatus(target); 3201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getFramebufferStatusStr(returnValue) << " returned" << TestLog::EndMessage; 3221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 3231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLenum CallLogWrapper::glCheckNamedFramebufferStatus (glw::GLuint framebuffer, glw::GLenum target) 3261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCheckNamedFramebufferStatus(" << framebuffer << ", " << toHex(target) << ");" << TestLog::EndMessage; 3291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLenum returnValue = m_gl.checkNamedFramebufferStatus(framebuffer, target); 3301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << toHex(returnValue) << " returned" << TestLog::EndMessage; 3321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 3331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClampColor (glw::GLenum target, glw::GLenum clamp) 3361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClampColor(" << toHex(target) << ", " << toHex(clamp) << ");" << TestLog::EndMessage; 3391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clampColor(target, clamp); 3401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClear (glw::GLbitfield mask) 3431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClear(" << getBufferMaskStr(mask) << ");" << TestLog::EndMessage; 3461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clear(mask); 3471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearBufferData (glw::GLenum target, glw::GLenum internalformat, glw::GLenum format, glw::GLenum type, const void *data) 3501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearBufferData(" << toHex(target) << ", " << toHex(internalformat) << ", " << toHex(format) << ", " << toHex(type) << ", " << data << ");" << TestLog::EndMessage; 3531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearBufferData(target, internalformat, format, type, data); 3541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearBufferSubData (glw::GLenum target, glw::GLenum internalformat, glw::GLintptr offset, glw::GLsizeiptr size, glw::GLenum format, glw::GLenum type, const void *data) 3571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearBufferSubData(" << toHex(target) << ", " << toHex(internalformat) << ", " << offset << ", " << size << ", " << toHex(format) << ", " << toHex(type) << ", " << data << ");" << TestLog::EndMessage; 3601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearBufferSubData(target, internalformat, offset, size, format, type, data); 3611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearBufferfi (glw::GLenum buffer, glw::GLint drawbuffer, glw::GLfloat depth, glw::GLint stencil) 3641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearBufferfi(" << getBufferStr(buffer) << ", " << drawbuffer << ", " << depth << ", " << stencil << ");" << TestLog::EndMessage; 3671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearBufferfi(buffer, drawbuffer, depth, stencil); 3681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearBufferfv (glw::GLenum buffer, glw::GLint drawbuffer, const glw::GLfloat *value) 3711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3733cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glClearBufferfv(" << getBufferStr(buffer) << ", " << drawbuffer << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 3741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearBufferfv(buffer, drawbuffer, value); 3751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearBufferiv (glw::GLenum buffer, glw::GLint drawbuffer, const glw::GLint *value) 3781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3803cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glClearBufferiv(" << getBufferStr(buffer) << ", " << drawbuffer << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 3811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearBufferiv(buffer, drawbuffer, value); 3821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearBufferuiv (glw::GLenum buffer, glw::GLint drawbuffer, const glw::GLuint *value) 3851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3873cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glClearBufferuiv(" << getBufferStr(buffer) << ", " << drawbuffer << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 3881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearBufferuiv(buffer, drawbuffer, value); 3891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearColor (glw::GLfloat red, glw::GLfloat green, glw::GLfloat blue, glw::GLfloat alpha) 3921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 3931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 3941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearColor(" << red << ", " << green << ", " << blue << ", " << alpha << ");" << TestLog::EndMessage; 3951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearColor(red, green, blue, alpha); 3961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 3971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 3981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearDepth (glw::GLdouble depth) 3991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearDepth(" << depth << ");" << TestLog::EndMessage; 4021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearDepth(depth); 4031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearDepthf (glw::GLfloat d) 4061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearDepthf(" << d << ");" << TestLog::EndMessage; 4091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearDepthf(d); 4101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearNamedBufferData (glw::GLuint buffer, glw::GLenum internalformat, glw::GLenum format, glw::GLenum type, const void *data) 4131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearNamedBufferData(" << buffer << ", " << toHex(internalformat) << ", " << toHex(format) << ", " << toHex(type) << ", " << data << ");" << TestLog::EndMessage; 4161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearNamedBufferData(buffer, internalformat, format, type, data); 4171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 419314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glClearNamedBufferSubData (glw::GLuint buffer, glw::GLenum internalformat, glw::GLintptr offset, glw::GLsizeiptr size, glw::GLenum format, glw::GLenum type, const void *data) 4201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearNamedBufferSubData(" << buffer << ", " << toHex(internalformat) << ", " << offset << ", " << size << ", " << toHex(format) << ", " << toHex(type) << ", " << data << ");" << TestLog::EndMessage; 4231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data); 4241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearNamedFramebufferfi (glw::GLuint framebuffer, glw::GLenum buffer, const glw::GLfloat depth, glw::GLint stencil) 4271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearNamedFramebufferfi(" << framebuffer << ", " << toHex(buffer) << ", " << depth << ", " << stencil << ");" << TestLog::EndMessage; 4301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearNamedFramebufferfi(framebuffer, buffer, depth, stencil); 4311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearNamedFramebufferfv (glw::GLuint framebuffer, glw::GLenum buffer, glw::GLint drawbuffer, const glw::GLfloat *value) 4341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4363cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glClearNamedFramebufferfv(" << framebuffer << ", " << toHex(buffer) << ", " << drawbuffer << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 4371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearNamedFramebufferfv(framebuffer, buffer, drawbuffer, value); 4381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearNamedFramebufferiv (glw::GLuint framebuffer, glw::GLenum buffer, glw::GLint drawbuffer, const glw::GLint *value) 4411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4433cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glClearNamedFramebufferiv(" << framebuffer << ", " << toHex(buffer) << ", " << drawbuffer << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 4441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearNamedFramebufferiv(framebuffer, buffer, drawbuffer, value); 4451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearNamedFramebufferuiv (glw::GLuint framebuffer, glw::GLenum buffer, glw::GLint drawbuffer, const glw::GLuint *value) 4481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4503cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glClearNamedFramebufferuiv(" << framebuffer << ", " << toHex(buffer) << ", " << drawbuffer << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 4511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, value); 4521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearStencil (glw::GLint s) 4551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearStencil(" << s << ");" << TestLog::EndMessage; 4581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearStencil(s); 4591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearTexImage (glw::GLuint texture, glw::GLint level, glw::GLenum format, glw::GLenum type, const void *data) 4621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearTexImage(" << texture << ", " << level << ", " << toHex(format) << ", " << toHex(type) << ", " << data << ");" << TestLog::EndMessage; 4651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearTexImage(texture, level, format, type, data); 4661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClearTexSubImage (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLenum type, const void *data) 4691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClearTexSubImage(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << width << ", " << height << ", " << depth << ", " << toHex(format) << ", " << toHex(type) << ", " << data << ");" << TestLog::EndMessage; 4721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); 4731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLenum CallLogWrapper::glClientWaitSync (glw::GLsync sync, glw::GLbitfield flags, glw::GLuint64 timeout) 4761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClientWaitSync(" << sync << ", " << toHex(flags) << ", " << timeout << ");" << TestLog::EndMessage; 4791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLenum returnValue = m_gl.clientWaitSync(sync, flags, timeout); 4801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << toHex(returnValue) << " returned" << TestLog::EndMessage; 4821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 4831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glClipControl (glw::GLenum origin, glw::GLenum depth) 4861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glClipControl(" << toHex(origin) << ", " << toHex(depth) << ");" << TestLog::EndMessage; 4891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.clipControl(origin, depth); 4901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glColorMask (glw::GLboolean red, glw::GLboolean green, glw::GLboolean blue, glw::GLboolean alpha) 4931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 4941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 4951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glColorMask(" << getBooleanStr(red) << ", " << getBooleanStr(green) << ", " << getBooleanStr(blue) << ", " << getBooleanStr(alpha) << ");" << TestLog::EndMessage; 4961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.colorMask(red, green, blue, alpha); 4971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 4981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 4991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glColorMaski (glw::GLuint index, glw::GLboolean r, glw::GLboolean g, glw::GLboolean b, glw::GLboolean a) 5001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 5011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 5021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glColorMaski(" << index << ", " << getBooleanStr(r) << ", " << getBooleanStr(g) << ", " << getBooleanStr(b) << ", " << getBooleanStr(a) << ");" << TestLog::EndMessage; 5031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.colorMaski(index, r, g, b, a); 5041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 5051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 5061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompileShader (glw::GLuint shader) 5071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 5081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 5091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCompileShader(" << shader << ");" << TestLog::EndMessage; 5101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compileShader(shader); 5111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 5121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 5131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTexImage1D (glw::GLenum target, glw::GLint level, glw::GLenum internalformat, glw::GLsizei width, glw::GLint border, glw::GLsizei imageSize, const void *data) 5141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 5153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 5161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCompressedTexImage1D(" << toHex(target) << ", " << level << ", " << toHex(internalformat) << ", " << width << ", " << border << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTexImage1D(target, level, internalformat, width, border, imageSize, data); 5183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTexImage2D (glw::GLenum target, glw::GLint level, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLint border, glw::GLsizei imageSize, const void *data) 5213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 523b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glCompressedTexImage2D(" << getTextureTargetStr(target) << ", " << level << ", " << getCompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ", " << border << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); 5253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTexImage3D (glw::GLenum target, glw::GLint level, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLint border, glw::GLsizei imageSize, const void *data) 5283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 530b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glCompressedTexImage3D(" << getTextureTargetStr(target) << ", " << level << ", " << getCompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ", " << depth << ", " << border << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); 5323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTexSubImage1D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLsizei width, glw::GLenum format, glw::GLsizei imageSize, const void *data) 5353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 5371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCompressedTexSubImage1D(" << toHex(target) << ", " << level << ", " << xoffset << ", " << width << ", " << toHex(format) << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); 5393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTexSubImage2D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLsizei width, glw::GLsizei height, glw::GLenum format, glw::GLsizei imageSize, const void *data) 5423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 544b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glCompressedTexSubImage2D(" << getTextureTargetStr(target) << ", " << level << ", " << xoffset << ", " << yoffset << ", " << width << ", " << height << ", " << getCompressedTextureFormatStr(format) << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); 5463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTexSubImage3D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLsizei imageSize, const void *data) 5493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 551b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glCompressedTexSubImage3D(" << getTextureTargetStr(target) << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << width << ", " << height << ", " << depth << ", " << getCompressedTextureFormatStr(format) << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 5533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTextureSubImage1D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLsizei width, glw::GLenum format, glw::GLsizei imageSize, const void *data) 5563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 5581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCompressedTextureSubImage1D(" << texture << ", " << level << ", " << xoffset << ", " << width << ", " << toHex(format) << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, data); 5603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTextureSubImage2D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLsizei width, glw::GLsizei height, glw::GLenum format, glw::GLsizei imageSize, const void *data) 5633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 5651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCompressedTextureSubImage2D(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << width << ", " << height << ", " << toHex(format) << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, imageSize, data); 5673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCompressedTextureSubImage3D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLsizei imageSize, const void *data) 5703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 5721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCompressedTextureSubImage3D(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << width << ", " << height << ", " << depth << ", " << toHex(format) << ", " << imageSize << ", " << data << ");" << TestLog::EndMessage; 5731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.compressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 5743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyBufferSubData (glw::GLenum readTarget, glw::GLenum writeTarget, glw::GLintptr readOffset, glw::GLintptr writeOffset, glw::GLsizeiptr size) 5773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 5791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyBufferSubData(" << toHex(readTarget) << ", " << toHex(writeTarget) << ", " << readOffset << ", " << writeOffset << ", " << size << ");" << TestLog::EndMessage; 5801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); 5813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyImageSubData (glw::GLuint srcName, glw::GLenum srcTarget, glw::GLint srcLevel, glw::GLint srcX, glw::GLint srcY, glw::GLint srcZ, glw::GLuint dstName, glw::GLenum dstTarget, glw::GLint dstLevel, glw::GLint dstX, glw::GLint dstY, glw::GLint dstZ, glw::GLsizei srcWidth, glw::GLsizei srcHeight, glw::GLsizei srcDepth) 5843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 5861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyImageSubData(" << srcName << ", " << toHex(srcTarget) << ", " << srcLevel << ", " << srcX << ", " << srcY << ", " << srcZ << ", " << dstName << ", " << toHex(dstTarget) << ", " << dstLevel << ", " << dstX << ", " << dstY << ", " << dstZ << ", " << srcWidth << ", " << srcHeight << ", " << srcDepth << ");" << TestLog::EndMessage; 5871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); 5883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 590314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glCopyNamedBufferSubData (glw::GLuint readBuffer, glw::GLuint writeBuffer, glw::GLintptr readOffset, glw::GLintptr writeOffset, glw::GLsizeiptr size) 5913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 5931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyNamedBufferSubData(" << readBuffer << ", " << writeBuffer << ", " << readOffset << ", " << writeOffset << ", " << size << ");" << TestLog::EndMessage; 5941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size); 5953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 5963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 5971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyTexImage1D (glw::GLenum target, glw::GLint level, glw::GLenum internalformat, glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLint border) 5983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 5993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 600b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glCopyTexImage1D(" << getTextureTargetStr(target) << ", " << level << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << x << ", " << y << ", " << width << ", " << border << ");" << TestLog::EndMessage; 6011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyTexImage1D(target, level, internalformat, x, y, width, border); 6023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyTexImage2D (glw::GLenum target, glw::GLint level, glw::GLenum internalformat, glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height, glw::GLint border) 6053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 607b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glCopyTexImage2D(" << getTextureTargetStr(target) << ", " << level << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << x << ", " << y << ", " << width << ", " << height << ", " << border << ");" << TestLog::EndMessage; 6081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyTexImage2D(target, level, internalformat, x, y, width, height, border); 6093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyTexSubImage1D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLint x, glw::GLint y, glw::GLsizei width) 6123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyTexSubImage1D(" << toHex(target) << ", " << level << ", " << xoffset << ", " << x << ", " << y << ", " << width << ");" << TestLog::EndMessage; 6151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyTexSubImage1D(target, level, xoffset, x, y, width); 6163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyTexSubImage2D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height) 6193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyTexSubImage2D(" << toHex(target) << ", " << level << ", " << xoffset << ", " << yoffset << ", " << x << ", " << y << ", " << width << ", " << height << ");" << TestLog::EndMessage; 6221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); 6233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyTexSubImage3D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height) 6263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyTexSubImage3D(" << toHex(target) << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << x << ", " << y << ", " << width << ", " << height << ");" << TestLog::EndMessage; 6291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); 6303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyTextureSubImage1D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint x, glw::GLint y, glw::GLsizei width) 6333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyTextureSubImage1D(" << texture << ", " << level << ", " << xoffset << ", " << x << ", " << y << ", " << width << ");" << TestLog::EndMessage; 6361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyTextureSubImage1D(texture, level, xoffset, x, y, width); 6373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyTextureSubImage2D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height) 6403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyTextureSubImage2D(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << x << ", " << y << ", " << width << ", " << height << ");" << TestLog::EndMessage; 6431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, width, height); 6443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCopyTextureSubImage3D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height) 6473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCopyTextureSubImage3D(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << x << ", " << y << ", " << width << ", " << height << ");" << TestLog::EndMessage; 6501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.copyTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, x, y, width, height); 6513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateBuffers (glw::GLsizei n, glw::GLuint *buffers) 6543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6563cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateBuffers(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(buffers))) << ");" << TestLog::EndMessage; 6571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createBuffers(n, buffers); 6583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateFramebuffers (glw::GLsizei n, glw::GLuint *framebuffers) 6613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6633cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateFramebuffers(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(framebuffers))) << ");" << TestLog::EndMessage; 6641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createFramebuffers(n, framebuffers); 6653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6671f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryglw::GLuint CallLogWrapper::glCreateProgram (void) 6683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCreateProgram(" << ");" << TestLog::EndMessage; 6711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLuint returnValue = m_gl.createProgram(); 6721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 6731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 6741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 6753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateProgramPipelines (glw::GLsizei n, glw::GLuint *pipelines) 6783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6803cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateProgramPipelines(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(pipelines))) << ");" << TestLog::EndMessage; 6811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createProgramPipelines(n, pipelines); 6823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateQueries (glw::GLenum target, glw::GLsizei n, glw::GLuint *ids) 6853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6873cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateQueries(" << toHex(target) << ", " << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(ids))) << ");" << TestLog::EndMessage; 6881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createQueries(target, n, ids); 6893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateRenderbuffers (glw::GLsizei n, glw::GLuint *renderbuffers) 6923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 6933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 6943cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateRenderbuffers(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(renderbuffers))) << ");" << TestLog::EndMessage; 6951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createRenderbuffers(n, renderbuffers); 6963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 6973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 6981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateSamplers (glw::GLsizei n, glw::GLuint *samplers) 6993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7013cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateSamplers(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(samplers))) << ");" << TestLog::EndMessage; 7021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createSamplers(n, samplers); 7033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLuint CallLogWrapper::glCreateShader (glw::GLenum type) 7063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCreateShader(" << getShaderTypeStr(type) << ");" << TestLog::EndMessage; 7091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLuint returnValue = m_gl.createShader(type); 7101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 7111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 7121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 7133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLuint CallLogWrapper::glCreateShaderProgramv (glw::GLenum type, glw::GLsizei count, const glw::GLchar *const*strings) 7163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7183cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateShaderProgramv(" << toHex(type) << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(strings))) << ");" << TestLog::EndMessage; 7191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLuint returnValue = m_gl.createShaderProgramv(type, count, strings); 7201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 7211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 7221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 7233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateTextures (glw::GLenum target, glw::GLsizei n, glw::GLuint *textures) 7263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7283cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateTextures(" << toHex(target) << ", " << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(textures))) << ");" << TestLog::EndMessage; 7291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createTextures(target, n, textures); 7303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateTransformFeedbacks (glw::GLsizei n, glw::GLuint *ids) 7333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7353cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateTransformFeedbacks(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(ids))) << ");" << TestLog::EndMessage; 7361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createTransformFeedbacks(n, ids); 7373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCreateVertexArrays (glw::GLsizei n, glw::GLuint *arrays) 7403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7423cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glCreateVertexArrays(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(arrays))) << ");" << TestLog::EndMessage; 7431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.createVertexArrays(n, arrays); 7443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glCullFace (glw::GLenum mode) 7473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glCullFace(" << getFaceStr(mode) << ");" << TestLog::EndMessage; 7501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.cullFace(mode); 7513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDebugMessageCallback (glw::GLDEBUGPROC callback, const void *userParam) 7543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7563cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glDebugMessageCallback(" << toHex(reinterpret_cast<deUintptr>(callback)) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(userParam))) << ");" << TestLog::EndMessage; 7571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.debugMessageCallback(callback, userParam); 7583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDebugMessageControl (glw::GLenum source, glw::GLenum type, glw::GLenum severity, glw::GLsizei count, const glw::GLuint *ids, glw::GLboolean enabled) 7613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDebugMessageControl(" << getDebugMessageSourceStr(source) << ", " << getDebugMessageTypeStr(type) << ", " << getDebugMessageSeverityStr(severity) << ", " << count << ", " << getPointerStr(ids, (count)) << ", " << getBooleanStr(enabled) << ");" << TestLog::EndMessage; 7641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.debugMessageControl(source, type, severity, count, ids, enabled); 7653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDebugMessageInsert (glw::GLenum source, glw::GLenum type, glw::GLuint id, glw::GLenum severity, glw::GLsizei length, const glw::GLchar *buf) 7683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDebugMessageInsert(" << getDebugMessageSourceStr(source) << ", " << getDebugMessageTypeStr(type) << ", " << id << ", " << getDebugMessageSeverityStr(severity) << ", " << length << ", " << getStringStr(buf) << ");" << TestLog::EndMessage; 7711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.debugMessageInsert(source, type, id, severity, length, buf); 7723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteBuffers (glw::GLsizei n, const glw::GLuint *buffers) 7753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteBuffers(" << n << ", " << getPointerStr(buffers, n) << ");" << TestLog::EndMessage; 7781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteBuffers(n, buffers); 7793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteFramebuffers (glw::GLsizei n, const glw::GLuint *framebuffers) 7823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteFramebuffers(" << n << ", " << getPointerStr(framebuffers, n) << ");" << TestLog::EndMessage; 7851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteFramebuffers(n, framebuffers); 7863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 7873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 7881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteProgram (glw::GLuint program) 7893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 7903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 7911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteProgram(" << program << ");" << TestLog::EndMessage; 7921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteProgram(program); 7931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 7941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 7951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteProgramPipelines (glw::GLsizei n, const glw::GLuint *pipelines) 7961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 7973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 798cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "glDeleteProgramPipelines(" << n << ", " << getPointerStr(pipelines, n) << ");" << TestLog::EndMessage; 7991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteProgramPipelines(n, pipelines); 8003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteQueries (glw::GLsizei n, const glw::GLuint *ids) 8033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteQueries(" << n << ", " << getPointerStr(ids, n) << ");" << TestLog::EndMessage; 8061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteQueries(n, ids); 8073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteRenderbuffers (glw::GLsizei n, const glw::GLuint *renderbuffers) 8103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteRenderbuffers(" << n << ", " << getPointerStr(renderbuffers, n) << ");" << TestLog::EndMessage; 8131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteRenderbuffers(n, renderbuffers); 8143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteSamplers (glw::GLsizei count, const glw::GLuint *samplers) 8173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8193cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glDeleteSamplers(" << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(samplers))) << ");" << TestLog::EndMessage; 8201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteSamplers(count, samplers); 8211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 8221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 8231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteShader (glw::GLuint shader) 8241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 8253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteShader(" << shader << ");" << TestLog::EndMessage; 8271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteShader(shader); 8283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteSync (glw::GLsync sync) 8313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteSync(" << sync << ");" << TestLog::EndMessage; 8341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteSync(sync); 8353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteTextures (glw::GLsizei n, const glw::GLuint *textures) 8383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteTextures(" << n << ", " << getPointerStr(textures, n) << ");" << TestLog::EndMessage; 8411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteTextures(n, textures); 8423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteTransformFeedbacks (glw::GLsizei n, const glw::GLuint *ids) 8453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8473cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glDeleteTransformFeedbacks(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(ids))) << ");" << TestLog::EndMessage; 8481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteTransformFeedbacks(n, ids); 8493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDeleteVertexArrays (glw::GLsizei n, const glw::GLuint *arrays) 8523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDeleteVertexArrays(" << n << ", " << getPointerStr(arrays, n) << ");" << TestLog::EndMessage; 8551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.deleteVertexArrays(n, arrays); 8563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDepthFunc (glw::GLenum func) 8593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDepthFunc(" << getCompareFuncStr(func) << ");" << TestLog::EndMessage; 8621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.depthFunc(func); 8633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDepthMask (glw::GLboolean flag) 8663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDepthMask(" << getBooleanStr(flag) << ");" << TestLog::EndMessage; 8691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.depthMask(flag); 8701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 8711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 8721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDepthRange (glw::GLdouble near, glw::GLdouble far) 8731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 8743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDepthRange(" << near << ", " << far << ");" << TestLog::EndMessage; 8761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.depthRange(near, far); 8773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDepthRangeArrayv (glw::GLuint first, glw::GLsizei count, const glw::GLdouble *v) 8803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8823cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glDepthRangeArrayv(" << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 8831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.depthRangeArrayv(first, count, v); 8843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDepthRangeIndexed (glw::GLuint index, glw::GLdouble n, glw::GLdouble f) 8873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDepthRangeIndexed(" << index << ", " << n << ", " << f << ");" << TestLog::EndMessage; 8901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.depthRangeIndexed(index, n, f); 8913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 8931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDepthRangef (glw::GLfloat n, glw::GLfloat f) 8943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 8953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 8961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDepthRangef(" << n << ", " << f << ");" << TestLog::EndMessage; 8971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.depthRangef(n, f); 8983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 8993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDetachShader (glw::GLuint program, glw::GLuint shader) 9013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDetachShader(" << program << ", " << shader << ");" << TestLog::EndMessage; 9041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.detachShader(program, shader); 9053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDisable (glw::GLenum cap) 9083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDisable(" << getEnableCapStr(cap) << ");" << TestLog::EndMessage; 9111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.disable(cap); 9123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDisableVertexArrayAttrib (glw::GLuint vaobj, glw::GLuint index) 9153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDisableVertexArrayAttrib(" << vaobj << ", " << index << ");" << TestLog::EndMessage; 9181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.disableVertexArrayAttrib(vaobj, index); 9193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDisableVertexAttribArray (glw::GLuint index) 9223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDisableVertexAttribArray(" << index << ");" << TestLog::EndMessage; 9251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.disableVertexAttribArray(index); 9263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDisablei (glw::GLenum target, glw::GLuint index) 9293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9311459a4523cf1c06ef7d413adf2ba9a8bc8a98d9aMika Isojärvi m_log << TestLog::Message << "glDisablei(" << getIndexedEnableCapStr(target) << ", " << index << ");" << TestLog::EndMessage; 9321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.disablei(target, index); 9333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDispatchCompute (glw::GLuint num_groups_x, glw::GLuint num_groups_y, glw::GLuint num_groups_z) 9363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDispatchCompute(" << num_groups_x << ", " << num_groups_y << ", " << num_groups_z << ");" << TestLog::EndMessage; 9391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.dispatchCompute(num_groups_x, num_groups_y, num_groups_z); 9403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDispatchComputeIndirect (glw::GLintptr indirect) 9433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDispatchComputeIndirect(" << indirect << ");" << TestLog::EndMessage; 9461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.dispatchComputeIndirect(indirect); 9473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawArrays (glw::GLenum mode, glw::GLint first, glw::GLsizei count) 9503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawArrays(" << getPrimitiveTypeStr(mode) << ", " << first << ", " << count << ");" << TestLog::EndMessage; 9531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawArrays(mode, first, count); 9543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawArraysIndirect (glw::GLenum mode, const void *indirect) 9573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawArraysIndirect(" << getPrimitiveTypeStr(mode) << ", " << indirect << ");" << TestLog::EndMessage; 9601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawArraysIndirect(mode, indirect); 9613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawArraysInstanced (glw::GLenum mode, glw::GLint first, glw::GLsizei count, glw::GLsizei instancecount) 9643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawArraysInstanced(" << getPrimitiveTypeStr(mode) << ", " << first << ", " << count << ", " << instancecount << ");" << TestLog::EndMessage; 9671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawArraysInstanced(mode, first, count, instancecount); 9683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawArraysInstancedBaseInstance (glw::GLenum mode, glw::GLint first, glw::GLsizei count, glw::GLsizei instancecount, glw::GLuint baseinstance) 9713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawArraysInstancedBaseInstance(" << toHex(mode) << ", " << first << ", " << count << ", " << instancecount << ", " << baseinstance << ");" << TestLog::EndMessage; 9741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawArraysInstancedBaseInstance(mode, first, count, instancecount, baseinstance); 9753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawBuffer (glw::GLenum buf) 9783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawBuffer(" << toHex(buf) << ");" << TestLog::EndMessage; 9811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawBuffer(buf); 9821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 9831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 9841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawBuffers (glw::GLsizei n, const glw::GLenum *bufs) 9851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 9863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawBuffers(" << n << ", " << getEnumPointerStr(bufs, n, getDrawReadBufferName) << ");" << TestLog::EndMessage; 9881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawBuffers(n, bufs); 9893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 9903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 9911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawElements (glw::GLenum mode, glw::GLsizei count, glw::GLenum type, const void *indices) 9923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 9933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 9941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawElements(" << getPrimitiveTypeStr(mode) << ", " << count << ", " << getTypeStr(type) << ", " << indices << ");" << TestLog::EndMessage; 9951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawElements(mode, count, type, indices); 9961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 9971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 9981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawElementsBaseVertex (glw::GLenum mode, glw::GLsizei count, glw::GLenum type, const void *indices, glw::GLint basevertex) 9991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 10011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawElementsBaseVertex(" << getPrimitiveTypeStr(mode) << ", " << count << ", " << getTypeStr(type) << ", " << indices << ", " << basevertex << ");" << TestLog::EndMessage; 10021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawElementsBaseVertex(mode, count, type, indices, basevertex); 10031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawElementsIndirect (glw::GLenum mode, glw::GLenum type, const void *indirect) 10061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawElementsIndirect(" << getPrimitiveTypeStr(mode) << ", " << getTypeStr(type) << ", " << indirect << ");" << TestLog::EndMessage; 10091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawElementsIndirect(mode, type, indirect); 10101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawElementsInstanced (glw::GLenum mode, glw::GLsizei count, glw::GLenum type, const void *indices, glw::GLsizei instancecount) 10131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawElementsInstanced(" << getPrimitiveTypeStr(mode) << ", " << count << ", " << getTypeStr(type) << ", " << indices << ", " << instancecount << ");" << TestLog::EndMessage; 10161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawElementsInstanced(mode, count, type, indices, instancecount); 10171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawElementsInstancedBaseInstance (glw::GLenum mode, glw::GLsizei count, glw::GLenum type, const void *indices, glw::GLsizei instancecount, glw::GLuint baseinstance) 10201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawElementsInstancedBaseInstance(" << toHex(mode) << ", " << count << ", " << toHex(type) << ", " << indices << ", " << instancecount << ", " << baseinstance << ");" << TestLog::EndMessage; 10231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawElementsInstancedBaseInstance(mode, count, type, indices, instancecount, baseinstance); 10241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawElementsInstancedBaseVertex (glw::GLenum mode, glw::GLsizei count, glw::GLenum type, const void *indices, glw::GLsizei instancecount, glw::GLint basevertex) 10271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawElementsInstancedBaseVertex(" << getPrimitiveTypeStr(mode) << ", " << count << ", " << getTypeStr(type) << ", " << indices << ", " << instancecount << ", " << basevertex << ");" << TestLog::EndMessage; 10301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); 10311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawElementsInstancedBaseVertexBaseInstance (glw::GLenum mode, glw::GLsizei count, glw::GLenum type, const void *indices, glw::GLsizei instancecount, glw::GLint basevertex, glw::GLuint baseinstance) 10341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawElementsInstancedBaseVertexBaseInstance(" << toHex(mode) << ", " << count << ", " << toHex(type) << ", " << indices << ", " << instancecount << ", " << basevertex << ", " << baseinstance << ");" << TestLog::EndMessage; 10371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, instancecount, basevertex, baseinstance); 10381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawRangeElements (glw::GLenum mode, glw::GLuint start, glw::GLuint end, glw::GLsizei count, glw::GLenum type, const void *indices) 10411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawRangeElements(" << getPrimitiveTypeStr(mode) << ", " << start << ", " << end << ", " << count << ", " << getTypeStr(type) << ", " << indices << ");" << TestLog::EndMessage; 10441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawRangeElements(mode, start, end, count, type, indices); 10451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawRangeElementsBaseVertex (glw::GLenum mode, glw::GLuint start, glw::GLuint end, glw::GLsizei count, glw::GLenum type, const void *indices, glw::GLint basevertex) 10481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawRangeElementsBaseVertex(" << getPrimitiveTypeStr(mode) << ", " << start << ", " << end << ", " << count << ", " << getTypeStr(type) << ", " << indices << ", " << basevertex << ");" << TestLog::EndMessage; 10511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); 10521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawTransformFeedback (glw::GLenum mode, glw::GLuint id) 10551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawTransformFeedback(" << toHex(mode) << ", " << id << ");" << TestLog::EndMessage; 10581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawTransformFeedback(mode, id); 10591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawTransformFeedbackInstanced (glw::GLenum mode, glw::GLuint id, glw::GLsizei instancecount) 10621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawTransformFeedbackInstanced(" << toHex(mode) << ", " << id << ", " << instancecount << ");" << TestLog::EndMessage; 10651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawTransformFeedbackInstanced(mode, id, instancecount); 10661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawTransformFeedbackStream (glw::GLenum mode, glw::GLuint id, glw::GLuint stream) 10691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawTransformFeedbackStream(" << toHex(mode) << ", " << id << ", " << stream << ");" << TestLog::EndMessage; 10721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawTransformFeedbackStream(mode, id, stream); 10731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glDrawTransformFeedbackStreamInstanced (glw::GLenum mode, glw::GLuint id, glw::GLuint stream, glw::GLsizei instancecount) 10761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glDrawTransformFeedbackStreamInstanced(" << toHex(mode) << ", " << id << ", " << stream << ", " << instancecount << ");" << TestLog::EndMessage; 10791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.drawTransformFeedbackStreamInstanced(mode, id, stream, instancecount); 10801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glEGLImageTargetRenderbufferStorageOES (glw::GLenum target, glw::GLeglImageOES image) 10831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEGLImageTargetRenderbufferStorageOES(" << toHex(target) << ", " << image << ");" << TestLog::EndMessage; 10861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.eglImageTargetRenderbufferStorageOES(target, image); 10871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 10881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 10891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glEGLImageTargetTexture2DOES (glw::GLenum target, glw::GLeglImageOES image) 10901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 10911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 10921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEGLImageTargetTexture2DOES(" << toHex(target) << ", " << image << ");" << TestLog::EndMessage; 10931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.eglImageTargetTexture2DOES(target, image); 10943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 10953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 10961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glEnable (glw::GLenum cap) 10973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 10983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 10991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEnable(" << getEnableCapStr(cap) << ");" << TestLog::EndMessage; 11001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.enable(cap); 11013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glEnableVertexArrayAttrib (glw::GLuint vaobj, glw::GLuint index) 11043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEnableVertexArrayAttrib(" << vaobj << ", " << index << ");" << TestLog::EndMessage; 11071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.enableVertexArrayAttrib(vaobj, index); 11083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glEnableVertexAttribArray (glw::GLuint index) 11113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEnableVertexAttribArray(" << index << ");" << TestLog::EndMessage; 11141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.enableVertexAttribArray(index); 11153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glEnablei (glw::GLenum target, glw::GLuint index) 11183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11201459a4523cf1c06ef7d413adf2ba9a8bc8a98d9aMika Isojärvi m_log << TestLog::Message << "glEnablei(" << getIndexedEnableCapStr(target) << ", " << index << ");" << TestLog::EndMessage; 11211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.enablei(target, index); 11223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11241f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glEndConditionalRender (void) 11253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEndConditionalRender(" << ");" << TestLog::EndMessage; 11281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.endConditionalRender(); 11293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glEndQuery (glw::GLenum target) 11323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEndQuery(" << getQueryTargetStr(target) << ");" << TestLog::EndMessage; 11351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.endQuery(target); 11363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glEndQueryIndexed (glw::GLenum target, glw::GLuint index) 11393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEndQueryIndexed(" << toHex(target) << ", " << index << ");" << TestLog::EndMessage; 11421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.endQueryIndexed(target, index); 11433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11451f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glEndTransformFeedback (void) 11463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glEndTransformFeedback(" << ");" << TestLog::EndMessage; 11491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.endTransformFeedback(); 11503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLsync CallLogWrapper::glFenceSync (glw::GLenum condition, glw::GLbitfield flags) 11533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFenceSync(" << toHex(condition) << ", " << toHex(flags) << ");" << TestLog::EndMessage; 11561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLsync returnValue = m_gl.fenceSync(condition, flags); 11571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 11581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 11591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 11603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11621f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glFinish (void) 11633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFinish(" << ");" << TestLog::EndMessage; 11661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.finish(); 11673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11691f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glFlush (void) 11703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFlush(" << ");" << TestLog::EndMessage; 11731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.flush(); 11743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFlushMappedBufferRange (glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr length) 11773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFlushMappedBufferRange(" << getBufferTargetStr(target) << ", " << offset << ", " << length << ");" << TestLog::EndMessage; 11801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.flushMappedBufferRange(target, offset, length); 11813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 1183314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glFlushMappedNamedBufferRange (glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr length) 11843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFlushMappedNamedBufferRange(" << buffer << ", " << offset << ", " << length << ");" << TestLog::EndMessage; 11871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.flushMappedNamedBufferRange(buffer, offset, length); 11883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFramebufferParameteri (glw::GLenum target, glw::GLenum pname, glw::GLint param) 11913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 11931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFramebufferParameteri(" << getFramebufferTargetStr(target) << ", " << getFramebufferParameterStr(pname) << ", " << param << ");" << TestLog::EndMessage; 11941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.framebufferParameteri(target, pname, param); 11953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 11963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 11971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFramebufferRenderbuffer (glw::GLenum target, glw::GLenum attachment, glw::GLenum renderbuffertarget, glw::GLuint renderbuffer) 11983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 11993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFramebufferRenderbuffer(" << getFramebufferTargetStr(target) << ", " << getFramebufferAttachmentStr(attachment) << ", " << getFramebufferTargetStr(renderbuffertarget) << ", " << renderbuffer << ");" << TestLog::EndMessage; 12011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); 12023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFramebufferTexture (glw::GLenum target, glw::GLenum attachment, glw::GLuint texture, glw::GLint level) 12053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFramebufferTexture(" << getFramebufferTargetStr(target) << ", " << getFramebufferAttachmentStr(attachment) << ", " << texture << ", " << level << ");" << TestLog::EndMessage; 12081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.framebufferTexture(target, attachment, texture, level); 12093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFramebufferTexture1D (glw::GLenum target, glw::GLenum attachment, glw::GLenum textarget, glw::GLuint texture, glw::GLint level) 12123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFramebufferTexture1D(" << toHex(target) << ", " << toHex(attachment) << ", " << toHex(textarget) << ", " << texture << ", " << level << ");" << TestLog::EndMessage; 12151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.framebufferTexture1D(target, attachment, textarget, texture, level); 12163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFramebufferTexture2D (glw::GLenum target, glw::GLenum attachment, glw::GLenum textarget, glw::GLuint texture, glw::GLint level) 12193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFramebufferTexture2D(" << getFramebufferTargetStr(target) << ", " << getFramebufferAttachmentStr(attachment) << ", " << getTextureTargetStr(textarget) << ", " << texture << ", " << level << ");" << TestLog::EndMessage; 12221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.framebufferTexture2D(target, attachment, textarget, texture, level); 12233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFramebufferTexture3D (glw::GLenum target, glw::GLenum attachment, glw::GLenum textarget, glw::GLuint texture, glw::GLint level, glw::GLint zoffset) 12263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFramebufferTexture3D(" << toHex(target) << ", " << toHex(attachment) << ", " << toHex(textarget) << ", " << texture << ", " << level << ", " << zoffset << ");" << TestLog::EndMessage; 12291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.framebufferTexture3D(target, attachment, textarget, texture, level, zoffset); 12303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFramebufferTextureLayer (glw::GLenum target, glw::GLenum attachment, glw::GLuint texture, glw::GLint level, glw::GLint layer) 12333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFramebufferTextureLayer(" << getFramebufferTargetStr(target) << ", " << getFramebufferAttachmentStr(attachment) << ", " << texture << ", " << level << ", " << layer << ");" << TestLog::EndMessage; 12361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.framebufferTextureLayer(target, attachment, texture, level, layer); 12373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glFrontFace (glw::GLenum mode) 12403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glFrontFace(" << getWindingStr(mode) << ");" << TestLog::EndMessage; 12431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.frontFace(mode); 12443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenBuffers (glw::GLsizei n, glw::GLuint *buffers) 12473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12493cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenBuffers(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(buffers))) << ");" << TestLog::EndMessage; 12501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genBuffers(n, buffers); 12511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 12521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// buffers = " << getPointerStr(buffers, n) << TestLog::EndMessage; 12533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenFramebuffers (glw::GLsizei n, glw::GLuint *framebuffers) 12563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12583cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenFramebuffers(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(framebuffers))) << ");" << TestLog::EndMessage; 12591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genFramebuffers(n, framebuffers); 12603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// framebuffers = " << getPointerStr(framebuffers, n) << TestLog::EndMessage; 12623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenProgramPipelines (glw::GLsizei n, glw::GLuint *pipelines) 12653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12673cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenProgramPipelines(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(pipelines))) << ");" << TestLog::EndMessage; 12681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genProgramPipelines(n, pipelines); 1269cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 1270cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "// pipelines = " << getPointerStr(pipelines, n) << TestLog::EndMessage; 12713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenQueries (glw::GLsizei n, glw::GLuint *ids) 12743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12763cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenQueries(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(ids))) << ");" << TestLog::EndMessage; 12771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genQueries(n, ids); 12783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// ids = " << getPointerStr(ids, n) << TestLog::EndMessage; 12803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenRenderbuffers (glw::GLsizei n, glw::GLuint *renderbuffers) 12833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12853cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenRenderbuffers(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(renderbuffers))) << ");" << TestLog::EndMessage; 12861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genRenderbuffers(n, renderbuffers); 12871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 12881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// renderbuffers = " << getPointerStr(renderbuffers, n) << TestLog::EndMessage; 12893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenSamplers (glw::GLsizei count, glw::GLuint *samplers) 12923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 12933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 12943cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenSamplers(" << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(samplers))) << ");" << TestLog::EndMessage; 12951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genSamplers(count, samplers); 12963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 12973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 12981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenTextures (glw::GLsizei n, glw::GLuint *textures) 12993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 13003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13013cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenTextures(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(textures))) << ");" << TestLog::EndMessage; 13021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genTextures(n, textures); 13033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// textures = " << getPointerStr(textures, n) << TestLog::EndMessage; 13053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 13063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 13071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenTransformFeedbacks (glw::GLsizei n, glw::GLuint *ids) 13083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 13093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13103cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenTransformFeedbacks(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(ids))) << ");" << TestLog::EndMessage; 13111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genTransformFeedbacks(n, ids); 13123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// ids = " << getPointerStr(ids, n) << TestLog::EndMessage; 13143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 13153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 13161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenVertexArrays (glw::GLsizei n, glw::GLuint *arrays) 13173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 13183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13193cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGenVertexArrays(" << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(arrays))) << ");" << TestLog::EndMessage; 13201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.genVertexArrays(n, arrays); 13213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// arrays = " << getPointerStr(arrays, n) << TestLog::EndMessage; 13233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 13243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 13251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenerateMipmap (glw::GLenum target) 13261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 13271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 13281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGenerateMipmap(" << getTextureTargetStr(target) << ");" << TestLog::EndMessage; 13291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.generateMipmap(target); 13301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 13311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 13321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGenerateTextureMipmap (glw::GLuint texture) 13331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 13341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 13351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGenerateTextureMipmap(" << texture << ");" << TestLog::EndMessage; 13361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.generateTextureMipmap(texture); 13371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 13381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 13391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveAtomicCounterBufferiv (glw::GLuint program, glw::GLuint bufferIndex, glw::GLenum pname, glw::GLint *params) 13401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 13411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 13423cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveAtomicCounterBufferiv(" << program << ", " << bufferIndex << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 13431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveAtomicCounterBufferiv(program, bufferIndex, pname, params); 13441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 13451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 13461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveAttrib (glw::GLuint program, glw::GLuint index, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLint *size, glw::GLenum *type, glw::GLchar *name) 13471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 13481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 13493cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveAttrib(" << program << ", " << index << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(size))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(type))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(name))) << ");" << TestLog::EndMessage; 13501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveAttrib(program, index, bufSize, length, size, type, name); 13511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 13521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 13531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveSubroutineName (glw::GLuint program, glw::GLenum shadertype, glw::GLuint index, glw::GLsizei bufsize, glw::GLsizei *length, glw::GLchar *name) 13541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 13551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 13563cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveSubroutineName(" << program << ", " << toHex(shadertype) << ", " << index << ", " << bufsize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(name))) << ");" << TestLog::EndMessage; 13571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveSubroutineName(program, shadertype, index, bufsize, length, name); 13581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 13591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 13601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveSubroutineUniformName (glw::GLuint program, glw::GLenum shadertype, glw::GLuint index, glw::GLsizei bufsize, glw::GLsizei *length, glw::GLchar *name) 13613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 13623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13633cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveSubroutineUniformName(" << program << ", " << toHex(shadertype) << ", " << index << ", " << bufsize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(name))) << ");" << TestLog::EndMessage; 13641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name); 13653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 13663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 13671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveSubroutineUniformiv (glw::GLuint program, glw::GLenum shadertype, glw::GLuint index, glw::GLenum pname, glw::GLint *values) 13683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 13693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13703cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveSubroutineUniformiv(" << program << ", " << toHex(shadertype) << ", " << index << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(values))) << ");" << TestLog::EndMessage; 13711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveSubroutineUniformiv(program, shadertype, index, pname, values); 13723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 13733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 13741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveUniform (glw::GLuint program, glw::GLuint index, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLint *size, glw::GLenum *type, glw::GLchar *name) 13753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 13763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13773cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveUniform(" << program << ", " << index << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(size))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(type))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(name))) << ");" << TestLog::EndMessage; 13781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveUniform(program, index, bufSize, length, size, type, name); 13793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry { 13811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// length = " << getPointerStr(length, 1) << TestLog::EndMessage; 13821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// size = " << getPointerStr(size, 1) << TestLog::EndMessage; 13831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// type = " << getEnumPointerStr(type, 1, getShaderVarTypeName) << TestLog::EndMessage; 13841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// name = " << getStringStr(name) << TestLog::EndMessage; 13853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry } 13863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 13873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 13881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveUniformBlockName (glw::GLuint program, glw::GLuint uniformBlockIndex, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *uniformBlockName) 13893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 13903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13913cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveUniformBlockName(" << program << ", " << uniformBlockIndex << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(uniformBlockName))) << ");" << TestLog::EndMessage; 13921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); 13931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 13941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 13951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveUniformBlockiv (glw::GLuint program, glw::GLuint uniformBlockIndex, glw::GLenum pname, glw::GLint *params) 13961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 13973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 13983cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveUniformBlockiv(" << program << ", " << uniformBlockIndex << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 13991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveUniformBlockiv(program, uniformBlockIndex, pname, params); 14003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveUniformName (glw::GLuint program, glw::GLuint uniformIndex, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *uniformName) 14033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14053cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveUniformName(" << program << ", " << uniformIndex << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(uniformName))) << ");" << TestLog::EndMessage; 14061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveUniformName(program, uniformIndex, bufSize, length, uniformName); 14073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetActiveUniformsiv (glw::GLuint program, glw::GLsizei uniformCount, const glw::GLuint *uniformIndices, glw::GLenum pname, glw::GLint *params) 14103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14123cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetActiveUniformsiv(" << program << ", " << uniformCount << ", " << getPointerStr(uniformIndices, uniformCount) << ", " << getUniformParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 14131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); 14141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 14151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, uniformCount) << TestLog::EndMessage; 14163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetAttachedShaders (glw::GLuint program, glw::GLsizei maxCount, glw::GLsizei *count, glw::GLuint *shaders) 14193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14213cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetAttachedShaders(" << program << ", " << maxCount << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(count))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(shaders))) << ");" << TestLog::EndMessage; 14221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getAttachedShaders(program, maxCount, count, shaders); 14233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLint CallLogWrapper::glGetAttribLocation (glw::GLuint program, const glw::GLchar *name) 14263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetAttribLocation(" << program << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 14291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLint returnValue = m_gl.getAttribLocation(program, name); 14303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 14323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry return returnValue; 14333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetBooleani_v (glw::GLenum target, glw::GLuint index, glw::GLboolean *data) 14363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14383cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetBooleani_v(" << getGettableIndexedStateStr(target) << ", " << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 14391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getBooleani_v(target, index, data); 1440cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 14417867608b4db9e61bee3894a39783cb6d087faa6fMika Isojärvi m_log << TestLog::Message << "// data = " << getBooleanPointerStr(data, getIndexedQueryNumArgsOut(target)) << TestLog::EndMessage; 14421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 14431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 14441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetBooleanv (glw::GLenum pname, glw::GLboolean *data) 14451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 14463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14473cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetBooleanv(" << getGettableStateStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 14481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getBooleanv(pname, data); 14491f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry if (m_enableLog) 14501f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry m_log << TestLog::Message << "// data = " << getBooleanPointerStr(data, getBasicQueryNumArgsOut(pname)) << TestLog::EndMessage; 14513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetBufferParameteri64v (glw::GLenum target, glw::GLenum pname, glw::GLint64 *params) 14543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14563cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetBufferParameteri64v(" << getBufferTargetStr(target) << ", " << getBufferQueryStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 14571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getBufferParameteri64v(target, pname, params); 14583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetBufferParameteriv (glw::GLenum target, glw::GLenum pname, glw::GLint *params) 14613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14633cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetBufferParameteriv(" << getBufferTargetStr(target) << ", " << getBufferQueryStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 14641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getBufferParameteriv(target, pname, params); 14653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetBufferPointerv (glw::GLenum target, glw::GLenum pname, void **params) 14683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14703cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetBufferPointerv(" << toHex(target) << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 14711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getBufferPointerv(target, pname, params); 14723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetBufferSubData (glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, void *data) 14753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetBufferSubData(" << toHex(target) << ", " << offset << ", " << size << ", " << data << ");" << TestLog::EndMessage; 14781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getBufferSubData(target, offset, size, data); 14793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetCompressedTexImage (glw::GLenum target, glw::GLint level, void *img) 14823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetCompressedTexImage(" << toHex(target) << ", " << level << ", " << img << ");" << TestLog::EndMessage; 14851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getCompressedTexImage(target, level, img); 14863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetCompressedTextureImage (glw::GLuint texture, glw::GLint level, glw::GLsizei bufSize, void *pixels) 14893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetCompressedTextureImage(" << texture << ", " << level << ", " << bufSize << ", " << pixels << ");" << TestLog::EndMessage; 14921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getCompressedTextureImage(texture, level, bufSize, pixels); 14933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 14943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 14951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetCompressedTextureSubImage (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLsizei bufSize, void *pixels) 14963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 14973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 14981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetCompressedTextureSubImage(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << width << ", " << height << ", " << depth << ", " << bufSize << ", " << pixels << ");" << TestLog::EndMessage; 14991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels); 15003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 15013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 15021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLuint CallLogWrapper::glGetDebugMessageLog (glw::GLuint count, glw::GLsizei bufSize, glw::GLenum *sources, glw::GLenum *types, glw::GLuint *ids, glw::GLenum *severities, glw::GLsizei *lengths, glw::GLchar *messageLog) 15033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 15043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 15053cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetDebugMessageLog(" << count << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(sources))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(types))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(ids))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(severities))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(lengths))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(messageLog))) << ");" << TestLog::EndMessage; 15061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLuint returnValue = m_gl.getDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog); 15071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 15091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 15103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 15113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 15121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetDoublei_v (glw::GLenum target, glw::GLuint index, glw::GLdouble *data) 15133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 15143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 15153cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetDoublei_v(" << toHex(target) << ", " << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 15161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getDoublei_v(target, index, data); 15173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 15183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 15191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetDoublev (glw::GLenum pname, glw::GLdouble *data) 15203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 15213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 15223cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetDoublev(" << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 15231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getDoublev(pname, data); 15243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 15253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 15261f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryglw::GLenum CallLogWrapper::glGetError (void) 15273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 15283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 15291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetError(" << ");" << TestLog::EndMessage; 15301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLenum returnValue = m_gl.getError(); 15311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getErrorStr(returnValue) << " returned" << TestLog::EndMessage; 15331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 15341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 15351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 15361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetFloati_v (glw::GLenum target, glw::GLuint index, glw::GLfloat *data) 15371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 15381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15393cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetFloati_v(" << toHex(target) << ", " << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 15401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getFloati_v(target, index, data); 15411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 15421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 15431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetFloatv (glw::GLenum pname, glw::GLfloat *data) 15441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 15451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15463cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetFloatv(" << getGettableStateStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 15471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getFloatv(pname, data); 15481f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry if (m_enableLog) 15491f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry m_log << TestLog::Message << "// data = " << getPointerStr(data, getBasicQueryNumArgsOut(pname)) << TestLog::EndMessage; 15501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 15511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 15521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLint CallLogWrapper::glGetFragDataIndex (glw::GLuint program, const glw::GLchar *name) 15531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 15541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetFragDataIndex(" << program << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 15561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLint returnValue = m_gl.getFragDataIndex(program, name); 15573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 15583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 15593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry return returnValue; 15603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 15613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 15621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLint CallLogWrapper::glGetFragDataLocation (glw::GLuint program, const glw::GLchar *name) 15633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 15643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 15651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetFragDataLocation(" << program << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 15661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLint returnValue = m_gl.getFragDataLocation(program, name); 15673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 15683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 15693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry return returnValue; 15703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 15713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 15721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetFramebufferAttachmentParameteriv (glw::GLenum target, glw::GLenum attachment, glw::GLenum pname, glw::GLint *params) 15731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 15741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15753cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetFramebufferAttachmentParameteriv(" << getFramebufferTargetStr(target) << ", " << getFramebufferAttachmentStr(attachment) << ", " << getFramebufferAttachmentParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 15761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getFramebufferAttachmentParameteriv(target, attachment, pname, params); 15771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getFramebufferAttachmentParameterValueStr(pname, params) << TestLog::EndMessage; 15791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 15801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 15811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetFramebufferParameteriv (glw::GLenum target, glw::GLenum pname, glw::GLint *params) 15821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 15831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15843cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetFramebufferParameteriv(" << getFramebufferTargetStr(target) << ", " << getFramebufferParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 15851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getFramebufferParameteriv(target, pname, params); 1586cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 1587cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 15881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 15891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 15901f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryglw::GLenum CallLogWrapper::glGetGraphicsResetStatus (void) 15911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 15921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetGraphicsResetStatus(" << ");" << TestLog::EndMessage; 15941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLenum returnValue = m_gl.getGraphicsResetStatus(); 15951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 15961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << toHex(returnValue) << " returned" << TestLog::EndMessage; 15971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 15981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 15991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 16001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetInteger64i_v (glw::GLenum target, glw::GLuint index, glw::GLint64 *data) 16013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16033cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetInteger64i_v(" << getGettableIndexedStateStr(target) << ", " << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 16041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getInteger64i_v(target, index, data); 1605cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 16067867608b4db9e61bee3894a39783cb6d087faa6fMika Isojärvi m_log << TestLog::Message << "// data = " << getPointerStr(data, getIndexedQueryNumArgsOut(target)) << TestLog::EndMessage; 16073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 16091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetInteger64v (glw::GLenum pname, glw::GLint64 *data) 16103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16123cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetInteger64v(" << getGettableStateStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 16131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getInteger64v(pname, data); 16141f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry if (m_enableLog) 16151f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry m_log << TestLog::Message << "// data = " << getPointerStr(data, getBasicQueryNumArgsOut(pname)) << TestLog::EndMessage; 16163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 16181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetIntegeri_v (glw::GLenum target, glw::GLuint index, glw::GLint *data) 16193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16213cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetIntegeri_v(" << getGettableIndexedStateStr(target) << ", " << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 16221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getIntegeri_v(target, index, data); 1623cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 16247867608b4db9e61bee3894a39783cb6d087faa6fMika Isojärvi m_log << TestLog::Message << "// data = " << getPointerStr(data, getIndexedQueryNumArgsOut(target)) << TestLog::EndMessage; 16253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 16271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetIntegerv (glw::GLenum pname, glw::GLint *data) 16283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16303cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetIntegerv(" << getGettableStateStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(data))) << ");" << TestLog::EndMessage; 16311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getIntegerv(pname, data); 16321f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry if (m_enableLog) 16331f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry m_log << TestLog::Message << "// data = " << getPointerStr(data, getBasicQueryNumArgsOut(pname)) << TestLog::EndMessage; 16343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 16361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetInternalformati64v (glw::GLenum target, glw::GLenum internalformat, glw::GLenum pname, glw::GLsizei bufSize, glw::GLint64 *params) 16373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16393cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetInternalformati64v(" << toHex(target) << ", " << toHex(internalformat) << ", " << toHex(pname) << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 16401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getInternalformati64v(target, internalformat, pname, bufSize, params); 16413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 16431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetInternalformativ (glw::GLenum target, glw::GLenum internalformat, glw::GLenum pname, glw::GLsizei bufSize, glw::GLint *params) 16443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 1646b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glGetInternalformativ(" << getInternalFormatTargetStr(target) << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << getInternalFormatParameterStr(pname) << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 16471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getInternalformativ(target, internalformat, pname, bufSize, params); 16481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 16491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, bufSize) << TestLog::EndMessage; 16503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 16521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetMultisamplefv (glw::GLenum pname, glw::GLuint index, glw::GLfloat *val) 16533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16553cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetMultisamplefv(" << getMultisampleParameterStr(pname) << ", " << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(val))) << ");" << TestLog::EndMessage; 16561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getMultisamplefv(pname, index, val); 16573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// val = " << getPointerStr(val, 2) << TestLog::EndMessage; 16593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 16611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetNamedBufferParameteri64v (glw::GLuint buffer, glw::GLenum pname, glw::GLint64 *params) 16623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16643cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetNamedBufferParameteri64v(" << buffer << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 16651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getNamedBufferParameteri64v(buffer, pname, params); 16663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 16681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetNamedBufferParameteriv (glw::GLuint buffer, glw::GLenum pname, glw::GLint *params) 16693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16713cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetNamedBufferParameteriv(" << buffer << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 16721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getNamedBufferParameteriv(buffer, pname, params); 16731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 16741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 16751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetNamedBufferPointerv (glw::GLuint buffer, glw::GLenum pname, void **params) 16761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 16773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16783cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetNamedBufferPointerv(" << buffer << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 16791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getNamedBufferPointerv(buffer, pname, params); 16803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 16813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 1682314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glGetNamedBufferSubData (glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size, void *data) 16833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 16843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetNamedBufferSubData(" << buffer << ", " << offset << ", " << size << ", " << data << ");" << TestLog::EndMessage; 16861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getNamedBufferSubData(buffer, offset, size, data); 16871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 16881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 16891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetNamedFramebufferAttachmentParameteriv (glw::GLuint framebuffer, glw::GLenum attachment, glw::GLenum pname, glw::GLint *params) 16901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 16913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 16923cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetNamedFramebufferAttachmentParameteriv(" << framebuffer << ", " << toHex(attachment) << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 16931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, params); 16941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 16951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 16961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetNamedFramebufferParameteriv (glw::GLuint framebuffer, glw::GLenum pname, glw::GLint *param) 16971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 16981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 16993cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetNamedFramebufferParameteriv(" << framebuffer << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 17001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getNamedFramebufferParameteriv(framebuffer, pname, param); 17011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 17021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 17031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetNamedRenderbufferParameteriv (glw::GLuint renderbuffer, glw::GLenum pname, glw::GLint *params) 17041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 17051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17063cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetNamedRenderbufferParameteriv(" << renderbuffer << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 17071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getNamedRenderbufferParameteriv(renderbuffer, pname, params); 17081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 17091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 17101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetObjectLabel (glw::GLenum identifier, glw::GLuint name, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *label) 17111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 17121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17133cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetObjectLabel(" << toHex(identifier) << ", " << name << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(label))) << ");" << TestLog::EndMessage; 17141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getObjectLabel(identifier, name, bufSize, length, label); 17151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 17161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 17171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetObjectPtrLabel (const void *ptr, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *label) 17181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 17191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17203cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetObjectPtrLabel(" << ptr << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(label))) << ");" << TestLog::EndMessage; 17211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getObjectPtrLabel(ptr, bufSize, length, label); 17221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 17231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 17241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetPointerv (glw::GLenum pname, void **params) 17251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 17261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17273cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetPointerv(" << getPointerStateStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 17281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getPointerv(pname, params); 17297af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 17307af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 17311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 17321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 17331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramBinary (glw::GLuint program, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLenum *binaryFormat, void *binary) 17341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 17351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17363cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramBinary(" << program << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(binaryFormat))) << ", " << binary << ");" << TestLog::EndMessage; 17371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramBinary(program, bufSize, length, binaryFormat, binary); 17381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 17391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 17401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramInfoLog (glw::GLuint program, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *infoLog) 17411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 17421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17433cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramInfoLog(" << program << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(infoLog))) << ");" << TestLog::EndMessage; 17441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramInfoLog(program, bufSize, length, infoLog); 17457af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 17467af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// length = " << getPointerStr(length, 1) << TestLog::EndMessage; 17471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 17481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 17491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramInterfaceiv (glw::GLuint program, glw::GLenum programInterface, glw::GLenum pname, glw::GLint *params) 17501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 17511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17523cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramInterfaceiv(" << program << ", " << toHex(programInterface) << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 17531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramInterfaceiv(program, programInterface, pname, params); 17543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 17553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 17561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramPipelineInfoLog (glw::GLuint pipeline, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *infoLog) 17573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 17583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 17593cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramPipelineInfoLog(" << pipeline << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(infoLog))) << ");" << TestLog::EndMessage; 17601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); 1761cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 1762cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "// length = " << getPointerStr(length, 1) << TestLog::EndMessage; 17633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 17643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 17651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramPipelineiv (glw::GLuint pipeline, glw::GLenum pname, glw::GLint *params) 17663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 17673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 17683cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramPipelineiv(" << pipeline << ", " << getPipelineParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 17691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramPipelineiv(pipeline, pname, params); 17703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 17711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 17723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 17733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 17741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLuint CallLogWrapper::glGetProgramResourceIndex (glw::GLuint program, glw::GLenum programInterface, const glw::GLchar *name) 17753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 17763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 17771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetProgramResourceIndex(" << program << ", " << getProgramInterfaceStr(programInterface) << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 17781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLuint returnValue = m_gl.getProgramResourceIndex(program, programInterface, name); 17791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 17811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 17823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 17833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 17841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLint CallLogWrapper::glGetProgramResourceLocation (glw::GLuint program, glw::GLenum programInterface, const glw::GLchar *name) 17853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 17863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 17871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetProgramResourceLocation(" << program << ", " << toHex(programInterface) << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 17881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLint returnValue = m_gl.getProgramResourceLocation(program, programInterface, name); 17891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 17901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 17911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 17923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 17933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 17941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLint CallLogWrapper::glGetProgramResourceLocationIndex (glw::GLuint program, glw::GLenum programInterface, const glw::GLchar *name) 17953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 17963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 17971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetProgramResourceLocationIndex(" << program << ", " << toHex(programInterface) << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 17981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLint returnValue = m_gl.getProgramResourceLocationIndex(program, programInterface, name); 17993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 18013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry return returnValue; 18023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramResourceName (glw::GLuint program, glw::GLenum programInterface, glw::GLuint index, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *name) 18053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18073cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramResourceName(" << program << ", " << toHex(programInterface) << ", " << index << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(name))) << ");" << TestLog::EndMessage; 18081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramResourceName(program, programInterface, index, bufSize, length, name); 18093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramResourceiv (glw::GLuint program, glw::GLenum programInterface, glw::GLuint index, glw::GLsizei propCount, const glw::GLenum *props, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLint *params) 18123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18143cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramResourceiv(" << program << ", " << getProgramInterfaceStr(programInterface) << ", " << index << ", " << propCount << ", " << getEnumPointerStr(props, propCount, getProgramResourcePropertyName) << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 18151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params); 18167af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 18177af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry { 18187af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// length = " << getPointerStr(length, 1) << TestLog::EndMessage; 18197af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, ((length == DE_NULL) ? (bufSize) : ((bufSize < *length) ? (bufSize) : (*length)))) << TestLog::EndMessage; 18207af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry } 18213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramStageiv (glw::GLuint program, glw::GLenum shadertype, glw::GLenum pname, glw::GLint *values) 18243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18263cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramStageiv(" << program << ", " << toHex(shadertype) << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(values))) << ");" << TestLog::EndMessage; 18271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramStageiv(program, shadertype, pname, values); 18283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetProgramiv (glw::GLuint program, glw::GLenum pname, glw::GLint *params) 18313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18333cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetProgramiv(" << program << ", " << getProgramParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 18341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getProgramiv(program, pname, params); 18353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 1836cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getProgramQueryNumArgsOut(pname)) << TestLog::EndMessage; 18373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryBufferObjecti64v (glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, glw::GLintptr offset) 18403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetQueryBufferObjecti64v(" << id << ", " << buffer << ", " << toHex(pname) << ", " << offset << ");" << TestLog::EndMessage; 18431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryBufferObjecti64v(id, buffer, pname, offset); 18443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryBufferObjectiv (glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, glw::GLintptr offset) 18473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetQueryBufferObjectiv(" << id << ", " << buffer << ", " << toHex(pname) << ", " << offset << ");" << TestLog::EndMessage; 18501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryBufferObjectiv(id, buffer, pname, offset); 18513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryBufferObjectui64v (glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, glw::GLintptr offset) 18543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetQueryBufferObjectui64v(" << id << ", " << buffer << ", " << toHex(pname) << ", " << offset << ");" << TestLog::EndMessage; 18571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryBufferObjectui64v(id, buffer, pname, offset); 18583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryBufferObjectuiv (glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, glw::GLintptr offset) 18613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetQueryBufferObjectuiv(" << id << ", " << buffer << ", " << toHex(pname) << ", " << offset << ");" << TestLog::EndMessage; 18641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryBufferObjectuiv(id, buffer, pname, offset); 18651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos} 18661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos 18671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryIndexediv (glw::GLenum target, glw::GLuint index, glw::GLenum pname, glw::GLint *params) 18681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos{ 18693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18703cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetQueryIndexediv(" << toHex(target) << ", " << index << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 18711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryIndexediv(target, index, pname, params); 18723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryObjecti64v (glw::GLuint id, glw::GLenum pname, glw::GLint64 *params) 18753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18773cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetQueryObjecti64v(" << id << ", " << getQueryObjectParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 18781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryObjecti64v(id, pname, params); 18791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 18801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 18813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryObjectiv (glw::GLuint id, glw::GLenum pname, glw::GLint *params) 18843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18863cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetQueryObjectiv(" << id << ", " << getQueryObjectParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 18871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryObjectiv(id, pname, params); 18881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 18891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 18903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 18913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 18921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryObjectui64v (glw::GLuint id, glw::GLenum pname, glw::GLuint64 *params) 18933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 18943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 18953cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetQueryObjectui64v(" << id << ", " << getQueryObjectParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 18961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryObjectui64v(id, pname, params); 18971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 18981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 18993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryObjectuiv (glw::GLuint id, glw::GLenum pname, glw::GLuint *params) 19023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19043cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetQueryObjectuiv(" << id << ", " << getQueryObjectParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 19051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryObjectuiv(id, pname, params); 19061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 19071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 19083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetQueryiv (glw::GLenum target, glw::GLenum pname, glw::GLint *params) 19113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19133cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetQueryiv(" << getQueryTargetStr(target) << ", " << getQueryParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 19141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getQueryiv(target, pname, params); 19151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 19161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 19173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetRenderbufferParameteriv (glw::GLenum target, glw::GLenum pname, glw::GLint *params) 19203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19223cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetRenderbufferParameteriv(" << getFramebufferTargetStr(target) << ", " << getRenderbufferParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 19231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getRenderbufferParameteriv(target, pname, params); 19243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetSamplerParameterIiv (glw::GLuint sampler, glw::GLenum pname, glw::GLint *params) 19273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19293cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetSamplerParameterIiv(" << sampler << ", " << getTextureParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 19301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getSamplerParameterIiv(sampler, pname, params); 19317af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 19327af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getTextureParamQueryNumArgsOut(pname)) << TestLog::EndMessage; 19333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetSamplerParameterIuiv (glw::GLuint sampler, glw::GLenum pname, glw::GLuint *params) 19363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19383cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetSamplerParameterIuiv(" << sampler << ", " << getTextureParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 19391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getSamplerParameterIuiv(sampler, pname, params); 19407af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 19417af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getTextureParamQueryNumArgsOut(pname)) << TestLog::EndMessage; 19423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetSamplerParameterfv (glw::GLuint sampler, glw::GLenum pname, glw::GLfloat *params) 19453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19473cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetSamplerParameterfv(" << sampler << ", " << getTextureParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 19481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getSamplerParameterfv(sampler, pname, params); 19497af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 195031be48580b7ff2d602fef40670bd7da69d320c23Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getTextureParamQueryNumArgsOut(pname)) << TestLog::EndMessage; 19513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetSamplerParameteriv (glw::GLuint sampler, glw::GLenum pname, glw::GLint *params) 19543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19563cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetSamplerParameteriv(" << sampler << ", " << getTextureParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 19571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getSamplerParameteriv(sampler, pname, params); 19587af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 195931be48580b7ff2d602fef40670bd7da69d320c23Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getTextureParamQueryNumArgsOut(pname)) << TestLog::EndMessage; 19603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetShaderInfoLog (glw::GLuint shader, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *infoLog) 19633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19653cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetShaderInfoLog(" << shader << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(infoLog))) << ");" << TestLog::EndMessage; 19661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getShaderInfoLog(shader, bufSize, length, infoLog); 19677af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 19687af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// length = " << getPointerStr(length, 1) << TestLog::EndMessage; 19693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetShaderPrecisionFormat (glw::GLenum shadertype, glw::GLenum precisiontype, glw::GLint *range, glw::GLint *precision) 19723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19743cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetShaderPrecisionFormat(" << getShaderTypeStr(shadertype) << ", " << getPrecisionFormatTypeStr(precisiontype) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(range))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(precision))) << ");" << TestLog::EndMessage; 19751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getShaderPrecisionFormat(shadertype, precisiontype, range, precision); 19763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetShaderSource (glw::GLuint shader, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLchar *source) 19793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19813cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetShaderSource(" << shader << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(source))) << ");" << TestLog::EndMessage; 19821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getShaderSource(shader, bufSize, length, source); 19833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetShaderiv (glw::GLuint shader, glw::GLenum pname, glw::GLint *params) 19863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19883cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetShaderiv(" << shader << ", " << getShaderParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 19891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getShaderiv(shader, pname, params); 19901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 19911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 19923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 19933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 19941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosconst glw::GLubyte * CallLogWrapper::glGetString (glw::GLenum name) 19953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 19963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 19971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetString(" << getGettableStringStr(name) << ");" << TestLog::EndMessage; 19981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos const glw::GLubyte * returnValue = m_gl.getString(name); 19991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 20001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getStringStr(returnValue) << " returned" << TestLog::EndMessage; 20011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 20023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosconst glw::GLubyte * CallLogWrapper::glGetStringi (glw::GLenum name, glw::GLuint index) 20053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetStringi(" << getGettableStringStr(name) << ", " << index << ");" << TestLog::EndMessage; 20081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos const glw::GLubyte * returnValue = m_gl.getStringi(name, index); 20091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 20101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getStringStr(returnValue) << " returned" << TestLog::EndMessage; 20111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 20123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLuint CallLogWrapper::glGetSubroutineIndex (glw::GLuint program, glw::GLenum shadertype, const glw::GLchar *name) 20153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetSubroutineIndex(" << program << ", " << toHex(shadertype) << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 20181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLuint returnValue = m_gl.getSubroutineIndex(program, shadertype, name); 20191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 20201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 20211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 20223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLint CallLogWrapper::glGetSubroutineUniformLocation (glw::GLuint program, glw::GLenum shadertype, const glw::GLchar *name) 20253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetSubroutineUniformLocation(" << program << ", " << toHex(shadertype) << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 20281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLint returnValue = m_gl.getSubroutineUniformLocation(program, shadertype, name); 20291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 20301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 20311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 20323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetSynciv (glw::GLsync sync, glw::GLenum pname, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLint *values) 20353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20373cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetSynciv(" << sync << ", " << toHex(pname) << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(values))) << ");" << TestLog::EndMessage; 20381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getSynciv(sync, pname, bufSize, length, values); 20393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTexImage (glw::GLenum target, glw::GLint level, glw::GLenum format, glw::GLenum type, void *pixels) 20423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetTexImage(" << toHex(target) << ", " << level << ", " << toHex(format) << ", " << toHex(type) << ", " << pixels << ");" << TestLog::EndMessage; 20451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTexImage(target, level, format, type, pixels); 20463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTexLevelParameterfv (glw::GLenum target, glw::GLint level, glw::GLenum pname, glw::GLfloat *params) 20493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20513cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTexLevelParameterfv(" << getTextureTargetStr(target) << ", " << level << ", " << getTextureLevelParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 20521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTexLevelParameterfv(target, level, pname, params); 2053cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 2054cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 20553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTexLevelParameteriv (glw::GLenum target, glw::GLint level, glw::GLenum pname, glw::GLint *params) 20583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20603cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTexLevelParameteriv(" << getTextureTargetStr(target) << ", " << level << ", " << getTextureLevelParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 20611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTexLevelParameteriv(target, level, pname, params); 2062cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 2063cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, 1) << TestLog::EndMessage; 20643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTexParameterIiv (glw::GLenum target, glw::GLenum pname, glw::GLint *params) 20673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20693cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTexParameterIiv(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 20701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTexParameterIiv(target, pname, params); 20717af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 20727af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getTextureParamQueryNumArgsOut(pname)) << TestLog::EndMessage; 20733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTexParameterIuiv (glw::GLenum target, glw::GLenum pname, glw::GLuint *params) 20763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20783cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTexParameterIuiv(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 20791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTexParameterIuiv(target, pname, params); 20807af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry if (m_enableLog) 20817af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getTextureParamQueryNumArgsOut(pname)) << TestLog::EndMessage; 20823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTexParameterfv (glw::GLenum target, glw::GLenum pname, glw::GLfloat *params) 20853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20873cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTexParameterfv(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 20881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTexParameterfv(target, pname, params); 2089cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 209031be48580b7ff2d602fef40670bd7da69d320c23Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getTextureParamQueryNumArgsOut(pname)) << TestLog::EndMessage; 20913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 20923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 20931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTexParameteriv (glw::GLenum target, glw::GLenum pname, glw::GLint *params) 20943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 20953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 20963cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTexParameteriv(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 20971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTexParameteriv(target, pname, params); 2098cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry if (m_enableLog) 209931be48580b7ff2d602fef40670bd7da69d320c23Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getTextureParamQueryNumArgsOut(pname)) << TestLog::EndMessage; 21003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTextureImage (glw::GLuint texture, glw::GLint level, glw::GLenum format, glw::GLenum type, glw::GLsizei bufSize, void *pixels) 21033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetTextureImage(" << texture << ", " << level << ", " << toHex(format) << ", " << toHex(type) << ", " << bufSize << ", " << pixels << ");" << TestLog::EndMessage; 21061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTextureImage(texture, level, format, type, bufSize, pixels); 21073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTextureLevelParameterfv (glw::GLuint texture, glw::GLint level, glw::GLenum pname, glw::GLfloat *params) 21103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21123cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTextureLevelParameterfv(" << texture << ", " << level << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 21131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTextureLevelParameterfv(texture, level, pname, params); 21143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTextureLevelParameteriv (glw::GLuint texture, glw::GLint level, glw::GLenum pname, glw::GLint *params) 21173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21193cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTextureLevelParameteriv(" << texture << ", " << level << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 21201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTextureLevelParameteriv(texture, level, pname, params); 21213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTextureParameterIiv (glw::GLuint texture, glw::GLenum pname, glw::GLint *params) 21243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21263cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTextureParameterIiv(" << texture << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 21271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTextureParameterIiv(texture, pname, params); 21283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTextureParameterIuiv (glw::GLuint texture, glw::GLenum pname, glw::GLuint *params) 21313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21333cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTextureParameterIuiv(" << texture << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 21341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTextureParameterIuiv(texture, pname, params); 21353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTextureParameterfv (glw::GLuint texture, glw::GLenum pname, glw::GLfloat *params) 21383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21403cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTextureParameterfv(" << texture << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 21411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTextureParameterfv(texture, pname, params); 21423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTextureParameteriv (glw::GLuint texture, glw::GLenum pname, glw::GLint *params) 21453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21473cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTextureParameteriv(" << texture << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 21481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTextureParameteriv(texture, pname, params); 21493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTextureSubImage (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLenum type, glw::GLsizei bufSize, void *pixels) 21523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetTextureSubImage(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << width << ", " << height << ", " << depth << ", " << toHex(format) << ", " << toHex(type) << ", " << bufSize << ", " << pixels << ");" << TestLog::EndMessage; 21551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels); 21563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTransformFeedbackVarying (glw::GLuint program, glw::GLuint index, glw::GLsizei bufSize, glw::GLsizei *length, glw::GLsizei *size, glw::GLenum *type, glw::GLchar *name) 21593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21613cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTransformFeedbackVarying(" << program << ", " << index << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(size))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(type))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(name))) << ");" << TestLog::EndMessage; 21621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTransformFeedbackVarying(program, index, bufSize, length, size, type, name); 21633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTransformFeedbacki64_v (glw::GLuint xfb, glw::GLenum pname, glw::GLuint index, glw::GLint64 *param) 21663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21683cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTransformFeedbacki64_v(" << xfb << ", " << toHex(pname) << ", " << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 21691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTransformFeedbacki64_v(xfb, pname, index, param); 21703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTransformFeedbacki_v (glw::GLuint xfb, glw::GLenum pname, glw::GLuint index, glw::GLint *param) 21733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21753cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTransformFeedbacki_v(" << xfb << ", " << toHex(pname) << ", " << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 21761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTransformFeedbacki_v(xfb, pname, index, param); 21773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetTransformFeedbackiv (glw::GLuint xfb, glw::GLenum pname, glw::GLint *param) 21803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21823cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetTransformFeedbackiv(" << xfb << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 21831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getTransformFeedbackiv(xfb, pname, param); 21843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLuint CallLogWrapper::glGetUniformBlockIndex (glw::GLuint program, const glw::GLchar *uniformBlockName) 21873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetUniformBlockIndex(" << program << ", " << getStringStr(uniformBlockName) << ");" << TestLog::EndMessage; 21901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLuint returnValue = m_gl.getUniformBlockIndex(program, uniformBlockName); 21911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 21921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 21931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 21943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 21953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 21961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetUniformIndices (glw::GLuint program, glw::GLsizei uniformCount, const glw::GLchar *const*uniformNames, glw::GLuint *uniformIndices) 21973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 21983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 21993cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetUniformIndices(" << program << ", " << uniformCount << ", " << getPointerStr(uniformNames, uniformCount) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(uniformIndices))) << ");" << TestLog::EndMessage; 22001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getUniformIndices(program, uniformCount, uniformNames, uniformIndices); 22011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 22021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// uniformIndices = " << getPointerStr(uniformIndices, uniformCount) << TestLog::EndMessage; 22033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLint CallLogWrapper::glGetUniformLocation (glw::GLuint program, const glw::GLchar *name) 22063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetUniformLocation(" << program << ", " << getStringStr(name) << ");" << TestLog::EndMessage; 22091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLint returnValue = m_gl.getUniformLocation(program, name); 22101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 22111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 22121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 22133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetUniformSubroutineuiv (glw::GLenum shadertype, glw::GLint location, glw::GLuint *params) 22163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22183cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetUniformSubroutineuiv(" << toHex(shadertype) << ", " << location << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 22191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getUniformSubroutineuiv(shadertype, location, params); 22203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetUniformdv (glw::GLuint program, glw::GLint location, glw::GLdouble *params) 22233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22253cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetUniformdv(" << program << ", " << location << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 22261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getUniformdv(program, location, params); 22273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetUniformfv (glw::GLuint program, glw::GLint location, glw::GLfloat *params) 22303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22323cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetUniformfv(" << program << ", " << location << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 22331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getUniformfv(program, location, params); 22343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetUniformiv (glw::GLuint program, glw::GLint location, glw::GLint *params) 22373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22393cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetUniformiv(" << program << ", " << location << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 22401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getUniformiv(program, location, params); 22413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetUniformuiv (glw::GLuint program, glw::GLint location, glw::GLuint *params) 22443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22463cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetUniformuiv(" << program << ", " << location << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 22471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getUniformuiv(program, location, params); 22483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexArrayIndexed64iv (glw::GLuint vaobj, glw::GLuint index, glw::GLenum pname, glw::GLint64 *param) 22513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22533cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexArrayIndexed64iv(" << vaobj << ", " << index << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 22541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexArrayIndexed64iv(vaobj, index, pname, param); 22553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexArrayIndexediv (glw::GLuint vaobj, glw::GLuint index, glw::GLenum pname, glw::GLint *param) 22583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22603cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexArrayIndexediv(" << vaobj << ", " << index << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 22611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexArrayIndexediv(vaobj, index, pname, param); 22623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexArrayiv (glw::GLuint vaobj, glw::GLenum pname, glw::GLint *param) 22653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22673cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexArrayiv(" << vaobj << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 22681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexArrayiv(vaobj, pname, param); 22693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexAttribIiv (glw::GLuint index, glw::GLenum pname, glw::GLint *params) 22723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22743cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexAttribIiv(" << index << ", " << getVertexAttribParameterNameStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 22751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexAttribIiv(index, pname, params); 22761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 22771f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getAttributeQueryNumArgsOut(pname)) << TestLog::EndMessage; 22783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexAttribIuiv (glw::GLuint index, glw::GLenum pname, glw::GLuint *params) 22813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22833cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexAttribIuiv(" << index << ", " << getVertexAttribParameterNameStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 22841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexAttribIuiv(index, pname, params); 22851f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry if (m_enableLog) 22861f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getAttributeQueryNumArgsOut(pname)) << TestLog::EndMessage; 22873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexAttribLdv (glw::GLuint index, glw::GLenum pname, glw::GLdouble *params) 22903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22923cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexAttribLdv(" << index << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 22931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexAttribLdv(index, pname, params); 22943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 22953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 22961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexAttribPointerv (glw::GLuint index, glw::GLenum pname, void **pointer) 22973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 22983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 22993cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexAttribPointerv(" << index << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(pointer))) << ");" << TestLog::EndMessage; 23001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexAttribPointerv(index, pname, pointer); 23013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexAttribdv (glw::GLuint index, glw::GLenum pname, glw::GLdouble *params) 23043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23063cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexAttribdv(" << index << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 23071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexAttribdv(index, pname, params); 23083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexAttribfv (glw::GLuint index, glw::GLenum pname, glw::GLfloat *params) 23113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23133cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexAttribfv(" << index << ", " << getVertexAttribParameterNameStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 23141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexAttribfv(index, pname, params); 23151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 23161f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getAttributeQueryNumArgsOut(pname)) << TestLog::EndMessage; 23173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetVertexAttribiv (glw::GLuint index, glw::GLenum pname, glw::GLint *params) 23203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23223cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetVertexAttribiv(" << index << ", " << getVertexAttribParameterNameStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 23231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getVertexAttribiv(index, pname, params); 23241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 23251f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry m_log << TestLog::Message << "// params = " << getPointerStr(params, getAttributeQueryNumArgsOut(pname)) << TestLog::EndMessage; 23263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetnCompressedTexImage (glw::GLenum target, glw::GLint lod, glw::GLsizei bufSize, void *pixels) 23293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetnCompressedTexImage(" << toHex(target) << ", " << lod << ", " << bufSize << ", " << pixels << ");" << TestLog::EndMessage; 23321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getnCompressedTexImage(target, lod, bufSize, pixels); 23333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetnTexImage (glw::GLenum target, glw::GLint level, glw::GLenum format, glw::GLenum type, glw::GLsizei bufSize, void *pixels) 23363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glGetnTexImage(" << toHex(target) << ", " << level << ", " << toHex(format) << ", " << toHex(type) << ", " << bufSize << ", " << pixels << ");" << TestLog::EndMessage; 23391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getnTexImage(target, level, format, type, bufSize, pixels); 23403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetnUniformdv (glw::GLuint program, glw::GLint location, glw::GLsizei bufSize, glw::GLdouble *params) 23433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23453cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetnUniformdv(" << program << ", " << location << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 23461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getnUniformdv(program, location, bufSize, params); 23473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetnUniformfv (glw::GLuint program, glw::GLint location, glw::GLsizei bufSize, glw::GLfloat *params) 23503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23523cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetnUniformfv(" << program << ", " << location << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 23531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getnUniformfv(program, location, bufSize, params); 23543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetnUniformiv (glw::GLuint program, glw::GLint location, glw::GLsizei bufSize, glw::GLint *params) 23573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23593cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetnUniformiv(" << program << ", " << location << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 23601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getnUniformiv(program, location, bufSize, params); 23613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glGetnUniformuiv (glw::GLuint program, glw::GLint location, glw::GLsizei bufSize, glw::GLuint *params) 23643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23663cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glGetnUniformuiv(" << program << ", " << location << ", " << bufSize << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 23671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.getnUniformuiv(program, location, bufSize, params); 23683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glHint (glw::GLenum target, glw::GLenum mode) 23713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glHint(" << getHintStr(target) << ", " << getHintModeStr(mode) << ");" << TestLog::EndMessage; 23741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.hint(target, mode); 23753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23771a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulosvoid CallLogWrapper::glInsertEventMarkerEXT (glw::GLsizei length, const glw::GLchar *marker) 23781a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos{ 23791a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos if (m_enableLog) 23801a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos m_log << TestLog::Message << "glInsertEventMarkerEXT(" << length << ", " << getStringStr(marker) << ");" << TestLog::EndMessage; 23811a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos m_gl.insertEventMarkerEXT(length, marker); 23821a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos} 23831a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos 23841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glInvalidateBufferData (glw::GLuint buffer) 23853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glInvalidateBufferData(" << buffer << ");" << TestLog::EndMessage; 23881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.invalidateBufferData(buffer); 23893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glInvalidateBufferSubData (glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr length) 23923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 23933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 23941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glInvalidateBufferSubData(" << buffer << ", " << offset << ", " << length << ");" << TestLog::EndMessage; 23951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.invalidateBufferSubData(buffer, offset, length); 23963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 23973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 23981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glInvalidateFramebuffer (glw::GLenum target, glw::GLsizei numAttachments, const glw::GLenum *attachments) 23993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glInvalidateFramebuffer(" << getFramebufferTargetStr(target) << ", " << numAttachments << ", " << getEnumPointerStr(attachments, numAttachments, getInvalidateAttachmentName) << ");" << TestLog::EndMessage; 24021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.invalidateFramebuffer(target, numAttachments, attachments); 24033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glInvalidateNamedFramebufferData (glw::GLuint framebuffer, glw::GLsizei numAttachments, const glw::GLenum *attachments) 24063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24083cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glInvalidateNamedFramebufferData(" << framebuffer << ", " << numAttachments << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(attachments))) << ");" << TestLog::EndMessage; 24091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.invalidateNamedFramebufferData(framebuffer, numAttachments, attachments); 24103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glInvalidateNamedFramebufferSubData (glw::GLuint framebuffer, glw::GLsizei numAttachments, const glw::GLenum *attachments, glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height) 24133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24153cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glInvalidateNamedFramebufferSubData(" << framebuffer << ", " << numAttachments << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(attachments))) << ", " << x << ", " << y << ", " << width << ", " << height << ");" << TestLog::EndMessage; 24161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.invalidateNamedFramebufferSubData(framebuffer, numAttachments, attachments, x, y, width, height); 24173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glInvalidateSubFramebuffer (glw::GLenum target, glw::GLsizei numAttachments, const glw::GLenum *attachments, glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height) 24203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glInvalidateSubFramebuffer(" << getFramebufferTargetStr(target) << ", " << numAttachments << ", " << getEnumPointerStr(attachments, numAttachments, getInvalidateAttachmentName) << ", " << x << ", " << y << ", " << width << ", " << height << ");" << TestLog::EndMessage; 24231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.invalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height); 24243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glInvalidateTexImage (glw::GLuint texture, glw::GLint level) 24273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glInvalidateTexImage(" << texture << ", " << level << ");" << TestLog::EndMessage; 24301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.invalidateTexImage(texture, level); 24313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glInvalidateTexSubImage (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth) 24343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glInvalidateTexSubImage(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << width << ", " << height << ", " << depth << ");" << TestLog::EndMessage; 24371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.invalidateTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth); 24383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsBuffer (glw::GLuint buffer) 24413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsBuffer(" << buffer << ");" << TestLog::EndMessage; 24441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isBuffer(buffer); 24453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 24473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry return returnValue; 24483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsEnabled (glw::GLenum cap) 24513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsEnabled(" << getEnableCapStr(cap) << ");" << TestLog::EndMessage; 24541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isEnabled(cap); 24553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 24571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 24583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsEnabledi (glw::GLenum target, glw::GLuint index) 24613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24631459a4523cf1c06ef7d413adf2ba9a8bc8a98d9aMika Isojärvi m_log << TestLog::Message << "glIsEnabledi(" << getIndexedEnableCapStr(target) << ", " << index << ");" << TestLog::EndMessage; 24641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isEnabledi(target, index); 24653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 24671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 24683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsFramebuffer (glw::GLuint framebuffer) 24713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsFramebuffer(" << framebuffer << ");" << TestLog::EndMessage; 24741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isFramebuffer(framebuffer); 24751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 24761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 24771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 24783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsProgram (glw::GLuint program) 24813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsProgram(" << program << ");" << TestLog::EndMessage; 24841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isProgram(program); 24851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 24861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 24871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 24883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 24901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsProgramPipeline (glw::GLuint pipeline) 24913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 24923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 24931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsProgramPipeline(" << pipeline << ");" << TestLog::EndMessage; 24941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isProgramPipeline(pipeline); 24951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 24961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 24971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 24983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 24993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsQuery (glw::GLuint id) 25013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsQuery(" << id << ");" << TestLog::EndMessage; 25041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isQuery(id); 25051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 25061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 25071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 25083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsRenderbuffer (glw::GLuint renderbuffer) 25113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsRenderbuffer(" << renderbuffer << ");" << TestLog::EndMessage; 25141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isRenderbuffer(renderbuffer); 25151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 25161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 25171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 25183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsSampler (glw::GLuint sampler) 25213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsSampler(" << sampler << ");" << TestLog::EndMessage; 25241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isSampler(sampler); 25251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 25261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 25271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 25283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsShader (glw::GLuint shader) 25313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsShader(" << shader << ");" << TestLog::EndMessage; 25341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isShader(shader); 25353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 25371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 25383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsSync (glw::GLsync sync) 25413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsSync(" << sync << ");" << TestLog::EndMessage; 25441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isSync(sync); 25451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 25461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 25471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 25483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsTexture (glw::GLuint texture) 25513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsTexture(" << texture << ");" << TestLog::EndMessage; 25541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isTexture(texture); 25551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 25561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 25571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 25583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsTransformFeedback (glw::GLuint id) 25613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsTransformFeedback(" << id << ");" << TestLog::EndMessage; 25641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isTransformFeedback(id); 25651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 25661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 25671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 25683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glIsVertexArray (glw::GLuint array) 25713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glIsVertexArray(" << array << ");" << TestLog::EndMessage; 25741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.isVertexArray(array); 25751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 25761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 25771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 25783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glLineWidth (glw::GLfloat width) 25813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glLineWidth(" << width << ");" << TestLog::EndMessage; 25841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.lineWidth(width); 25853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glLinkProgram (glw::GLuint program) 25883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glLinkProgram(" << program << ");" << TestLog::EndMessage; 25911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.linkProgram(program); 25923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 25933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 25941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glLogicOp (glw::GLenum opcode) 25953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 25963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 25971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glLogicOp(" << toHex(opcode) << ");" << TestLog::EndMessage; 25981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.logicOp(opcode); 25993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid * CallLogWrapper::glMapBuffer (glw::GLenum target, glw::GLenum access) 26023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMapBuffer(" << toHex(target) << ", " << toHex(access) << ");" << TestLog::EndMessage; 26051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos void * returnValue = m_gl.mapBuffer(target, access); 26061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 26071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 26081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 26093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid * CallLogWrapper::glMapBufferRange (glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr length, glw::GLbitfield access) 26123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMapBufferRange(" << getBufferTargetStr(target) << ", " << offset << ", " << length << ", " << getBufferMapFlagsStr(access) << ");" << TestLog::EndMessage; 26151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos void * returnValue = m_gl.mapBufferRange(target, offset, length, access); 26161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 26171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 26181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 26193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid * CallLogWrapper::glMapNamedBuffer (glw::GLuint buffer, glw::GLenum access) 26223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMapNamedBuffer(" << buffer << ", " << toHex(access) << ");" << TestLog::EndMessage; 26251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos void * returnValue = m_gl.mapNamedBuffer(buffer, access); 26261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 26271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 26281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 26293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 2631314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid * CallLogWrapper::glMapNamedBufferRange (glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr length, glw::GLbitfield access) 26323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMapNamedBufferRange(" << buffer << ", " << offset << ", " << length << ", " << toHex(access) << ");" << TestLog::EndMessage; 26351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos void * returnValue = m_gl.mapNamedBufferRange(buffer, offset, length, access); 26361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 26371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << returnValue << " returned" << TestLog::EndMessage; 26381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 26393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glMemoryBarrier (glw::GLbitfield barriers) 26423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMemoryBarrier(" << getMemoryBarrierFlagsStr(barriers) << ");" << TestLog::EndMessage; 26451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.memoryBarrier(barriers); 26463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glMemoryBarrierByRegion (glw::GLbitfield barriers) 26493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMemoryBarrierByRegion(" << toHex(barriers) << ");" << TestLog::EndMessage; 26521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.memoryBarrierByRegion(barriers); 26533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glMinSampleShading (glw::GLfloat value) 26563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMinSampleShading(" << value << ");" << TestLog::EndMessage; 26591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.minSampleShading(value); 26603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glMultiDrawArrays (glw::GLenum mode, const glw::GLint *first, const glw::GLsizei *count, glw::GLsizei drawcount) 26633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26653cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glMultiDrawArrays(" << getPrimitiveTypeStr(mode) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(first))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(count))) << ", " << drawcount << ");" << TestLog::EndMessage; 26661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.multiDrawArrays(mode, first, count, drawcount); 26673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glMultiDrawArraysIndirect (glw::GLenum mode, const void *indirect, glw::GLsizei drawcount, glw::GLsizei stride) 26703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMultiDrawArraysIndirect(" << toHex(mode) << ", " << indirect << ", " << drawcount << ", " << stride << ");" << TestLog::EndMessage; 26731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.multiDrawArraysIndirect(mode, indirect, drawcount, stride); 26743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glMultiDrawElements (glw::GLenum mode, const glw::GLsizei *count, glw::GLenum type, const void *const*indices, glw::GLsizei drawcount) 26773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26793cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glMultiDrawElements(" << getPrimitiveTypeStr(mode) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(count))) << ", " << getTypeStr(type) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(indices))) << ", " << drawcount << ");" << TestLog::EndMessage; 26801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.multiDrawElements(mode, count, type, indices, drawcount); 26813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glMultiDrawElementsBaseVertex (glw::GLenum mode, const glw::GLsizei *count, glw::GLenum type, const void *const*indices, glw::GLsizei drawcount, const glw::GLint *basevertex) 26843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26863cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glMultiDrawElementsBaseVertex(" << getPrimitiveTypeStr(mode) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(count))) << ", " << getTypeStr(type) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(indices))) << ", " << drawcount << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(basevertex))) << ");" << TestLog::EndMessage; 26871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.multiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); 26883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 26901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glMultiDrawElementsIndirect (glw::GLenum mode, glw::GLenum type, const void *indirect, glw::GLsizei drawcount, glw::GLsizei stride) 26913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 26931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glMultiDrawElementsIndirect(" << toHex(mode) << ", " << toHex(type) << ", " << indirect << ", " << drawcount << ", " << stride << ");" << TestLog::EndMessage; 26941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.multiDrawElementsIndirect(mode, type, indirect, drawcount, stride); 26953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 26963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 2697314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glNamedBufferData (glw::GLuint buffer, glw::GLsizeiptr size, const void *data, glw::GLenum usage) 26983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 26993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedBufferData(" << buffer << ", " << size << ", " << data << ", " << toHex(usage) << ");" << TestLog::EndMessage; 27011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedBufferData(buffer, size, data, usage); 27023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 2704314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glNamedBufferStorage (glw::GLuint buffer, glw::GLsizeiptr size, const void *data, glw::GLbitfield flags) 27053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedBufferStorage(" << buffer << ", " << size << ", " << data << ", " << toHex(flags) << ");" << TestLog::EndMessage; 27081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedBufferStorage(buffer, size, data, flags); 27093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 2711314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glNamedBufferSubData (glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size, const void *data) 27123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedBufferSubData(" << buffer << ", " << offset << ", " << size << ", " << data << ");" << TestLog::EndMessage; 27151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedBufferSubData(buffer, offset, size, data); 27163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedFramebufferDrawBuffer (glw::GLuint framebuffer, glw::GLenum buf) 27193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedFramebufferDrawBuffer(" << framebuffer << ", " << toHex(buf) << ");" << TestLog::EndMessage; 27221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedFramebufferDrawBuffer(framebuffer, buf); 27233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedFramebufferDrawBuffers (glw::GLuint framebuffer, glw::GLsizei n, const glw::GLenum *bufs) 27263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27283cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glNamedFramebufferDrawBuffers(" << framebuffer << ", " << n << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(bufs))) << ");" << TestLog::EndMessage; 27291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedFramebufferDrawBuffers(framebuffer, n, bufs); 27303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedFramebufferParameteri (glw::GLuint framebuffer, glw::GLenum pname, glw::GLint param) 27333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedFramebufferParameteri(" << framebuffer << ", " << toHex(pname) << ", " << param << ");" << TestLog::EndMessage; 27361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedFramebufferParameteri(framebuffer, pname, param); 27373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedFramebufferReadBuffer (glw::GLuint framebuffer, glw::GLenum src) 27403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedFramebufferReadBuffer(" << framebuffer << ", " << toHex(src) << ");" << TestLog::EndMessage; 27431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedFramebufferReadBuffer(framebuffer, src); 27443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedFramebufferRenderbuffer (glw::GLuint framebuffer, glw::GLenum attachment, glw::GLenum renderbuffertarget, glw::GLuint renderbuffer) 27473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedFramebufferRenderbuffer(" << framebuffer << ", " << toHex(attachment) << ", " << toHex(renderbuffertarget) << ", " << renderbuffer << ");" << TestLog::EndMessage; 27501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget, renderbuffer); 27513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedFramebufferTexture (glw::GLuint framebuffer, glw::GLenum attachment, glw::GLuint texture, glw::GLint level) 27543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedFramebufferTexture(" << framebuffer << ", " << toHex(attachment) << ", " << texture << ", " << level << ");" << TestLog::EndMessage; 27571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedFramebufferTexture(framebuffer, attachment, texture, level); 27583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedFramebufferTextureLayer (glw::GLuint framebuffer, glw::GLenum attachment, glw::GLuint texture, glw::GLint level, glw::GLint layer) 27613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedFramebufferTextureLayer(" << framebuffer << ", " << toHex(attachment) << ", " << texture << ", " << level << ", " << layer << ");" << TestLog::EndMessage; 27641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer); 27653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedRenderbufferStorage (glw::GLuint renderbuffer, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height) 27683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedRenderbufferStorage(" << renderbuffer << ", " << toHex(internalformat) << ", " << width << ", " << height << ");" << TestLog::EndMessage; 27711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedRenderbufferStorage(renderbuffer, internalformat, width, height); 27723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glNamedRenderbufferStorageMultisample (glw::GLuint renderbuffer, glw::GLsizei samples, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height) 27753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glNamedRenderbufferStorageMultisample(" << renderbuffer << ", " << samples << ", " << toHex(internalformat) << ", " << width << ", " << height << ");" << TestLog::EndMessage; 27781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.namedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width, height); 27793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glObjectLabel (glw::GLenum identifier, glw::GLuint name, glw::GLsizei length, const glw::GLchar *label) 27823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glObjectLabel(" << toHex(identifier) << ", " << name << ", " << length << ", " << getStringStr(label) << ");" << TestLog::EndMessage; 27851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.objectLabel(identifier, name, length, label); 27863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glObjectPtrLabel (const void *ptr, glw::GLsizei length, const glw::GLchar *label) 27893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glObjectPtrLabel(" << ptr << ", " << length << ", " << getStringStr(label) << ");" << TestLog::EndMessage; 27921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.objectPtrLabel(ptr, length, label); 27933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 27943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 27951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPatchParameterfv (glw::GLenum pname, const glw::GLfloat *values) 27963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 27973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 27983cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glPatchParameterfv(" << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(values))) << ");" << TestLog::EndMessage; 27991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.patchParameterfv(pname, values); 28003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPatchParameteri (glw::GLenum pname, glw::GLint value) 28033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28057af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glPatchParameteri(" << getPatchParamStr(pname) << ", " << value << ");" << TestLog::EndMessage; 28061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.patchParameteri(pname, value); 28073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28091f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glPauseTransformFeedback (void) 28103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPauseTransformFeedback(" << ");" << TestLog::EndMessage; 28131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pauseTransformFeedback(); 28143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPixelStoref (glw::GLenum pname, glw::GLfloat param) 28173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPixelStoref(" << toHex(pname) << ", " << param << ");" << TestLog::EndMessage; 28201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pixelStoref(pname, param); 28213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPixelStorei (glw::GLenum pname, glw::GLint param) 28243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPixelStorei(" << getPixelStoreParameterStr(pname) << ", " << param << ");" << TestLog::EndMessage; 28271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pixelStorei(pname, param); 28283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPointParameterf (glw::GLenum pname, glw::GLfloat param) 28313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPointParameterf(" << toHex(pname) << ", " << param << ");" << TestLog::EndMessage; 28341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pointParameterf(pname, param); 28353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPointParameterfv (glw::GLenum pname, const glw::GLfloat *params) 28383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28403cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glPointParameterfv(" << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 28411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pointParameterfv(pname, params); 28423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPointParameteri (glw::GLenum pname, glw::GLint param) 28453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPointParameteri(" << toHex(pname) << ", " << param << ");" << TestLog::EndMessage; 28481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pointParameteri(pname, param); 28493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPointParameteriv (glw::GLenum pname, const glw::GLint *params) 28523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28543cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glPointParameteriv(" << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 28551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pointParameteriv(pname, params); 28563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPointSize (glw::GLfloat size) 28593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPointSize(" << size << ");" << TestLog::EndMessage; 28621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pointSize(size); 28633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPolygonMode (glw::GLenum face, glw::GLenum mode) 28663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPolygonMode(" << toHex(face) << ", " << toHex(mode) << ");" << TestLog::EndMessage; 28691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.polygonMode(face, mode); 28703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPolygonOffset (glw::GLfloat factor, glw::GLfloat units) 28733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPolygonOffset(" << factor << ", " << units << ");" << TestLog::EndMessage; 28761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.polygonOffset(factor, units); 28773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28791f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glPopDebugGroup (void) 28803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 28813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 28821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPopDebugGroup(" << ");" << TestLog::EndMessage; 28831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.popDebugGroup(); 28843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 28853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 28861a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulosvoid CallLogWrapper::glPopGroupMarkerEXT (void) 28871a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos{ 28881a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos if (m_enableLog) 28891a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos m_log << TestLog::Message << "glPopGroupMarkerEXT(" << ");" << TestLog::EndMessage; 28901a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos m_gl.popGroupMarkerEXT(); 28911a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos} 28921a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos 2893485a2d1c89e689e6b8523fc3b9c146c63e92bfd7Daniel Andrade Groppevoid CallLogWrapper::glPrimitiveBoundingBox (glw::GLfloat minX, glw::GLfloat minY, glw::GLfloat minZ, glw::GLfloat minW, glw::GLfloat maxX, glw::GLfloat maxY, glw::GLfloat maxZ, glw::GLfloat maxW) 28941f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry{ 28951f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry if (m_enableLog) 2896485a2d1c89e689e6b8523fc3b9c146c63e92bfd7Daniel Andrade Groppe m_log << TestLog::Message << "glPrimitiveBoundingBox(" << minX << ", " << minY << ", " << minZ << ", " << minW << ", " << maxX << ", " << maxY << ", " << maxZ << ", " << maxW << ");" << TestLog::EndMessage; 2897485a2d1c89e689e6b8523fc3b9c146c63e92bfd7Daniel Andrade Groppe m_gl.primitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); 28981f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry} 28991f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyry 29001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPrimitiveRestartIndex (glw::GLuint index) 29013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPrimitiveRestartIndex(" << index << ");" << TestLog::EndMessage; 29041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.primitiveRestartIndex(index); 29053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramBinary (glw::GLuint program, glw::GLenum binaryFormat, const void *binary, glw::GLsizei length) 29083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramBinary(" << program << ", " << toHex(binaryFormat) << ", " << binary << ", " << length << ");" << TestLog::EndMessage; 29111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programBinary(program, binaryFormat, binary, length); 29123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramParameteri (glw::GLuint program, glw::GLenum pname, glw::GLint value) 29153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 2917cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "glProgramParameteri(" << program << ", " << getProgramParamStr(pname) << ", " << value << ");" << TestLog::EndMessage; 29181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programParameteri(program, pname, value); 29193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform1d (glw::GLuint program, glw::GLint location, glw::GLdouble v0) 29223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform1d(" << program << ", " << location << ", " << v0 << ");" << TestLog::EndMessage; 29251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform1d(program, location, v0); 29263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform1dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLdouble *value) 29293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29313cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniform1dv(" << program << ", " << location << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 29321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform1dv(program, location, count, value); 29333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform1f (glw::GLuint program, glw::GLint location, glw::GLfloat v0) 29363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform1f(" << program << ", " << location << ", " << v0 << ");" << TestLog::EndMessage; 29391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform1f(program, location, v0); 29403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform1fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLfloat *value) 29433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform1fv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 1)) << ");" << TestLog::EndMessage; 29461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform1fv(program, location, count, value); 29473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform1i (glw::GLuint program, glw::GLint location, glw::GLint v0) 29503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform1i(" << program << ", " << location << ", " << v0 << ");" << TestLog::EndMessage; 29531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform1i(program, location, v0); 29543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform1iv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLint *value) 29573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform1iv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 1)) << ");" << TestLog::EndMessage; 29601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform1iv(program, location, count, value); 29613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform1ui (glw::GLuint program, glw::GLint location, glw::GLuint v0) 29643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform1ui(" << program << ", " << location << ", " << v0 << ");" << TestLog::EndMessage; 29671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform1ui(program, location, v0); 29683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform1uiv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLuint *value) 29713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform1uiv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 1)) << ");" << TestLog::EndMessage; 29741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform1uiv(program, location, count, value); 29753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform2d (glw::GLuint program, glw::GLint location, glw::GLdouble v0, glw::GLdouble v1) 29783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform2d(" << program << ", " << location << ", " << v0 << ", " << v1 << ");" << TestLog::EndMessage; 29811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform2d(program, location, v0, v1); 29823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform2dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLdouble *value) 29853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29873cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniform2dv(" << program << ", " << location << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 29881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform2dv(program, location, count, value); 29893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform2f (glw::GLuint program, glw::GLint location, glw::GLfloat v0, glw::GLfloat v1) 29923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 29933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 29941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform2f(" << program << ", " << location << ", " << v0 << ", " << v1 << ");" << TestLog::EndMessage; 29951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform2f(program, location, v0, v1); 29963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 29973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 29981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform2fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLfloat *value) 29993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform2fv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 2)) << ");" << TestLog::EndMessage; 30021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform2fv(program, location, count, value); 30033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform2i (glw::GLuint program, glw::GLint location, glw::GLint v0, glw::GLint v1) 30063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform2i(" << program << ", " << location << ", " << v0 << ", " << v1 << ");" << TestLog::EndMessage; 30091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform2i(program, location, v0, v1); 30103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform2iv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLint *value) 30133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform2iv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 2)) << ");" << TestLog::EndMessage; 30161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform2iv(program, location, count, value); 30173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform2ui (glw::GLuint program, glw::GLint location, glw::GLuint v0, glw::GLuint v1) 30203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform2ui(" << program << ", " << location << ", " << v0 << ", " << v1 << ");" << TestLog::EndMessage; 30231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform2ui(program, location, v0, v1); 30243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform2uiv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLuint *value) 30273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform2uiv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 2)) << ");" << TestLog::EndMessage; 30301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform2uiv(program, location, count, value); 30313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform3d (glw::GLuint program, glw::GLint location, glw::GLdouble v0, glw::GLdouble v1, glw::GLdouble v2) 30343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform3d(" << program << ", " << location << ", " << v0 << ", " << v1 << ", " << v2 << ");" << TestLog::EndMessage; 30371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform3d(program, location, v0, v1, v2); 30383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform3dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLdouble *value) 30413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30433cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniform3dv(" << program << ", " << location << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 30441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform3dv(program, location, count, value); 30453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform3f (glw::GLuint program, glw::GLint location, glw::GLfloat v0, glw::GLfloat v1, glw::GLfloat v2) 30483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform3f(" << program << ", " << location << ", " << v0 << ", " << v1 << ", " << v2 << ");" << TestLog::EndMessage; 30511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform3f(program, location, v0, v1, v2); 30523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform3fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLfloat *value) 30553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform3fv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 3)) << ");" << TestLog::EndMessage; 30581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform3fv(program, location, count, value); 30593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform3i (glw::GLuint program, glw::GLint location, glw::GLint v0, glw::GLint v1, glw::GLint v2) 30623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform3i(" << program << ", " << location << ", " << v0 << ", " << v1 << ", " << v2 << ");" << TestLog::EndMessage; 30651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform3i(program, location, v0, v1, v2); 30663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform3iv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLint *value) 30693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform3iv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 3)) << ");" << TestLog::EndMessage; 30721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform3iv(program, location, count, value); 30733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform3ui (glw::GLuint program, glw::GLint location, glw::GLuint v0, glw::GLuint v1, glw::GLuint v2) 30763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform3ui(" << program << ", " << location << ", " << v0 << ", " << v1 << ", " << v2 << ");" << TestLog::EndMessage; 30791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform3ui(program, location, v0, v1, v2); 30803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform3uiv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLuint *value) 30833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform3uiv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 3)) << ");" << TestLog::EndMessage; 30861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform3uiv(program, location, count, value); 30873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform4d (glw::GLuint program, glw::GLint location, glw::GLdouble v0, glw::GLdouble v1, glw::GLdouble v2, glw::GLdouble v3) 30903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform4d(" << program << ", " << location << ", " << v0 << ", " << v1 << ", " << v2 << ", " << v3 << ");" << TestLog::EndMessage; 30931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform4d(program, location, v0, v1, v2, v3); 30943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 30953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 30961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform4dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLdouble *value) 30973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 30983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 30993cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniform4dv(" << program << ", " << location << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 31001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform4dv(program, location, count, value); 31013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform4f (glw::GLuint program, glw::GLint location, glw::GLfloat v0, glw::GLfloat v1, glw::GLfloat v2, glw::GLfloat v3) 31043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform4f(" << program << ", " << location << ", " << v0 << ", " << v1 << ", " << v2 << ", " << v3 << ");" << TestLog::EndMessage; 31071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform4f(program, location, v0, v1, v2, v3); 31083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform4fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLfloat *value) 31113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform4fv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 4)) << ");" << TestLog::EndMessage; 31141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform4fv(program, location, count, value); 31153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform4i (glw::GLuint program, glw::GLint location, glw::GLint v0, glw::GLint v1, glw::GLint v2, glw::GLint v3) 31183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform4i(" << program << ", " << location << ", " << v0 << ", " << v1 << ", " << v2 << ", " << v3 << ");" << TestLog::EndMessage; 31211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform4i(program, location, v0, v1, v2, v3); 31223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform4iv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLint *value) 31253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform4iv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 4)) << ");" << TestLog::EndMessage; 31281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform4iv(program, location, count, value); 31293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform4ui (glw::GLuint program, glw::GLint location, glw::GLuint v0, glw::GLuint v1, glw::GLuint v2, glw::GLuint v3) 31323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform4ui(" << program << ", " << location << ", " << v0 << ", " << v1 << ", " << v2 << ", " << v3 << ");" << TestLog::EndMessage; 31351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform4ui(program, location, v0, v1, v2, v3); 31363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniform4uiv (glw::GLuint program, glw::GLint location, glw::GLsizei count, const glw::GLuint *value) 31393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniform4uiv(" << program << ", " << location << ", " << count << ", " << getPointerStr(value, (count * 4)) << ");" << TestLog::EndMessage; 31421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniform4uiv(program, location, count, value); 31433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix2dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 31463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31483cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix2dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 31491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix2dv(program, location, count, transpose, value); 31503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix2fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 31533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix2fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 2*2)) << ");" << TestLog::EndMessage; 31561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix2fv(program, location, count, transpose, value); 31573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix2x3dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 31603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31623cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix2x3dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 31631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix2x3dv(program, location, count, transpose, value); 31643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix2x3fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 31673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix2x3fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 2*3)) << ");" << TestLog::EndMessage; 31701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix2x3fv(program, location, count, transpose, value); 31713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix2x4dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 31743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31763cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix2x4dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 31771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix2x4dv(program, location, count, transpose, value); 31783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix2x4fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 31813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix2x4fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 2*4)) << ");" << TestLog::EndMessage; 31841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix2x4fv(program, location, count, transpose, value); 31853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix3dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 31883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31903cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix3dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 31911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix3dv(program, location, count, transpose, value); 31923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 31933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 31941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix3fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 31953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 31963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 31971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix3fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 3*3)) << ");" << TestLog::EndMessage; 31981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix3fv(program, location, count, transpose, value); 31993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix3x2dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 32023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32043cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix3x2dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 32051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix3x2dv(program, location, count, transpose, value); 32063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix3x2fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 32093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix3x2fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 3*2)) << ");" << TestLog::EndMessage; 32121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix3x2fv(program, location, count, transpose, value); 32133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix3x4dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 32163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32183cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix3x4dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 32191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix3x4dv(program, location, count, transpose, value); 32203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix3x4fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 32233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix3x4fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 3*4)) << ");" << TestLog::EndMessage; 32261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix3x4fv(program, location, count, transpose, value); 32273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix4dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 32303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32323cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix4dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 32331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix4dv(program, location, count, transpose, value); 32343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix4fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 32373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix4fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 4*4)) << ");" << TestLog::EndMessage; 32401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix4fv(program, location, count, transpose, value); 32413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix4x2dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 32443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32463cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix4x2dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 32471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix4x2dv(program, location, count, transpose, value); 32483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix4x2fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 32513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix4x2fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 4*2)) << ");" << TestLog::EndMessage; 32541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix4x2fv(program, location, count, transpose, value); 32553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix4x3dv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 32583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32603cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glProgramUniformMatrix4x3dv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 32611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix4x3dv(program, location, count, transpose, value); 32623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProgramUniformMatrix4x3fv (glw::GLuint program, glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 32653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProgramUniformMatrix4x3fv(" << program << ", " << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 4*3)) << ");" << TestLog::EndMessage; 32681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.programUniformMatrix4x3fv(program, location, count, transpose, value); 32693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glProvokingVertex (glw::GLenum mode) 32723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glProvokingVertex(" << getProvokingVertexStr(mode) << ");" << TestLog::EndMessage; 32751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.provokingVertex(mode); 32763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glPushDebugGroup (glw::GLenum source, glw::GLuint id, glw::GLsizei length, const glw::GLchar *message) 32793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glPushDebugGroup(" << getDebugMessageSourceStr(source) << ", " << id << ", " << length << ", " << getStringStr(message) << ");" << TestLog::EndMessage; 32821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.pushDebugGroup(source, id, length, message); 32833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32851a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulosvoid CallLogWrapper::glPushGroupMarkerEXT (glw::GLsizei length, const glw::GLchar *marker) 32861a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos{ 32871a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos if (m_enableLog) 32881a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos m_log << TestLog::Message << "glPushGroupMarkerEXT(" << length << ", " << getStringStr(marker) << ");" << TestLog::EndMessage; 32891a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos m_gl.pushGroupMarkerEXT(length, marker); 32901a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos} 32911a9576a710673363b2c0d9e5771451cebbfa6d10Pyry Haulos 32921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glQueryCounter (glw::GLuint id, glw::GLenum target) 32933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 32943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 32951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glQueryCounter(" << id << ", " << toHex(target) << ");" << TestLog::EndMessage; 32961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.queryCounter(id, target); 32973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 32983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 32991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glReadBuffer (glw::GLenum src) 33003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glReadBuffer(" << getDrawReadBufferStr(src) << ");" << TestLog::EndMessage; 33031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.readBuffer(src); 33043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glReadPixels (glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height, glw::GLenum format, glw::GLenum type, void *pixels) 33073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3309b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glReadPixels(" << x << ", " << y << ", " << width << ", " << height << ", " << getUncompressedTextureFormatStr(format) << ", " << getTypeStr(type) << ", " << pixels << ");" << TestLog::EndMessage; 33101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.readPixels(x, y, width, height, format, type, pixels); 33113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glReadnPixels (glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height, glw::GLenum format, glw::GLenum type, glw::GLsizei bufSize, void *data) 33143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glReadnPixels(" << x << ", " << y << ", " << width << ", " << height << ", " << toHex(format) << ", " << toHex(type) << ", " << bufSize << ", " << data << ");" << TestLog::EndMessage; 33171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.readnPixels(x, y, width, height, format, type, bufSize, data); 33183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33201f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glReleaseShaderCompiler (void) 33213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glReleaseShaderCompiler(" << ");" << TestLog::EndMessage; 33241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.releaseShaderCompiler(); 33253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glRenderbufferStorage (glw::GLenum target, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height) 33283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3330b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glRenderbufferStorage(" << getFramebufferTargetStr(target) << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ");" << TestLog::EndMessage; 33311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.renderbufferStorage(target, internalformat, width, height); 33323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glRenderbufferStorageMultisample (glw::GLenum target, glw::GLsizei samples, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height) 33353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3337b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glRenderbufferStorageMultisample(" << getFramebufferTargetStr(target) << ", " << samples << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ");" << TestLog::EndMessage; 33381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.renderbufferStorageMultisample(target, samples, internalformat, width, height); 33393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33411f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glResumeTransformFeedback (void) 33423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glResumeTransformFeedback(" << ");" << TestLog::EndMessage; 33451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.resumeTransformFeedback(); 33463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glSampleCoverage (glw::GLfloat value, glw::GLboolean invert) 33493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glSampleCoverage(" << value << ", " << getBooleanStr(invert) << ");" << TestLog::EndMessage; 33521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.sampleCoverage(value, invert); 33533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glSampleMaski (glw::GLuint maskNumber, glw::GLbitfield mask) 33563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glSampleMaski(" << maskNumber << ", " << toHex(mask) << ");" << TestLog::EndMessage; 33591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.sampleMaski(maskNumber, mask); 33603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glSamplerParameterIiv (glw::GLuint sampler, glw::GLenum pname, const glw::GLint *param) 33633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33657af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glSamplerParameterIiv(" << sampler << ", " << getTextureParameterStr(pname) << ", " << getPointerStr(param, getTextureParamNumArgs(pname)) << ");" << TestLog::EndMessage; 33661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.samplerParameterIiv(sampler, pname, param); 33673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glSamplerParameterIuiv (glw::GLuint sampler, glw::GLenum pname, const glw::GLuint *param) 33703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33727af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glSamplerParameterIuiv(" << sampler << ", " << getTextureParameterStr(pname) << ", " << getPointerStr(param, getTextureParamNumArgs(pname)) << ");" << TestLog::EndMessage; 33731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.samplerParameterIuiv(sampler, pname, param); 33743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glSamplerParameterf (glw::GLuint sampler, glw::GLenum pname, glw::GLfloat param) 33773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33797af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glSamplerParameterf(" << sampler << ", " << getTextureParameterStr(pname) << ", " << param << ");" << TestLog::EndMessage; 33801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.samplerParameterf(sampler, pname, param); 33813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glSamplerParameterfv (glw::GLuint sampler, glw::GLenum pname, const glw::GLfloat *param) 33843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 338631be48580b7ff2d602fef40670bd7da69d320c23Jarkko Pöyry m_log << TestLog::Message << "glSamplerParameterfv(" << sampler << ", " << getTextureParameterStr(pname) << ", " << getPointerStr(param, getTextureParamNumArgs(pname)) << ");" << TestLog::EndMessage; 33871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.samplerParameterfv(sampler, pname, param); 33883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glSamplerParameteri (glw::GLuint sampler, glw::GLenum pname, glw::GLint param) 33913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 33937af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glSamplerParameteri(" << sampler << ", " << getTextureParameterStr(pname) << ", " << getTextureParameterValueStr(pname, param) << ");" << TestLog::EndMessage; 33941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.samplerParameteri(sampler, pname, param); 33953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 33963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 33971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glSamplerParameteriv (glw::GLuint sampler, glw::GLenum pname, const glw::GLint *param) 33983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 33993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 340031be48580b7ff2d602fef40670bd7da69d320c23Jarkko Pöyry m_log << TestLog::Message << "glSamplerParameteriv(" << sampler << ", " << getTextureParameterStr(pname) << ", " << getPointerStr(param, getTextureParamNumArgs(pname)) << ");" << TestLog::EndMessage; 34011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.samplerParameteriv(sampler, pname, param); 34023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glScissor (glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height) 34053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glScissor(" << x << ", " << y << ", " << width << ", " << height << ");" << TestLog::EndMessage; 34081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.scissor(x, y, width, height); 34093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glScissorArrayv (glw::GLuint first, glw::GLsizei count, const glw::GLint *v) 34123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34143cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glScissorArrayv(" << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 34151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.scissorArrayv(first, count, v); 34163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glScissorIndexed (glw::GLuint index, glw::GLint left, glw::GLint bottom, glw::GLsizei width, glw::GLsizei height) 34193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glScissorIndexed(" << index << ", " << left << ", " << bottom << ", " << width << ", " << height << ");" << TestLog::EndMessage; 34221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.scissorIndexed(index, left, bottom, width, height); 34233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glScissorIndexedv (glw::GLuint index, const glw::GLint *v) 34263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34283cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glScissorIndexedv(" << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 34291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.scissorIndexedv(index, v); 34303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glShaderBinary (glw::GLsizei count, const glw::GLuint *shaders, glw::GLenum binaryformat, const void *binary, glw::GLsizei length) 34333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34353cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glShaderBinary(" << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(shaders))) << ", " << toHex(binaryformat) << ", " << binary << ", " << length << ");" << TestLog::EndMessage; 34361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.shaderBinary(count, shaders, binaryformat, binary, length); 34373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glShaderSource (glw::GLuint shader, glw::GLsizei count, const glw::GLchar *const*string, const glw::GLint *length) 34403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34423cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glShaderSource(" << shader << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(string))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(length))) << ");" << TestLog::EndMessage; 34431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.shaderSource(shader, count, string, length); 34443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glShaderStorageBlockBinding (glw::GLuint program, glw::GLuint storageBlockIndex, glw::GLuint storageBlockBinding) 34473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glShaderStorageBlockBinding(" << program << ", " << storageBlockIndex << ", " << storageBlockBinding << ");" << TestLog::EndMessage; 34501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.shaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding); 34513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glStencilFunc (glw::GLenum func, glw::GLint ref, glw::GLuint mask) 34543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glStencilFunc(" << getCompareFuncStr(func) << ", " << ref << ", " << mask << ");" << TestLog::EndMessage; 34571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.stencilFunc(func, ref, mask); 34583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glStencilFuncSeparate (glw::GLenum face, glw::GLenum func, glw::GLint ref, glw::GLuint mask) 34613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glStencilFuncSeparate(" << getFaceStr(face) << ", " << getCompareFuncStr(func) << ", " << ref << ", " << mask << ");" << TestLog::EndMessage; 34641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.stencilFuncSeparate(face, func, ref, mask); 34653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glStencilMask (glw::GLuint mask) 34683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glStencilMask(" << mask << ");" << TestLog::EndMessage; 34711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.stencilMask(mask); 34723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glStencilMaskSeparate (glw::GLenum face, glw::GLuint mask) 34753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glStencilMaskSeparate(" << getFaceStr(face) << ", " << mask << ");" << TestLog::EndMessage; 34781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.stencilMaskSeparate(face, mask); 34793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glStencilOp (glw::GLenum fail, glw::GLenum zfail, glw::GLenum zpass) 34823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glStencilOp(" << getStencilOpStr(fail) << ", " << getStencilOpStr(zfail) << ", " << getStencilOpStr(zpass) << ");" << TestLog::EndMessage; 34851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.stencilOp(fail, zfail, zpass); 34863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glStencilOpSeparate (glw::GLenum face, glw::GLenum sfail, glw::GLenum dpfail, glw::GLenum dppass) 34893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 34911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glStencilOpSeparate(" << getFaceStr(face) << ", " << getStencilOpStr(sfail) << ", " << getStencilOpStr(dpfail) << ", " << getStencilOpStr(dppass) << ");" << TestLog::EndMessage; 34921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.stencilOpSeparate(face, sfail, dpfail, dppass); 34933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 34943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 34951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexBuffer (glw::GLenum target, glw::GLenum internalformat, glw::GLuint buffer) 34963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 34973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3498b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexBuffer(" << getBufferTargetStr(target) << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << buffer << ");" << TestLog::EndMessage; 34991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texBuffer(target, internalformat, buffer); 35003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexBufferRange (glw::GLenum target, glw::GLenum internalformat, glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size) 35033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3505b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexBufferRange(" << getBufferTargetStr(target) << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << buffer << ", " << offset << ", " << size << ");" << TestLog::EndMessage; 35061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texBufferRange(target, internalformat, buffer, offset, size); 35073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexImage1D (glw::GLenum target, glw::GLint level, glw::GLint internalformat, glw::GLsizei width, glw::GLint border, glw::GLenum format, glw::GLenum type, const void *pixels) 35103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3512b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexImage1D(" << getTextureTargetStr(target) << ", " << level << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << width << ", " << border << ", " << getUncompressedTextureFormatStr(format) << ", " << getTypeStr(type) << ", " << pixels << ");" << TestLog::EndMessage; 35131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texImage1D(target, level, internalformat, width, border, format, type, pixels); 35143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexImage2D (glw::GLenum target, glw::GLint level, glw::GLint internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLint border, glw::GLenum format, glw::GLenum type, const void *pixels) 35173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3519b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexImage2D(" << getTextureTargetStr(target) << ", " << level << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ", " << border << ", " << getUncompressedTextureFormatStr(format) << ", " << getTypeStr(type) << ", " << pixels << ");" << TestLog::EndMessage; 35201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texImage2D(target, level, internalformat, width, height, border, format, type, pixels); 35213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexImage2DMultisample (glw::GLenum target, glw::GLsizei samples, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLboolean fixedsamplelocations) 35243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3526b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexImage2DMultisample(" << getTextureTargetStr(target) << ", " << samples << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ", " << getBooleanStr(fixedsamplelocations) << ");" << TestLog::EndMessage; 35271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); 35283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexImage3D (glw::GLenum target, glw::GLint level, glw::GLint internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLint border, glw::GLenum format, glw::GLenum type, const void *pixels) 35313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3533b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexImage3D(" << getTextureTargetStr(target) << ", " << level << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ", " << depth << ", " << border << ", " << getUncompressedTextureFormatStr(format) << ", " << getTypeStr(type) << ", " << pixels << ");" << TestLog::EndMessage; 35341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); 35353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexImage3DMultisample (glw::GLenum target, glw::GLsizei samples, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLboolean fixedsamplelocations) 35383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 35401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTexImage3DMultisample(" << toHex(target) << ", " << samples << ", " << toHex(internalformat) << ", " << width << ", " << height << ", " << depth << ", " << getBooleanStr(fixedsamplelocations) << ");" << TestLog::EndMessage; 35411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); 35423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexParameterIiv (glw::GLenum target, glw::GLenum pname, const glw::GLint *params) 35453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 35477af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glTexParameterIiv(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << getPointerStr(params, getTextureParamNumArgs(pname)) << ");" << TestLog::EndMessage; 35481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texParameterIiv(target, pname, params); 35493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexParameterIuiv (glw::GLenum target, glw::GLenum pname, const glw::GLuint *params) 35523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 35547af3c6f58d3b9426227e4354bf0109028560b6d9Jarkko Pöyry m_log << TestLog::Message << "glTexParameterIuiv(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << getPointerStr(params, getTextureParamNumArgs(pname)) << ");" << TestLog::EndMessage; 35551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texParameterIuiv(target, pname, params); 35563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexParameterf (glw::GLenum target, glw::GLenum pname, glw::GLfloat param) 35593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 35611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTexParameterf(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << param << ");" << TestLog::EndMessage; 35621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texParameterf(target, pname, param); 35633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexParameterfv (glw::GLenum target, glw::GLenum pname, const glw::GLfloat *params) 35663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 356831be48580b7ff2d602fef40670bd7da69d320c23Jarkko Pöyry m_log << TestLog::Message << "glTexParameterfv(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << getPointerStr(params, getTextureParamNumArgs(pname)) << ");" << TestLog::EndMessage; 35691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texParameterfv(target, pname, params); 35703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexParameteri (glw::GLenum target, glw::GLenum pname, glw::GLint param) 35733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 35751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTexParameteri(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << getTextureParameterValueStr(pname, param) << ");" << TestLog::EndMessage; 35761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texParameteri(target, pname, param); 35773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexParameteriv (glw::GLenum target, glw::GLenum pname, const glw::GLint *params) 35803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 358231be48580b7ff2d602fef40670bd7da69d320c23Jarkko Pöyry m_log << TestLog::Message << "glTexParameteriv(" << getTextureTargetStr(target) << ", " << getTextureParameterStr(pname) << ", " << getPointerStr(params, getTextureParamNumArgs(pname)) << ");" << TestLog::EndMessage; 35831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texParameteriv(target, pname, params); 35843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexStorage1D (glw::GLenum target, glw::GLsizei levels, glw::GLenum internalformat, glw::GLsizei width) 35873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 35891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTexStorage1D(" << toHex(target) << ", " << levels << ", " << toHex(internalformat) << ", " << width << ");" << TestLog::EndMessage; 35901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texStorage1D(target, levels, internalformat, width); 35913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 35931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexStorage2D (glw::GLenum target, glw::GLsizei levels, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height) 35943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 35953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3596b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexStorage2D(" << getTextureTargetStr(target) << ", " << levels << ", " << getTextureFormatStr(internalformat) << ", " << width << ", " << height << ");" << TestLog::EndMessage; 35971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texStorage2D(target, levels, internalformat, width, height); 35983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 35993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexStorage2DMultisample (glw::GLenum target, glw::GLsizei samples, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLboolean fixedsamplelocations) 36013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3603b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexStorage2DMultisample(" << getTextureTargetStr(target) << ", " << samples << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ", " << getBooleanStr(fixedsamplelocations) << ");" << TestLog::EndMessage; 36041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); 36053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexStorage3D (glw::GLenum target, glw::GLsizei levels, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth) 36083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3610b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexStorage3D(" << getTextureTargetStr(target) << ", " << levels << ", " << getTextureFormatStr(internalformat) << ", " << width << ", " << height << ", " << depth << ");" << TestLog::EndMessage; 36111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texStorage3D(target, levels, internalformat, width, height, depth); 36123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexStorage3DMultisample (glw::GLenum target, glw::GLsizei samples, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLboolean fixedsamplelocations) 36153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3617b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexStorage3DMultisample(" << getTextureTargetStr(target) << ", " << samples << ", " << getUncompressedTextureFormatStr(internalformat) << ", " << width << ", " << height << ", " << depth << ", " << getBooleanStr(fixedsamplelocations) << ");" << TestLog::EndMessage; 36181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); 36193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexSubImage1D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLsizei width, glw::GLenum format, glw::GLenum type, const void *pixels) 36223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3624b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexSubImage1D(" << getTextureTargetStr(target) << ", " << level << ", " << xoffset << ", " << width << ", " << getUncompressedTextureFormatStr(format) << ", " << getTypeStr(type) << ", " << pixels << ");" << TestLog::EndMessage; 36251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texSubImage1D(target, level, xoffset, width, format, type, pixels); 36263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexSubImage2D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLsizei width, glw::GLsizei height, glw::GLenum format, glw::GLenum type, const void *pixels) 36293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3631b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexSubImage2D(" << getTextureTargetStr(target) << ", " << level << ", " << xoffset << ", " << yoffset << ", " << width << ", " << height << ", " << getUncompressedTextureFormatStr(format) << ", " << getTypeStr(type) << ", " << pixels << ");" << TestLog::EndMessage; 36321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); 36333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTexSubImage3D (glw::GLenum target, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLenum type, const void *pixels) 36363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 3638b2e583dfcd8aa0d4ef254f841213fcf724b2b193Jarkko Pöyry m_log << TestLog::Message << "glTexSubImage3D(" << getTextureTargetStr(target) << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << width << ", " << height << ", " << depth << ", " << getUncompressedTextureFormatStr(format) << ", " << getTypeStr(type) << ", " << pixels << ");" << TestLog::EndMessage; 36391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 36403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36421f99d6991ce9a27d32ec0543d95646fe4e7bf001Jarkko Pöyryvoid CallLogWrapper::glTextureBarrier (void) 36433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 36451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureBarrier(" << ");" << TestLog::EndMessage; 36461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureBarrier(); 36473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureBuffer (glw::GLuint texture, glw::GLenum internalformat, glw::GLuint buffer) 36503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 36521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureBuffer(" << texture << ", " << toHex(internalformat) << ", " << buffer << ");" << TestLog::EndMessage; 36531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureBuffer(texture, internalformat, buffer); 36543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 3656314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glTextureBufferRange (glw::GLuint texture, glw::GLenum internalformat, glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size) 36573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 36591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureBufferRange(" << texture << ", " << toHex(internalformat) << ", " << buffer << ", " << offset << ", " << size << ");" << TestLog::EndMessage; 36601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureBufferRange(texture, internalformat, buffer, offset, size); 36613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureParameterIiv (glw::GLuint texture, glw::GLenum pname, const glw::GLint *params) 36643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 36663cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glTextureParameterIiv(" << texture << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 36671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureParameterIiv(texture, pname, params); 36683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureParameterIuiv (glw::GLuint texture, glw::GLenum pname, const glw::GLuint *params) 36713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 36733cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glTextureParameterIuiv(" << texture << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage; 36741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureParameterIuiv(texture, pname, params); 36753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureParameterf (glw::GLuint texture, glw::GLenum pname, glw::GLfloat param) 36783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 36801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureParameterf(" << texture << ", " << toHex(pname) << ", " << param << ");" << TestLog::EndMessage; 36811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureParameterf(texture, pname, param); 36823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureParameterfv (glw::GLuint texture, glw::GLenum pname, const glw::GLfloat *param) 36853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 36873cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glTextureParameterfv(" << texture << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 36881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureParameterfv(texture, pname, param); 36893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureParameteri (glw::GLuint texture, glw::GLenum pname, glw::GLint param) 36923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 36933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 36941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureParameteri(" << texture << ", " << toHex(pname) << ", " << param << ");" << TestLog::EndMessage; 36951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureParameteri(texture, pname, param); 36963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 36973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 36981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureParameteriv (glw::GLuint texture, glw::GLenum pname, const glw::GLint *param) 36993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37013cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glTextureParameteriv(" << texture << ", " << toHex(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(param))) << ");" << TestLog::EndMessage; 37021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureParameteriv(texture, pname, param); 37033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureStorage1D (glw::GLuint texture, glw::GLsizei levels, glw::GLenum internalformat, glw::GLsizei width) 37063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureStorage1D(" << texture << ", " << levels << ", " << toHex(internalformat) << ", " << width << ");" << TestLog::EndMessage; 37091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureStorage1D(texture, levels, internalformat, width); 37103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureStorage2D (glw::GLuint texture, glw::GLsizei levels, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height) 37133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureStorage2D(" << texture << ", " << levels << ", " << toHex(internalformat) << ", " << width << ", " << height << ");" << TestLog::EndMessage; 37161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureStorage2D(texture, levels, internalformat, width, height); 37173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureStorage2DMultisample (glw::GLuint texture, glw::GLsizei samples, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLboolean fixedsamplelocations) 37203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureStorage2DMultisample(" << texture << ", " << samples << ", " << toHex(internalformat) << ", " << width << ", " << height << ", " << getBooleanStr(fixedsamplelocations) << ");" << TestLog::EndMessage; 37231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations); 37243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureStorage3D (glw::GLuint texture, glw::GLsizei levels, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth) 37273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureStorage3D(" << texture << ", " << levels << ", " << toHex(internalformat) << ", " << width << ", " << height << ", " << depth << ");" << TestLog::EndMessage; 37301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureStorage3D(texture, levels, internalformat, width, height, depth); 37313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureStorage3DMultisample (glw::GLuint texture, glw::GLsizei samples, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLboolean fixedsamplelocations) 37343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureStorage3DMultisample(" << texture << ", " << samples << ", " << toHex(internalformat) << ", " << width << ", " << height << ", " << depth << ", " << getBooleanStr(fixedsamplelocations) << ");" << TestLog::EndMessage; 37371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureStorage3DMultisample(texture, samples, internalformat, width, height, depth, fixedsamplelocations); 37383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureSubImage1D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLsizei width, glw::GLenum format, glw::GLenum type, const void *pixels) 37413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureSubImage1D(" << texture << ", " << level << ", " << xoffset << ", " << width << ", " << toHex(format) << ", " << toHex(type) << ", " << pixels << ");" << TestLog::EndMessage; 37441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureSubImage1D(texture, level, xoffset, width, format, type, pixels); 37453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureSubImage2D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLsizei width, glw::GLsizei height, glw::GLenum format, glw::GLenum type, const void *pixels) 37483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureSubImage2D(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << width << ", " << height << ", " << toHex(format) << ", " << toHex(type) << ", " << pixels << ");" << TestLog::EndMessage; 37511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels); 37523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureSubImage3D (glw::GLuint texture, glw::GLint level, glw::GLint xoffset, glw::GLint yoffset, glw::GLint zoffset, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLenum type, const void *pixels) 37553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureSubImage3D(" << texture << ", " << level << ", " << xoffset << ", " << yoffset << ", " << zoffset << ", " << width << ", " << height << ", " << depth << ", " << toHex(format) << ", " << toHex(type) << ", " << pixels << ");" << TestLog::EndMessage; 37581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 37593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTextureView (glw::GLuint texture, glw::GLenum target, glw::GLuint origtexture, glw::GLenum internalformat, glw::GLuint minlevel, glw::GLuint numlevels, glw::GLuint minlayer, glw::GLuint numlayers) 37623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTextureView(" << texture << ", " << toHex(target) << ", " << origtexture << ", " << toHex(internalformat) << ", " << minlevel << ", " << numlevels << ", " << minlayer << ", " << numlayers << ");" << TestLog::EndMessage; 37651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.textureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); 37663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTransformFeedbackBufferBase (glw::GLuint xfb, glw::GLuint index, glw::GLuint buffer) 37693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTransformFeedbackBufferBase(" << xfb << ", " << index << ", " << buffer << ");" << TestLog::EndMessage; 37721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.transformFeedbackBufferBase(xfb, index, buffer); 37733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 3775314799d1cc4f65ec6503edf7375b9e566fa30fd1Mika Isojärvivoid CallLogWrapper::glTransformFeedbackBufferRange (glw::GLuint xfb, glw::GLuint index, glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size) 37763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glTransformFeedbackBufferRange(" << xfb << ", " << index << ", " << buffer << ", " << offset << ", " << size << ");" << TestLog::EndMessage; 37791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.transformFeedbackBufferRange(xfb, index, buffer, offset, size); 37803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glTransformFeedbackVaryings (glw::GLuint program, glw::GLsizei count, const glw::GLchar *const*varyings, glw::GLenum bufferMode) 37833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37853cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glTransformFeedbackVaryings(" << program << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(varyings))) << ", " << toHex(bufferMode) << ");" << TestLog::EndMessage; 37861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.transformFeedbackVaryings(program, count, varyings, bufferMode); 37873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform1d (glw::GLint location, glw::GLdouble x) 37903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform1d(" << location << ", " << x << ");" << TestLog::EndMessage; 37931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform1d(location, x); 37943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 37953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 37961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform1dv (glw::GLint location, glw::GLsizei count, const glw::GLdouble *value) 37973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 37983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 37993cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniform1dv(" << location << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 38001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform1dv(location, count, value); 38013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform1f (glw::GLint location, glw::GLfloat v0) 38043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform1f(" << location << ", " << v0 << ");" << TestLog::EndMessage; 38071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform1f(location, v0); 38083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform1fv (glw::GLint location, glw::GLsizei count, const glw::GLfloat *value) 38113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform1fv(" << location << ", " << count << ", " << getPointerStr(value, (count * 1)) << ");" << TestLog::EndMessage; 38141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform1fv(location, count, value); 38153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform1i (glw::GLint location, glw::GLint v0) 38183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform1i(" << location << ", " << v0 << ");" << TestLog::EndMessage; 38211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform1i(location, v0); 38223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform1iv (glw::GLint location, glw::GLsizei count, const glw::GLint *value) 38253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform1iv(" << location << ", " << count << ", " << getPointerStr(value, (count * 1)) << ");" << TestLog::EndMessage; 38281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform1iv(location, count, value); 38293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform1ui (glw::GLint location, glw::GLuint v0) 38323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform1ui(" << location << ", " << v0 << ");" << TestLog::EndMessage; 38351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform1ui(location, v0); 38363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform1uiv (glw::GLint location, glw::GLsizei count, const glw::GLuint *value) 38393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform1uiv(" << location << ", " << count << ", " << getPointerStr(value, (count * 1)) << ");" << TestLog::EndMessage; 38421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform1uiv(location, count, value); 38433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform2d (glw::GLint location, glw::GLdouble x, glw::GLdouble y) 38463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform2d(" << location << ", " << x << ", " << y << ");" << TestLog::EndMessage; 38491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform2d(location, x, y); 38503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform2dv (glw::GLint location, glw::GLsizei count, const glw::GLdouble *value) 38533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38553cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniform2dv(" << location << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 38561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform2dv(location, count, value); 38573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform2f (glw::GLint location, glw::GLfloat v0, glw::GLfloat v1) 38603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform2f(" << location << ", " << v0 << ", " << v1 << ");" << TestLog::EndMessage; 38631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform2f(location, v0, v1); 38643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform2fv (glw::GLint location, glw::GLsizei count, const glw::GLfloat *value) 38673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform2fv(" << location << ", " << count << ", " << getPointerStr(value, (count * 2)) << ");" << TestLog::EndMessage; 38701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform2fv(location, count, value); 38713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform2i (glw::GLint location, glw::GLint v0, glw::GLint v1) 38743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform2i(" << location << ", " << v0 << ", " << v1 << ");" << TestLog::EndMessage; 38771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform2i(location, v0, v1); 38783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform2iv (glw::GLint location, glw::GLsizei count, const glw::GLint *value) 38813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform2iv(" << location << ", " << count << ", " << getPointerStr(value, (count * 2)) << ");" << TestLog::EndMessage; 38841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform2iv(location, count, value); 38853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform2ui (glw::GLint location, glw::GLuint v0, glw::GLuint v1) 38883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform2ui(" << location << ", " << v0 << ", " << v1 << ");" << TestLog::EndMessage; 38911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform2ui(location, v0, v1); 38923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 38933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 38941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform2uiv (glw::GLint location, glw::GLsizei count, const glw::GLuint *value) 38953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 38963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 38971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform2uiv(" << location << ", " << count << ", " << getPointerStr(value, (count * 2)) << ");" << TestLog::EndMessage; 38981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform2uiv(location, count, value); 38993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform3d (glw::GLint location, glw::GLdouble x, glw::GLdouble y, glw::GLdouble z) 39023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform3d(" << location << ", " << x << ", " << y << ", " << z << ");" << TestLog::EndMessage; 39051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform3d(location, x, y, z); 39063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform3dv (glw::GLint location, glw::GLsizei count, const glw::GLdouble *value) 39093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39113cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniform3dv(" << location << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 39121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform3dv(location, count, value); 39133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform3f (glw::GLint location, glw::GLfloat v0, glw::GLfloat v1, glw::GLfloat v2) 39163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform3f(" << location << ", " << v0 << ", " << v1 << ", " << v2 << ");" << TestLog::EndMessage; 39191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform3f(location, v0, v1, v2); 39203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform3fv (glw::GLint location, glw::GLsizei count, const glw::GLfloat *value) 39233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform3fv(" << location << ", " << count << ", " << getPointerStr(value, (count * 3)) << ");" << TestLog::EndMessage; 39261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform3fv(location, count, value); 39273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform3i (glw::GLint location, glw::GLint v0, glw::GLint v1, glw::GLint v2) 39303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform3i(" << location << ", " << v0 << ", " << v1 << ", " << v2 << ");" << TestLog::EndMessage; 39331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform3i(location, v0, v1, v2); 39343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform3iv (glw::GLint location, glw::GLsizei count, const glw::GLint *value) 39373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform3iv(" << location << ", " << count << ", " << getPointerStr(value, (count * 3)) << ");" << TestLog::EndMessage; 39401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform3iv(location, count, value); 39413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform3ui (glw::GLint location, glw::GLuint v0, glw::GLuint v1, glw::GLuint v2) 39443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform3ui(" << location << ", " << v0 << ", " << v1 << ", " << v2 << ");" << TestLog::EndMessage; 39471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform3ui(location, v0, v1, v2); 39483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform3uiv (glw::GLint location, glw::GLsizei count, const glw::GLuint *value) 39513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform3uiv(" << location << ", " << count << ", " << getPointerStr(value, (count * 3)) << ");" << TestLog::EndMessage; 39541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform3uiv(location, count, value); 39553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform4d (glw::GLint location, glw::GLdouble x, glw::GLdouble y, glw::GLdouble z, glw::GLdouble w) 39583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform4d(" << location << ", " << x << ", " << y << ", " << z << ", " << w << ");" << TestLog::EndMessage; 39611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform4d(location, x, y, z, w); 39623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform4dv (glw::GLint location, glw::GLsizei count, const glw::GLdouble *value) 39653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39673cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniform4dv(" << location << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 39681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform4dv(location, count, value); 39693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform4f (glw::GLint location, glw::GLfloat v0, glw::GLfloat v1, glw::GLfloat v2, glw::GLfloat v3) 39723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform4f(" << location << ", " << v0 << ", " << v1 << ", " << v2 << ", " << v3 << ");" << TestLog::EndMessage; 39751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform4f(location, v0, v1, v2, v3); 39763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform4fv (glw::GLint location, glw::GLsizei count, const glw::GLfloat *value) 39793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform4fv(" << location << ", " << count << ", " << getPointerStr(value, (count * 4)) << ");" << TestLog::EndMessage; 39821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform4fv(location, count, value); 39833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform4i (glw::GLint location, glw::GLint v0, glw::GLint v1, glw::GLint v2, glw::GLint v3) 39863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform4i(" << location << ", " << v0 << ", " << v1 << ", " << v2 << ", " << v3 << ");" << TestLog::EndMessage; 39891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform4i(location, v0, v1, v2, v3); 39903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform4iv (glw::GLint location, glw::GLsizei count, const glw::GLint *value) 39933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 39943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 39951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform4iv(" << location << ", " << count << ", " << getPointerStr(value, (count * 4)) << ");" << TestLog::EndMessage; 39961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform4iv(location, count, value); 39973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 39983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 39991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform4ui (glw::GLint location, glw::GLuint v0, glw::GLuint v1, glw::GLuint v2, glw::GLuint v3) 40003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform4ui(" << location << ", " << v0 << ", " << v1 << ", " << v2 << ", " << v3 << ");" << TestLog::EndMessage; 40031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform4ui(location, v0, v1, v2, v3); 40043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniform4uiv (glw::GLint location, glw::GLsizei count, const glw::GLuint *value) 40073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniform4uiv(" << location << ", " << count << ", " << getPointerStr(value, (count * 4)) << ");" << TestLog::EndMessage; 40101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniform4uiv(location, count, value); 40113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformBlockBinding (glw::GLuint program, glw::GLuint uniformBlockIndex, glw::GLuint uniformBlockBinding) 40143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformBlockBinding(" << program << ", " << uniformBlockIndex << ", " << uniformBlockBinding << ");" << TestLog::EndMessage; 40171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); 40183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix2dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 40213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40233cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix2dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 40241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix2dv(location, count, transpose, value); 40253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix2fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 40283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix2fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 2*2)) << ");" << TestLog::EndMessage; 40311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix2fv(location, count, transpose, value); 40323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix2x3dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 40353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40373cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix2x3dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 40381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix2x3dv(location, count, transpose, value); 40393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix2x3fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 40423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix2x3fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 2*3)) << ");" << TestLog::EndMessage; 40451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix2x3fv(location, count, transpose, value); 40463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix2x4dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 40493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40513cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix2x4dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 40521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix2x4dv(location, count, transpose, value); 40533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix2x4fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 40563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix2x4fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 2*4)) << ");" << TestLog::EndMessage; 40591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix2x4fv(location, count, transpose, value); 40603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix3dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 40633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40653cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix3dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 40661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix3dv(location, count, transpose, value); 40673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix3fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 40703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix3fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 3*3)) << ");" << TestLog::EndMessage; 40731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix3fv(location, count, transpose, value); 40743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix3x2dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 40773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40793cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix3x2dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 40801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix3x2dv(location, count, transpose, value); 40813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix3x2fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 40843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix3x2fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 3*2)) << ");" << TestLog::EndMessage; 40871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix3x2fv(location, count, transpose, value); 40883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix3x4dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 40913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 40933cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix3x4dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 40941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix3x4dv(location, count, transpose, value); 40953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 40963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 40971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix3x4fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 40983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 40993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix3x4fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 3*4)) << ");" << TestLog::EndMessage; 41011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix3x4fv(location, count, transpose, value); 41023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix4dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 41053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41073cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix4dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 41081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix4dv(location, count, transpose, value); 41093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix4fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 41123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix4fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 4*4)) << ");" << TestLog::EndMessage; 41151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix4fv(location, count, transpose, value); 41163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix4x2dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 41193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41213cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix4x2dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 41221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix4x2dv(location, count, transpose, value); 41233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix4x2fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 41263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix4x2fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 4*2)) << ");" << TestLog::EndMessage; 41291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix4x2fv(location, count, transpose, value); 41303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix4x3dv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLdouble *value) 41333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41353cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformMatrix4x3dv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 41361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix4x3dv(location, count, transpose, value); 41373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformMatrix4x3fv (glw::GLint location, glw::GLsizei count, glw::GLboolean transpose, const glw::GLfloat *value) 41403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUniformMatrix4x3fv(" << location << ", " << count << ", " << getBooleanStr(transpose) << ", " << getPointerStr(value, (count * 4*3)) << ");" << TestLog::EndMessage; 41431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformMatrix4x3fv(location, count, transpose, value); 41443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUniformSubroutinesuiv (glw::GLenum shadertype, glw::GLsizei count, const glw::GLuint *indices) 41473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41493cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glUniformSubroutinesuiv(" << toHex(shadertype) << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(indices))) << ");" << TestLog::EndMessage; 41501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.uniformSubroutinesuiv(shadertype, count, indices); 41513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glUnmapBuffer (glw::GLenum target) 41543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUnmapBuffer(" << getBufferTargetStr(target) << ");" << TestLog::EndMessage; 41571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.unmapBuffer(target); 41581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 41591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 41601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 41613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosglw::GLboolean CallLogWrapper::glUnmapNamedBuffer (glw::GLuint buffer) 41643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUnmapNamedBuffer(" << buffer << ");" << TestLog::EndMessage; 41671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos glw::GLboolean returnValue = m_gl.unmapNamedBuffer(buffer); 41681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos if (m_enableLog) 41691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "// " << getBooleanStr(returnValue) << " returned" << TestLog::EndMessage; 41701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos return returnValue; 41713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUseProgram (glw::GLuint program) 41743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glUseProgram(" << program << ");" << TestLog::EndMessage; 41771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.useProgram(program); 41783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glUseProgramStages (glw::GLuint pipeline, glw::GLbitfield stages, glw::GLuint program) 41813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 4183cb82ed72dcbbfd8a6d07736c3259605227bc984fJarkko Pöyry m_log << TestLog::Message << "glUseProgramStages(" << pipeline << ", " << getShaderTypeMaskStr(stages) << ", " << program << ");" << TestLog::EndMessage; 41841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.useProgramStages(pipeline, stages, program); 41853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glValidateProgram (glw::GLuint program) 41883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glValidateProgram(" << program << ");" << TestLog::EndMessage; 41911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.validateProgram(program); 41923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 41933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 41941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glValidateProgramPipeline (glw::GLuint pipeline) 41953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 41963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 41971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glValidateProgramPipeline(" << pipeline << ");" << TestLog::EndMessage; 41981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.validateProgramPipeline(pipeline); 41993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexArrayAttribBinding (glw::GLuint vaobj, glw::GLuint attribindex, glw::GLuint bindingindex) 42023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexArrayAttribBinding(" << vaobj << ", " << attribindex << ", " << bindingindex << ");" << TestLog::EndMessage; 42051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexArrayAttribBinding(vaobj, attribindex, bindingindex); 42063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexArrayAttribFormat (glw::GLuint vaobj, glw::GLuint attribindex, glw::GLint size, glw::GLenum type, glw::GLboolean normalized, glw::GLuint relativeoffset) 42093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexArrayAttribFormat(" << vaobj << ", " << attribindex << ", " << size << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << relativeoffset << ");" << TestLog::EndMessage; 42121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexArrayAttribFormat(vaobj, attribindex, size, type, normalized, relativeoffset); 42133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexArrayAttribIFormat (glw::GLuint vaobj, glw::GLuint attribindex, glw::GLint size, glw::GLenum type, glw::GLuint relativeoffset) 42163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexArrayAttribIFormat(" << vaobj << ", " << attribindex << ", " << size << ", " << toHex(type) << ", " << relativeoffset << ");" << TestLog::EndMessage; 42191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexArrayAttribIFormat(vaobj, attribindex, size, type, relativeoffset); 42203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexArrayAttribLFormat (glw::GLuint vaobj, glw::GLuint attribindex, glw::GLint size, glw::GLenum type, glw::GLuint relativeoffset) 42233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexArrayAttribLFormat(" << vaobj << ", " << attribindex << ", " << size << ", " << toHex(type) << ", " << relativeoffset << ");" << TestLog::EndMessage; 42261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexArrayAttribLFormat(vaobj, attribindex, size, type, relativeoffset); 42273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexArrayBindingDivisor (glw::GLuint vaobj, glw::GLuint bindingindex, glw::GLuint divisor) 42303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexArrayBindingDivisor(" << vaobj << ", " << bindingindex << ", " << divisor << ");" << TestLog::EndMessage; 42331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexArrayBindingDivisor(vaobj, bindingindex, divisor); 42343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexArrayElementBuffer (glw::GLuint vaobj, glw::GLuint buffer) 42373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexArrayElementBuffer(" << vaobj << ", " << buffer << ");" << TestLog::EndMessage; 42401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexArrayElementBuffer(vaobj, buffer); 42413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexArrayVertexBuffer (glw::GLuint vaobj, glw::GLuint bindingindex, glw::GLuint buffer, glw::GLintptr offset, glw::GLsizei stride) 42443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexArrayVertexBuffer(" << vaobj << ", " << bindingindex << ", " << buffer << ", " << offset << ", " << stride << ");" << TestLog::EndMessage; 42471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexArrayVertexBuffer(vaobj, bindingindex, buffer, offset, stride); 42483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexArrayVertexBuffers (glw::GLuint vaobj, glw::GLuint first, glw::GLsizei count, const glw::GLuint *buffers, const glw::GLintptr *offsets, const glw::GLsizei *strides) 42513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42533cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexArrayVertexBuffers(" << vaobj << ", " << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(buffers))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(offsets))) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(strides))) << ");" << TestLog::EndMessage; 42541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, strides); 42553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib1d (glw::GLuint index, glw::GLdouble x) 42583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib1d(" << index << ", " << x << ");" << TestLog::EndMessage; 42611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib1d(index, x); 42623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib1dv (glw::GLuint index, const glw::GLdouble *v) 42653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib1dv(" << index << ", " << getPointerStr(v, 1) << ");" << TestLog::EndMessage; 42681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib1dv(index, v); 42693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib1f (glw::GLuint index, glw::GLfloat x) 42723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib1f(" << index << ", " << x << ");" << TestLog::EndMessage; 42751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib1f(index, x); 42763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib1fv (glw::GLuint index, const glw::GLfloat *v) 42793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib1fv(" << index << ", " << getPointerStr(v, 1) << ");" << TestLog::EndMessage; 42821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib1fv(index, v); 42833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib1s (glw::GLuint index, glw::GLshort x) 42863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib1s(" << index << ", " << x << ");" << TestLog::EndMessage; 42891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib1s(index, x); 42903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib1sv (glw::GLuint index, const glw::GLshort *v) 42933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 42943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 42951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib1sv(" << index << ", " << getPointerStr(v, 1) << ");" << TestLog::EndMessage; 42961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib1sv(index, v); 42973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 42983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 42991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib2d (glw::GLuint index, glw::GLdouble x, glw::GLdouble y) 43003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib2d(" << index << ", " << x << ", " << y << ");" << TestLog::EndMessage; 43031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib2d(index, x, y); 43043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib2dv (glw::GLuint index, const glw::GLdouble *v) 43073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib2dv(" << index << ", " << getPointerStr(v, 2) << ");" << TestLog::EndMessage; 43101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib2dv(index, v); 43113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib2f (glw::GLuint index, glw::GLfloat x, glw::GLfloat y) 43143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib2f(" << index << ", " << x << ", " << y << ");" << TestLog::EndMessage; 43171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib2f(index, x, y); 43183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib2fv (glw::GLuint index, const glw::GLfloat *v) 43213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib2fv(" << index << ", " << getPointerStr(v, 2) << ");" << TestLog::EndMessage; 43241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib2fv(index, v); 43253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib2s (glw::GLuint index, glw::GLshort x, glw::GLshort y) 43283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib2s(" << index << ", " << x << ", " << y << ");" << TestLog::EndMessage; 43311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib2s(index, x, y); 43323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib2sv (glw::GLuint index, const glw::GLshort *v) 43353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib2sv(" << index << ", " << getPointerStr(v, 2) << ");" << TestLog::EndMessage; 43381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib2sv(index, v); 43393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib3d (glw::GLuint index, glw::GLdouble x, glw::GLdouble y, glw::GLdouble z) 43423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib3d(" << index << ", " << x << ", " << y << ", " << z << ");" << TestLog::EndMessage; 43451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib3d(index, x, y, z); 43463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib3dv (glw::GLuint index, const glw::GLdouble *v) 43493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib3dv(" << index << ", " << getPointerStr(v, 3) << ");" << TestLog::EndMessage; 43521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib3dv(index, v); 43533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib3f (glw::GLuint index, glw::GLfloat x, glw::GLfloat y, glw::GLfloat z) 43563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib3f(" << index << ", " << x << ", " << y << ", " << z << ");" << TestLog::EndMessage; 43591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib3f(index, x, y, z); 43603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib3fv (glw::GLuint index, const glw::GLfloat *v) 43633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib3fv(" << index << ", " << getPointerStr(v, 3) << ");" << TestLog::EndMessage; 43661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib3fv(index, v); 43673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib3s (glw::GLuint index, glw::GLshort x, glw::GLshort y, glw::GLshort z) 43703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib3s(" << index << ", " << x << ", " << y << ", " << z << ");" << TestLog::EndMessage; 43731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib3s(index, x, y, z); 43743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib3sv (glw::GLuint index, const glw::GLshort *v) 43773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib3sv(" << index << ", " << getPointerStr(v, 3) << ");" << TestLog::EndMessage; 43801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib3sv(index, v); 43813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4Nbv (glw::GLuint index, const glw::GLbyte *v) 43843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4Nbv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 43871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4Nbv(index, v); 43883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4Niv (glw::GLuint index, const glw::GLint *v) 43913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 43931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4Niv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 43941abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4Niv(index, v); 43953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 43963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 43971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4Nsv (glw::GLuint index, const glw::GLshort *v) 43983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 43993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4Nsv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4Nsv(index, v); 44023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4Nub (glw::GLuint index, glw::GLubyte x, glw::GLubyte y, glw::GLubyte z, glw::GLubyte w) 44053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4Nub(" << index << ", " << toHex(x) << ", " << toHex(y) << ", " << toHex(z) << ", " << toHex(w) << ");" << TestLog::EndMessage; 44081abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4Nub(index, x, y, z, w); 44093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4Nubv (glw::GLuint index, const glw::GLubyte *v) 44123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4Nubv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4Nubv(index, v); 44163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4Nuiv (glw::GLuint index, const glw::GLuint *v) 44193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4Nuiv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44221abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4Nuiv(index, v); 44233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4Nusv (glw::GLuint index, const glw::GLushort *v) 44263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4Nusv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4Nusv(index, v); 44303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4bv (glw::GLuint index, const glw::GLbyte *v) 44333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4bv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44361abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4bv(index, v); 44373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4d (glw::GLuint index, glw::GLdouble x, glw::GLdouble y, glw::GLdouble z, glw::GLdouble w) 44403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4d(" << index << ", " << x << ", " << y << ", " << z << ", " << w << ");" << TestLog::EndMessage; 44431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4d(index, x, y, z, w); 44443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4dv (glw::GLuint index, const glw::GLdouble *v) 44473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4dv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4dv(index, v); 44513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4f (glw::GLuint index, glw::GLfloat x, glw::GLfloat y, glw::GLfloat z, glw::GLfloat w) 44543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4f(" << index << ", " << x << ", " << y << ", " << z << ", " << w << ");" << TestLog::EndMessage; 44571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4f(index, x, y, z, w); 44583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4fv (glw::GLuint index, const glw::GLfloat *v) 44613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4fv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44641abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4fv(index, v); 44653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4iv (glw::GLuint index, const glw::GLint *v) 44683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4iv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4iv(index, v); 44723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4s (glw::GLuint index, glw::GLshort x, glw::GLshort y, glw::GLshort z, glw::GLshort w) 44753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4s(" << index << ", " << x << ", " << y << ", " << z << ", " << w << ");" << TestLog::EndMessage; 44781abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4s(index, x, y, z, w); 44793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4sv (glw::GLuint index, const glw::GLshort *v) 44823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4sv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4sv(index, v); 44863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4ubv (glw::GLuint index, const glw::GLubyte *v) 44893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4ubv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44921abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4ubv(index, v); 44933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 44943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 44951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4uiv (glw::GLuint index, const glw::GLuint *v) 44963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 44973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 44981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4uiv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 44991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4uiv(index, v); 45003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttrib4usv (glw::GLuint index, const glw::GLushort *v) 45033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttrib4usv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 45061abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttrib4usv(index, v); 45073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribBinding (glw::GLuint attribindex, glw::GLuint bindingindex) 45103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribBinding(" << attribindex << ", " << bindingindex << ");" << TestLog::EndMessage; 45131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribBinding(attribindex, bindingindex); 45143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribDivisor (glw::GLuint index, glw::GLuint divisor) 45173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribDivisor(" << index << ", " << divisor << ");" << TestLog::EndMessage; 45201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribDivisor(index, divisor); 45213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribFormat (glw::GLuint attribindex, glw::GLint size, glw::GLenum type, glw::GLboolean normalized, glw::GLuint relativeoffset) 45243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribFormat(" << attribindex << ", " << size << ", " << getTypeStr(type) << ", " << getBooleanStr(normalized) << ", " << relativeoffset << ");" << TestLog::EndMessage; 45271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribFormat(attribindex, size, type, normalized, relativeoffset); 45283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI1i (glw::GLuint index, glw::GLint x) 45313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI1i(" << index << ", " << x << ");" << TestLog::EndMessage; 45341abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI1i(index, x); 45353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI1iv (glw::GLuint index, const glw::GLint *v) 45383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI1iv(" << index << ", " << getPointerStr(v, 1) << ");" << TestLog::EndMessage; 45411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI1iv(index, v); 45423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI1ui (glw::GLuint index, glw::GLuint x) 45453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI1ui(" << index << ", " << x << ");" << TestLog::EndMessage; 45481abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI1ui(index, x); 45493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI1uiv (glw::GLuint index, const glw::GLuint *v) 45523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI1uiv(" << index << ", " << getPointerStr(v, 1) << ");" << TestLog::EndMessage; 45551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI1uiv(index, v); 45563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI2i (glw::GLuint index, glw::GLint x, glw::GLint y) 45593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI2i(" << index << ", " << x << ", " << y << ");" << TestLog::EndMessage; 45621abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI2i(index, x, y); 45633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI2iv (glw::GLuint index, const glw::GLint *v) 45663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI2iv(" << index << ", " << getPointerStr(v, 2) << ");" << TestLog::EndMessage; 45691abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI2iv(index, v); 45703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI2ui (glw::GLuint index, glw::GLuint x, glw::GLuint y) 45733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI2ui(" << index << ", " << x << ", " << y << ");" << TestLog::EndMessage; 45761abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI2ui(index, x, y); 45773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI2uiv (glw::GLuint index, const glw::GLuint *v) 45803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI2uiv(" << index << ", " << getPointerStr(v, 2) << ");" << TestLog::EndMessage; 45831abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI2uiv(index, v); 45843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI3i (glw::GLuint index, glw::GLint x, glw::GLint y, glw::GLint z) 45873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI3i(" << index << ", " << x << ", " << y << ", " << z << ");" << TestLog::EndMessage; 45901abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI3i(index, x, y, z); 45913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 45931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI3iv (glw::GLuint index, const glw::GLint *v) 45943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 45953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 45961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI3iv(" << index << ", " << getPointerStr(v, 3) << ");" << TestLog::EndMessage; 45971abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI3iv(index, v); 45983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 45993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI3ui (glw::GLuint index, glw::GLuint x, glw::GLuint y, glw::GLuint z) 46013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI3ui(" << index << ", " << x << ", " << y << ", " << z << ");" << TestLog::EndMessage; 46041abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI3ui(index, x, y, z); 46053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI3uiv (glw::GLuint index, const glw::GLuint *v) 46083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI3uiv(" << index << ", " << getPointerStr(v, 3) << ");" << TestLog::EndMessage; 46111abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI3uiv(index, v); 46123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI4bv (glw::GLuint index, const glw::GLbyte *v) 46153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI4bv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 46181abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI4bv(index, v); 46193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI4i (glw::GLuint index, glw::GLint x, glw::GLint y, glw::GLint z, glw::GLint w) 46223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI4i(" << index << ", " << x << ", " << y << ", " << z << ", " << w << ");" << TestLog::EndMessage; 46251abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI4i(index, x, y, z, w); 46263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI4iv (glw::GLuint index, const glw::GLint *v) 46293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI4iv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 46321abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI4iv(index, v); 46333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI4sv (glw::GLuint index, const glw::GLshort *v) 46363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI4sv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 46391abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI4sv(index, v); 46403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI4ubv (glw::GLuint index, const glw::GLubyte *v) 46433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI4ubv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 46461abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI4ubv(index, v); 46473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI4ui (glw::GLuint index, glw::GLuint x, glw::GLuint y, glw::GLuint z, glw::GLuint w) 46503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI4ui(" << index << ", " << x << ", " << y << ", " << z << ", " << w << ");" << TestLog::EndMessage; 46531abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI4ui(index, x, y, z, w); 46543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI4uiv (glw::GLuint index, const glw::GLuint *v) 46573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46583c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46591abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI4uiv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 46601abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI4uiv(index, v); 46613c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46631abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribI4usv (glw::GLuint index, const glw::GLushort *v) 46643c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46653c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46661abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribI4usv(" << index << ", " << getPointerStr(v, 4) << ");" << TestLog::EndMessage; 46671abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribI4usv(index, v); 46683c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46701abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribIFormat (glw::GLuint attribindex, glw::GLint size, glw::GLenum type, glw::GLuint relativeoffset) 46713c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46723c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46731abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribIFormat(" << attribindex << ", " << size << ", " << getTypeStr(type) << ", " << relativeoffset << ");" << TestLog::EndMessage; 46741abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribIFormat(attribindex, size, type, relativeoffset); 46753c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46771abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribIPointer (glw::GLuint index, glw::GLint size, glw::GLenum type, glw::GLsizei stride, const void *pointer) 46783c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46793c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46801abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribIPointer(" << index << ", " << size << ", " << getTypeStr(type) << ", " << stride << ", " << pointer << ");" << TestLog::EndMessage; 46811abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribIPointer(index, size, type, stride, pointer); 46823c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46841abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribL1d (glw::GLuint index, glw::GLdouble x) 46853c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46863c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46871abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribL1d(" << index << ", " << x << ");" << TestLog::EndMessage; 46881abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribL1d(index, x); 46893c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46911abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribL1dv (glw::GLuint index, const glw::GLdouble *v) 46923c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 46933c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 46943cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexAttribL1dv(" << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 46951abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribL1dv(index, v); 46963c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 46973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 46981abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribL2d (glw::GLuint index, glw::GLdouble x, glw::GLdouble y) 46993c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47003c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47011abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribL2d(" << index << ", " << x << ", " << y << ");" << TestLog::EndMessage; 47021abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribL2d(index, x, y); 47033c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47051abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribL2dv (glw::GLuint index, const glw::GLdouble *v) 47063c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47073c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47083cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexAttribL2dv(" << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 47091abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribL2dv(index, v); 47103c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47121abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribL3d (glw::GLuint index, glw::GLdouble x, glw::GLdouble y, glw::GLdouble z) 47133c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47143c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47151abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribL3d(" << index << ", " << x << ", " << y << ", " << z << ");" << TestLog::EndMessage; 47161abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribL3d(index, x, y, z); 47173c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47191abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribL3dv (glw::GLuint index, const glw::GLdouble *v) 47203c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47213c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47223cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexAttribL3dv(" << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 47231abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribL3dv(index, v); 47243c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47261abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribL4d (glw::GLuint index, glw::GLdouble x, glw::GLdouble y, glw::GLdouble z, glw::GLdouble w) 47273c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47283c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47291abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribL4d(" << index << ", " << x << ", " << y << ", " << z << ", " << w << ");" << TestLog::EndMessage; 47301abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribL4d(index, x, y, z, w); 47313c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47331abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribL4dv (glw::GLuint index, const glw::GLdouble *v) 47343c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47353c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47363cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexAttribL4dv(" << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 47371abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribL4dv(index, v); 47383c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47401abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribLFormat (glw::GLuint attribindex, glw::GLint size, glw::GLenum type, glw::GLuint relativeoffset) 47413c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47423c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47431abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribLFormat(" << attribindex << ", " << size << ", " << toHex(type) << ", " << relativeoffset << ");" << TestLog::EndMessage; 47441abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribLFormat(attribindex, size, type, relativeoffset); 47453c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47471abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribLPointer (glw::GLuint index, glw::GLint size, glw::GLenum type, glw::GLsizei stride, const void *pointer) 47483c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47493c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47501abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribLPointer(" << index << ", " << size << ", " << toHex(type) << ", " << stride << ", " << pointer << ");" << TestLog::EndMessage; 47511abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribLPointer(index, size, type, stride, pointer); 47523c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47541abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribP1ui (glw::GLuint index, glw::GLenum type, glw::GLboolean normalized, glw::GLuint value) 47553c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47563c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47571abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribP1ui(" << index << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << value << ");" << TestLog::EndMessage; 47581abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribP1ui(index, type, normalized, value); 47593c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47603c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47611abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribP1uiv (glw::GLuint index, glw::GLenum type, glw::GLboolean normalized, const glw::GLuint *value) 47623c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47633c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47643cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexAttribP1uiv(" << index << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 47651abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribP1uiv(index, type, normalized, value); 47663c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47673c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47681abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribP2ui (glw::GLuint index, glw::GLenum type, glw::GLboolean normalized, glw::GLuint value) 47693c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47703c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47711abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribP2ui(" << index << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << value << ");" << TestLog::EndMessage; 47721abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribP2ui(index, type, normalized, value); 47733c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47743c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47751abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribP2uiv (glw::GLuint index, glw::GLenum type, glw::GLboolean normalized, const glw::GLuint *value) 47763c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47773c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47783cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexAttribP2uiv(" << index << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 47791abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribP2uiv(index, type, normalized, value); 47803c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47813c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47821abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribP3ui (glw::GLuint index, glw::GLenum type, glw::GLboolean normalized, glw::GLuint value) 47833c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47843c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47851abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribP3ui(" << index << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << value << ");" << TestLog::EndMessage; 47861abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribP3ui(index, type, normalized, value); 47873c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47883c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47891abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribP3uiv (glw::GLuint index, glw::GLenum type, glw::GLboolean normalized, const glw::GLuint *value) 47903c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47913c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47923cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexAttribP3uiv(" << index << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 47931abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribP3uiv(index, type, normalized, value); 47943c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 47953c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 47961abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribP4ui (glw::GLuint index, glw::GLenum type, glw::GLboolean normalized, glw::GLuint value) 47973c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 47983c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 47991abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribP4ui(" << index << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << value << ");" << TestLog::EndMessage; 48001abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribP4ui(index, type, normalized, value); 48013c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 48023c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 48031abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribP4uiv (glw::GLuint index, glw::GLenum type, glw::GLboolean normalized, const glw::GLuint *value) 48043c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 48053c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 48063cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glVertexAttribP4uiv(" << index << ", " << toHex(type) << ", " << getBooleanStr(normalized) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(value))) << ");" << TestLog::EndMessage; 48071abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribP4uiv(index, type, normalized, value); 48083c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 48093c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 48101abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexAttribPointer (glw::GLuint index, glw::GLint size, glw::GLenum type, glw::GLboolean normalized, glw::GLsizei stride, const void *pointer) 48113c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 48123c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 48131abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexAttribPointer(" << index << ", " << size << ", " << getTypeStr(type) << ", " << getBooleanStr(normalized) << ", " << stride << ", " << pointer << ");" << TestLog::EndMessage; 48141abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexAttribPointer(index, size, type, normalized, stride, pointer); 48153c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 48163c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 48171abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glVertexBindingDivisor (glw::GLuint bindingindex, glw::GLuint divisor) 48183c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 48193c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 48201abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glVertexBindingDivisor(" << bindingindex << ", " << divisor << ");" << TestLog::EndMessage; 48211abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.vertexBindingDivisor(bindingindex, divisor); 48223c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 48233c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 48241abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glViewport (glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height) 48253c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 48263c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 48271abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glViewport(" << x << ", " << y << ", " << width << ", " << height << ");" << TestLog::EndMessage; 48281abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.viewport(x, y, width, height); 48293c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 48303c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 48311abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glViewportArrayv (glw::GLuint first, glw::GLsizei count, const glw::GLfloat *v) 48323c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 48333c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 48343cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glViewportArrayv(" << first << ", " << count << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 48351abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.viewportArrayv(first, count, v); 48363c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 48373c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 48381abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glViewportIndexedf (glw::GLuint index, glw::GLfloat x, glw::GLfloat y, glw::GLfloat w, glw::GLfloat h) 48393c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 48403c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 48411abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glViewportIndexedf(" << index << ", " << x << ", " << y << ", " << w << ", " << h << ");" << TestLog::EndMessage; 48421abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.viewportIndexedf(index, x, y, w, h); 48433c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 48443c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 48451abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glViewportIndexedfv (glw::GLuint index, const glw::GLfloat *v) 48463c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 48473c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 48483cd1fd9f131e05dd9163545eee011778fef163efJarkko Pöyry m_log << TestLog::Message << "glViewportIndexedfv(" << index << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(v))) << ");" << TestLog::EndMessage; 48491abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.viewportIndexedfv(index, v); 48503c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 48513c827367444ee418f129b2c238299f49d3264554Jarkko Poyry 48521abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulosvoid CallLogWrapper::glWaitSync (glw::GLsync sync, glw::GLbitfield flags, glw::GLuint64 timeout) 48533c827367444ee418f129b2c238299f49d3264554Jarkko Poyry{ 48543c827367444ee418f129b2c238299f49d3264554Jarkko Poyry if (m_enableLog) 48551abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_log << TestLog::Message << "glWaitSync(" << sync << ", " << toHex(flags) << ", " << timeout << ");" << TestLog::EndMessage; 48561abab607ca1c1b410881390f9ec47e6be04c207dPyry Haulos m_gl.waitSync(sync, flags, timeout); 48573c827367444ee418f129b2c238299f49d3264554Jarkko Poyry} 4858