/third_party/flutter/skia/src/utils/ |
D | SkPatchUtils.cpp | 186 int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail() local 188 return SkISize::Make(SkMax32(8, lodX), SkMax32(8, lodY)); in GetLevelOfDetail() 236 const SkPoint srcTexCoords[4], int lodX, int lodY, in MakeVertices() argument 238 if (lodX < 1 || lodY < 1 || nullptr == cubics) { in MakeVertices() 244 lodY64 = (lodY + 1), in MakeVertices() 258 if (vertexCount > 10000 || lodX > 200 || lodY > 200) { in MakeVertices() 259 float weightX = static_cast<float>(lodX) / (lodX + lodY); in MakeVertices() 260 float weightY = static_cast<float>(lodY) / (lodX + lodY); in MakeVertices() 266 lodY = std::max(1, sk_float_floor2int_no_saturate(weightY * 200)); in MakeVertices() 267 vertexCount = (lodX + 1) * (lodY + 1); in MakeVertices() [all …]
|
D | SkPatchUtils.h | 53 const SkPoint texCoords[4], int lodX, int lodY,
|
/third_party/skia/src/utils/ |
D | SkPatchUtils.cpp | 188 int lodY = static_cast<int>(std::max(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail() local 190 return SkISize::Make(std::max(8, lodX), std::max(8, lodY)); in GetLevelOfDetail() 238 const SkPoint srcTexCoords[4], int lodX, int lodY, in MakeVertices() argument 240 if (lodX < 1 || lodY < 1 || nullptr == cubics) { in MakeVertices() 246 lodY64 = (lodY + 1), in MakeVertices() 260 if (vertexCount > 10000 || lodX > 200 || lodY > 200) { in MakeVertices() 261 float weightX = static_cast<float>(lodX) / (lodX + lodY); in MakeVertices() 262 float weightY = static_cast<float>(lodY) / (lodX + lodY); in MakeVertices() 268 lodY = std::max(1, sk_float_floor2int_no_saturate(weightY * 200)); in MakeVertices() 269 vertexCount = (lodX + 1) * (lodY + 1); in MakeVertices() [all …]
|
D | SkPatchUtils.h | 53 const SkPoint texCoords[4], int lodX, int lodY,
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureShadowTests.cpp | 280 float lodY; in init() member 301 const float lodY = cases[caseNdx].lodY; in init() local 305 …const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeigh… in init() 834 float lodY; in init() member 858 const float lodY = cases[caseNdx].lodY; in init() local 862 const float sY = deFloatExp2(lodY)*viewportH / float(tex->getRefTexture().getHeight()); in init()
|
D | es3fTextureFilteringTests.cpp | 234 float lodY; in init() member 252 const float lodY = cases[caseNdx].lodY; in init() local 256 …const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeigh… in init() 878 const float lodY = curCase.lod.y(); in iterate() local 882 …const float sY = deFloatExp2(lodY)*float(viewport.height) / float(m_gradientTex->getRefTexture().… in iterate() 1120 const float lodY = curCase.lod.y(); in iterate() local 1126 …const float sY = deFloatExp2(lodY)*float(viewport.height) / float(m_gradientTex->getRefText… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 331 const float lodY; in Texture2DShadowTestInstance() member 349 const float lodY = cases[caseNdx].lodY; in Texture2DShadowTestInstance() local 353 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[texNd… in Texture2DShadowTestInstance() 798 const float lodY; in Texture2DArrayShadowTestInstance() member 819 const float lodY = cases[caseNdx].lodY; in Texture2DArrayShadowTestInstance() local 823 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[tex]-… in Texture2DArrayShadowTestInstance()
|
D | vktTextureFilteringTests.cpp | 294 const float lodY; in Texture2DFilteringTestInstance() member 309 const float lodY = cases[caseNdx].lodY; in Texture2DFilteringTestInstance() local 313 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[texNd… in Texture2DFilteringTestInstance() 807 const float lodY = curCase.lod.y(); in iterate() local 811 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[0]->g… in iterate() 1016 const float lodY = curCase.lod.y(); in iterate() local 1022 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textu… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 331 const float lodY; in Texture2DShadowTestInstance() member 349 const float lodY = cases[caseNdx].lodY; in Texture2DShadowTestInstance() local 353 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[texNd… in Texture2DShadowTestInstance() 798 const float lodY; in Texture2DArrayShadowTestInstance() member 819 const float lodY = cases[caseNdx].lodY; in Texture2DArrayShadowTestInstance() local 823 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[tex]-… in Texture2DArrayShadowTestInstance()
|
D | vktTextureFilteringTests.cpp | 294 const float lodY; in Texture2DFilteringTestInstance() member 309 const float lodY = cases[caseNdx].lodY; in Texture2DFilteringTestInstance() local 313 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[texNd… in Texture2DFilteringTestInstance() 807 const float lodY = curCase.lod.y(); in iterate() local 811 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[0]->g… in iterate() 1016 const float lodY = curCase.lod.y(); in iterate() local 1022 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textu… in iterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 213 float lodY; in init() member 231 const float lodY = cases[caseNdx].lodY; in init() local 235 …const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeigh… in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 625 const float lodY = curCase.lod.y(); in iterate() local 631 …const float sY = deFloatExp2(lodY) * float(VIEWPORT_HEIGHT) / float(m_gradientTex->getRefTexture()… in iterate()
|