Home
last modified time | relevance | path

Searched refs:baseWidth (Results 1 – 14 of 14) 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()
544 int width = SkTMax(1, baseWidth >> (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()
710 int width = std::max(1, baseWidth >> (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()
316 int currentWidth = baseWidth; in GrComputeTightCombinedBufferSize()
344 void GrFillInData(GrPixelConfig config, int baseWidth, int baseHeight, in GrFillInData() argument
351 int currentWidth = baseWidth; in GrFillInData()
362 void GrFillInCompressedData(SkImage::CompressionType type, int baseWidth, int baseHeight, in GrFillInCompressedData() argument
365 int currentWidth = baseWidth; in GrFillInCompressedData()
DGrDataUtils.h21 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, int baseWidth, int baseHeight,
24 void GrFillInData(GrPixelConfig, int baseWidth, int baseHeight,
DGrContextPriv.cpp357 int baseWidth = srcData[0].width(); in createBackendTexture() local
362 if (numLevels != SkMipMap::ComputeLevelCount(baseWidth, baseHeight) + 1) { in createBackendTexture()
366 int currentWidth = baseWidth; in createBackendTexture()
390 return gpu->createBackendTexture(baseWidth, baseHeight, backendFormat, in createBackendTexture()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h264 uint32_t baseWidth,
275 uint32_t curWidth = baseWidth;
305 uint32_t baseWidth,
316 uint32_t curWidth = baseWidth;
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCFillGeometry.cpp748 float baseWidth = baseAbs[0] + baseAbs[1]; in appendMonotonicConic() local
756 if (ht <= (baseWidth*hs) * kFlatnessThreshold) { in appendMonotonicConic()
763 if (w > 1 && h1*hs - ht < baseWidth*hs) { in appendMonotonicConic()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1988 int baseWidth = getBaseLevelWidth(); in isCubeComplete() local
1992 if (baseWidth <= 0 || baseWidth != baseHeight) in isCubeComplete()
2001 if (faceBaseImage.getWidth() != baseWidth || faceBaseImage.getHeight() != baseHeight || in isCubeComplete()
3440 int baseWidth = getLevelZeroWidth(); in initMipmapImages() local
3449 ASSERT((baseWidth >> level) > 0 || (baseHeight >> level) > 0); in initMipmapImages()
3450 gl::Extents levelLayerSize(std::max(baseWidth >> level, 1), in initMipmapImages()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp2076 int baseWidth = getBaseLevelWidth(); in isCubeComplete() local
2080 if (baseWidth <= 0 || baseWidth != baseHeight) in isCubeComplete()
2089 if (faceBaseImage.getWidth() != baseWidth || faceBaseImage.getHeight() != baseHeight || in isCubeComplete()
3535 int baseWidth = getLevelZeroWidth(); in initMipmapImages() local
3544 ASSERT((baseWidth >> level) > 0 || (baseHeight >> level) > 0); in initMipmapImages()
3545 gl::Extents levelLayerSize(std::max(baseWidth >> level, 1), in initMipmapImages()
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpu.cpp963 int baseWidth, in allocate_and_populate_texture() argument
973 baseWidth, baseHeight)); in allocate_and_populate_texture()
987 const int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture()
1023 baseWidth, in allocate_and_populate_texture()
1035 const int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dfetch_jit.cpp150 uint32_t baseWidth = mVWidth; in Create() local
316 SetTargetWidth(baseWidth); in Create()
/third_party/python/Lib/tkinter/
D__init__.py2078 baseWidth=None, baseHeight=None, argument
2086 baseWidth, baseHeight, widthInc, heightInc))