Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkMipmap.h44 static int ComputeLevelCount(int baseWidth, int baseHeight);
45 static int ComputeLevelCount(SkISize s) { return ComputeLevelCount(s.width(), s.height()); } in ComputeLevelCount() function
DSkMipmap.cpp553 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()
DSkCompressedDataUtils.cpp252 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in SkCompressedDataSize()
/external/skqp/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/tests/
DMipMapTest.cpp29 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()
DCompressedBackendAllocationTest.cpp83 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/
DSkMipMap.h38 static int ComputeLevelCount(int baseWidth, int baseHeight);
DSkMipMap.cpp391 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/
DGrTextureProducer.cpp236 int mipCount = SkMipMap::ComputeLevelCount(this->width(), this->height()); in refTextureProxyForParams()
260 int mipCount = SkMipMap::ComputeLevelCount(this->width(), this->height()); in refTextureProxy()
DGrTexture.cpp45 fMaxMipMapLevel = SkMipMap::ComputeLevelCount(this->width(), this->height()); in GrTexture()
DGrProxyProvider.cpp305 if (0 == SkMipMap::ComputeLevelCount(baseLevel->width(), baseLevel->height())) { in createMipMapProxyFromBitmap()
388 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createProxy()
DGrSurfaceProxy.cpp159 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createSurfaceImpl()
/external/skia/gm/
Dcompressed_textures.cpp113 int numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in make_compressed_image()
271 int numMipLevels = SkMipmap::ComputeLevelCount(levelDimensions.width(), in drawCell()
Dexoticformats.cpp121 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/
Dfiddle_main.cpp153 ? 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/
DGrTexture.cpp51 fMaxMipmapLevel = SkMipmap::ComputeLevelCount(this->width(), this->height()); in GrTexture()
DGrProxyProvider.cpp290 0 == SkMipmap::ComputeLevelCount(copyBitmap.width(), copyBitmap.height())) { in createProxyFromBitmap()
417 int mipCount = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createProxy()
DGrResourceProvider.cpp60 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createTexture()
DGrDataUtils.cpp322 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in GrFillInCompressedData()
DGrDirectContext.cpp712 numExpectedLevels = SkMipmap::ComputeLevelCount(backendTexture.width(), in updateBackendTexture()
/external/skia/src/gpu/d3d/
DGrD3DGpu.cpp359 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/
DSkImage_GpuYUVA.cpp84 int mipCount = SkMipMap::ComputeLevelCount(fProxies[i]->width(), fProxies[i]->height()); in setupMipmapsForPlanes()
/external/skia/src/gpu/dawn/
DGrDawnGpu.cpp324 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/
DGrGLGpu.cpp988 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/
DGrVkGpu.cpp797 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()

12