• Home
  • Raw
  • Download

Lines Matching refs:m_ctx

450 	, m_ctx				(context)  in ContextArray()
466 m_ctx.genBuffers(1, &m_glBuffer); in ContextArray()
467 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glGenBuffers()"); in ContextArray()
475 m_ctx.deleteBuffers(1, &m_glBuffer); in ~ContextArray()
476 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glDeleteBuffers()"); in ~ContextArray()
496 m_ctx.bindBuffer(targetToGL(target), m_glBuffer); in data()
497 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glBindBuffer()"); in data()
499 m_ctx.bufferData(targetToGL(target), size, ptr, usageToGL(usage)); in data()
500 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glBufferData()"); in data()
520 m_ctx.bindBuffer(targetToGL(target), m_glBuffer); in subdata()
521 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glBindBuffer()"); in subdata()
523 m_ctx.bufferSubData(targetToGL(target), offset, size, ptr); in subdata()
524 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glBufferSubData()"); in subdata()
551 m_ctx.bindBuffer(targetToGL(target), m_glBuffer); in bindIndexArray()
559 m_ctx.bindBuffer(targetToGL(m_target), m_glBuffer); in glBind()
560 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glBindBuffer()"); in glBind()
569m_ctx.vertexAttribPointer(loc, m_componentCount, inputTypeToGL(m_inputType), m_normalize, m_stride… in glBind()
570 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glVertexAttribPointer()"); in glBind()
575m_ctx.vertexAttribIPointer(loc, m_componentCount, inputTypeToGL(m_inputType), m_stride, (GLvoid*)(… in glBind()
576 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glVertexAttribIPointer()"); in glBind()
586m_ctx.vertexAttribPointer(loc, m_componentCount, inputTypeToGL(m_inputType), m_normalize, m_stride… in glBind()
587 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glVertexAttribPointer()"); in glBind()
590 m_ctx.bindBuffer(targetToGL(m_target), 0); in glBind()
594 m_ctx.bindBuffer(targetToGL(m_target), 0); in glBind()
595 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glBindBuffer()"); in glBind()
604m_ctx.vertexAttribPointer(loc, m_componentCount, inputTypeToGL(m_inputType), m_normalize, m_stride… in glBind()
605 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glVertexAttribPointer()"); in glBind()
610m_ctx.vertexAttribIPointer(loc, m_componentCount, inputTypeToGL(m_inputType), m_stride, m_data + m… in glBind()
611 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glVertexAttribIPointer()"); in glBind()
621m_ctx.vertexAttribPointer(loc, m_componentCount, inputTypeToGL(m_inputType), m_normalize, m_stride… in glBind()
622 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glVertexAttribPointer()"); in glBind()
722 , m_ctx (drawContext) in ContextArrayPack()
743 m_arrays.push_back(new ContextArray(storage, m_ctx)); in newArray()
1155 m_ctx.viewport(0, 0, m_screen.getWidth(), m_screen.getHeight()); in render()
1156 m_ctx.clearColor(0.0, 0.0, 0.0, 1.0); in render()
1157 m_ctx.clear(GL_COLOR_BUFFER_BIT); in render()
1159 program = m_ctx.createProgram(m_program); in render()
1161 m_ctx.useProgram(program); in render()
1162 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glUseProgram()"); in render()
1164 m_ctx.uniform1f(m_ctx.getUniformLocation(program, "u_coordScale"), coordScale); in render()
1165 m_ctx.uniform1f(m_ctx.getUniformLocation(program, "u_colorScale"), colorScale); in render()
1169 m_ctx.genVertexArrays(1, &vaoId); in render()
1170 m_ctx.bindVertexArray(vaoId); in render()
1180 deUint32 loc = m_ctx.getAttribLocation(program, attribName.str().c_str()); in render()
1181 m_ctx.enableVertexAttribArray(loc); in render()
1182 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glEnableVertexAttribArray()"); in render()
1189 m_ctx.drawArrays(ContextArray::primitiveToGL(primitive), firstVertex, vertexCount - firstVertex); in render()
1190 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glDrawArrays()"); in render()
1199 deUint32 loc = m_ctx.getAttribLocation(program, attribName.str().c_str()); in render()
1201 m_ctx.disableVertexAttribArray(loc); in render()
1202 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "glDisableVertexAttribArray()"); in render()
1207 m_ctx.deleteVertexArrays(1, &vaoId); in render()
1209 m_ctx.deleteProgram(program); in render()
1210 m_ctx.useProgram(0); in render()
1211 m_ctx.readPixels(m_screen, 0, 0, m_screen.getWidth(), m_screen.getHeight()); in render()