/third_party/skia/fuzz/ |
D | FuzzPathMeasure.cpp | 24 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/ |
D | FuzzPathMeasure.cpp | 24 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/ |
D | SmallPathRenderer.cpp | 242 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/ |
D | SkImage_GpuYUVA.cpp | 266 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()
|
D | SkImage_Gpu.cpp | 488 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/ |
D | SkImage_GpuYUVA.cpp | 278 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()
|
D | SkImage_Gpu.cpp | 645 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/ |
D | GrSmallPathRenderer.cpp | 211 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/ |
D | validationES3.cpp | 1087 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()
|
D | Texture.cpp | 153 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/ |
D | validationES3.cpp | 1322 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()
|
D | Texture.cpp | 197 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/ |
D | vktFragmentShadingRateBasic.cpp | 1209 …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/ |
D | vktFragmentShadingRateBasic.cpp | 1209 …deUint32 maxDim = de::max(m_context.getFragmentShadingRateProperties().maxFragmentSize.width, m_co… in iterate() local 1210 derivNumLevels = 1 + deCtz32(maxDim); in iterate()
|