Searched refs:maxDim (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 25 int maxDim = 1 << log2MaxDim; in GrRestrictedAtlasManager() local 28 if (maxDim * minDim * 4 >= maxTextureBytes) break; in GrRestrictedAtlasManager() 32 int maxDim = 1 << log2MaxDim; in GrRestrictedAtlasManager() local 40 fAtlasConfigs[kA8_GrMaskFormat].fWidth = maxDim; in GrRestrictedAtlasManager() 41 fAtlasConfigs[kA8_GrMaskFormat].fHeight = maxDim; in GrRestrictedAtlasManager() 47 fAtlasConfigs[kA565_GrMaskFormat].fHeight = maxDim; in GrRestrictedAtlasManager() 52 fAtlasConfigs[kARGB_GrMaskFormat].fHeight = maxDim; in GrRestrictedAtlasManager()
|
D | GrAtlasTextContext.cpp | 854 SkScalar maxDim = SkTMax(glyph.fWidth, glyph.fHeight)*fTextRatio; in appendText() local 856 SkScalar scaledGlyphSize = maxDim * fMaxScale; in appendText() 868 SkScalar glyphTextSize = SkTMax(SkScalarFloorToScalar(fMaxTextSize*fTextSize / maxDim), in appendText()
|
/external/skqp/src/gpu/text/ |
D | GrAtlasGlyphCache.cpp | 45 int maxDim = 1 << log2MaxDim; in GrAtlasGlyphCache() local 48 if (maxDim * minDim * 4 >= maxTextureBytes) break; in GrAtlasGlyphCache() 52 int maxDim = 1 << log2MaxDim; in GrAtlasGlyphCache() local 60 fAtlasConfigs[kA8_GrMaskFormat].fWidth = maxDim; in GrAtlasGlyphCache() 61 fAtlasConfigs[kA8_GrMaskFormat].fHeight = maxDim; in GrAtlasGlyphCache() 67 fAtlasConfigs[kA565_GrMaskFormat].fHeight = maxDim; in GrAtlasGlyphCache() 72 fAtlasConfigs[kARGB_GrMaskFormat].fHeight = maxDim; in GrAtlasGlyphCache()
|
D | GrAtlasTextContext.cpp | 726 SkScalar maxDim = SkTMax(glyph.fWidth, glyph.fHeight)*textRatio; in drawDFPosText() local 727 SkScalar scaledGlyphSize = maxDim*maxScale; in drawDFPosText() 735 SkScalar glyphTextSize = SkScalarFloorToScalar(maxTextSize*textSize/maxDim); in drawDFPosText()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 115 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onCanDrawPath() local 117 SkScalar maxSize = maxDim * SkScalarAbs(scaleFactors[1]); in onCanDrawPath() 118 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath() 303 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onPrepareDraws() local 317 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() 345 SkScalar scale = desiredDimension / maxDim; in onPrepareDraws()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 115 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onCanDrawPath() local 117 SkScalar maxSize = maxDim * SkScalarAbs(scaleFactors[1]); in onCanDrawPath() 118 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath() 300 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onPrepareDraws() local 314 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() 342 SkScalar scale = desiredDimension / maxDim; in onPrepareDraws()
|
/external/vulkan-validation-layers/layers/ |
D | parameter_validation_utils.cpp | 852 …uint32_t maxDim = std::max(std::max(pCreateInfo->extent.width, pCreateInfo->extent.height), pCreat… in pv_vkCreateImage() local 853 if (maxDim > 0 && pCreateInfo->mipLevels > (floor(log2(maxDim)) + 1)) { in pv_vkCreateImage()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 19061 …uint32_t maxDim = std::max({image_create_info.extent.width, image_create_info.extent.height, image… in TEST_F() local 19063 if ((imgFmtProps.maxMipLevels + 1) <= (floor(log2(maxDim)) + 1)) { in TEST_F()
|