Home
last modified time | relevance | path

Searched refs:baseWidth (Results 1 – 11 of 11) sorted by relevance

/external/skqp/src/core/
DSkMipMap.h38 static int ComputeLevelCount(int baseWidth, int baseHeight);
43 static SkISize ComputeLevelSize(int baseWidth, int baseHeight, int level);
DSkMipMap.cpp492 int SkMipMap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() argument
493 if (baseWidth < 1 || baseHeight < 1) { in ComputeLevelCount()
502 const int largestAxis = SkTMax(baseWidth, baseHeight); in ComputeLevelCount()
526 SkISize SkMipMap::ComputeLevelSize(int baseWidth, int baseHeight, int level) { in ComputeLevelSize() argument
527 if (baseWidth < 1 || baseHeight < 1) { in ComputeLevelSize()
531 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
543 int width = SkTMax(1, baseWidth >> (level + 1)); in ComputeLevelSize()
/external/skia/src/core/
DSkMipmap.h44 static int ComputeLevelCount(int baseWidth, int baseHeight);
50 static SkISize ComputeLevelSize(int baseWidth, int baseHeight, int level);
DSkMipmap.cpp656 int SkMipmap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() argument
657 if (baseWidth < 1 || baseHeight < 1) { in ComputeLevelCount()
666 const int largestAxis = std::max(baseWidth, baseHeight); in ComputeLevelCount()
690 SkISize SkMipmap::ComputeLevelSize(int baseWidth, int baseHeight, int level) { in ComputeLevelSize() argument
691 if (baseWidth < 1 || baseHeight < 1) { in ComputeLevelSize()
695 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
707 int width = std::max(1, baseWidth >> (level + 1)); in ComputeLevelSize()
/external/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;
/external/skqp/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()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp951 int baseWidth, int baseHeight) { in allocate_and_populate_texture() argument
966 baseWidth, baseHeight)); in allocate_and_populate_texture()
977 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture()
998 baseWidth, in allocate_and_populate_texture()
1010 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture()
1052 int baseWidth, int baseHeight) { in allocate_and_populate_compressed_texture() argument
1070 baseWidth, baseHeight)); in allocate_and_populate_compressed_texture()
1083 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture()
1109 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture()
1114 size_t dataSize = GrCompressedFormatDataSize(config, baseWidth, baseHeight); in allocate_and_populate_compressed_texture()
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp2071 int baseWidth = getBaseLevelWidth(); in isCubeComplete() local
2075 if (baseWidth <= 0 || baseWidth != baseHeight) in isCubeComplete()
2084 if (faceBaseImage.getWidth() != baseWidth || faceBaseImage.getHeight() != baseHeight || in isCubeComplete()
3530 int baseWidth = getLevelZeroWidth(); in initMipmapImages() local
3539 ASSERT((baseWidth >> level) > 0 || (baseHeight >> level) > 0); in initMipmapImages()
3540 gl::Extents levelLayerSize(std::max(baseWidth >> level, 1), in initMipmapImages()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dfetch_jit.cpp150 uint32_t baseWidth = mVWidth; in Create() local
316 SetTargetWidth(baseWidth); in Create()
/external/python/cpython2/Lib/lib-tk/
DTkinter.py1677 baseWidth=None, baseHeight=None, argument
1685 baseWidth, baseHeight, widthInc, heightInc))
/external/python/cpython3/Lib/tkinter/
D__init__.py2041 baseWidth=None, baseHeight=None, argument
2049 baseWidth, baseHeight, widthInc, heightInc))