Home
last modified time | relevance | path

Searched refs:lodY (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/src/utils/
DSkPatchUtils.cpp186 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 …]
DSkPatchUtils.h53 const SkPoint texCoords[4], int lodX, int lodY,
/third_party/skia/src/utils/
DSkPatchUtils.cpp188 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 …]
DSkPatchUtils.h53 const SkPoint texCoords[4], int lodX, int lodY,
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureShadowTests.cpp280 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()
Des3fTextureFilteringTests.cpp234 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/
DvktTextureShadowTests.cpp331 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()
DvktTextureFilteringTests.cpp294 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/
DvktTextureShadowTests.cpp331 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()
DvktTextureFilteringTests.cpp294 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/
Des2fTextureFilteringTests.cpp213 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/
Des2cTexture3DTests.cpp625 const float lodY = curCase.lod.y(); in iterate() local
631 …const float sY = deFloatExp2(lodY) * float(VIEWPORT_HEIGHT) / float(m_gradientTex->getRefTexture()… in iterate()