/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 179 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / kPartitionSize); in GetLevelOfDetail() local 182 return SkISize::Make(SkMax32(8, lodX), SkMax32(8, lodY)); in GetLevelOfDetail() 293 const SkPoint srcTexCoords[4], int lodX, int lodY, in MakeVertices() argument 295 if (lodX < 1 || lodY < 1 || nullptr == cubics) { in MakeVertices() 300 const int64_t lodX64 = (lodX + 1), in MakeVertices() 310 if (vertexCount > 10000 || lodX > 200 || lodY > 200) { in MakeVertices() 311 float weightX = static_cast<float>(lodX) / (lodX + lodY); in MakeVertices() 312 float weightY = static_cast<float>(lodY) / (lodX + lodY); in MakeVertices() 316 lodX = static_cast<int>(weightX * 200); in MakeVertices() 318 vertexCount = (lodX + 1) * (lodY + 1); in MakeVertices() [all …]
|
D | SkPatchUtils.h | 51 const SkPoint texCoords[4], int lodX, int lodY,
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 279 const float lodX; in Texture2DShadowTestInstance() member 297 const float lodX = cases[caseNdx].lodX; in Texture2DShadowTestInstance() local 301 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[texNdx… in Texture2DShadowTestInstance() 706 const float lodX; in Texture2DArrayShadowTestInstance() member 727 const float lodX = cases[caseNdx].lodX; in Texture2DArrayShadowTestInstance() local 731 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[tex]->… in Texture2DArrayShadowTestInstance()
|
D | vktTextureFilteringTests.cpp | 163 const float lodX; in Texture2DFilteringTestInstance() member 178 const float lodX = cases[caseNdx].lodX; in Texture2DFilteringTestInstance() local 182 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[texNdx… in Texture2DFilteringTestInstance() 630 const float lodX = curCase.lod.x(); in iterate() local 634 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[0]->ge… in iterate() 814 const float lodX = curCase.lod.x(); in iterate() local 820 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textur… in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureShadowTests.cpp | 279 float lodX; in init() member 300 const float lodX = cases[caseNdx].lodX; in init() local 304 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init() 833 float lodX; in init() member 857 const float lodX = cases[caseNdx].lodX; in init() local 861 const float sX = deFloatExp2(lodX)*viewportW / float(tex->getRefTexture().getWidth()); in init()
|
D | es3fTextureFilteringTests.cpp | 212 float lodX; in init() member 230 const float lodX = cases[caseNdx].lodX; in init() local 234 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init() 852 const float lodX = curCase.lod.x(); in iterate() local 856 …const float sX = deFloatExp2(lodX)*float(viewport.width) / float(m_gradientTex->getRefTexture().g… in iterate() 1092 const float lodX = curCase.lod.x(); in iterate() local 1098 …const float sX = deFloatExp2(lodX)*float(viewport.width) / float(m_gradientTex->getRefTextu… in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 212 float lodX; in init() member 230 const float lodX = cases[caseNdx].lodX; in init() local 234 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init()
|
/external/swiftshader/src/Shader/ |
D | SamplerCore.hpp | 76 …void cubeFace(Int face[4], Float4 &U, Float4 &V, Float4 &lodX, Float4 &lodY, Float4 &lodZ, Float4 …
|
D | SamplerCore.cpp | 97 Float4 lodX; in sampleTexture() local 103 cubeFace(face, uuuu, vvvv, lodX, lodY, lodZ, u, v, w); in sampleTexture() 120 computeLodCube(texture, lod, lodX, lodY, lodZ, lodBias, dsx, dsy, function); in sampleTexture() 329 Float4 lodX; in sampleTexture() local 335 cubeFace(face, uuuu, vvvv, lodX, lodY, lodZ, u, v, w); in sampleTexture() 352 computeLodCube(texture, lod, lodX, lodY, lodZ, lodBias, dsx, dsy, function); in sampleTexture() 1582 …void SamplerCore::cubeFace(Int face[4], Float4 &U, Float4 &V, Float4 &lodX, Float4 &lodY, Float4 &… in cubeFace() argument 1632 lodX = x * M; in cubeFace()
|