Home
last modified time | relevance | path

Searched refs:maxDim (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/fuzz/
DFuzzPathMeasure.cpp24 SkScalar maxDim = std::max(bounds.width(), bounds.height()); in DEF_FUZZ() local
25 if (maxDim > 1000000) { in DEF_FUZZ()
28 SkScalar resScale = maxDim / 1000; in DEF_FUZZ()
/third_party/skia/src/gpu/ops/
DSmallPathRenderer.cpp242 SkScalar maxDim = std::max(bounds.width(), bounds.height()); in onPrepareDraws() local
258 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws()
281 SkScalar scale = desiredDimension / maxDim; in onPrepareDraws()
698 SkScalar maxDim = std::max(bounds.width(), bounds.height()); in onCanDrawPath() local
700 SkScalar maxSize = maxDim * SkScalarAbs(scaleFactors[1]); in onCanDrawPath()
701 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
/third_party/skia/src/image/
DSkImage_GpuYUVA.cpp278 int maxDim = std::max(pixmaps.yuvaInfo().width(), pixmaps.yuvaInfo().height()); in MakeFromYUVAPixmaps() local
283 if (maxDim > maxTextureSize) { in MakeFromYUVAPixmaps()
287 float scale = static_cast<float>(maxTextureSize)/maxDim; in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp648 int maxDim = std::max(originalPixmap.width(), originalPixmap.height()); in MakeCrossContextFromPixmap() local
649 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeCrossContextFromPixmap()
650 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeCrossContextFromPixmap()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES3.cpp1322 GLsizei maxDim = std::max(width, height); in ValidateES3TexStorageParametersBase() local
1325 maxDim = std::max(maxDim, depth); in ValidateES3TexStorageParametersBase()
1328 if (levels > log2(maxDim) + 1) in ValidateES3TexStorageParametersBase()
DTexture.cpp197 const int maxDim = std::max(std::max(baseImageDesc.size.width, baseImageDesc.size.height), in getMipmapMaxLevel() local
199 expectedMipLevels = static_cast<GLuint>(log2(maxDim)); in getMipmapMaxLevel()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktFragmentShadingRateBasic.cpp997 …deUint32 maxDim = de::max(m_context.getFragmentShadingRateProperties().maxFragmentSize.width, m_co… in iterate() local
998 derivNumLevels = 1 + deCtz32(maxDim); in iterate()