Searched defs:mipCount (Results 1 - 3 of 3) sorted by relevance

/external/skia/src/gpu/
H A DGrSurfaceProxy.cpp136 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; local
137 // We should have caught the case where mipCount == 1 when making the proxy and instead
139 SkASSERT(mipCount > 1);
140 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipCount]);
143 for (int i = 0; i < mipCount; i++) {
148 surface = resourceProvider->createTexture(desc, fBudgeted, texels.get(), mipCount,
H A DGrProxyProvider.cpp375 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; local
376 if (1 == mipCount) {
/external/skqp/src/gpu/
H A DGrProxyProvider.cpp296 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; local
298 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipCount]);
301 for (int i = 0; i < mipCount; i++) {
306 return this->createMipMapProxy(desc, budgeted, texels.get(), mipCount,

Completed in 412 milliseconds