Home
last modified time | relevance | path

Searched refs:maxDim (Results 1 – 14 of 14) 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/flutter/skia/fuzz/
DFuzzPathMeasure.cpp24 SkScalar maxDim = SkTMax(bounds.width(), bounds.height()); in DEF_FUZZ() local
25 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/flutter/skia/src/image/
DSkImage_GpuYUVA.cpp266 int maxDim = SkTMax(yuvaPixmaps[i].width(), yuvaPixmaps[i].height()); in MakeFromYUVAPixmaps() local
267 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeFromYUVAPixmaps()
268 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp488 int maxDim = SkTMax(originalPixmap.width(), originalPixmap.height()); in MakeCrossContextFromPixmap() local
489 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeCrossContextFromPixmap()
490 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeCrossContextFromPixmap()
/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.cpp645 int maxDim = std::max(originalPixmap.width(), originalPixmap.height()); in MakeCrossContextFromPixmap() local
646 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeCrossContextFromPixmap()
647 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeCrossContextFromPixmap()
/third_party/flutter/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp211 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onCanDrawPath() local
213 SkScalar maxSize = maxDim * SkScalarAbs(scaleFactors[1]); in onCanDrawPath()
214 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
408 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onPrepareDraws() local
422 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws()
450 SkScalar scale = desiredDimension / maxDim; in onPrepareDraws()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES3.cpp1087 GLsizei maxDim = std::max(width, height); in ValidateES3TexStorageParametersBase() local
1090 maxDim = std::max(maxDim, depth); in ValidateES3TexStorageParametersBase()
1093 if (levels > gl::log2(maxDim) + 1) in ValidateES3TexStorageParametersBase()
DTexture.cpp153 const int maxDim = std::max(std::max(baseImageDesc.size.width, baseImageDesc.size.height), in getMipmapMaxLevel() local
155 expectedMipLevels = static_cast<GLuint>(log2(maxDim)); in getMipmapMaxLevel()
/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.cpp1209 …deUint32 maxDim = de::max(m_context.getFragmentShadingRateProperties().maxFragmentSize.width, m_co… in iterate() local
1210 derivNumLevels = 1 + deCtz32(maxDim); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
DvktFragmentShadingRateBasic.cpp1209 …deUint32 maxDim = de::max(m_context.getFragmentShadingRateProperties().maxFragmentSize.width, m_co… in iterate() local
1210 derivNumLevels = 1 + deCtz32(maxDim); in iterate()