• Home
  • Raw
  • Download

Lines Matching refs:shader_id

1191 	if (m_vertex_shader_status.shader_id)  in Program()
1193 m_gl.deleteShader(m_vertex_shader_status.shader_id); in Program()
1195 m_vertex_shader_status.shader_id = 0; in Program()
1198 if (m_fragment_shader_status.shader_id) in Program()
1200 m_gl.deleteShader(m_fragment_shader_status.shader_id); in Program()
1202 m_fragment_shader_status.shader_id = 0; in Program()
1209 if (m_vertex_shader_status.shader_id) in ~Program()
1211 m_gl.deleteShader(m_vertex_shader_status.shader_id); in ~Program()
1213 m_vertex_shader_status.shader_id = 0; in ~Program()
1216 if (m_fragment_shader_status.shader_id) in ~Program()
1218 m_gl.deleteShader(m_fragment_shader_status.shader_id); in ~Program()
1220 m_fragment_shader_status.shader_id = 0; in ~Program()
1278 shader.shader_id = m_gl.createShader(shader_type); in compileShader()
1283 m_gl.shaderSource(shader.shader_id, 1, shader_code, NULL); in compileShader()
1287 m_gl.compileShader(shader.shader_id); in compileShader()
1292 m_gl.getShaderiv(shader.shader_id, GL_COMPILE_STATUS, &shader.shader_compilation_status); in compileShader()
1301 m_gl.getShaderiv(shader.shader_id, GL_INFO_LOG_LENGTH, &log_size); in compileShader()
1313 m_gl.getShaderInfoLog(shader.shader_id, log_size, DE_NULL, log); in compileShader()
1326 if (shader.shader_id) in compileShader()
1328 m_gl.deleteShader(shader.shader_id); in compileShader()
1330 shader.shader_id = 0; in compileShader()
1352 if (vertex_shader.shader_id && fragment_shader.shader_id) in linkShaders()
1375 m_gl.attachShader(program.program_id, vertex_shader.shader_id); in linkShaders()
1379 m_gl.attachShader(program.program_id, fragment_shader.shader_id); in linkShaders()
1421 m_gl.detachShader(program.program_id, vertex_shader.shader_id); in linkShaders()
1425 m_gl.detachShader(program.program_id, fragment_shader.shader_id); in linkShaders()