/third_party/skia/src/utils/ |
H A 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() 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() 265 // 60000 indices ( sqrt(60000 / 6) that comes from data->fIndexCount = lodX * lodY * in MakeVertices() 237 MakeVertices(const SkPoint cubics[12], const SkColor srcColors[4], const SkPoint srcTexCoords[4], int lodX, int lodY, SkColorSpace* colorSpace) MakeVertices() argument [all...] |
H A D | SkPatchUtils.h | 53 const SkPoint texCoords[4], int lodX, int lodY,
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTextureShadowTests.cpp | 282 float lodY; in init() member 303 const float lodY = cases[caseNdx].lodY; in init() local 307 const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeight()); in init() 836 float lodY; in init() member 860 const float lodY = cases[caseNdx].lodY; in init() local 864 const float sY = deFloatExp2(lodY)*viewportH / float(tex->getRefTexture().getHeight()); in init()
|
H A 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().getHeight()); 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().getHeight()); in iterate() 1120 const float lodY = curCase.lod.y(); in iterate() local 1126 const float sY = deFloatExp2(lodY)*float(viewport.height) / float(m_gradientTex->getRefTexture().getHeight()); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureFilteringTests.cpp | 295 const float lodY; in Texture2DFilteringTestInstance() member 310 const float lodY = cases[caseNdx].lodY; in Texture2DFilteringTestInstance() local 314 const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[texNdx]->getTexture().getHeight()); in Texture2DFilteringTestInstance() 808 const float lodY = curCase.lod.y(); in iterate() local 812 const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[0]->getTexture().getHeight()); in iterate() 1017 const float lodY = curCase.lod.y(); in iterate() local 1023 const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[0]->getTexture().getHeight()); in iterate()
|
H A D | vktTextureShadowTests.cpp | 333 const float lodY; in Texture2DShadowTestInstance() member 351 const float lodY = cases[caseNdx].lodY; in Texture2DShadowTestInstance() local 355 const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[texNdx]->getTexture().getHeight()); in Texture2DShadowTestInstance() 800 const float lodY; in Texture2DArrayShadowTestInstance() member 821 const float lodY = cases[caseNdx].lodY; in Texture2DArrayShadowTestInstance() local 825 const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[tex]->getTexture().getHeight()); in Texture2DArrayShadowTestInstance()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A 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[texNdx]->getTexture().getHeight()); 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]->getTexture().getHeight()); in iterate() 1016 const float lodY = curCase.lod.y(); in iterate() local 1022 const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[0]->getTexture().getHeight()); in iterate()
|
H A 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[texNdx]->getTexture().getHeight()); 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]->getTexture().getHeight()); in Texture2DArrayShadowTestInstance()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A 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().getHeight()); in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
H A 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().getHeight()); in iterate()
|