Home
last modified time | relevance | path

Searched refs:lodX (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/utils/
DSkPatchUtils.cpp187 int lodX = static_cast<int>(std::max(topLength, bottomLength) / 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()
245 const int64_t lodX64 = (lodX + 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()
267 lodX = std::max(1, sk_float_floor2int_no_saturate(weightX * 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/external/vulkancts/modules/vulkan/texture/
DvktTextureShadowTests.cpp309 const float lodX; in Texture2DShadowTestInstance() member
327 const float lodX = cases[caseNdx].lodX; in Texture2DShadowTestInstance() local
331 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[texNdx… in Texture2DShadowTestInstance()
752 const float lodX; in Texture2DArrayShadowTestInstance() member
773 const float lodX = cases[caseNdx].lodX; in Texture2DArrayShadowTestInstance() local
777 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[tex]->… in Texture2DArrayShadowTestInstance()
968 const float lodX; in Texture1DShadowTestInstance() member
985 const float lodX = cases[caseNdx].lodX; in Texture1DShadowTestInstance() local
987 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[texNdx… in Texture1DShadowTestInstance()
1182 const float lodX; in Texture1DArrayShadowTestInstance() member
[all …]
DvktTextureFilteringTests.cpp266 const float lodX; in Texture2DFilteringTestInstance() member
281 const float lodX = cases[caseNdx].lodX; in Texture2DFilteringTestInstance() local
285 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[texNdx… in Texture2DFilteringTestInstance()
774 const float lodX = curCase.lod.x(); in iterate() local
778 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[0]->ge… in iterate()
978 const float lodX = curCase.lod.x(); in iterate() local
984 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textur… in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureShadowTests.cpp279 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()
Des3fTextureFilteringTests.cpp233 float lodX; in init() member
251 const float lodX = cases[caseNdx].lodX; in init() local
255 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init()
877 const float lodX = curCase.lod.x(); in iterate() local
881 …const float sX = deFloatExp2(lodX)*float(viewport.width) / float(m_gradientTex->getRefTexture().g… in iterate()
1119 const float lodX = curCase.lod.x(); in iterate() local
1125 …const float sX = deFloatExp2(lodX)*float(viewport.width) / float(m_gradientTex->getRefTextu… in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureFilteringTests.cpp212 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()
/third_party/vk-gl-cts/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp624 const float lodX = curCase.lod.x(); in iterate() local
630 …const float sX = deFloatExp2(lodX) * float(VIEWPORT_WIDTH) / float(m_gradientTex->getRefTexture(… in iterate()