Lines Matching refs:m_gl
101 const glw::Functions& m_gl; member in gl3cts::ClipDistance::Utility::Program
129 const glw::Functions& m_gl; member in gl3cts::ClipDistance::Utility::Framebuffer
152 const glw::Functions& m_gl; member in gl3cts::ClipDistance::Utility::VertexArrayObject
176 const glw::Functions& m_gl; member in gl3cts::ClipDistance::Utility::VertexBufferObject
332 : m_gl(gl), m_vertex_buffer_object_id(0), m_target(target), m_size(0) in VertexBufferObject()
334 m_gl.genBuffers(1, &m_vertex_buffer_object_id); in VertexBufferObject()
335 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glGenBuffers call failed."); in VertexBufferObject()
343 m_gl.bufferData(m_target, m_size, &data[0], GL_STATIC_DRAW); in VertexBufferObject()
344 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glBufferData call failed."); in VertexBufferObject()
352 m_gl.deleteBuffers(1, &m_vertex_buffer_object_id); /* Delete silently unbinds the buffer. */ in ~VertexBufferObject()
353 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glDeleteBuffers call failed."); in ~VertexBufferObject()
358 m_gl.disableVertexAttribArray(*i_enabled_array); in ~VertexBufferObject()
371 m_gl.bindBuffer(m_target, m_vertex_buffer_object_id); in bind()
372 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glBindBuffer call failed."); in bind()
376 m_gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, m_vertex_buffer_object_id); in bind()
377 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glBindBufferBase call failed."); in bind()
403 …glw::GLint location = m_gl.getAttribLocation(program.ProgramStatus().program_id, input_attribute_n… in useAsShaderInput()
404 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glGetAttribLocation call failed."); in useAsShaderInput()
412 m_gl.enableVertexAttribArray(location); in useAsShaderInput()
413 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glEnableVertexAttribArray call failed."); in useAsShaderInput()
420 m_gl.vertexAttribPointer(location, number_of_components, GL_FLOAT, false, 0, NULL); in useAsShaderInput()
421 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glVertexAttribPointer call failed."); in useAsShaderInput()
425 m_gl.vertexAttribIPointer(location, number_of_components, GL_FLOAT, 0, NULL); in useAsShaderInput()
426 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glVertexAttribIPointer call failed."); in useAsShaderInput()
451 glw::GLvoid* results = m_gl.mapBuffer(m_target, GL_READ_ONLY); in readBuffer()
458 m_gl.unmapBuffer(m_target); in readBuffer()