Home
last modified time | relevance | path

Searched refs:GLU_CHECK_GLW_CALL (Results 1 – 9 of 9) sorted by relevance

/external/deqp/modules/egl/
DteglGLES2SharingTests.cpp324 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()
326GLU_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()
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()
401 GLU_CHECK_GLW_CALL(m_gl, clear(GL_COLOR_BUFFER_BIT)); in renderResource()
403 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in renderResource()
413 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation)); in renderResource()
[all …]
DteglImageUtil.cpp240 GLU_CHECK_GLW_CALL(gl, bindTexture(target, texture)); in createBuffer()
246 GLU_CHECK_GLW_CALL(gl, texParameteri(target, GL_TEXTURE_MIN_FILTER, GL_LINEAR)); in createBuffer()
259 GLU_CHECK_GLW_CALL(gl, texParameteri(target, GL_TEXTURE_MIN_FILTER, GL_LINEAR)); in createBuffer()
260 GLU_CHECK_GLW_CALL(gl, texParameteri(target, GL_TEXTURE_MAG_FILTER, GL_LINEAR)); in createBuffer()
261 GLU_CHECK_GLW_CALL(gl, texParameteri(target, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in createBuffer()
262 GLU_CHECK_GLW_CALL(gl, texParameteri(target, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in createBuffer()
264 GLU_CHECK_GLW_CALL(gl, texImage2D(imgTarget, 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, in createBuffer()
267 GLU_CHECK_GLW_CALL(gl, bindTexture(target, 0)); in createBuffer()
318GLU_CHECK_GLW_CALL(gl, texImage2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, … in initTexture()
366 GLU_CHECK_GLW_CALL(gl, framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, in initializeStencilRbo()
[all …]
DteglImageFormatTests.cpp320 GLU_CHECK_GLW_CALL(api.m_gl, finish()); in invokeGLES2()
362 GLU_CHECK_GLW_CALL(gl, framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, rbo)); in framebufferRenderbuffer()
399 GLU_CHECK_GLW_CALL(gl, bindTexture(GL_TEXTURE_2D, *srcTex)); in invokeGLES2()
402 GLU_CHECK_GLW_CALL(gl, texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)); in invokeGLES2()
403 GLU_CHECK_GLW_CALL(gl, texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)); in invokeGLES2()
404 GLU_CHECK_GLW_CALL(gl, texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in invokeGLES2()
405 GLU_CHECK_GLW_CALL(gl, texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in invokeGLES2()
427 GLU_CHECK_GLW_CALL(gl, useProgram(glProgram)); in invokeGLES2()
435 GLU_CHECK_GLW_CALL(gl, bindTexture(GL_TEXTURE_2D, *srcTex)); in invokeGLES2()
436 GLU_CHECK_GLW_CALL(gl, uniform1i(samplerLoc, 0)); in invokeGLES2()
[all …]
DteglRobustnessTests.cpp633 GLU_CHECK_GLW_CALL(m_gl, finish()); in finish()
668 GLU_CHECK_GLW_CALL(m_gl, genQueries(1, &m_queryID)); in beginQuery()
669 GLU_CHECK_GLW_CALL(m_gl, beginQuery(GL_ANY_SAMPLES_PASSED, m_queryID)); in beginQuery()
674 GLU_CHECK_GLW_CALL(m_gl, endQuery(GL_ANY_SAMPLES_PASSED)); in endQuery()
829 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram())); in setup()
835 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_outputBuffer)); in setup()
836 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_SHADER_STORAGE_BUFFER, m_outputBuffer)); in setup()
837GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(int), DE_NULL, GL_DYNAMIC_DRA… in setup()
838 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_outputBuffer)); in setup()
856 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_coordinatesBuffer)); in setup()
[all …]
DteglGLES2SharingThreadedTests.cpp487 GLU_CHECK_GLW_CALL(thread.gl, flush()); in execute()
493 GLU_CHECK_GLW_CALL(thread.gl, finish()); in execute()
910 GLU_CHECK_GLW_CALL(thread.gl, genTextures(1, &tex)); in exec()
939 GLU_CHECK_GLW_CALL(thread.gl, deleteTextures(1, &tex)); in exec()
984 GLU_CHECK_GLW_CALL(thread.gl, bindTexture(GL_TEXTURE_2D, m_texture->texture)); in exec()
988GLU_CHECK_GLW_CALL(thread.gl, texImage2D(GL_TEXTURE_2D, m_level, m_internalFormat, m_width, m_heig… in exec()
992 GLU_CHECK_GLW_CALL(thread.gl, bindTexture(GL_TEXTURE_2D, 0)); in exec()
1036 GLU_CHECK_GLW_CALL(thread.gl, bindTexture(GL_TEXTURE_2D, m_texture->texture)); in exec()
1040GLU_CHECK_GLW_CALL(thread.gl, texSubImage2D(GL_TEXTURE_2D, m_level, m_xoffset, m_yoffset, m_width,… in exec()
1044 GLU_CHECK_GLW_CALL(thread.gl, bindTexture(GL_TEXTURE_2D, 0)); in exec()
[all …]
DteglSyncTests.cpp773 GLU_CHECK_GLW_CALL(m_gl, flush()); in test()
854 GLU_CHECK_GLW_CALL(m_gl, flush()); in test()
1289 GLU_CHECK_GLW_CALL(m_gl, finish()); in test()
1945 GLU_CHECK_GLW_CALL(m_gl, finish()); in test()
/external/deqp/modules/gles31/functional/
Des31fDrawElementsBaseVertexTests.cpp265 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()
309 GLU_CHECK_GLW_CALL(m_gl, getIntegerv(GL_MAX_ELEMENTS_VERTICES, &maxElementsVertices)); in draw()
310GLU_CHECK_GLW_CALL(m_gl, drawRangeElementsBaseVertex(mode, 0, maxElementsVertices, count, type, in… in draw()
[all …]
/external/deqp/modules/glshared/
DglsLifetimeTests.cpp372 GLU_CHECK_GLW_CALL(gl, getIntegerv(GL_FRAMEBUFFER_BINDING, (deInt32*)&curFbo)); in isTextureFormatColorRenderable()
373 GLU_CHECK_GLW_CALL(gl, getIntegerv(GL_TEXTURE_BINDING_2D, (deInt32*)&curTex)); in isTextureFormatColorRenderable()
377 GLU_CHECK_GLW_CALL(gl, genTextures(1, &testTex)); in isTextureFormatColorRenderable()
378 GLU_CHECK_GLW_CALL(gl, bindTexture(GL_TEXTURE_2D, testTex)); in isTextureFormatColorRenderable()
379GLU_CHECK_GLW_CALL(gl, texImage2D(GL_TEXTURE_2D, 0, format.format, FRAMEBUFFER_SIZE, FRAMEBUFFER_S… in isTextureFormatColorRenderable()
382 GLU_CHECK_GLW_CALL(gl, genFramebuffers(1, &testFbo)); in isTextureFormatColorRenderable()
383 GLU_CHECK_GLW_CALL(gl, bindFramebuffer(GL_FRAMEBUFFER, testFbo)); in isTextureFormatColorRenderable()
384GLU_CHECK_GLW_CALL(gl, framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, t… in isTextureFormatColorRenderable()
389 GLU_CHECK_GLW_CALL(gl, bindTexture(GL_TEXTURE_2D, curTex)); in isTextureFormatColorRenderable()
390 GLU_CHECK_GLW_CALL(gl, bindFramebuffer(GL_FRAMEBUFFER, curFbo)); in isTextureFormatColorRenderable()
[all …]
/external/deqp/framework/opengl/
DgluDefs.hpp38 #define GLU_CHECK_GLW_CALL(GL, CALL) do { (GL).CALL; GLU_EXPECT_NO_ERROR((GL).getError(), #CALL); }… macro