Lines Matching refs:shadersAndProgram
1812 void ShaderCompilerCase::cleanup (const ShadersAndProgram& shadersAndProgram, const ProgramContext&… in cleanup() argument
1820 …int location = gl.getAttribLocation(shadersAndProgram.program, progCtx.vertexAttributes[attribNdx]… in cleanup()
1827 gl.detachShader(shadersAndProgram.program, shadersAndProgram.vertShader); in cleanup()
1828 gl.detachShader(shadersAndProgram.program, shadersAndProgram.fragShader); in cleanup()
1829 gl.deleteShader(shadersAndProgram.vertShader); in cleanup()
1830 gl.deleteShader(shadersAndProgram.fragShader); in cleanup()
1831 gl.deleteProgram(shadersAndProgram.program); in cleanup()
1842 ShaderCompilerCase::Logs ShaderCompilerCase::getLogs (const ShadersAndProgram& shadersAndProgram) c… in getLogs()
1847 result.vert = getShaderInfoLog(gl, shadersAndProgram.vertShader); in getLogs()
1848 result.frag = getShaderInfoLog(gl, shadersAndProgram.fragShader); in getLogs()
1849 result.link = getProgramInfoLog(gl, shadersAndProgram.program); in getLogs()
1882 ShadersAndProgram shadersAndProgram = createShadersAndProgram(); in iterate() local
1883 setShaderSources(shadersAndProgram.vertShader, shadersAndProgram.fragShader, progCtx); in iterate()
1886 buildInfo.vertCompileSuccess = compileShader(shadersAndProgram.vertShader); in iterate()
1887 buildInfo.fragCompileSuccess = compileShader(shadersAndProgram.fragShader); in iterate()
1888 buildInfo.linkSuccess = linkAndUseProgram(shadersAndProgram.program); in iterate()
1891 buildInfo.logs = getLogs(shadersAndProgram); in iterate()
1893 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1897 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1899 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1918 ShadersAndProgram shadersAndProgram = createShadersAndProgram(); in iterate() local
1935 setShaderSources(shadersAndProgram.vertShader, shadersAndProgram.fragShader, progCtx); in iterate()
1938 buildInfo.vertCompileSuccess = compileShader(shadersAndProgram.vertShader); in iterate()
1941 buildInfo.fragCompileSuccess = compileShader(shadersAndProgram.fragShader); in iterate()
1944 buildInfo.linkSuccess = linkAndUseProgram(shadersAndProgram.program); in iterate()
1950 buildInfo.logs = getLogs(shadersAndProgram); in iterate()
1952 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1957 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1966 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1974 buildInfo.logs = getLogs(shadersAndProgram); in iterate()
1975 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()