Home
last modified time | relevance | path

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

12

/external/deqp/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 …]
/external/deqp/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 …]
/external/deqp/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::__anon4ef199520111::PreservingSwapTest
114 const glw::Functions& m_gl; member in deqp::egl::__anon4ef199520111::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::__anonc7dace990111::BufferAgeTest
214 const glw::Functions& m_gl; member in deqp::egl::__anonc7dace990111::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 …]
DteglRobustnessTests.cpp593 glw::Functions& m_gl; member in deqp::egl::__anon78dce4ca0111::ContextReset
609 : m_gl (gl) in ContextReset()
616 : m_gl (gl) in ContextReset()
625 : m_gl (gl) in ContextReset()
633 GLU_CHECK_GLW_CALL(m_gl, finish()); in finish()
638 m_sync = m_gl.fenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in createSyncObject()
639 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glFenceSync()"); in createSyncObject()
645 error = m_gl.getError(); in getError()
653 resetStatus = m_gl.getGraphicsResetStatus(); in getGraphicsResetStatus()
661 m_gl.getSynciv(m_sync, GL_SYNC_STATUS, sizeof(glw::GLint), NULL, &syncStatus); in getSyncStatus()
[all …]
DteglPartialUpdateTests.cpp109 glw::Functions m_gl; member in deqp::egl::__anonfe5b69220111::PartialUpdateTest
202 const glw::Functions& m_gl; member in deqp::egl::__anonfe5b69220111::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::__anon375e92550111::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 …]
DteglGLES2SharedRenderingPerfTests.cpp126 glw::Functions m_gl; member in deqp::egl::__anon4a3faeb10111::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.cpp121 glw::Functions m_gl; member in deqp::egl::__anon7d6e3dda0111::WideColorTest
162 const glw::Functions& m_gl; member in deqp::egl::__anon7d6e3dda0111::GLES2Renderer
194 : m_gl (gl) in GLES2Renderer()
201 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); in GLES2Renderer()
202 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); in GLES2Renderer()
203 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); in GLES2Renderer()
239 m_gl.useProgram(m_glProgram.getProgram()); in render()
240 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); in render()
242 m_gl.enableVertexAttribArray(m_coordLoc); in render()
243 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::__anone4085e120111::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::__anon97a1abaf0111::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()
DteglResizeTests.cpp128 glw::Functions m_gl; member in deqp::egl::ResizeTest
187 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2, 0)); in init()
358 initSurface(m_gl, oldEglSize); in iterate()
393 GLU_EXPECT_NO_ERROR(m_gl.getError(), "GL state erroneous upon initialization!"); in iterate()
397 initSurface(m_gl, oldEglSize); in iterate()
399 m_gl.finish(); in iterate()
400 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glFinish() failed"); in iterate()
403 const Surface oldSurface = readSurface(m_gl, oldEglSize); in iterate()
412 const Surface newSurface = readSurface(m_gl, newEglSize); in iterate()
498 initSurface(m_gl, oldEglSize); in iterate()
/external/deqp/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()
/external/deqp/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
/external/deqp/modules/gles31/functional/
Des31fShaderFramebufferFetchTests.cpp281 const glw::Functions& m_gl; member in deqp::gles31::Functional::__anon566eb1470111::FramebufferFetchTestCase
301 , m_gl (m_context.getRenderContext().getFunctions()) in FramebufferFetchTestCase()
334 m_gl.useProgram(m_program->getProgram()); in init()
344 m_gl.bindFramebuffer(GL_FRAMEBUFFER, 0); in deinit()
345 m_gl.deleteFramebuffers(1, &m_framebuffer); in deinit()
351 m_gl.deleteTextures(1, &m_texColorBuffer); in deinit()
391 m_gl.genFramebuffers(1, &m_framebuffer); in genFramebufferWithTexture()
392 m_gl.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in genFramebufferWithTexture()
395 GLU_EXPECT_NO_ERROR(m_gl.getError(), "genAttachementTexture()"); in genFramebufferWithTexture()
397m_gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_texColorBuffer, 0… in genFramebufferWithTexture()
[all …]
Des31fFboSRGBWriteControlTests.cpp410 const glw::Functions* m_gl; member in deqp::gles31::Functional::__anone4ed7a720111::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(GL_FLOAT), (glw::GLvo… in TestVertexData()
445 m_gl->enableVertexAttribArray(1); in TestVertexData()
[all …]
Des31fDrawElementsBaseVertexTests.cpp184 const glw::Functions& m_gl; member in deqp::gles31::Functional::__anon641396e50111::VertexIDCase
205 , m_gl (m_context.getRenderContext().getFunctions()) in VertexIDCase()
262 GLU_CHECK_GLW_CALL(m_gl, useProgram(m_program->getProgram())); in init()
264 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_coordinatesBuffer)); in init()
265 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_elementsBuffer)); in init()
275 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_elementsBuffer)); in deinit()
281 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_coordinatesBuffer)); in deinit()
291 GLU_CHECK_GLW_CALL(m_gl, drawElementsBaseVertex(mode, count, type, indices, baseVertex)); in draw()
297 GLU_CHECK_GLW_CALL(m_gl, getIntegerv(GL_MAX_ELEMENTS_VERTICES, &maxElementsVertices)); in draw()
298 …GLU_CHECK_GLW_CALL(m_gl, drawRangeElementsBaseVertex(mode, 0, maxElementsVertices, count, type, in… in draw()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp4111 : m_gl(0), m_buffer_object_id(m_invalid_buffer_object_id)
4122 if (0 != m_gl)
4124 m_gl->deleteBuffers(1, &m_buffer_object_id);
4126 m_gl = 0;
4144 m_gl->bindBuffer(target, m_buffer_object_id);
4145 GLU_EXPECT_NO_ERROR(m_gl->getError(), "Failed to bind buffer.");
4160 m_gl->bindBufferBase(target, index, m_buffer_object_id);
4161 GLU_EXPECT_NO_ERROR(m_gl->getError(), "Failed to bind buffer.");
4173 m_gl = &gl;
4175 m_gl->genBuffers(1, &m_buffer_object_id);
[all …]

12