Home
last modified time | relevance | path

Searched refs:ComputeLevelCount (Results 1 – 8 of 8) sorted by relevance

/external/skia/tests/
DMipMapTest.cpp28 REPORTER_ASSERT(reporter, mm->countLevels() == SkMipMap::ComputeLevelCount(width, height)); in DEF_TEST()
67 REPORTER_ASSERT(reporter, mipLevelCount == SkMipMap::ComputeLevelCount(width, height)); in test_mipmap_generation()
153 int levelCount = SkMipMap::ComputeLevelCount(currentTest.fWidth, currentTest.fHeight); in DEF_TEST()
/external/skia/src/core/
DSkMipMap.h45 static int ComputeLevelCount(int baseWidth, int baseHeight);
DSkMipMap.cpp480 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build()
577 int SkMipMap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() function in SkMipMap
616 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
/external/skia/src/gpu/
DGrTexture.cpp81 fMaxMipMapLevel = SkMipMap::ComputeLevelCount(fDesc.fWidth, fDesc.fHeight); in GrTexture()
/external/skia/gm/
Ddeferredtextureimage.cpp88 int mipLevelCount = SkMipMap::ComputeLevelCount(image->width(), image->height()); in DrawDeferredTextureImageMipMapTree()
/external/skia/src/image/
DSkImage_Gpu.cpp660 mipMapLevelCount = SkMipMap::ComputeLevelCount(scaledSize.width(), scaledSize.height()) + 1; in getDeferredTextureImageData()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp858 uint32_t levelCount = SkMipMap::ComputeLevelCount(tex->width(), tex->height()) + 1; in generateMipmap()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp3234 texture->texturePriv().setMaxMipMapLevel(SkMipMap::ComputeLevelCount( in generateMipmaps()
4165 int levelCount = SkMipMap::ComputeLevelCount(width, height) + 1; in generateMipmap()