Home
last modified time | relevance | path

Searched refs:m_gl (Results 1 – 25 of 52) sorted by relevance

123

/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cSparseBufferTests.cpp832 , m_gl(gl) in AtomicCounterBufferStorageTestCase()
860 m_gl.deleteBuffers(1, &m_helper_bo); in deinitTestCaseGlobal()
867 m_gl.deleteProgram(m_po); in deinitTestCaseGlobal()
874 m_gl.deleteVertexArrays(1, &m_vao); in deinitTestCaseGlobal()
885 m_gl.bindBuffer(GL_ARRAY_BUFFER, m_sparse_bo); in deinitTestCaseIteration()
886 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glBindBuffer() call failed."); in deinitTestCaseIteration()
888 m_gl.bufferPageCommitmentARB(GL_ARRAY_BUFFER, 0, /* offset */ in deinitTestCaseIteration()
890 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glBufferPageCommitmentARB() call failed."); in deinitTestCaseIteration()
921 m_gl.useProgram(m_po); in execute()
922 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() call failed."); in execute()
[all …]
Dgl3cClipDistance.cpp1174 : m_gl(gl) in Program()
1193 m_gl.deleteShader(m_vertex_shader_status.shader_id); in Program()
1200 m_gl.deleteShader(m_fragment_shader_status.shader_id); in Program()
1211 m_gl.deleteShader(m_vertex_shader_status.shader_id); in ~Program()
1218 m_gl.deleteShader(m_fragment_shader_status.shader_id); in ~Program()
1225 m_gl.deleteProgram(m_program_status.program_id); in ~Program()
1278 shader.shader_id = m_gl.createShader(shader_type); in compileShader()
1280 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glCreateShader() call failed."); in compileShader()
1283 m_gl.shaderSource(shader.shader_id, 1, shader_code, NULL); in compileShader()
1285 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glShaderSource() call failed."); in compileShader()
[all …]
Dgl3cClipDistance.hpp101 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()
[all …]
Dgl4cSparseBufferTests.hpp197 const glw::Functions& m_gl; member in gl4cts::AtomicCounterBufferStorageTestCase
255 const glw::Functions& m_gl; member in gl4cts::BufferTextureStorageTestCase
305 const glw::Functions& m_gl; member in gl4cts::ClearOpsBufferStorageTestCase
392 const glw::Functions& m_gl; member in gl4cts::CopyOpsBufferStorageTestCase
445 const glw::Functions& m_gl; member in gl4cts::IndirectDispatchBufferStorageTestCase
486 const glw::Functions& m_gl; member in gl4cts::InvalidateBufferStorageTestCase
535 const glw::Functions& m_gl; member in gl4cts::PixelPackBufferStorageTestCase
586 const glw::Functions& m_gl; member in gl4cts::PixelUnpackBufferStorageTestCase
708 const glw::Functions& m_gl; member in gl4cts::QuadsBufferStorageTestCase
768 const glw::Functions& m_gl; member in gl4cts::QueryBufferStorageTestCase
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcKHRDebugTests.cpp61 GLenum generated_error = m_gl->getError(); \
150 : m_gl(0), m_is_debug(is_debug), m_rc(0), m_testContext(testContext), m_apiType(apiType) in TestBase()
180 m_gl = &m_rc->getFunctions(); in init()
225 m_gl = 0; in done()
252 m_gl->getIntegerv(GL_MAX_LABEL_LENGTH, &max_label); in iterate()
253 GLU_EXPECT_NO_ERROR(m_gl->getError(), "GetIntegerv"); in iterate()
270 m_gl->getIntegerv(GL_MAX_DEBUG_MESSAGE_LENGTH, &max_length); in iterate()
271 GLU_EXPECT_NO_ERROR(m_gl->getError(), "GetIntegerv"); in iterate()
288 m_gl->getIntegerv(GL_MAX_DEBUG_GROUP_STACK_DEPTH, &max_groups); in iterate()
289 GLU_EXPECT_NO_ERROR(m_gl->getError(), "GetIntegerv"); in iterate()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharingTests.cpp108 glw::Functions m_gl; member in deqp::egl::GLES2SharingTest
125 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0)); in init()
324 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_glBuffer)); in createResource()
325 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_glBuffer)); in createResource()
326 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (GLsizei)(m_buffer.size() * sizeof(GLubyte)),… in createResource()
327 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, 0)); in createResource()
332 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_glBuffer)); in destroyResource()
357 glu::ShaderProgram program(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader)); in renderResource()
398 GLU_CHECK_GLW_CALL(m_gl, viewport(0, 0, width, height)); in renderResource()
400 GLU_CHECK_GLW_CALL(m_gl, clearColor(1.0f, 0.0f, 0.0f, 1.0f)); in renderResource()
[all …]
DteglPreservingSwapTests.cpp96 glw::Functions m_gl; member in deqp::egl::__anon269d72c80111::PreservingSwapTest
114 const glw::Functions& m_gl; member in deqp::egl::__anon269d72c80111::GLES2Program
146 : m_gl (gl) in GLES2Program()
151 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); in GLES2Program()
152 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); in GLES2Program()
153 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); in GLES2Program()
186 m_gl.useProgram(m_glProgram.getProgram()); in render()
187 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
189 m_gl.enableVertexAttribArray(m_coordLoc); in render()
190 m_gl.enableVertexAttribArray(m_colorLoc); in render()
[all …]
DteglBufferAgeTests.cpp120 glw::Functions m_gl; member in deqp::egl::__anonf9c5664f0111::BufferAgeTest
214 const glw::Functions& m_gl; member in deqp::egl::__anonf9c5664f0111::GLES2Renderer
244 : m_gl (gl) in GLES2Renderer()
249 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); in GLES2Renderer()
250 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); in GLES2Renderer()
251 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); in GLES2Renderer()
292 m_gl.useProgram(m_glProgram.getProgram()); in render()
293 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
295 m_gl.enableVertexAttribArray(m_coordLoc); in render()
296 m_gl.enableVertexAttribArray(m_colorLoc); in render()
[all …]
DteglPartialUpdateTests.cpp109 glw::Functions m_gl; member in deqp::egl::__anonce96ebd80111::PartialUpdateTest
202 const glw::Functions& m_gl; member in deqp::egl::__anonce96ebd80111::GLES2Renderer
232 : m_gl (gl) in GLES2Renderer()
237 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); in GLES2Renderer()
238 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); in GLES2Renderer()
239 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); in GLES2Renderer()
281 m_gl.useProgram(m_glProgram.getProgram()); in render()
282 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
284 m_gl.enableVertexAttribArray(m_coordLoc); in render()
285 m_gl.enableVertexAttribArray(m_colorLoc); in render()
[all …]
DteglSwapBuffersWithDamageTests.cpp144 const glw::Functions& m_gl; member in deqp::egl::__anon14746b0b0111::GLES2Renderer
174 : m_gl (gl) in GLES2Renderer()
179 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); in GLES2Renderer()
180 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); in GLES2Renderer()
181 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); in GLES2Renderer()
223 m_gl.useProgram(m_glProgram.getProgram()); in render()
224 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
226 m_gl.enableVertexAttribArray(m_coordLoc); in render()
227 m_gl.enableVertexAttribArray(m_colorLoc); in render()
228 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to enable attributes"); in render()
[all …]
DteglRobustnessTests.cpp570 glw::Functions& m_gl; member in deqp::egl::__anone81a73400111::ContextReset
586 : m_gl (gl) in ContextReset()
593 : m_gl (gl) in ContextReset()
603 GLU_CHECK_GLW_CALL(m_gl, finish()); in finish()
609 error = m_gl.getError(); in getError()
617 resetStatus = m_gl.getGraphicsResetStatus(); in getGraphicsResetStatus()
656 m_gl.getGraphicsResetStatus(); in ~FixedFunctionOOB()
688 glu::ShaderProgram program(m_gl, genSources()); in setup()
695 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in setup()
705 m_coordLocation = m_gl.getAttribLocation(program.getProgram(), "a_position"); in setup()
[all …]
DteglGLES2SharedRenderingPerfTests.cpp126 glw::Functions m_gl; member in deqp::egl::__anon020a53a70111::TestContext
512 m_testCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0), DE_LENGTH_OF_ARRAY(reqExts), reqExts); in TestContext()
519 vector<string> glExts = de::splitString((const char*)m_gl.getString(GL_EXTENSIONS), ' '); in TestContext()
524 TCU_CHECK(m_gl.eglImageTargetTexture2DOES); in TestContext()
528 m_coordBuffer = createCoordBuffer(m_gl, m_config); in TestContext()
535 m_indexBuffer = createIndexBuffer(m_gl, m_config); in TestContext()
544 m_texture = createTexture(m_gl, m_config); in TestContext()
550 m_texture = createTexture(m_gl, m_config); in TestContext()
579 m_program = createProgram(m_gl, m_config); in TestContext()
583 m_coordLoc = m_gl.getAttribLocation(m_program, "a_coord"); in TestContext()
[all …]
DteglWideColorTests.cpp122 glw::Functions m_gl; member in deqp::egl::__anonaf58d5900111::WideColorTest
163 const glw::Functions& m_gl; member in deqp::egl::__anonaf58d5900111::GLES2Renderer
195 : m_gl (gl) in GLES2Renderer()
202 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); in GLES2Renderer()
203 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); in GLES2Renderer()
204 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); in GLES2Renderer()
240 m_gl.useProgram(m_glProgram.getProgram()); in render()
241 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
243 m_gl.enableVertexAttribArray(m_coordLoc); in render()
244 m_gl.enableVertexAttribArray(m_colorLoc); in render()
[all …]
DteglRenderTests.cpp525 : m_gl (gl) in GLES2Program()
531 m_positionLoc = m_gl.getAttribLocation(m_program.getProgram(), "a_position"); in GLES2Program()
532 m_colorLoc = m_gl.getAttribLocation(m_program.getProgram(), "a_color"); in GLES2Program()
541 m_gl.useProgram(m_program.getProgram()); in setup()
542 m_gl.enableVertexAttribArray(m_positionLoc); in setup()
543 m_gl.enableVertexAttribArray(m_colorLoc); in setup()
544 GLU_CHECK_GLW_MSG(m_gl, "Program setup failed"); in setup()
551 const glw::Functions& m_gl; member in deqp::egl::__anonc44521880111::GLES2Program
715 glw::Functions m_gl; member in deqp::egl::SingleThreadRenderCase
728 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0)); in init()
[all …]
DteglMemoryStressTests.cpp88 glw::Functions m_gl; member in deqp::egl::__anoncc7cafa50111::MemoryAllocator
120 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0)); in MemoryAllocator()
226 m_gl.clearColor(red, green, blue, alpha); in allocatePBuffer()
227 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glClearColor()"); in allocatePBuffer()
229 m_gl.clear(GL_COLOR_BUFFER_BIT); in allocatePBuffer()
230 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glClear()"); in allocatePBuffer()
290 m_gl.clearColor(red, green, blue, alpha); in allocateContext()
291 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glClearColor()"); in allocateContext()
293 m_gl.clear(GL_COLOR_BUFFER_BIT); in allocateContext()
294 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glClear()"); in allocateContext()
/third_party/vk-gl-cts/framework/opengl/
DgluShaderProgram.cpp41 : m_gl (renderCtx.getFunctions()) in Shader()
45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader()
46 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glCreateShader()"); in Shader()
51 : m_gl (gl) in Shader()
55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader()
56 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glCreateShader()"); in Shader()
62 m_gl.deleteShader(m_shader); in ~Shader()
67 m_gl.shaderSource(m_shader, numSourceStrings, sourceStrings, lengths); in setSources()
68 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glShaderSource()"); in setSources()
86 m_gl.compileShader(m_shader); in compile()
[all …]
DgluCallLogWrapper.inl11 m_gl.activeShaderProgram(pipeline, program);
18 m_gl.activeTexture(texture);
25 m_gl.attachShader(program, shader);
32 m_gl.beginConditionalRender(id, mode);
39 m_gl.beginQuery(target, id);
46 m_gl.beginQueryIndexed(target, index, id);
53 m_gl.beginTransformFeedback(primitiveMode);
60 m_gl.bindAttribLocation(program, index, name);
67 m_gl.bindBuffer(target, buffer);
74 m_gl.bindBufferBase(target, index, buffer);
[all …]
DgluObjectWrapper.cpp37 : m_gl (gl) in ObjectWrapper()
59 : m_gl (gl) in ObjectWrapper()
68 (m_gl.*m_traits.deleteFunc)(1, &m_object); in ~ObjectWrapper()
89 : m_gl (gl) in ObjectVector()
112 (m_gl.*m_traits.genFunc)(glw::GLsizei(newSize - oldSize), &m_objects[oldSize]); in resize()
116 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(oldSize - newSize), &m_objects[newSize]); in resize()
123 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(m_objects.size()), &m_objects.front()); in clear()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderUtils.cpp40 : m_gl(gl), m_bo_id(0), m_fs_id(0), m_qo_pg_id(0), m_vs_id(0), m_parent_test(parentTest) in TessellationShaderUtils()
61 m_gl.getIntegerv(GL_CURRENT_PROGRAM, &current_po_id); in captureTessellationData()
62 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glGetIntegerv() failed for GL_CURRENT_PROGRAM pname"); in captureTessellationData()
67 m_gl.getIntegerv(GL_PATCH_VERTICES, &current_patch_vertices); in captureTessellationData()
68 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glGetIntegerv() failed for GL_PATCH_VERTICES_EXT pname"); in captureTessellationData()
71 m_gl.useProgram(program.po_id); in captureTessellationData()
72 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in captureTessellationData()
74 m_gl.beginQuery(m_parent_test->m_glExtTokens.PRIMITIVES_GENERATED, m_qo_pg_id); in captureTessellationData()
75 …GLU_EXPECT_NO_ERROR(m_gl.getError(), "glBeginQuery() called for target GL_PRIMITIVES_GENERATED_EXT… in captureTessellationData()
78 glw::GLboolean is_rasterization_disabled = m_gl.isEnabled(GL_RASTERIZER_DISCARD); in captureTessellationData()
[all …]
DesextcTessellationShaderUtils.hpp332 const glw::Functions& m_gl; member
334 _tessellation_vertex_counter_program(const glw::Functions& gl) : m_gl(gl) in _tessellation_vertex_counter_program()
356 m_gl.deleteProgram(po_id); in ~_tessellation_vertex_counter_program()
362 m_gl.deleteShader(tc_id); in ~_tessellation_vertex_counter_program()
368 m_gl.deleteShader(te_id); in ~_tessellation_vertex_counter_program()
391 const glw::Functions& m_gl; member in glcts::TessellationShaderUtils
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderFramebufferFetchTests.cpp281 const glw::Functions& m_gl; member in deqp::gles31::Functional::__anonfb1b35fd0111::FramebufferFetchTestCase
301 , m_gl (m_context.getRenderContext().getFunctions()) in FramebufferFetchTestCase()
323 m_gl.enable(GL_FRAMEBUFFER_SRGB); in init()
338 m_gl.useProgram(m_program->getProgram()); in init()
347 m_gl.disable(GL_FRAMEBUFFER_SRGB); in deinit()
352 m_gl.bindFramebuffer(GL_FRAMEBUFFER, 0); in deinit()
353 m_gl.deleteFramebuffers(1, &m_framebuffer); in deinit()
359 m_gl.deleteTextures(1, &m_texColorBuffer); in deinit()
420 m_gl.genFramebuffers(1, &m_framebuffer); in genFramebufferWithTexture()
421 m_gl.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in genFramebufferWithTexture()
[all …]
Des31fFboSRGBWriteControlTests.cpp410 const glw::Functions* m_gl; member in deqp::gles31::Functional::__anonec6b4ae80111::TestVertexData
417 : m_gl (&context.getRenderContext().getFunctions()) in TestVertexData()
435 m_gl->genVertexArrays(1, &m_vaoHandle); in TestVertexData()
436 m_gl->bindVertexArray(m_vaoHandle); in TestVertexData()
438 m_gl->genBuffers(1, &m_vboHandle); in TestVertexData()
439 m_gl->bindBuffer(GL_ARRAY_BUFFER, m_vboHandle); in TestVertexData()
441m_gl->bufferData(GL_ARRAY_BUFFER, (glw::GLsizei)(m_data.size() * sizeof(glw::GLfloat)), &m_data[0]… in TestVertexData()
443 m_gl->enableVertexAttribArray(0); in TestVertexData()
444m_gl->vertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 5 * (glw::GLsizei)sizeof(float), (glw::GLvoid … in TestVertexData()
445 m_gl->enableVertexAttribArray(1); in TestVertexData()
[all …]
Des31fDrawElementsBaseVertexTests.cpp184 const glw::Functions& m_gl; member in deqp::gles31::Functional::__anon08c01b9b0111::VertexIDCase
206 , m_gl (m_context.getRenderContext().getFunctions()) in VertexIDCase()
265 GLU_CHECK_GLW_CALL(m_gl, useProgram(m_program->getProgram())); in init()
267 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_coordinatesBuffer)); in init()
268 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_elementsBuffer)); in init()
271 GLU_CHECK_GLW_CALL(m_gl, genVertexArrays(1, &m_vao)); in init()
281 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_elementsBuffer)); in deinit()
287 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_coordinatesBuffer)); in deinit()
293 GLU_CHECK_GLW_CALL(m_gl, deleteVertexArrays(1, &m_vao)); in deinit()
303 GLU_CHECK_GLW_CALL(m_gl, drawElementsBaseVertex(mode, count, type, indices, baseVertex)); in draw()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp398 : m_gl(context.getDeqpContext().getRenderContext().getFunctions()) in BufferOrImage()
402 const glw::Functions & m_gl; member
415 m_gl.genBuffers(1, &m_objectId); in Buffer()
416 GLU_EXPECT_NO_ERROR(m_gl.getError(), "genBuffers"); in Buffer()
417 m_gl.bindBuffer(m_target, m_objectId); in Buffer()
418 GLU_EXPECT_NO_ERROR(m_gl.getError(), "bindBuffer"); in Buffer()
419 m_gl.bufferData(m_target, m_sizeInBytes, NULL, GL_DYNAMIC_DRAW); in Buffer()
420 GLU_EXPECT_NO_ERROR(m_gl.getError(), "bufferData"); in Buffer()
421 m_gl.bindBuffer(m_target, 0); in Buffer()
422 GLU_EXPECT_NO_ERROR(m_gl.getError(), "bindBuffer(0)"); in Buffer()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp4105 : m_gl(0), m_buffer_object_id(m_invalid_buffer_object_id)
4116 if (0 != m_gl)
4118 m_gl->deleteBuffers(1, &m_buffer_object_id);
4120 m_gl = 0;
4138 m_gl->bindBuffer(target, m_buffer_object_id);
4139 GLU_EXPECT_NO_ERROR(m_gl->getError(), "Failed to bind buffer.");
4154 m_gl->bindBufferBase(target, index, m_buffer_object_id);
4155 GLU_EXPECT_NO_ERROR(m_gl->getError(), "Failed to bind buffer.");
4167 m_gl = &gl;
4169 m_gl->genBuffers(1, &m_buffer_object_id);
[all …]

123