Home
last modified time | relevance | path

Searched refs:ComputeLevelCount (Results 1 – 22 of 22) 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/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/src/core/
DSkMipMap.h38 static int ComputeLevelCount(int baseWidth, int baseHeight);
DSkMipMap.cpp392 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build()
493 int SkMipMap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount() function in SkMipMap
532 int maxLevelCount = ComputeLevelCount(baseWidth, baseHeight); in ComputeLevelSize()
/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/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/
DGrTextureProducer.cpp269 int mipCount = SkMipMap::ComputeLevelCount(this->width(), this->height()); in refTextureProxyForParams()
293 int mipCount = SkMipMap::ComputeLevelCount(this->width(), this->height()); in refTextureProxy()
DGrTexture.cpp45 fMaxMipMapLevel = SkMipMap::ComputeLevelCount(this->width(), this->height()); in GrTexture()
DGrProxyProvider.cpp321 if (0 == SkMipMap::ComputeLevelCount(baseLevel->width(), baseLevel->height())) { in createMipMapProxyFromBitmap()
403 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createProxy()
DGrSurfaceProxy.cpp156 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createSurfaceImpl()
/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/skqp/src/image/
DSkImage_GpuYUVA.cpp84 int mipCount = SkMipMap::ComputeLevelCount(fProxies[i]->width(), fProxies[i]->height()); in setupMipmapsForPlanes()
/external/skia/src/image/
DSkImage_GpuYUVA.cpp90 int mipCount = SkMipMap::ComputeLevelCount(fProxies[i]->width(), fProxies[i]->height()); in setupMipmapsForPlanes()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1214 uint32_t levelCount = SkMipMap::ComputeLevelCount(tex->width(), tex->height()) + 1; in onRegenerateMipMapLevels()
1376 mipLevels = SkMipMap::ComputeLevelCount(w, h) + 1; in createTestingOnlyVkImage()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp1226 uint32_t levelCount = SkMipMap::ComputeLevelCount(tex->width(), tex->height()) + 1; in onRegenerateMipMapLevels()
1388 mipLevels = SkMipMap::ComputeLevelCount(w, h) + 1; in createTestingOnlyVkImage()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp3821 int levelCount = SkMipMap::ComputeLevelCount(width, height) + 1; in onRegenerateMipMapLevels()
4040 mipLevels = SkMipMap::ComputeLevelCount(w, h) + 1; in createTestingOnlyBackendTexture()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp3795 int levelCount = SkMipMap::ComputeLevelCount(width, height) + 1; in onRegenerateMipMapLevels()
3999 mipLevels = SkMipMap::ComputeLevelCount(w, h) + 1; in createTestingOnlyBackendTexture()