Home
last modified time | relevance | path

Searched refs:mipCount (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/gpu/
DGrTextureProducer.cpp236 int mipCount = SkMipMap::ComputeLevelCount(this->width(), this->height()); in refTextureProxyForParams() local
237 bool willBeMipped = GrSamplerState::Filter::kMipMap == sampler.filter() && mipCount && in refTextureProxyForParams()
260 int mipCount = SkMipMap::ComputeLevelCount(this->width(), this->height()); in refTextureProxy() local
261 bool willBeMipped = GrSamplerState::Filter::kMipMap == sampler.filter() && mipCount && in refTextureProxy()
DGrSurfaceProxy.cpp159 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createSurfaceImpl() local
162 SkASSERT(mipCount > 1); in createSurfaceImpl()
163 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipCount]); in createSurfaceImpl()
166 for (int i = 0; i < mipCount; i++) { in createSurfaceImpl()
171 surface = resourceProvider->createTexture(desc, fBudgeted, texels.get(), mipCount); in createSurfaceImpl()
DGrProxyProvider.cpp388 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createProxy() local
389 if (1 == mipCount) { in createProxy()
/external/skqp/src/image/
DSkImage_GpuYUVA.cpp84 int mipCount = SkMipMap::ComputeLevelCount(fProxies[i]->width(), fProxies[i]->height()); in setupMipmapsForPlanes() local
85 if (mipCount && GrGpu::IsACopyNeededForMips(fContext->contextPriv().caps(), in setupMipmapsForPlanes()
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp168 const deUint32 mipCount = computeMipMapCount(extent) - 1; in computeImageSize() local
188 } while (++mipIdx < mipCount); in computeImageSize()
DvktDescriptorSetsIndexingTests.cpp3735 const deUint32 mipCount = ut::computeMipMapCount(imageExtent); in createAndPopulateDescriptors() local
3736 DE_ASSERT(mipCount >= 2); in createAndPopulateDescriptors()
3737 for (deUint32 mipIdx = 0; mipIdx < mipCount; ++mipIdx) in createAndPopulateDescriptors()
3743 …eExtent, m_colorFormat, variables.descriptorsBufferInfos, variables.descriptorsBuffer, mipCount-1); in createAndPopulateDescriptors()
3847 const deUint32 mipCount = ut::computeMipMapCount(imageExtent); in createAndPopulateDescriptors() local
3848 DE_ASSERT(mipCount >= 2); in createAndPopulateDescriptors()
3849 for (deUint32 mipIdx = 0; mipIdx < mipCount; ++mipIdx) in createAndPopulateDescriptors()
3855 …eExtent, m_colorFormat, variables.descriptorsBufferInfos, variables.descriptorsBuffer, mipCount-1); in createAndPopulateDescriptors()
/external/skia/src/gpu/
DGrProxyProvider.cpp417 int mipCount = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createProxy() local
418 if (1 == mipCount) { in createProxy()