/external/autotest/client/deps/nvmap_compactor/src/ |
H A D | nvmap_carveout_compactor.c | 64 uniform sampler2D tex; \ 69 gl_FragColor = texture2D(tex, st); \ 138 GLuint tex; local 160 glGenTextures(1, &tex); 168 glBindTexture(GL_TEXTURE_2D, tex); 189 tex = -1; 193 return tex; 244 int ShowTextures(GLuint *tex, int count, int width, int height) argument 269 texSampler = glGetUniformLocation(programObj, "tex"); 284 glBindTexture(GL_TEXTURE_2D, tex[ 303 RunPhase(int phase, int phase_width, int phase_height, int texture_count, int texture_size, GLuint *tex) argument [all...] |
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrGLContext.cpp | 87 deUint32 tex = *i; local 88 gl.deleteTextures(1, &tex);
|
/external/deqp/framework/randomshaders/ |
H A D | rsgExpression.cpp | 1636 const Sampler2D& tex = execCtx.getSampler2D(m_sampler); local 1641 tcu::Vec4 p = tex.sample(s, t, 0.0f); 1652 const Sampler2D& tex = execCtx.getSampler2D(m_sampler); local 1658 tcu::Vec4 p = tex.sample(s, t, l); 1668 const Sampler2D& tex = execCtx.getSampler2D(m_sampler); local 1674 tcu::Vec4 p = tex.sample(s/w, t/w, 0.0f); 1685 const Sampler2D& tex = execCtx.getSampler2D(m_sampler); local 1692 tcu::Vec4 p = tex.sample(s/w, t/w, l); 1702 const SamplerCube& tex = execCtx.getSamplerCube(m_sampler); local 1708 tcu::Vec4 p = tex 1719 const SamplerCube& tex = execCtx.getSamplerCube(m_sampler); local [all...] |
/external/deqp/modules/egl/ |
H A D | teglGLES2SharingThreadedTests.cpp | 907 GLuint tex = 0; local 910 GLU_CHECK_GLW_CALL(thread.gl, genTextures(1, &tex)); 911 thread.newMessage() << "End -- glGenTextures(1, { " << tex << " })" << tcu::ThreadUtil::Message::End; 913 m_texture->texture = tex; 936 GLuint tex = m_texture->texture; local 938 thread.newMessage() << "Begin -- glDeleteTextures(1, { " << tex << " })" << tcu::ThreadUtil::Message::End; 939 GLU_CHECK_GLW_CALL(thread.gl, deleteTextures(1, &tex));
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fFboApiTest.cpp | 156 deUint32 tex = 1; local 159 context.bindTexture(GL_TEXTURE_2D, tex); 169 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]); 176 deUint32 tex = 1; local 179 context.bindTexture(GL_TEXTURE_2D, tex); 189 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]);
|
H A D | es2fTextureSpecificationTests.cpp | 215 // setup tex coords 297 // setup tex coords 304 // Swizzle tex coords 628 deUint32 tex = 0; local 632 glGenTextures(1, &tex); 633 glBindTexture(GL_TEXTURE_2D, tex); 670 deUint32 tex = 0; local 676 glGenTextures(1, &tex); 677 glBindTexture(GL_TEXTURE_CUBE_MAP, tex); 719 deUint32 tex local 768 deUint32 tex = 0; local 830 deUint32 tex = 0; local 875 deUint32 tex = 0; local 922 deUint32 tex = 0; local 986 deUint32 tex = 0; local 1059 deUint32 tex = 0; local 1111 deUint32 tex = 0; local 1175 deUint32 tex = 0; local 1226 deUint32 tex = 0; local 1283 deUint32 tex = 0; local 1331 deUint32 tex = 0; local 1388 deUint32 tex = 0; local 1463 deUint32 tex = 0; local [all...] |
H A D | es2fVertexTextureTests.cpp | 174 * glVertexAttribPointer() (for position and tex coord) or glDrawElements() 318 static inline IVec2 getTextureSize (const glu::Texture2D& tex) argument 320 const tcu::Texture2D& ref = tex.getRefTexture(); 324 static inline IVec2 getTextureSize (const glu::TextureCube& tex) argument 326 const tcu::TextureCube& ref = tex.getRefTexture(); 356 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } argument 357 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFboApiTests.cpp | 145 deUint32 tex = 1; local 155 context.bindTexture(GL_TEXTURE_2D, tex); 165 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]);
|
H A D | es3fFboColorbufferTests.cpp | 256 deUint32& tex = ndx ? tex1 : tex0; local 259 glGenTextures(1, &tex); 261 glBindTexture(GL_TEXTURE_2D, tex); 269 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0); 376 deUint32 tex; local 384 glGenTextures(1, &tex); 386 glBindTexture(GL_TEXTURE_CUBE_MAP, tex); 403 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, cubeGLFaces[ndx], tex, 0); 455 glBindTexture(GL_TEXTURE_CUBE_MAP, tex); 505 deUint32 tex; local 631 deUint32 tex; local [all...] |
H A D | es3fFboCompletenessTests.cpp | 302 const GLuint tex = builder.glCreateTexture(*texCfg); local 306 att->imageName = tex; 343 os << "tex";
|
H A D | es3fFboInvalidateTests.cpp | 216 deUint32 tex = 0; local 230 glGenTextures (1, &tex); 231 glBindTexture (GL_TEXTURE_2D, tex); 235 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0); 286 glBindTexture (GL_TEXTURE_2D, tex); 364 deUint32 tex = 0; local 388 glGenTextures (1, &tex); 389 glBindTexture (GL_TEXTURE_2D, tex); 393 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0); 431 glBindTexture (GL_TEXTURE_2D, tex); [all...] |
H A D | es3fFboTestUtil.cpp | 381 // setup tex coords 395 const sglr::rc::Texture2D* tex = m_uniforms[2 + ndx*3].sampler.tex2D; local 400 tex->sample4(tmpColors, texCoords); 535 const sglr::rc::TextureCube* tex = m_uniforms[1].sampler.texCube; local 543 tex->sample4(colors, texCoords); 643 const sglr::rc::Texture2DArray* tex = m_uniforms[0].sampler.tex2DArray; local 651 tex->sample4(colors, texCoords); 751 const sglr::rc::Texture3D* tex = m_uniforms[0].sampler.tex3D; local 759 tex->sample4(colors, texCoords);
|
H A D | es3fFramebufferBlitTests.cpp | 637 deUint32 tex = 0; local 647 glGenTextures(1, &tex); 649 glBindTexture(GL_TEXTURE_2D, tex); 657 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0);
|
H A D | es3fTextureShadowTests.cpp | 853 const glu::Texture2DArray* tex = cases[caseNdx].texNdx > 0 ? m_gridTex : m_gradientTex; local 859 const float sX = deFloatExp2(lodX)*viewportW / float(tex->getRefTexture().getWidth()); 860 const float sY = deFloatExp2(lodY)*viewportH / float(tex->getRefTexture().getHeight()); 862 m_cases.push_back(FilterCase(tex, ref, tcu::Vec3(oX, oY, minLayer), tcu::Vec3(oX+sX, oY+sY, maxLayer)));
|
H A D | es3fTextureSpecificationTests.cpp | 660 deUint32 tex = 0; local 664 glGenTextures(1, &tex); 665 glBindTexture(GL_TEXTURE_2D, tex); 715 deUint32 tex = 0; local 719 glGenTextures(1, &tex); 720 glBindTexture(GL_TEXTURE_CUBE_MAP, tex); 759 deUint32 tex = 0; local 764 glGenTextures(1, &tex); 765 glBindTexture(GL_TEXTURE_2D_ARRAY, tex); 798 deUint32 tex local 851 deUint32 tex = 0; local 911 deUint32 tex = 0; local 976 deUint32 tex = 0; local 1033 deUint32 tex = 0; local 1084 deUint32 tex = 0; local 1154 deUint32 tex = 0; local 1217 deUint32 tex = 0; local 1292 deUint32 tex = 0; local 1382 deUint32 tex = 0; local 1440 deUint32 tex = 0; local 1518 deUint32 tex = 0; local 1581 deUint32 tex = 0; local 1658 deUint32 tex = 0; local 1726 deUint32 tex = 0; local 1805 deUint32 tex = 0; local 1882 deUint32 tex = 0; local 1930 deUint32 tex = 0; local 1982 deUint32 tex = 0; local 2057 deUint32 tex = 0; local 2130 deUint32 tex = 0; local 2172 deUint32 tex = 0; local 2216 deUint32 tex = 0; local 2257 deUint32 tex = 0; local 2322 deUint32 tex = 0; local 2389 deUint32 tex = 0; local 2476 deUint32 tex = 0; local 2558 deUint32 tex = 0; local 2639 deUint32 tex = 0; local 2728 deUint32 tex = 0; local 2838 deUint32 tex = 0; local 2949 deUint32 tex = 0; local 3034 deUint32 tex = 0; local 3081 deUint32 tex = 0; local 3128 deUint32 tex = 0; local 3198 deUint32 tex = 0; local 3274 deUint32 tex = 0; local 3335 deUint32 tex = 0; local [all...] |
H A D | es3fVertexTextureTests.cpp | 224 * glVertexAttribPointer() (for position and tex coord) or glDrawElements() 402 static inline IVec2 getTextureSize (const glu::Texture2D& tex) argument 404 const tcu::Texture2D& ref = tex.getRefTexture(); 408 static inline IVec2 getTextureSize (const glu::TextureCube& tex) argument 410 const tcu::TextureCube& ref = tex.getRefTexture(); 414 static inline IVec3 getTextureSize (const glu::Texture2DArray& tex) argument 416 const tcu::Texture2DArray& ref = tex.getRefTexture(); 420 static inline IVec3 getTextureSize (const glu::Texture3D& tex) argument 422 const tcu::Texture3D& ref = tex.getRefTexture(); 452 static inline Vec4 sample (const tcu::Texture2D& tex, cons argument 453 sample(const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) argument 454 sample(const tcu::Texture2DArray& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) argument 455 sample(const tcu::Texture3D& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) argument [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fFboColorbufferTests.cpp | 152 deUint32 tex; local 166 glGenTextures(1, &tex); 168 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex); 185 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex, 0, ndx); 240 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex);
|
H A D | es31fFboTestUtil.cpp | 224 // setup tex coords 238 const sglr::rc::Texture2D* tex = m_uniforms[2 + ndx*3].sampler.tex2D; local 243 tex->sample4(tmpColors, texCoords); 389 const sglr::rc::TextureCubeArray* tex = m_uniforms[1].sampler.texCubeArray; local 397 tex->sample4(colors, texCoords);
|
H A D | es31fTextureSpecificationTests.cpp | 328 deUint32 tex = 0; local 333 glGenTextures(1, &tex); 334 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex); 366 deUint32 tex = 0; local 371 glGenTextures (1, &tex); 372 glBindTexture (GL_TEXTURE_CUBE_MAP_ARRAY, tex); 433 deUint32 tex = 0; local 461 glGenTextures(1, &tex); 462 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex); 522 deUint32 tex local 607 deUint32 tex = 0; local 653 deUint32 tex = 0; local 727 deUint32 tex = 0; local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsFboUtil.cpp | 406 else if (const Texture* const tex = dynamic_cast<const Texture*>(&cfg)) 409 gl.bindTexture(glTarget(*tex), ret); 410 glInit(*tex, gl); 411 gl.bindTexture(glTarget(*tex), 0); 699 static void logTexture (const Texture& tex, TestLog& log) argument 701 logField(log, "Type", glu::getTextureTargetName(glTarget(tex))); 702 logImage(tex, log, true); 703 logField(log, "Levels", toString(tex.numLevels)); 704 if (const TextureLayered* const lTex = dynamic_cast<const TextureLayered*>(&tex))
|
H A D | glsMemoryStressCase.cpp | 583 deUint32 tex = 0; local 588 glGenTextures(1, &tex); 600 m_textures.push_back(tex); 602 glBindTexture(GL_TEXTURE_2D, tex); 642 m_textureRenderer.render(tex);
|
H A D | glsShaderRenderCase.cpp | 489 const TextureBinding& tex = m_textures[ndx]; local 490 const tcu::Sampler& sampler = tex.getSampler(); 494 if (tex.getType() == TextureBinding::TYPE_NONE) 500 if (tex.getType() == TextureBinding::TYPE_2D_ARRAY) 503 if (tex.getType() == TextureBinding::TYPE_3D) 510 switch (tex.getType()) 512 case TextureBinding::TYPE_2D: texTarget = GL_TEXTURE_2D; texObj = tex.get2D()->getGLTexture(); break; 513 case TextureBinding::TYPE_CUBE_MAP: texTarget = GL_TEXTURE_CUBE_MAP; texObj = tex.getCube()->getGLTexture(); break; 514 case TextureBinding::TYPE_2D_ARRAY: texTarget = GL_TEXTURE_2D_ARRAY; texObj = tex.get2DArray()->getGLTexture(); break; 515 case TextureBinding::TYPE_3D: texTarget = GL_TEXTURE_3D; texObj = tex [all...] |
/external/drm_hwcomposer/ |
H A D | glworker.cpp | 704 AutoGLTexture &&tex, AutoGLFramebuffer &&fb) 708 gl_fb_tex(std::move(tex)), 702 CachedFramebuffer( const sp<GraphicBuffer> &gb, AutoEGLDisplayImage &&image, AutoGLTexture &&tex, AutoGLFramebuffer &&fb) argument
|
/external/kernel-headers/original/uapi/drm/ |
H A D | radeon_drm.h | 425 drm_radeon_texture_regs_t tex[RADEON_MAX_TEXTURE_UNITS]; member in struct:__anon7677
|
/external/libdrm/include/drm/ |
H A D | radeon_drm.h | 425 drm_radeon_texture_regs_t tex[RADEON_MAX_TEXTURE_UNITS]; member in struct:__anon9385
|