Lines Matching defs:m_gl

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