/external/skia/samplecode/ |
D | PerlinPatch.cpp | 142 SkScalar texHeight = fTexScale * TexHeight; 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 147 const SkScalar ty = SkIntToScalar(texHeight); in make_fan() 175 void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 177 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
|
D | SampleSlides.cpp | 288 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument 290 const SkScalar ty = SkIntToScalar(texHeight); in make_fan() 318 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 320 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
|
/external/skqp/samplecode/ |
D | PerlinPatch.cpp | 142 SkScalar texHeight = fTexScale * TexHeight; 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 147 const SkScalar ty = SkIntToScalar(texHeight); in make_fan() 175 void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 177 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
|
D | SampleSlides.cpp | 288 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument 290 const SkScalar ty = SkIntToScalar(texHeight); in make_fan() 318 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument 320 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureMipmapTests.cpp | 259 int texHeight = refTexture.getHeight(); in iterate() local 261 int defViewportHeight = texHeight*4; in iterate() 363 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 364 const int worstScoreDiff = texWidth*texHeight; in iterate() 532 int texHeight = m_texture->getRefTexture().getSize(); in iterate() local 535 int defViewportHeight = texHeight*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 | 250 int texHeight = refTexture.getHeight(); in iterate() local 252 int defViewportHeight = texHeight*4; in iterate() 355 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate() 356 const int worstScoreDiff = texWidth*texHeight; in iterate() 519 int texHeight = m_texture->getRefTexture().getSize(); in iterate() local 522 int defViewportHeight = texHeight*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 | 582 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 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() 888 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2); in init() local 890 DE_ASSERT(texWidth == texHeight); in init() 891 DE_UNREF(texHeight); in init() 1228 const int texHeight = HEIGHT_2D_ARRAY; in init() local 1234 …ure2DArray(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texLayers); in init() 1237 const int numLevels = deLog2Floor32(de::max(texWidth, texHeight)) + 1; in init() [all …]
|
D | es3fTextureUnitTests.cpp | 822 …const int texHeight = is2dTex ? TEXTURE_HEIGHT_2D : isCubeTex ? TEXTURE_HEIGHT_CUBE : is2dArr… 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() 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 | 301 const int texHeight = refTexture.getHeight(); in iterate() local 303 const int defViewportHeight = texHeight*4; in iterate() 625 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local 627 const int defViewportHeight = texHeight*2; in iterate() 1250 const int texHeight = refTexture.getHeight(); in iterate() local 1254 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate() 1500 const int texHeight = refTexture.getHeight(); in iterate() local 1503 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate() 1811 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local 1814 const int defViewportHeight = texHeight*2; in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 482 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 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() 794 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2); in init() local 796 DE_ASSERT(texWidth == texHeight); in init() 797 DE_UNREF(texHeight); in init()
|
D | es2fTextureUnitTests.cpp | 644 const int texHeight = is2d ? TEXTURE_HEIGHT_2D : TEXTURE_HEIGHT_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 …new tcu::Texture2D(glu::mapGLTransferFormat(params.format, params.dataType), texWidth, texHeight)); in init() 680 DE_ASSERT(texWidth == texHeight); in init()
|
D | es2fTextureMipmapTests.cpp | 257 const int texHeight = refTexture.getHeight(); in iterate() local 259 const int defViewportHeight = texHeight*4; in iterate() 586 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local 588 const int defViewportHeight = texHeight*2; in iterate()
|
D | es2fFboRenderTest.cpp | 1136 int texHeight = 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 | 63 unsigned texWidth, texHeight; member
|
D | dlist.c | 712 atlas->texHeight = 0; /* determined below */ in build_bitmap_atlas() 778 atlas->texHeight = ypos + row_height; in build_bitmap_atlas() 780 if (atlas->texHeight == 0) { in build_bitmap_atlas() 784 else if (atlas->texHeight > ctx->Const.MaxTextureRectSize) { in build_bitmap_atlas() 807 atlas->texWidth, atlas->texHeight, 1, 0, in build_bitmap_atlas() 817 0, 0, atlas->texWidth, atlas->texHeight, in build_bitmap_atlas() 824 memset(map, 0xff, map_stride * 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.texHeight[attr] = (GLfloat) texImage->Height; in NAME()
|
D | s_aaline.c | 71 GLfloat texHeight[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/skia/src/gpu/gl/ |
D | GrGLGpu.h | 394 bool uploadTexData(GrPixelConfig texConfig, int texWidth, int texHeight, GrGLenum target, 401 bool uploadCompressedTexData(GrPixelConfig texConfig, int texWidth, int texHeight,
|
D | GrGLGpu.cpp | 1198 bool GrGLGpu::uploadTexData(GrPixelConfig texConfig, int texWidth, int texHeight, GrGLenum target, in uploadTexData() argument 1208 SkIRect bounds = SkIRect::MakeWH(texWidth, texHeight); in uploadTexData() 1212 (0 == left && 0 == top && width == texWidth && height == texHeight)); in uploadTexData() 1353 if (0 == left && 0 == top && texWidth == width && texHeight == height) { in uploadTexData() 1385 bool GrGLGpu::uploadCompressedTexData(GrPixelConfig texConfig, int texWidth, int texHeight, in uploadCompressedTexData() argument 1410 texWidth, texHeight); in uploadCompressedTexData()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 4908 const float texHeight = (float)m_view.getHeight(); in sample4() local 4922 const float p = de::max(mu * texWidth, mv * texHeight); in sample4() 5141 const float texHeight = (float)m_view.getHeight(); in sample4() local 5155 const float p = de::max(mu * texWidth, mv * texHeight); in sample4() 5350 const float texHeight = (float)m_view.getHeight(); 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 | 531 int texHeight, 623 int texHeight, in TextureBorderClampTest() argument 631 , m_texHeight (texHeight) in TextureBorderClampTest()
|