Lines Matching refs:getError
86 …GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MIN_FILTER, state.minFilter… in setTextureState()
88 …GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MAG_FILTER, state.magFilter… in setTextureState()
90 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_S, state.wrapS)"); in setTextureState()
92 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_T, state.wrapT)"); in setTextureState()
94 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_R, state.wrapR)"); in setTextureState()
96 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod)"); in setTextureState()
98 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod)"); in setTextureState()
104 …GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MIN_FILTER, state.minF… in setSamplerState()
106 …GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MAG_FILTER, state.magF… in setSamplerState()
108 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_S, state.wrapS)"); in setSamplerState()
110 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_T, state.wrapT)"); in setSamplerState()
112 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_R, state.wrapR)"); in setSamplerState()
114 …GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod)… in setSamplerState()
116 …GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod)… in setSamplerState()
301 GLU_EXPECT_NO_ERROR(gl.getError(), "glUseProgram(m_program->getProgram())"); in render()
310 GLU_EXPECT_NO_ERROR(gl.getError(), "glClearColor(0.5f, 0.5f, 0.5f, 1.0f)"); in render()
313 GLU_EXPECT_NO_ERROR(gl.getError(), "glClear(GL_COLOR_BUFFER_BIT)"); in render()
316 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1i(samplerLoc, 0)"); in render()
319 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1f(scaleLoc, 1.0f)"); in render()
333 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1f(scaleLoc, 0.25f)"); in render()
350 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1f(scaleLoc, 0.25f)"); in render()
367 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1f(scaleLoc, 0.25f)"); in render()
388 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)"); in createTexture2D()
391 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)"); in createTexture2D()
394 …GLU_EXPECT_NO_ERROR(gl.getError(), "glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, refTexture.getWidth()… in createTexture2D()
397 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenerateMipmap(GL_TEXTURE_2D)"); in createTexture2D()
400 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)"); in createTexture2D()
414 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)"); in createTexture3D()
417 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_3D, texture)"); in createTexture3D()
420 …GLU_EXPECT_NO_ERROR(gl.getError(), "glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA8, refTexture.getWidth()… in createTexture3D()
423 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenerateMipmap(GL_TEXTURE_3D)"); in createTexture3D()
426 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_3D, 0)"); in createTexture3D()
451 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_CUBE_MAP, texture)"); in createTextureCube()
458 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexImage2D(GL_TEXTURE_CUBE_MAP_...) failed"); in createTextureCube()
461 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenerateMipmap(GL_TEXTURE_CUBE_MAP)"); in createTextureCube()
463 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_CUBE_MAP, texture)"); in createTextureCube()
493 GLU_EXPECT_NO_ERROR(gl.getError(), "glViewport(x, y, VIEWPORT_WIDTH, VIEWPORT_HEIGHT)"); in renderReferences()
496 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture)"); in renderReferences()
507 GLU_EXPECT_NO_ERROR(gl.getError(), "glDeleteTextures(1, &texture)"); in renderReferences()
517 GLU_EXPECT_NO_ERROR(gl.getError(), "glViewport(x, y, VIEWPORT_WIDTH, VIEWPORT_HEIGHT)"); in renderResults()
520 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenSamplers(1, &sampler)"); in renderResults()
524 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindSampler(0, sampler)"); in renderResults()
531 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture)"); in renderResults()
541 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindSampler(0, 0)"); in renderResults()
547 GLU_EXPECT_NO_ERROR(gl.getError(), "glDeleteSamplers(1, &sampler)"); in renderResults()
549 GLU_EXPECT_NO_ERROR(gl.getError(), "glDeleteTextures(1, &texture)"); in renderResults()
598 …GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MIN_FILTER, state.minFilter… in setTextureState()
600 …GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MAG_FILTER, state.magFilter… in setTextureState()
602 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_S, state.wrapS)"); in setTextureState()
604 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_T, state.wrapT)"); in setTextureState()
606 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_R, state.wrapR)"); in setTextureState()
608 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod)"); in setTextureState()
610 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod)"); in setTextureState()
616 …GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MIN_FILTER, state.minF… in setSamplerState()
618 …GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MAG_FILTER, state.magF… in setSamplerState()
620 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_S, state.wrapS)"); in setSamplerState()
622 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_T, state.wrapT)"); in setSamplerState()
624 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_R, state.wrapR)"); in setSamplerState()
626 …GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod)… in setSamplerState()
628 …GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod)… in setSamplerState()
792 GLU_EXPECT_NO_ERROR(gl.getError(), "glUseProgram(m_program->getProgram())"); in render()
804 GLU_EXPECT_NO_ERROR(gl.getError(), "glClearColor(0.5f, 0.5f, 0.5f, 1.0f)"); in render()
807 GLU_EXPECT_NO_ERROR(gl.getError(), "glClear(GL_COLOR_BUFFER_BIT)"); in render()
810 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1i(samplerLoc1, 0)"); in render()
813 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1i(samplerLoc2, 1)"); in render()
816 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1f(scaleLoc, 1.0f)"); in render()
830 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1f(scaleLoc, 0.25f)"); in render()
847 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1f(scaleLoc, 0.25f)"); in render()
864 GLU_EXPECT_NO_ERROR(gl.getError(), "glUniform1f(scaleLoc, 0.25f)"); in render()
884 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)"); in createTexture2D()
901 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)"); in createTexture2D()
904 …GLU_EXPECT_NO_ERROR(gl.getError(), "glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, refTexture.getWidth()… in createTexture2D()
907 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenerateMipmap(GL_TEXTURE_2D)"); in createTexture2D()
910 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, 0)"); in createTexture2D()
923 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)"); in createTexture3D()
940 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_3D, texture)"); in createTexture3D()
943 …GLU_EXPECT_NO_ERROR(gl.getError(), "glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA8, refTexture.getWidth()… in createTexture3D()
946 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenerateMipmap(GL_TEXTURE_3D)"); in createTexture3D()
949 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_3D, 0)"); in createTexture3D()
960 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)"); in createTextureCube()
994 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_CUBE_MAP, texture)"); in createTextureCube()
1001 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexImage2D(GL_TEXTURE_CUBE_MAP_...) failed"); in createTextureCube()
1004 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenerateMipmap(GL_TEXTURE_CUBE_MAP)"); in createTextureCube()
1006 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_CUBE_MAP, 0)"); in createTextureCube()
1037 GLU_EXPECT_NO_ERROR(gl.getError(), "glViewport(x, y, VIEWPORT_WIDTH, VIEWPORT_HEIGHT)"); in renderReferences()
1041 GLU_EXPECT_NO_ERROR(gl.getError(), "glActiveTexture(GL_TEXTURE0)"); in renderReferences()
1043 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture1)"); in renderReferences()
1047 GLU_EXPECT_NO_ERROR(gl.getError(), "glActiveTexture(GL_TEXTURE1)"); in renderReferences()
1049 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture2)"); in renderReferences()
1057 GLU_EXPECT_NO_ERROR(gl.getError(), "glActiveTexture(GL_TEXTURE0)"); in renderReferences()
1059 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture1)"); in renderReferences()
1063 GLU_EXPECT_NO_ERROR(gl.getError(), "glActiveTexture(GL_TEXTURE1)"); in renderReferences()
1065 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture2)"); in renderReferences()
1080 GLU_EXPECT_NO_ERROR(gl.getError(), "glViewport(x, y, VIEWPORT_WIDTH, VIEWPORT_HEIGHT)"); in renderResults()
1083 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenSamplers(1, &sampler)"); in renderResults()
1087 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindSampler(0, sampler)"); in renderResults()
1089 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindSampler(1, sampler)"); in renderResults()
1096 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture1)"); in renderResults()
1100 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture2)"); in renderResults()
1104 GLU_EXPECT_NO_ERROR(gl.getError(), "glActiveTexture(GL_TEXTURE0)"); in renderResults()
1106 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture1)"); in renderResults()
1109 GLU_EXPECT_NO_ERROR(gl.getError(), "glActiveTexture(GL_TEXTURE1)"); in renderResults()
1111 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture2)"); in renderResults()
1118 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindSampler(0, 0)"); in renderResults()
1120 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindSampler(1, 0)"); in renderResults()
1126 GLU_EXPECT_NO_ERROR(gl.getError(), "glActiveTexture(GL_TEXTURE0)"); in renderResults()
1128 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, 0)"); in renderResults()
1131 GLU_EXPECT_NO_ERROR(gl.getError(), "glActiveTexture(GL_TEXTURE1)"); in renderResults()
1133 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, 0)"); in renderResults()
1136 GLU_EXPECT_NO_ERROR(gl.getError(), "glDeleteSamplers(1, &sampler)"); in renderResults()
1138 GLU_EXPECT_NO_ERROR(gl.getError(), "glDeleteTextures(1, &texture1)"); in renderResults()
1140 GLU_EXPECT_NO_ERROR(gl.getError(), "glDeleteTextures(1, &texture2)"); in renderResults()