/external/deqp/framework/opengl/ |
H A D | gluShaderProgram.cpp | 41 : m_gl (renderCtx.getFunctions()) 45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 46 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glCreateShader()"); 51 : m_gl (gl) 55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 56 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glCreateShader()"); 62 m_gl.deleteShader(m_shader); 67 m_gl.shaderSource(m_shader, numSourceStrings, sourceStrings, lengths); 68 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glShaderSource()"); 86 m_gl [all...] |
H A D | gluCallLogWrapper.hpp | 52 const glw::Functions& m_gl; member in class:glu::CallLogWrapper
|
H A D | gluCallLogWrapper.inl | 11 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 [all...] |
H A D | gluObjectWrapper.cpp | 37 : m_gl (gl) 59 : m_gl (gl) 68 (m_gl.*m_traits.deleteFunc)(1, &m_object); 89 : m_gl (gl) 112 (m_gl.*m_traits.genFunc)(glw::GLsizei(newSize - oldSize), &m_objects[oldSize]); 116 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(oldSize - newSize), &m_objects[newSize]); 123 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(m_objects.size()), &m_objects.front());
|
H A D | gluObjectWrapper.hpp | 75 const glw::Functions& m_gl; member in class:glu::ObjectWrapper 118 const glw::Functions& m_gl; member in class:glu::ObjectVector
|
H A D | gluShaderProgram.hpp | 105 const glw::Functions& m_gl; member in class:glu::Shader 146 const glw::Functions& m_gl; member in class:glu::Program 171 const glw::Functions& m_gl; member in class:glu::ProgramPipeline
|
H A D | gluCallLogWrapper.cpp | 36 : m_gl (gl)
|
/external/skia/tests/ |
H A D | TextureStorageAllocator.cpp | 30 GR_GL_CALL(allocator->m_gl, GenTextures(1, &id)); 31 GR_GL_CALL(allocator->m_gl, BindTexture(target, id)); 32 GR_GL_CALL(allocator->m_gl, TexParameteri(target, GR_GL_TEXTURE_MAG_FILTER, GR_GL_NEAREST)); 33 GR_GL_CALL(allocator->m_gl, TexParameteri(target, GR_GL_TEXTURE_MIN_FILTER, GR_GL_NEAREST)); 34 GR_GL_CALL(allocator->m_gl, TexParameteri(target, GR_GL_TEXTURE_WRAP_S, GR_GL_CLAMP_TO_EDGE)); 35 GR_GL_CALL(allocator->m_gl, TexParameteri(target, GR_GL_TEXTURE_WRAP_T, GR_GL_CLAMP_TO_EDGE)); 36 GR_GL_CALL(allocator->m_gl, TexImage2D(target, 0, GR_GL_RGBA, width, height, 0, GR_GL_RGBA, 48 GR_GL_CALL(allocator->m_gl, DeleteTextures(1, &(info->fID))); 52 const GrGLInterface* m_gl; member in class:TestStorageAllocator 63 allocator.m_gl [all...] |
/external/deqp/modules/egl/ |
H A D | teglGLES2SharingTests.cpp | 108 glw::Functions m_gl; member in class:deqp::egl::GLES2SharingTest 125 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0)); 324 GLU_CHECK_GLW_CALL(m_gl, genBuffers(1, &m_glBuffer)); 325 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, m_glBuffer)); 326 GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (GLsizei)(m_buffer.size() * sizeof(GLubyte)), &(m_buffer[0]), GL_DYNAMIC_DRAW)); 327 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_ARRAY_BUFFER, 0)); 332 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers(1, &m_glBuffer)); 357 glu::ShaderProgram program(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader)); 398 GLU_CHECK_GLW_CALL(m_gl, viewport(0, 0, width, height)); 400 GLU_CHECK_GLW_CALL(m_gl, clearColo [all...] |
H A D | teglPreservingSwapTests.cpp | 96 glw::Functions m_gl; member in class:deqp::egl::__anon3969::PreservingSwapTest 114 const glw::Functions& m_gl; member in class:deqp::egl::__anon3969::GLES2Program 146 : m_gl (gl) 151 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); 152 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); 153 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); 186 m_gl.useProgram(m_glProgram.getProgram()); 187 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); 189 m_gl.enableVertexAttribArray(m_coordLoc); 190 m_gl [all...] |
H A D | teglPartialUpdateTests.cpp | 109 glw::Functions m_gl; member in class:deqp::egl::__anon3968::PartialUpdateTest 202 const glw::Functions& m_gl; member in class:deqp::egl::__anon3968::GLES2Renderer 232 : m_gl (gl) 237 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); 238 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); 239 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); 281 m_gl.useProgram(m_glProgram.getProgram()); 282 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); 284 m_gl.enableVertexAttribArray(m_coordLoc); 285 m_gl [all...] |
H A D | teglBufferAgeTests.cpp | 120 glw::Functions m_gl; member in class:deqp::egl::__anon3941::BufferAgeTest 214 const glw::Functions& m_gl; member in class:deqp::egl::__anon3941::GLES2Renderer 244 : m_gl (gl) 249 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); 250 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); 251 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); 292 m_gl.useProgram(m_glProgram.getProgram()); 293 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); 295 m_gl.enableVertexAttribArray(m_coordLoc); 296 m_gl [all...] |
H A D | teglSwapBuffersWithDamageTests.cpp | 144 const glw::Functions& m_gl; member in class:deqp::egl::__anon3981::GLES2Renderer 174 : m_gl (gl) 179 m_colorLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_color"); 180 m_coordLoc = m_gl.getAttribLocation(m_glProgram.getProgram(), "a_pos"); 181 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Failed to get attribute locations"); 223 m_gl.useProgram(m_glProgram.getProgram()); 224 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glUseProgram() failed"); 226 m_gl.enableVertexAttribArray(m_coordLoc); 227 m_gl.enableVertexAttribArray(m_colorLoc); 228 GLU_EXPECT_NO_ERROR(m_gl 289 glw::Functions m_gl; member in class:deqp::egl::__anon3981::SwapBuffersWithDamageTest [all...] |
H A D | teglGLES2SharedRenderingPerfTests.cpp | 126 glw::Functions m_gl; member in class:deqp::egl::__anon3953::TestContext 512 m_testCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0), DE_LENGTH_OF_ARRAY(reqExts), reqExts); 519 vector<string> glExts = de::splitString((const char*)m_gl.getString(GL_EXTENSIONS), ' '); 524 TCU_CHECK(m_gl.eglImageTargetTexture2DOES); 528 m_coordBuffer = createCoordBuffer(m_gl, m_config); 535 m_indexBuffer = createIndexBuffer(m_gl, m_config); 544 m_texture = createTexture(m_gl, m_config); 550 m_texture = createTexture(m_gl, m_config); 579 m_program = createProgram(m_gl, m_config); 583 m_coordLoc = m_gl [all...] |
H A D | teglMemoryStressTests.cpp | 88 glw::Functions m_gl; member in class:deqp::egl::__anon3961::MemoryAllocator 120 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0)); 226 m_gl.clearColor(red, green, blue, alpha); 227 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glClearColor()"); 229 m_gl.clear(GL_COLOR_BUFFER_BIT); 230 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glClear()"); 290 m_gl.clearColor(red, green, blue, alpha); 291 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glClearColor()"); 293 m_gl.clear(GL_COLOR_BUFFER_BIT); 294 GLU_EXPECT_NO_ERROR(m_gl [all...] |
H A D | teglRenderTests.cpp | 488 : m_gl (gl) 494 m_positionLoc = m_gl.getAttribLocation(m_program.getProgram(), "a_position"); 495 m_colorLoc = m_gl.getAttribLocation(m_program.getProgram(), "a_color"); 504 m_gl.useProgram(m_program.getProgram()); 505 m_gl.enableVertexAttribArray(m_positionLoc); 506 m_gl.enableVertexAttribArray(m_colorLoc); 507 GLU_CHECK_GLW_MSG(m_gl, "Program setup failed"); 514 const glw::Functions& m_gl; member in class:deqp::egl::__anon3973::GLES2Program 678 glw::Functions m_gl; member in class:deqp::egl::SingleThreadRenderCase 691 m_eglTestCtx.initGLFunctions(&m_gl, gl 812 glw::Functions m_gl; member in class:deqp::egl::MultiThreadRenderCase 879 const glw::Functions& m_gl; member in class:deqp::egl::RenderTestThread [all...] |
H A D | teglResizeTests.cpp | 128 glw::Functions m_gl; member in class:deqp::egl::ResizeTest 187 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2, 0)); 357 initSurface(m_gl, oldEglSize); 392 GLU_EXPECT_NO_ERROR(m_gl.getError(), "GL state erroneous upon initialization!"); 396 initSurface(m_gl, oldEglSize); 398 m_gl.finish(); 399 GLU_EXPECT_NO_ERROR(m_gl.getError(), "glFinish() failed"); 402 const Surface oldSurface = readSurface(m_gl, oldEglSize); 411 const Surface newSurface = readSurface(m_gl, newEglSize); 497 initSurface(m_gl, oldEglSiz [all...] |
H A D | teglImageTests.cpp | 153 , glu::CallLogWrapper (m_gl, m_testCtx.getLog()) 165 m_eglTestCtx.initGLFunctions(&m_gl, m_api, DE_LENGTH_OF_ARRAY(extensions), &extensions[0]); 176 return m_api.getMajorVersion() >= 3 || glu::hasExtension(m_gl, m_api, "GL_EXT_texture_rg"); 180 glw::Functions m_gl; member in class:deqp::egl::Image::ImageTestCase 255 m_eglTestCtx.initGLFunctions(&m_gl, ctxType.getAPI()); 261 const glw::Functions& gl (void) const { return m_gl; } 270 glw::Functions m_gl; member in class:deqp::egl::Image::Context 442 TCU_CHECK(m_gl.eglImageTargetTexture2DOES); 443 TCU_CHECK(m_gl.eglImageTargetRenderbufferStorageOES);
|
H A D | teglImageFormatTests.cpp | 273 const glw::Functions& m_gl; member in class:deqp::egl::Image::GLES2ImageApi 282 , m_gl (gl) 318 de::UniquePtr<ClientBuffer> buffer (m_imgSource->createBuffer(api.m_gl, &ref)); 378 const glw::Functions& gl = api.m_gl; 455 const glw::Functions& gl = api.m_gl; 582 const glw::Functions& gl = api.m_gl; 696 const glw::Functions& gl = api.m_gl; 770 const glw::Functions& gl = api.m_gl; 797 const glw::Functions& gl = api.m_gl; 821 const glw::Functions& gl = api.m_gl; 883 glw::Functions m_gl; member in class:deqp::egl::Image::ImageFormatCase [all...] |
H A D | teglSyncTests.cpp | 95 glw::Functions m_gl; member in class:deqp::egl::__anon3982::SyncTest 207 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0)); 227 requiredGLESExtensions(m_gl); 512 GLU_CHECK_GLW_CALL(m_gl, flush()); 555 GLU_CHECK_GLW_CALL(m_gl, flush()); 762 GLU_CHECK_GLW_CALL(m_gl, finish()); 1081 GLU_CHECK_GLW_CALL(m_gl, finish());
|
/external/deqp/modules/glshared/ |
H A D | glsFboUtil.cpp | 933 , m_gl (gl) 935 m_gl.bindFramebuffer(m_target, fbo); 942 glDelete(*it->second, it->first, m_gl); 946 glDelete(*it->second, it->first, m_gl); 948 m_gl.bindFramebuffer(m_target, 0); 957 const GLenum error = m_gl.getError(); 965 m_gl.framebufferRenderbuffer(m_target, attPoint, GL_RENDERBUFFER, 0); 967 attachAttachment(*att, attPoint, m_gl); 974 const GLuint texName = glCreate(texCfg, m_gl); 982 const GLuint rbName = glCreate(rbCfg, m_gl); [all...] |
H A D | glsShaderLibraryCase.cpp | 623 const glw::Functions& m_gl; member in class:deqp::gls::BeforeDrawValidator 632 : m_gl (gl) 649 m_gl.validateProgram(m_target); 651 m_gl.validateProgramPipeline(m_target); 655 GLU_EXPECT_NO_ERROR(m_gl.getError(), "validate"); 661 m_gl.getProgramiv(m_target, GL_VALIDATE_STATUS, &m_validateStatus); 663 m_gl.getProgramPipelineiv(m_target, GL_VALIDATE_STATUS, &m_validateStatus); 667 GLU_EXPECT_NO_ERROR(m_gl.getError(), "get validate status"); 675 m_gl.getProgramiv(m_target, GL_INFO_LOG_LENGTH, &infoLogLength); 677 m_gl [all...] |
H A D | glsFboUtil.hpp | 356 const glw::Functions& m_gl; member in class:deqp::gls::FboUtil::FboBuilder
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fLifetimeTests.cpp | 474 glu::CallLogWrapper& m_gl; member in class:deqp::gles3::Functional::__anon4160::ScopedTransformFeedbackFeedback 478 : m_gl(gl) 480 m_gl.glBeginTransformFeedback(type); 481 GLU_EXPECT_NO_ERROR(m_gl.glGetError(), "glBeginTransformFeedback"); 486 m_gl.glEndTransformFeedback();
|
H A D | es3fShaderDerivateTests.cpp | 106 : m_gl (gl) 114 m_gl.deleteFramebuffers(1, &m_fbo); 120 m_gl.genFramebuffers(1, &m_fbo); 126 const glw::Functions& m_gl; member in class:deqp::gles3::Functional::__anon4189::AutoFbo 134 : m_gl (gl) 142 m_gl.deleteRenderbuffers(1, &m_rbo); 148 m_gl.genRenderbuffers(1, &m_rbo); 154 const glw::Functions& m_gl; member in class:deqp::gles3::Functional::__anon4189::AutoRbo
|