/external/skqp/samplecode/ |
D | PerlinPatch.cpp | 141 SkScalar texWidth = fTexScale * TexWidth; in onDrawContent() local 144 { fTexX - texWidth, fTexY - texHeight}, in onDrawContent() 145 { fTexX + texWidth, fTexY - texHeight}, in onDrawContent() 146 { fTexX + texWidth, fTexY + texHeight}, in onDrawContent() 147 { fTexX - texWidth, fTexY + texHeight}} in onDrawContent()
|
D | SampleVertices.cpp | 145 void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument 146 const SkScalar tx = SkIntToScalar(texWidth); in make_fan() 175 void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 176 const SkScalar tx = SkIntToScalar(texWidth); in make_strip()
|
D | SampleSlides.cpp | 288 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument 289 const SkScalar tx = SkIntToScalar(texWidth); in make_fan() 318 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 319 const SkScalar tx = SkIntToScalar(texWidth); in make_strip()
|
/external/skia/samplecode/ |
D | SampleVertices.cpp | 139 void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument 140 const SkScalar tx = SkIntToScalar(texWidth); in make_fan() 170 void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 171 const SkScalar tx = SkIntToScalar(texWidth); in make_strip()
|
D | SampleSlides.cpp | 286 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument 287 const SkScalar tx = SkIntToScalar(texWidth); in make_fan() 317 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 318 const SkScalar tx = SkIntToScalar(texWidth); in make_strip()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureMipmapTests.cpp | 258 int texWidth = refTexture.getWidth(); in iterate() local 260 int defViewportWidth = texWidth*4; in iterate() 363 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 364 const int worstScoreDiff = texWidth*texHeight; in iterate() 531 int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 534 int defViewportWidth = texWidth*2; in iterate() 630 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 631 const int worstScoreDiff = texWidth*texHeight; in iterate()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureMipmapTests.cpp | 249 int texWidth = refTexture.getWidth(); in iterate() local 251 int defViewportWidth = texWidth*4; in iterate() 355 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 356 const int worstScoreDiff = texWidth*texHeight; in iterate() 518 int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 521 int defViewportWidth = texWidth*2; in iterate() 618 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 619 const int worstScoreDiff = texWidth*texHeight; in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 581 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2); in init() local 587 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init() 590 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init() 591 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init() 887 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2); in init() local 890 DE_ASSERT(texWidth == texHeight); in init() 896 …xtures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth); in init() 899 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; in init() 900 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1; in init() 1227 const int texWidth = WIDTH_2D_ARRAY; in init() local [all …]
|
D | es3fTextureUnitTests.cpp | 821 …const int texWidth = is2dTex ? TEXTURE_WIDTH_2D : isCubeTex ? TEXTURE_WIDTH_CUBE : is2dArrayT… in init() local 827 …bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight) && deIsPowerOfTwo3… in init() 828 …int numLevels = mipmaps ? deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth))+1 :… in init() 859 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight)); in init() 864 DE_ASSERT(texWidth == texHeight); in init() 865 m_texturesCube.push_back(new tcu::TextureCube(texFormat, texWidth)); in init() 870 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers)); in init() 875 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth)); in init()
|
D | es3fTextureMipmapTests.cpp | 300 const int texWidth = refTexture.getWidth(); in iterate() local 302 const int defViewportWidth = texWidth*4; in iterate() 624 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 626 const int defViewportWidth = texWidth*2; in iterate() 1249 const int texWidth = refTexture.getWidth(); in iterate() local 1254 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate() 1499 const int texWidth = refTexture.getWidth(); in iterate() local 1503 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate() 1810 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 1813 const int defViewportWidth = texWidth*2; in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 481 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2); in init() local 487 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init() 490 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init() 491 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init() 789 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2); in init() local 792 DE_ASSERT(texWidth == texHeight); in init() 798 …xtures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth); in init() 801 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; in init() 802 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1; in init()
|
D | es2fTextureUnitTests.cpp | 643 const int texWidth = is2d ? TEXTURE_WIDTH_2D : TEXTURE_WIDTH_CUBE; in init() local 645 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init() 646 int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init() 675 …cu::Texture2D(glu::mapGLTransferFormat(params.format, params.dataType), texWidth, texHeight, isES2… in init() 680 DE_ASSERT(texWidth == texHeight); in init() 681 …ush_back(new tcu::TextureCube(glu::mapGLTransferFormat(params.format, params.dataType), texWidth)); in init()
|
D | es2fTextureMipmapTests.cpp | 256 const int texWidth = refTexture.getWidth(); in iterate() local 258 const int defViewportWidth = texWidth*4; in iterate() 585 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local 587 const int defViewportWidth = texWidth*2; in iterate()
|
D | es2fFboRenderTest.cpp | 1135 int texWidth = 64; in render() local 1141 createQuadsTex2D(ctx, quadsTex, GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in render() 1142 createMetaballsTex2D(ctx, metaballsTex, GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in render()
|
/external/mesa3d/src/mesa/main/ |
D | dlist.h | 64 unsigned texWidth, texHeight; member
|
D | dlist.c | 917 atlas->texWidth = 1024; in build_bitmap_atlas() 960 if (xpos + bitmap_width > atlas->texWidth) { in build_bitmap_atlas() 1014 atlas->texWidth, atlas->texHeight, 1, 0, in build_bitmap_atlas() 1018 atlas->texWidth, atlas->texHeight, 1, 0, in build_bitmap_atlas() 1028 0, 0, atlas->texWidth, atlas->texHeight, in build_bitmap_atlas()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aalinetemp.h | 81 line->texWidth[attr], line->texHeight[attr]); in NAME() 185 line.texWidth[attr] = (GLfloat) texImage->Width; in NAME()
|
D | s_aaline.c | 69 GLfloat texWidth[VARYING_SLOT_MAX]; member
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.h | 382 bool uploadTexData(GrPixelConfig texConfig, int texWidth, int texHeight, GrGLenum target, 389 bool uploadCompressedTexData(GrPixelConfig texConfig, int texWidth, int texHeight,
|
D | GrGLGpu.cpp | 1163 bool GrGLGpu::uploadTexData(GrPixelConfig texConfig, int texWidth, int texHeight, GrGLenum target, in uploadTexData() argument 1173 SkIRect bounds = SkIRect::MakeWH(texWidth, texHeight); in uploadTexData() 1177 (0 == left && 0 == top && width == texWidth && height == texHeight)); in uploadTexData() 1318 if (0 == left && 0 == top && texWidth == width && texHeight == height) { in uploadTexData() 1350 bool GrGLGpu::uploadCompressedTexData(GrPixelConfig texConfig, int texWidth, int texHeight, in uploadCompressedTexData() argument 1373 texWidth, texHeight); in uploadCompressedTexData()
|
/external/angle/src/tests/gl_tests/ |
D | TextureTest.cpp | 3355 GLint texWidth, texHeight; in TEST_P() local 3367 texWidth = size; in TEST_P() 3371 texWidth = 1; in TEST_P() 3376 texWidth = size; in TEST_P() 3381 if (texWidth == texHeight && size > max2DSquareSize) in TEST_P() 3399 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, false); in TEST_P() 3416 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, false); in TEST_P() 3426 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, true); in TEST_P() 8892 const GLsizei texWidth = getWindowWidth(); in TEST_P() local 8894 const std::vector<GLColor> whiteData(texWidth * texHeight, GLColor::white); in TEST_P() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 4806 const float texWidth = (float)m_view.getWidth(); in sample4() local 4819 const float p = mu * texWidth; in sample4() 4925 const float texWidth = (float)m_view.getWidth(); in sample4() local 4940 const float p = de::max(mu * texWidth, mv * texHeight); in sample4() 5158 const float texWidth = (float)m_view.getWidth(); in sample4() local 5173 const float p = de::max(mu * texWidth, mv * texHeight); in sample4() 5367 const float texWidth = (float)m_view.getWidth(); in sample4() local 5384 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()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 3180 GLint texWidth = texImage->Width; in find_mipmap_level() local 3186 st_gl_texture_dims_to_pipe_dims(target, texWidth, texHeight, texDepth, in find_mipmap_level()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSamplerTests.cpp | 1197 float texWidth; member
|