Lines Matching refs:m_po
798 , m_po(0) in ElementBufferTest()
892 m_po = gl.createProgram(); in PrepareProgram()
905 gl.attachShader(m_po, shader[i].id); in PrepareProgram()
953 gl.transformFeedbackVaryings(m_po, 1, &xfb_varying, GL_INTERLEAVED_ATTRIBS); in PrepareProgram()
957 gl.linkProgram(m_po); in PrepareProgram()
963 gl.getProgramiv(m_po, GL_LINK_STATUS, &status); in PrepareProgram()
971 gl.detachShader(m_po, shader[i].id); in PrepareProgram()
981 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
987 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in PrepareProgram()
1002 if (m_po) in PrepareProgram()
1004 gl.deleteProgram(m_po); in PrepareProgram()
1006 m_po = 0; in PrepareProgram()
1020 if (0 == m_po) in PrepareProgram()
1054 gl.vertexAttribIPointer(gl.getAttribLocation(m_po, "a"), 1, GL_INT, 0, NULL); in PrepareVAO()
1122 gl.useProgram(m_po); in DrawAndCheck()
1172 if (m_po) in Clean()
1174 gl.deleteProgram(m_po); in Clean()
1176 m_po = 0; in Clean()
1239 , m_po(0) in VertexBuffersTest()
1339 m_po = gl.createProgram(); in PrepareProgram()
1352 gl.attachShader(m_po, shader[i].id); in PrepareProgram()
1400 gl.transformFeedbackVaryings(m_po, 1, &xfb_varying, GL_INTERLEAVED_ATTRIBS); in PrepareProgram()
1404 gl.linkProgram(m_po); in PrepareProgram()
1410 gl.getProgramiv(m_po, GL_LINK_STATUS, &status); in PrepareProgram()
1418 gl.detachShader(m_po, shader[i].id); in PrepareProgram()
1428 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
1434 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in PrepareProgram()
1449 if (m_po) in PrepareProgram()
1451 gl.deleteProgram(m_po); in PrepareProgram()
1453 m_po = 0; in PrepareProgram()
1467 if (0 == m_po) in PrepareProgram()
1503 gl.vertexAttribBinding(gl.getAttribLocation(m_po, "a_0"), 0); in PrepareVAO()
1505 gl.vertexAttribBinding(gl.getAttribLocation(m_po, "a_1"), 1); in PrepareVAO()
1507 gl.vertexAttribIFormat(gl.getAttribLocation(m_po, "a_0"), 1, GL_INT, 0); in PrepareVAO()
1509 gl.vertexAttribIFormat(gl.getAttribLocation(m_po, "a_1"), 1, GL_INT, 0); in PrepareVAO()
1575 gl.vertexAttribBinding(gl.getAttribLocation(m_po, "a_2"), 2); in PrepareVAO()
1578 gl.vertexAttribIFormat(gl.getAttribLocation(m_po, "a_2"), 1, GL_INT, 0); in PrepareVAO()
1654 gl.useProgram(m_po); in DrawAndCheck()
1706 if (m_po) in Clean()
1708 gl.deleteProgram(m_po); in Clean()
1710 m_po = 0; in Clean()
1776 , m_po(0) in AttributeFormatTest()
1970 m_po = gl.createProgram(); in PrepareProgram()
1982 gl.attachShader(m_po, shader[i].id); in PrepareProgram()
2030 gl.transformFeedbackVaryings(m_po, 1, &xfb_varying, GL_INTERLEAVED_ATTRIBS); in PrepareProgram()
2034 gl.linkProgram(m_po); in PrepareProgram()
2040 gl.getProgramiv(m_po, GL_LINK_STATUS, &status); in PrepareProgram()
2048 gl.detachShader(m_po, shader[i].id); in PrepareProgram()
2058 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
2064 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in PrepareProgram()
2079 if (m_po) in PrepareProgram()
2081 gl.deleteProgram(m_po); in PrepareProgram()
2083 m_po = 0; in PrepareProgram()
2097 if (0 == m_po) in PrepareProgram()
2186 gl.vertexAttribBinding(gl.getAttribLocation(m_po, "a_0"), 0); in PrepareVAO()
2189 gl.vertexAttribBinding(gl.getAttribLocation(m_po, "a_1"), 1); in PrepareVAO()
2196 …gl.vertexArrayAttribFormat(m_vao, gl.getAttribLocation(m_po, "a_0"), size, type_gl_name, normalize… in PrepareVAO()
2197 …gl.vertexArrayAttribFormat(m_vao, gl.getAttribLocation(m_po, "a_1"), size, type_gl_name, normalize… in PrepareVAO()
2201 gl.vertexArrayAttribLFormat(m_vao, gl.getAttribLocation(m_po, "a_0"), size, type_gl_name, 0); in PrepareVAO()
2202 gl.vertexArrayAttribLFormat(m_vao, gl.getAttribLocation(m_po, "a_1"), size, type_gl_name, 0); in PrepareVAO()
2206 gl.vertexArrayAttribIFormat(m_vao, gl.getAttribLocation(m_po, "a_0"), size, type_gl_name, 0); in PrepareVAO()
2207 gl.vertexArrayAttribIFormat(m_vao, gl.getAttribLocation(m_po, "a_1"), size, type_gl_name, 0); in PrepareVAO()
2330 gl.useProgram(m_po); in DrawAndCheck()
2441 if (m_po) in CleanProgram()
2443 gl.deleteProgram(m_po); in CleanProgram()
2445 m_po = 0; in CleanProgram()
2567 , m_po(0) in AttributeBindingTest()
2660 m_po = gl.createProgram(); in PrepareProgram()
2673 gl.attachShader(m_po, shader[i].id); in PrepareProgram()
2719 gl.bindAttribLocation(m_po, 0, "a_0"); in PrepareProgram()
2720 gl.bindAttribLocation(m_po, 1, "a_1"); in PrepareProgram()
2725 gl.transformFeedbackVaryings(m_po, 1, &xfb_varying, GL_INTERLEAVED_ATTRIBS); in PrepareProgram()
2729 gl.linkProgram(m_po); in PrepareProgram()
2735 gl.getProgramiv(m_po, GL_LINK_STATUS, &status); in PrepareProgram()
2743 gl.detachShader(m_po, shader[i].id); in PrepareProgram()
2753 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
2759 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in PrepareProgram()
2774 if (m_po) in PrepareProgram()
2776 gl.deleteProgram(m_po); in PrepareProgram()
2778 m_po = 0; in PrepareProgram()
2792 if (0 == m_po) in PrepareProgram()
2886 gl.useProgram(m_po); in DrawAndCheck()
2929 if (m_po) in Clean()
2931 gl.deleteProgram(m_po); in Clean()
2933 m_po = 0; in Clean()
2991 , m_po(0) in AttributeBindingDivisorTest()
3123 m_po = gl.createProgram(); in PrepareProgram()
3136 gl.attachShader(m_po, shader[i].id); in PrepareProgram()
3184 gl.transformFeedbackVaryings(m_po, 1, &xfb_varying, GL_INTERLEAVED_ATTRIBS); in PrepareProgram()
3188 gl.linkProgram(m_po); in PrepareProgram()
3194 gl.getProgramiv(m_po, GL_LINK_STATUS, &status); in PrepareProgram()
3202 gl.detachShader(m_po, shader[i].id); in PrepareProgram()
3212 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
3218 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in PrepareProgram()
3233 if (m_po) in PrepareProgram()
3235 gl.deleteProgram(m_po); in PrepareProgram()
3237 m_po = 0; in PrepareProgram()
3251 if (m_po) in PrepareProgram()
3253 gl.useProgram(m_po); in PrepareProgram()
3257 if (0 == m_po) in PrepareProgram()
3289 gl.vertexAttribBinding(gl.getAttribLocation(m_po, "a"), 0); in PrepareVAO()
3292 gl.vertexAttribIFormat(gl.getAttribLocation(m_po, "a"), 1, GL_INT, 0); in PrepareVAO()
3298 gl.enableVertexAttribArray(gl.getAttribLocation(m_po, "a")); in PrepareVAO()
3444 if (m_po) in Clean()
3446 gl.deleteProgram(m_po); in Clean()
3448 m_po = 0; in Clean()