Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkPatchUtils.cpp185 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / 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()
243 const int64_t lodX64 = (lodX + 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()
265 lodX = std::max(1, sk_float_floor2int_no_saturate(weightX * 200)); in MakeVertices()
267 vertexCount = (lodX + 1) * (lodY + 1); in MakeVertices()
[all …]
DSkPatchUtils.h53 const SkPoint texCoords[4], int lodX, int lodY,
/external/skqp/src/utils/
DSkPatchUtils.cpp185 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / 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()
243 const int64_t lodX64 = (lodX + 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()
265 lodX = std::max(1, sk_float_floor2int_no_saturate(weightX * 200)); in MakeVertices()
267 vertexCount = (lodX + 1) * (lodY + 1); in MakeVertices()
[all …]
DSkPatchUtils.h53 const SkPoint texCoords[4], int lodX, int lodY,
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureShadowTests.cpp281 const float lodX; in Texture2DShadowTestInstance() member
299 const float lodX = cases[caseNdx].lodX; in Texture2DShadowTestInstance() local
303 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[texNdx… in Texture2DShadowTestInstance()
708 const float lodX; in Texture2DArrayShadowTestInstance() member
729 const float lodX = cases[caseNdx].lodX; in Texture2DArrayShadowTestInstance() local
733 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[tex]->… in Texture2DArrayShadowTestInstance()
DvktTextureFilteringTests.cpp166 const float lodX; in Texture2DFilteringTestInstance() member
181 const float lodX = cases[caseNdx].lodX; in Texture2DFilteringTestInstance() local
185 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[texNdx… in Texture2DFilteringTestInstance()
634 const float lodX = curCase.lod.x(); in iterate() local
638 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[0]->ge… in iterate()
818 const float lodX = curCase.lod.x(); in iterate() local
824 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textur… in iterate()
/external/deqp/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.cpp230 float lodX; in init() member
248 const float lodX = cases[caseNdx].lodX; in init() local
252 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init()
874 const float lodX = curCase.lod.x(); in iterate() local
878 …const float sX = deFloatExp2(lodX)*float(viewport.width) / float(m_gradientTex->getRefTexture().g… in iterate()
1116 const float lodX = curCase.lod.x(); in iterate() local
1122 …const float sX = deFloatExp2(lodX)*float(viewport.width) / float(m_gradientTex->getRefTextu… in iterate()
/external/deqp/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()
/external/deqp/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()