Home
last modified time | relevance | path

Searched refs:baseHeight (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/src/core/
DSkMipMap.h38 static int ComputeLevelCount(int baseWidth, int baseHeight);
43 static SkISize ComputeLevelSize(int baseWidth, int baseHeight, int level);
DSkMipMap.cpp493 int SkMipMap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() argument
494 if (baseWidth < 1 || baseHeight < 1) { in ComputeLevelCount()
503 const int largestAxis = SkTMax(baseWidth, baseHeight); in ComputeLevelCount()
527 SkISize SkMipMap::ComputeLevelSize(int baseWidth, int baseHeight, int level) { in ComputeLevelSize() argument
528 if (baseWidth < 1 || baseHeight < 1) { in ComputeLevelSize()
532 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
545 int height = SkTMax(1, baseHeight >> (level + 1)); in ComputeLevelSize()
/third_party/skia/src/core/
DSkMipmap.h44 static int ComputeLevelCount(int baseWidth, int baseHeight);
50 static SkISize ComputeLevelSize(int baseWidth, int baseHeight, int level);
DSkMipmap.cpp659 int SkMipmap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() argument
660 if (baseWidth < 1 || baseHeight < 1) { in ComputeLevelCount()
669 const int largestAxis = std::max(baseWidth, baseHeight); in ComputeLevelCount()
693 SkISize SkMipmap::ComputeLevelSize(int baseWidth, int baseHeight, int level) { in ComputeLevelSize() argument
694 if (baseWidth < 1 || baseHeight < 1) { in ComputeLevelSize()
698 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
711 int height = std::max(1, baseHeight >> (level + 1)); in ComputeLevelSize()
/third_party/flutter/skia/src/gpu/
DGrDataUtils.cpp308 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, int baseWidth, int baseHeight, in GrComputeTightCombinedBufferSize() argument
315 size_t combinedBufferSize = baseWidth * bytesPerPixel * baseHeight; in GrComputeTightCombinedBufferSize()
317 int currentHeight = baseHeight; in GrComputeTightCombinedBufferSize()
344 void GrFillInData(GrPixelConfig config, int baseWidth, int baseHeight, in GrFillInData() argument
352 int currentHeight = baseHeight; in GrFillInData()
362 void GrFillInCompressedData(SkImage::CompressionType type, int baseWidth, int baseHeight, in GrFillInCompressedData() argument
366 int currentHeight = baseHeight; in GrFillInCompressedData()
DGrDataUtils.h21 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, int baseWidth, int baseHeight,
24 void GrFillInData(GrPixelConfig, int baseWidth, int baseHeight,
DGrContextPriv.cpp358 int baseHeight = srcData[0].height(); in createBackendTexture() local
362 if (numLevels != SkMipMap::ComputeLevelCount(baseWidth, baseHeight) + 1) { in createBackendTexture()
367 int currentHeight = baseHeight; in createBackendTexture()
390 return gpu->createBackendTexture(baseWidth, baseHeight, backendFormat, in createBackendTexture()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h344 uint32_t baseHeight,
356 uint32_t mipHeight = baseHeight;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp2077 int baseHeight = getBaseLevelHeight(); in isCubeComplete() local
2080 if (baseWidth <= 0 || baseWidth != baseHeight) in isCubeComplete()
2089 if (faceBaseImage.getWidth() != baseWidth || faceBaseImage.getHeight() != baseHeight || in isCubeComplete()
3536 int baseHeight = getLevelZeroHeight(); in initMipmapImages() local
3544 ASSERT((baseWidth >> level) > 0 || (baseHeight >> level) > 0); in initMipmapImages()
3546 std::max(baseHeight >> level, 1), baseDepth); in initMipmapImages()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1989 int baseHeight = getBaseLevelHeight(); in isCubeComplete() local
1992 if (baseWidth <= 0 || baseWidth != baseHeight) in isCubeComplete()
2001 if (faceBaseImage.getWidth() != baseWidth || faceBaseImage.getHeight() != baseHeight || in isCubeComplete()
3441 int baseHeight = getLevelZeroHeight(); in initMipmapImages() local
3449 ASSERT((baseWidth >> level) > 0 || (baseHeight >> level) > 0); in initMipmapImages()
3451 std::max(baseHeight >> level, 1), baseDepth); in initMipmapImages()
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpu.cpp964 int baseHeight, in allocate_and_populate_texture() argument
973 baseWidth, baseHeight)); in allocate_and_populate_texture()
988 const int currentHeight = SkTMax(1, baseHeight / twoToTheMipLevel); in allocate_and_populate_texture()
1024 baseHeight, in allocate_and_populate_texture()
1036 const int currentHeight = SkTMax(1, baseHeight / twoToTheMipLevel); in allocate_and_populate_texture()
/third_party/python/Lib/tkinter/
D__init__.py2078 baseWidth=None, baseHeight=None, argument
2086 baseWidth, baseHeight, widthInc, heightInc))