Home
last modified time | relevance | path

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

/external/skia/fuzz/
DFuzzPathMeasure.cpp24 SkScalar maxDim = std::max(bounds.width(), bounds.height()); in DEF_FUZZ() local
25 SkScalar resScale = maxDim / 1000; in DEF_FUZZ()
/external/skqp/fuzz/
DFuzzPathMeasure.cpp24 SkScalar maxDim = SkTMax(bounds.width(), bounds.height()); in DEF_FUZZ() local
25 SkScalar resScale = maxDim / 1000; in DEF_FUZZ()
/external/skqp/src/image/
DSkImage_GpuYUVA.cpp204 int maxDim = SkTMax(yuvaPixmaps[i].width(), yuvaPixmaps[i].height()); in MakeFromYUVAPixmaps() local
205 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeFromYUVAPixmaps()
206 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp513 int maxDim = SkTMax(originalPixmap.width(), originalPixmap.height()); in MakeCrossContextFromPixmap() local
514 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeCrossContextFromPixmap()
515 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeCrossContextFromPixmap()
/external/skia/src/image/
DSkImage_GpuYUVA.cpp280 int maxDim = std::max(yuvaPixmaps[i].width(), yuvaPixmaps[i].height()); in MakeFromYUVAPixmaps() local
281 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeFromYUVAPixmaps()
282 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp534 int maxDim = std::max(originalPixmap.width(), originalPixmap.height()); in MakeCrossContextFromPixmap() local
535 if (limitToMaxTextureSize && maxDim > maxTextureSize) { in MakeCrossContextFromPixmap()
536 float scale = static_cast<float>(maxTextureSize) / maxDim; in MakeCrossContextFromPixmap()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp207 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onCanDrawPath() local
209 SkScalar maxSize = maxDim * SkScalarAbs(scaleFactors[1]); in onCanDrawPath()
210 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
407 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onPrepareDraws() local
421 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws()
449 SkScalar scale = desiredDimension / maxDim; in onPrepareDraws()
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp204 SkScalar maxDim = std::max(bounds.width(), bounds.height()); in onCanDrawPath() local
206 SkScalar maxSize = maxDim * SkScalarAbs(scaleFactors[1]); in onCanDrawPath()
207 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
405 SkScalar maxDim = std::max(bounds.width(), bounds.height()); in onPrepareDraws() local
419 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws()
447 SkScalar scale = desiredDimension / maxDim; in onPrepareDraws()
/external/oss-fuzz/projects/skia/
Dskia.diff8 SkScalar maxDim = SkTMax(bounds.width(), bounds.height());
9 + if (maxDim > 10000000) {
12 SkScalar resScale = maxDim / 1000;
/external/OpenCL-CTS/test_common/harness/
DkernelHelpers.cpp1070 cl_uint maxDim; in get_max_allowed_1d_work_group_size_on_device() local
1078 …error = clGetDeviceInfo( device, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, sizeof( cl_uint ), &maxDim, N… in get_max_allowed_1d_work_group_size_on_device()
1080 maxWgSizePerDim = (size_t*)malloc( maxDim * sizeof( size_t ) ); in get_max_allowed_1d_work_group_size_on_device()
1087 …error = clGetDeviceInfo( device, CL_DEVICE_MAX_WORK_ITEM_SIZES, maxDim * sizeof( size_t ), maxWgSi… in get_max_allowed_1d_work_group_size_on_device()
/external/angle/src/libANGLE/
DvalidationES3.cpp1130 GLsizei maxDim = std::max(width, height); in ValidateES3TexStorageParametersBase() local
1133 maxDim = std::max(maxDim, depth); in ValidateES3TexStorageParametersBase()
1136 if (levels > log2(maxDim) + 1) in ValidateES3TexStorageParametersBase()
DTexture.cpp152 const int maxDim = std::max(std::max(baseImageDesc.size.width, baseImageDesc.size.height), in getMipmapMaxLevel() local
154 expectedMipLevels = static_cast<GLuint>(log2(maxDim)); in getMipmapMaxLevel()
/external/vulkan-validation-layers/layers/
Dparameter_validation_utils.cpp483 …uint32_t maxDim = std::max(std::max(pCreateInfo->extent.width, pCreateInfo->extent.height), pCreat… in manual_PreCallValidateCreateImage() local
485 …els = (pCreateInfo->flags & VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV) ? (uint32_t)(ceil(log2(maxDim))) in manual_PreCallValidateCreateImage()
486 … : (uint32_t)(floor(log2(maxDim)) + 1); in manual_PreCallValidateCreateImage()
487 if (maxDim > 0 && pCreateInfo->mipLevels > maxMipLevels) { in manual_PreCallValidateCreateImage()