/external/deqp/modules/glshared/ |
glsLifetimeTests.hpp | 72 const Functions& gl (void) const { return m_renderCtx.getFunctions(); } function in class:deqp::gls::LifetimeTests::details::Context 86 const Functions& gl (void) const { return m_ctx.gl(); } function in class:deqp::gls::LifetimeTests::details::ContextWrapper
|
glsScissorTests.cpp | 58 using namespace glw; // GL types 72 void drawQuad (const glw::Functions& gl, deUint32 program, const Vec3& p0, const Vec3& p1) 86 const deInt32 posLoc = gl.getAttribLocation(program, "a_position"); 88 gl.useProgram(program); 89 gl.enableVertexAttribArray(posLoc); 90 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); 92 gl.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, &indices[0]); 94 gl.disableVertexAttribArray(posLoc); 98 void drawPrimitives (const glw::Functions& gl, deUint32 program, const deUint32 type, const vector<float>& vertices, const vector<deUint16>& indices) 100 const deInt32 posLoc = gl.getAttribLocation(program, "a_position") 195 const glw::Functions& gl = m_renderCtx.getFunctions(); local 319 const glw::Functions& gl = m_renderCtx.getFunctions(); local 434 const glw::Functions& gl = m_renderCtx.getFunctions(); local 497 const glw::Functions& gl = m_renderCtx.getFunctions(); local 520 const glw::Functions& gl = m_renderCtx.getFunctions(); local 606 const glw::Functions& gl = m_renderCtx.getFunctions(); local 789 const glw::Functions& gl = m_renderCtx.getFunctions(); local [all...] |
glsTextureBufferCase.cpp | 445 const glw::Functions& gl, 458 gl.bindBuffer(GL_TEXTURE_BUFFER, texture.getGLBuffer()); 459 gl.bufferSubData(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw::GLsizei)data.size(), &(data[0])); 460 gl.bindBuffer(GL_TEXTURE_BUFFER, 0); 461 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to update data with glBufferSubData()"); 468 const glw::Functions& gl, 481 gl.bindBuffer(GL_TEXTURE_BUFFER, texture.getGLBuffer()); 483 deUint8* ptr = (deUint8*)gl.mapBufferRange(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw::GLsizei)size, GL_MAP_WRITE_BIT); 485 GLU_EXPECT_NO_ERROR(gl.getError(), "glMapBufferRange()"); 491 TCU_CHECK(gl.unmapBuffer(GL_TEXTURE_BUFFER)) 583 const glw::Functions& gl = renderContext.getFunctions(); local 791 const glw::Functions& gl = renderContext.getFunctions(); local 858 const glw::Functions& gl = renderContext.getFunctions(); local 1014 const glw::Functions& gl = m_renderCtx.getFunctions(); local [all...] |
glsLifetimeTests.cpp | 76 GLint getInteger (ContextWrapper& gl, GLenum queryParam) 80 gl.glGetIntegerv(queryParam, &ret), 81 gl.glGetError()); 82 gl.log() << TestLog::Message << "// Single integer output: " << ret << TestLog::EndMessage; 130 : CallLogWrapper (ctx.gl(), ctx.log()) 191 const Functions& gl = ctx.getRenderContext().getFunctions(); local 193 GLU_CHECK_CALL_ERROR(gl.bindFramebuffer(GL_FRAMEBUFFER, fbo), 194 gl.getError()); 198 gl.clearColor(0.0, 0.0, 0.0, 1.0); 199 GLU_CHECK_CALL_ERROR(gl.clear(GL_COLOR_BUFFER_BIT), gl.getError()) 233 const Functions& gl = renderCtx.getFunctions(); local 692 const Functions& gl (void) const { return m_ctx.gl(); } function in class:deqp::gls::LifetimeTests::details::TestBase [all...] |
glsShaderRenderCase.cpp | 394 const glw::Functions& gl = m_renderCtx.getFunctions(); local 396 GLU_EXPECT_NO_ERROR(gl.getError(), "ShaderRenderCase::init() begin"); 414 GLU_EXPECT_NO_ERROR(gl.getError(), "ShaderRenderCase::init() end"); 438 const glw::Functions& gl = m_renderCtx.getFunctions(); local 440 GLU_EXPECT_NO_ERROR(gl.getError(), "ShaderRenderCase::iterate() begin"); 444 gl.useProgram(programID); 469 gl.useProgram(0); 493 const glw::Functions& gl = m_renderCtx.getFunctions(); local 499 GLU_EXPECT_NO_ERROR(gl.getError(), "post uniform setup"); 536 gl.activeTexture(GL_TEXTURE0+ndx) 608 const glw::Functions& gl = m_renderCtx.getFunctions(); local 831 const glw::Functions& gl = context.getFunctions(); local [all...] |
/ndk/tests/build/b9193874-neon/jni/ |
b9193874-neon.c | 270 int32x4_t gl = vsubl_s16(vget_low_s16(yy), vget_low_s16(gc)); local 276 gl = vmulq_lane_s32(gl, cf32, 0); 281 u = vqmovun_s16(vcombine_s16(vrshrn_n_s32(gl, 16), vrshrn_n_s32(gh, 16))); 318 int32x4_t gl = vsubl_s16(vget_low_s16(yy), vget_low_s16(gc)); local 324 gl = vmulq_lane_s32(gl, cf32, 0); 329 u = vqmovun_s16(vcombine_s16(vrshrn_n_s32(gl, 16), vrshrn_n_s32(gh, 16)));
|
/external/chromium_org/cc/output/ |
renderer_pixeltest.cc | 845 // This test has alpha=254 for the software renderer vs. alpha=255 for the gl 1455 GLES2Interface* gl = output_surface_->context_provider()->ContextGL(); local 1464 GLES2Interface* gl = output_surface_->context_provider()->ContextGL(); local [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_context.cc | 687 gpu::gles2::GLES2Interface* gl = variable 725 gl->GenMailboxCHROMIUM(mailbox.name); 726 GLuint sync_point = gl->InsertSyncPointCHROMIUM(); [all...] |
/external/chromium_org/content/renderer/media/android/ |
webmediaplayer_android.cc | 78 GLES2Interface* gl = factories->ContextGL(); local 80 gl->WaitSyncPointCHROMIUM(release_sync_points[i]); 81 gl->DeleteTextures(1, &texture_id); 159 GLES2Interface* gl = stream_texture_factory_->ContextGL(); local 160 gl->DeleteTextures(1, &texture_id_); 975 GLES2Interface* gl = stream_texture_factory_->ContextGL(); local 1033 GLES2Interface* gl = stream_texture_factory_->ContextGL(); local 1103 GLES2Interface* gl = stream_texture_factory_->ContextGL(); local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Context.h | 7 // Context.h: Defines the gl::Context class, managing all GL state and performing 42 namespace gl namespace 132 Context(int clientVersion, const gl::Context *shareContext, rx::Renderer *renderer, bool notifyResets, bool robustAccess);
|
angletypes.h | 15 namespace gl namespace 175 bool clearColor[gl::IMPLEMENTATION_MAX_DRAW_BUFFERS]; 242 const gl::VertexAttribCurrentValueData *currentValues);
|
formatutils.cpp | 8 // formatutils.cpp: Queries for GL image formats. 18 namespace gl namespace [all...] |
/external/chromium_org/third_party/angle/src/third_party/trace_event/ |
trace_event.h | 462 gl::TraceGetTraceCategoryEnabledFlag 476 gl::TraceAddTraceEvent 503 gl::TraceEvent::addTraceEvent( \ 505 gl::TraceEvent::noEventId, flags, ##__VA_ARGS__); \ 514 gl::TraceEvent::TraceEndOnScopeClose \ 517 gl::TraceEvent::addTraceEvent( \ 520 name, gl::TraceEvent::noEventId, \ 534 gl::TraceEvent::TraceID traceEventTraceID( \ 536 gl::TraceEvent::addTraceEvent( \ 575 namespace gl { namespace [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrGLContext.cpp | 21 * \brief GL Rendering Context. 54 const glw::Functions& gl = m_context.getFunctions(); local 57 m_wrapper = new glu::CallLogWrapper(gl, log); 62 gl.viewport(baseViewport.x(), baseViewport.y(), baseViewport.z(), baseViewport.w()); 67 const glw::Functions& gl = m_context.getFunctions(); local 74 gl.deleteFramebuffers(1, &fbo); 81 gl.deleteRenderbuffers(1, &rbo); 88 gl.deleteTextures(1, &tex); 95 gl.deleteBuffers(1, &buf); 102 gl.deleteVertexArrays(1, &vao) [all...] |
/external/deqp/modules/egl/ |
teglCreateContextExtTests.cpp | 224 bool validateCurrentContext (const glw::Functions& gl); 484 bool hasExtension (const glw::Functions& gl, const char* extension) 486 std::istringstream stream((const char*)gl.getString(GL_EXTENSIONS)); 498 bool checkVersionString (TestLog& log, const glw::Functions& gl, bool desktop, int major, int minor) 500 const char* const versionStr = (const char*)gl.getString(GL_VERSION); 614 if (hasExtension(gl, "GL_ARB_compatibility")) 626 gl.getIntegerv(GL_CONTEXT_PROFILE_MASK, &profile); 627 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetIntegerv()"); 648 gl.getIntegerv(GL_CONTEXT_PROFILE_MASK, &profile); 649 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetIntegerv()") 1066 glw::Functions gl; local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderApiTests.cpp | 44 using namespace glw; // GL types 133 const glw::Functions& gl = renderCtx.getFunctions(); local 146 gl.getShaderiv(shader, GL_COMPILE_STATUS, &compileStatus); 147 gl.getShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLen); 148 gl.getShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLogLen); 149 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetShaderiv()"); 156 gl.getShaderSource(shader, (int)source.size(), &unusedLen, &source[0]); 163 gl.getShaderInfoLog(shader, (int)infoLog.size(), &unusedLen, &infoLog[0]);
|
es2fShaderMatrixTests.cpp | 1047 const glw::Functions& gl = m_renderCtx.getFunctions(); local [all...] |
es2fShaderTextureFunctionTests.cpp | 271 const glw::Functions& gl = m_renderCtx.getFunctions(); local 273 gl.getIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, &numVertexUnits); 541 const glw::Functions& gl = m_renderCtx.getFunctions(); local 542 gl.uniform1i(gl.getUniformLocation(programID, "u_sampler"), 0);
|
es2fTextureMipmapTests.cpp | 250 const glw::Functions& gl = m_renderCtx.getFunctions(); local 289 gl.bindTexture (GL_TEXTURE_2D, m_texture->getGLTexture()); 290 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, m_wrapS); 291 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, m_wrapT); 292 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, m_minFilter); 293 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, magFilter); 295 GLU_EXPECT_NO_ERROR(gl.getError(), "After texture setup"); 336 // Render with GL. 337 gl.viewport(viewport.x+curX, viewport.y+curY, curW, curH); 589 const glw::Functions& gl = m_renderCtx.getFunctions() local 811 const glw::Functions& gl = m_renderCtx.getFunctions(); local 948 const glw::Functions& gl = m_renderCtx.getFunctions(); local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFragmentOutputTests.cpp | 241 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 272 gl.genFramebuffers(1, &m_framebuffer); 273 gl.genRenderbuffers((int)m_renderbuffers.size(), &m_renderbuffers[0]); 275 gl.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); 283 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); 284 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, bufSpec.samples, bufSpec.format, bufSpec.width, bufSpec.height); 285 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, rbo); 287 GLU_EXPECT_NO_ERROR(gl.getError(), "After framebuffer setup"); 289 deUint32 fboStatus = gl.checkFramebufferStatus(GL_FRAMEBUFFER); 295 gl.bindFramebuffer(GL_FRAMEBUFFER, 0) 301 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 483 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local [all...] |
es3fShaderDerivateTests.cpp | 104 AutoFbo (const glw::Functions& gl) 105 : m_gl (gl) 132 AutoRbo (const glw::Functions& gl) 133 : m_gl (gl) 397 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 405 AutoFbo fbo (gl); 406 AutoRbo rbo (gl); 424 gl.bindRenderbuffer(GL_RENDERBUFFER, *rbo); 425 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, m_numSamples, fboFormat, viewportSize.x(), viewportSize.y()); 426 gl.bindFramebuffer(GL_FRAMEBUFFER, *fbo) 1021 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local [all...] |
es3fTextureFilteringTests.cpp | 263 const glw::Functions& gl = m_renderCtx.getFunctions(); local 287 gl.bindTexture (GL_TEXTURE_2D, curCase.texture->getGLTexture()); 288 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, m_minFilter); 289 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, m_magFilter); 290 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, m_wrapS); 291 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, m_wrapT); 293 gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height); 560 const glw::Functions& gl = m_renderCtx.getFunctions(); local 573 gl.bindTexture (GL_TEXTURE_CUBE_MAP, curCase.texture->getGLTexture()); 574 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, m_minFilter) 827 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 1067 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local [all...] |
es3fTextureShadowTests.cpp | 111 // sampleTexture() expects source image to be the same state as it would be in a GL implementation, that is 113 // we don't have a separate "uploading" phase and just reuse the buffer we used for GL-upload, do the clamping 325 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 349 gl.bindTexture (GL_TEXTURE_2D, curCase.texture->getGLTexture()); 350 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, m_minFilter); 351 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, m_magFilter); 352 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, m_wrapS); 353 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, m_wrapT); 354 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_COMPARE_MODE, GL_COMPARE_REF_TO_TEXTURE); 355 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_COMPARE_FUNC, m_compareFunc) 597 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 884 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fOpaqueTypeIndexingTests.cpp | 95 static void uploadUniformIndices (const glw::Functions& gl, deUint32 program, const char* varPrefix, int numIndices, const int* indices) 100 const int loc = gl.getUniformLocation(program, varName.c_str()); 103 gl.uniform1i(loc, indices[varNdx]); 260 static void setupTexture (const glw::Functions& gl, 273 gl.bindTexture(texTarget, texture); 278 gl.texStorage1D(texTarget, 1, intFormat, 1); 279 gl.texSubImage1D(texTarget, 0, 0, 1, transferFmt.format, transferFmt.dataType, color); 283 gl.texStorage2D(texTarget, 1, intFormat, 1, 1); 284 gl.texSubImage2D(texTarget, 0, 0, 0, 1, 1, transferFmt.format, transferFmt.dataType, color); 289 gl.texStorage3D(texTarget, 1, intFormat, 1, 1, 1) 472 const glw::Functions& gl = renderCtx.getFunctions(); local 702 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 793 const glw::Functions& gl = renderCtx.getFunctions(); local 969 const glw::Functions& gl = renderCtx.getFunctions(); local [all...] |
es31fVertexAttributeBindingTests.cpp | 322 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 323 const int positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); 324 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); 325 const int colorUniformLoc = gl.glGetUniformLocation(m_program->getProgram(), "u_color"); 327 gl.enableLogging(true); 329 gl.glClearColor(0.0f, 0.0f, 0.0f, 0.0f); 330 gl.glClear(GL_COLOR_BUFFER_BIT); 331 gl.glViewport(0, 0, dst.getWidth(), dst.getHeight()); 332 gl.glBindVertexArray(m_vao); 333 GLU_EXPECT_NO_ERROR(gl.glGetError(), "set vao") 448 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 712 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 999 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local 1243 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local [all...] |