Searched refs:maxDim (Results 1 – 7 of 7) sorted by relevance
/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/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/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 | 648 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/ |
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 | 997 …deUint32 maxDim = de::max(m_context.getFragmentShadingRateProperties().maxFragmentSize.width, m_co… in iterate() local 998 derivNumLevels = 1 + deCtz32(maxDim); in iterate()
|