/third_party/skia/src/core/ |
D | SkMipmap.h | 44 static int ComputeLevelCount(int baseWidth, int baseHeight); 45 static int ComputeLevelCount(SkISize s) { return ComputeLevelCount(s.width(), s.height()); } in ComputeLevelCount() function
|
D | SkMipmap.cpp | 556 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build() 659 int SkMipmap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() function in SkMipmap 698 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
|
D | SkCompressedDataUtils.cpp | 255 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in SkCompressedDataSize()
|
/third_party/skia/tests/ |
D | MipMapTest.cpp | 29 REPORTER_ASSERT(reporter, mm->countLevels() == SkMipmap::ComputeLevelCount(width, height)); in DEF_TEST() 68 REPORTER_ASSERT(reporter, mipLevelCount == SkMipmap::ComputeLevelCount(width, height)); in test_mipmap_generation() 154 int levelCount = SkMipmap::ComputeLevelCount(currentTest.fWidth, currentTest.fHeight); in DEF_TEST()
|
D | CompressedBackendAllocationTest.cpp | 83 numMipLevels = SkMipmap::ComputeLevelCount(32, 32)+1; in check_compressed_mipmaps() 192 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in make_compressed_data()
|
/third_party/skia/gm/ |
D | compressed_textures.cpp | 111 int numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in make_compressed_image() 269 int numMipLevels = SkMipmap::ComputeLevelCount(levelDimensions.width(), in drawCell()
|
D | exoticformats.cpp | 121 int numRequiredMipLevels = SkMipmap::ComputeLevelCount(pixelWidth, pixelHeight)+1; in load_ktx() 262 int numRequiredLevels = SkMipmap::ComputeLevelCount(header.dwWidth, header.dwHeight)+1; in load_dds()
|
/third_party/skia/src/gpu/ |
D | GrTexture.cpp | 52 fMaxMipmapLevel = SkMipmap::ComputeLevelCount(this->width(), this->height()); in GrTexture()
|
D | GrProxyProvider.cpp | 317 0 == SkMipmap::ComputeLevelCount(copyBitmap.width(), copyBitmap.height())) { in createProxyFromBitmap() 460 int mipCount = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createProxy()
|
D | GrResourceProvider.cpp | 62 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createTexture()
|
D | GrDataUtils.cpp | 382 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in GrFillInCompressedData()
|
D | GrDirectContext.cpp | 791 numExpectedLevels = SkMipmap::ComputeLevelCount(backendTexture.width(), in updateBackendTexture()
|
D | SurfaceContext.cpp | 302 if (numLevels != SkMipmap::ComputeLevelCount(dims) + 1) { in writePixels()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 360 mipLevelCount = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in onCreateCompressedTexture() 1123 SkASSERT((int)levelCount == SkMipmap::ComputeLevelCount(tex->width(), tex->height()) + 1); in onRegenerateMipMapLevels() 1294 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in createTextureResourceForBackendSurface() 1418 mipLevelCount = SkMipmap::ComputeLevelCount(backendTexture.dimensions()) + 1; in onClearBackendTexture() 1521 mipLevelCount = SkMipmap::ComputeLevelCount(backendTexture.dimensions().width(), in onUpdateCompressedBackendTexture()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 810 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in fill_in_compressed_regions() 1114 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height())+1; in onCreateCompressedTexture() 1425 uint32_t levelCount = SkMipmap::ComputeLevelCount(tex->width(), tex->height()) + 1; in onRegenerateMipMapLevels() 1571 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in createVkImageForBackendSurface()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 330 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in onCreateBackendTexture() 677 uint32_t levelCount = SkMipmap::ComputeLevelCount(tex->width(), tex->height()) + 1; in onRegenerateMipMapLevels()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 1008 int numLevels = SkMipmap::ComputeLevelCount(texDims) + 1; in uploadColorToTex() 1044 SkASSERT(mipLevelCount > 0 && mipLevelCount <= SkMipmap::ComputeLevelCount(texDims) + 1); in uploadTexData() 1101 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height())+1; in uploadCompressedTexData() 1569 SkMipmap::ComputeLevelCount(backendTexture.width(), backendTexture.height()) + 1; in onUpdateCompressedBackendTexture() 3481 int levelCount = SkMipmap::ComputeLevelCount(width, height) + 1; in onRegenerateMipMapLevels() 3626 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in onCreateBackendTexture() 3682 SkMipmap::ComputeLevelCount(backendTexture.width(), backendTexture.height()) + 1; in onClearBackendTexture()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 608 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1;
|