Searched refs:ComputeLevelCount (Results 1 – 8 of 8) sorted by relevance
/external/skia/tests/ |
D | MipMapTest.cpp | 28 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/ |
D | SkMipMap.h | 45 static int ComputeLevelCount(int baseWidth, int baseHeight);
|
D | SkMipMap.cpp | 480 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/ |
D | GrTexture.cpp | 81 fMaxMipMapLevel = SkMipMap::ComputeLevelCount(fDesc.fWidth, fDesc.fHeight); in GrTexture()
|
/external/skia/gm/ |
D | deferredtextureimage.cpp | 88 int mipLevelCount = SkMipMap::ComputeLevelCount(image->width(), image->height()); in DrawDeferredTextureImageMipMapTree()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 660 mipMapLevelCount = SkMipMap::ComputeLevelCount(scaledSize.width(), scaledSize.height()) + 1; in getDeferredTextureImageData()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 858 uint32_t levelCount = SkMipMap::ComputeLevelCount(tex->width(), tex->height()) + 1; in generateMipmap()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 3234 texture->texturePriv().setMaxMipMapLevel(SkMipMap::ComputeLevelCount( in generateMipmaps() 4165 int levelCount = SkMipMap::ComputeLevelCount(width, height) + 1; in generateMipmap()
|