/external/skia/samplecode/ |
D | PerlinPatch.cpp | 136 SkScalar texWidth = fTexScale * TexWidth; in onDrawContent() local 139 { fTexX - texWidth, fTexY - texHeight}, in onDrawContent() 140 { fTexX + texWidth, fTexY - texHeight}, in onDrawContent() 141 { fTexX + texWidth, fTexY + texHeight}, in onDrawContent() 142 { fTexX - texWidth, fTexY + texHeight}} in onDrawContent()
|
D | SampleVertices.cpp | 160 void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument 161 const SkScalar tx = SkIntToScalar(texWidth); in make_fan() 190 void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 191 const SkScalar tx = SkIntToScalar(texWidth); in make_strip()
|
D | SampleSlides.cpp | 361 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument 362 const SkScalar tx = SkIntToScalar(texWidth); in make_fan() 391 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 392 const SkScalar tx = SkIntToScalar(texWidth); in make_strip()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureMipmapTests.cpp | 256 int texWidth = refTexture.getWidth(); in iterate() local 258 int defViewportWidth = texWidth*4; in iterate() 361 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 362 const int worstScoreDiff = texWidth*texHeight; in iterate() 529 int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 532 int defViewportWidth = texWidth*2; in iterate() 628 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 629 const int worstScoreDiff = texWidth*texHeight; in iterate()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureMipmapTests.cpp | 248 int texWidth = refTexture.getWidth(); in iterate() local 250 int defViewportWidth = texWidth*4; in iterate() 354 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 355 const int worstScoreDiff = texWidth*texHeight; in iterate() 517 int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 520 int defViewportWidth = texWidth*2; in iterate() 617 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 618 const int worstScoreDiff = texWidth*texHeight; in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 579 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2); in init() local 585 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init() 588 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init() 589 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init() 885 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2); in init() local 888 DE_ASSERT(texWidth == texHeight); in init() 894 …xtures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth); in init() 897 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; in init() 898 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1; in init() 1225 const int texWidth = WIDTH_2D_ARRAY; in init() local [all …]
|
D | es3fTextureUnitTests.cpp | 820 …const int texWidth = is2dTex ? TEXTURE_WIDTH_2D : isCubeTex ? TEXTURE_WIDTH_CUBE : is2dArrayT… in init() local 826 …bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight) && deIsPowerOfTwo3… in init() 827 …int numLevels = mipmaps ? deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth))+1 :… in init() 858 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight)); in init() 863 DE_ASSERT(texWidth == texHeight); in init() 864 m_texturesCube.push_back(new tcu::TextureCube(texFormat, texWidth)); in init() 869 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers)); in init() 874 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth)); in init()
|
D | es3fTextureMipmapTests.cpp | 299 const int texWidth = refTexture.getWidth(); in iterate() local 301 const int defViewportWidth = texWidth*4; in iterate() 623 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 625 const int defViewportWidth = texWidth*2; in iterate() 1248 const int texWidth = refTexture.getWidth(); in iterate() local 1253 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate() 1498 const int texWidth = refTexture.getWidth(); in iterate() local 1502 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate() 1809 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 1812 const int defViewportWidth = texWidth*2; in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 478 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2); in init() local 484 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init() 487 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init() 488 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init() 781 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2); in init() local 784 DE_ASSERT(texWidth == texHeight); in init() 790 …xtures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth); in init() 793 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; in init() 794 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1; in init()
|
D | es2fTextureUnitTests.cpp | 642 const int texWidth = is2d ? TEXTURE_WIDTH_2D : TEXTURE_WIDTH_CUBE; in init() local 644 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init() 645 int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init() 674 …new tcu::Texture2D(glu::mapGLTransferFormat(params.format, params.dataType), texWidth, texHeight)); in init() 679 DE_ASSERT(texWidth == texHeight); in init() 680 …ush_back(new tcu::TextureCube(glu::mapGLTransferFormat(params.format, params.dataType), texWidth)); in init()
|
D | es2fTextureMipmapTests.cpp | 255 const int texWidth = refTexture.getWidth(); in iterate() local 257 const int defViewportWidth = texWidth*4; in iterate() 584 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 586 const int defViewportWidth = texWidth*2; in iterate()
|
D | es2fFboRenderTest.cpp | 1113 int texWidth = 64; in render() local 1119 createQuadsTex2D(ctx, quadsTex, GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in render() 1120 createMetaballsTex2D(ctx, metaballsTex, GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in render()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aalinetemp.h | 81 line->texWidth[attr], line->texHeight[attr]); in NAME() 183 line.texWidth[attr] = (GLfloat) texImage->Width; in NAME()
|
D | s_aaline.c | 68 GLfloat texWidth[FRAG_ATTRIB_MAX]; member
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 4788 const float texWidth = (float)m_view.getWidth(); in sample4() local 4801 const float p = mu * texWidth; in sample4() 4907 const float texWidth = (float)m_view.getWidth(); in sample4() local 4922 const float p = de::max(mu * texWidth, mv * texHeight); in sample4() 5140 const float texWidth = (float)m_view.getWidth(); in sample4() local 5155 const float p = de::max(mu * texWidth, mv * texHeight); in sample4() 5349 const float texWidth = (float)m_view.getWidth(); in sample4() local 5366 const float p = de::max(de::max(mu * texWidth, mv * texHeight), mw * texDepth); in sample4()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureBorderClampTests.cpp | 530 int texWidth, 622 int texWidth, in TextureBorderClampTest() argument 632 , m_texWidth (texWidth) in TextureBorderClampTest()
|