/external/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 | 553 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build() 656 int SkMipmap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() function in SkMipmap 695 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
|
D | SkCompressedDataUtils.cpp | 252 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in SkCompressedDataSize()
|
/external/skqp/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/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()
|
/external/skqp/src/core/ |
D | SkMipMap.h | 38 static int ComputeLevelCount(int baseWidth, int baseHeight);
|
D | SkMipMap.cpp | 391 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build() 492 int SkMipMap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() function in SkMipMap 531 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
|
/external/skqp/src/gpu/ |
D | GrTextureProducer.cpp | 236 int mipCount = SkMipMap::ComputeLevelCount(this->width(), this->height()); in refTextureProxyForParams() 260 int mipCount = SkMipMap::ComputeLevelCount(this->width(), this->height()); in refTextureProxy()
|
D | GrTexture.cpp | 45 fMaxMipMapLevel = SkMipMap::ComputeLevelCount(this->width(), this->height()); in GrTexture()
|
D | GrProxyProvider.cpp | 305 if (0 == SkMipMap::ComputeLevelCount(baseLevel->width(), baseLevel->height())) { in createMipMapProxyFromBitmap() 388 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createProxy()
|
D | GrSurfaceProxy.cpp | 159 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createSurfaceImpl()
|
/external/skia/gm/ |
D | compressed_textures.cpp | 113 int numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in make_compressed_image() 271 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()
|
/external/skqp/tools/fiddle/ |
D | fiddle_main.cpp | 153 ? SkMipMap::ComputeLevelCount(bm.width(), bm.height()) in setup_backend_objects() 208 ? SkMipMap::ComputeLevelCount(backingDesc.fWidth, backingDesc.fHeight) in setup_backend_objects()
|
/external/skia/src/gpu/ |
D | GrTexture.cpp | 51 fMaxMipmapLevel = SkMipmap::ComputeLevelCount(this->width(), this->height()); in GrTexture()
|
D | GrProxyProvider.cpp | 290 0 == SkMipmap::ComputeLevelCount(copyBitmap.width(), copyBitmap.height())) { in createProxyFromBitmap() 417 int mipCount = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createProxy()
|
D | GrResourceProvider.cpp | 60 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createTexture()
|
D | GrDataUtils.cpp | 322 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in GrFillInCompressedData()
|
D | GrDirectContext.cpp | 712 numExpectedLevels = SkMipmap::ComputeLevelCount(backendTexture.width(), in updateBackendTexture()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 359 mipLevelCount = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in onCreateCompressedTexture() 934 SkASSERT((int)levelCount == SkMipmap::ComputeLevelCount(tex->width(), tex->height()) + 1); in onRegenerateMipMapLevels() 1092 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in createTextureResourceForBackendSurface() 1216 mipLevelCount = SkMipmap::ComputeLevelCount(backendTexture.dimensions()) + 1; in onClearBackendTexture() 1319 mipLevelCount = SkMipmap::ComputeLevelCount(backendTexture.dimensions().width(), in onUpdateCompressedBackendTexture()
|
/external/skqp/src/image/ |
D | SkImage_GpuYUVA.cpp | 84 int mipCount = SkMipMap::ComputeLevelCount(fProxies[i]->width(), fProxies[i]->height()); in setupMipmapsForPlanes()
|
/external/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 324 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in onCreateBackendTexture() 668 uint32_t levelCount = SkMipmap::ComputeLevelCount(tex->width(), tex->height()) + 1; in onRegenerateMipMapLevels()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 988 int numLevels = SkMipmap::ComputeLevelCount(texDims) + 1; in uploadColorToTex() 1024 SkASSERT(mipLevelCount > 0 && mipLevelCount <= SkMipmap::ComputeLevelCount(texDims) + 1); in uploadTexData() 1081 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height())+1; in uploadCompressedTexData() 1507 SkMipmap::ComputeLevelCount(backendTexture.width(), backendTexture.height()) + 1; in onUpdateCompressedBackendTexture() 3449 int levelCount = SkMipmap::ComputeLevelCount(width, height) + 1; in onRegenerateMipMapLevels() 3595 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in onCreateBackendTexture() 3651 SkMipmap::ComputeLevelCount(backendTexture.width(), backendTexture.height()) + 1; in onClearBackendTexture()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 797 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in fill_in_compressed_regions() 1107 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height())+1; in onCreateCompressedTexture() 1404 uint32_t levelCount = SkMipmap::ComputeLevelCount(tex->width(), tex->height()) + 1; in onRegenerateMipMapLevels() 1549 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in createVkImageForBackendSurface()
|