Lines Matching refs:mipLevelCount

260                                                int mipLevelCount,
270 SkASSERT(mipLevelCount > 0);
279 resourceDesc.MipLevels = mipLevelCount;
302 int mipLevelCount,
308 GrMipmapStatus mipmapStatus = mipLevelCount > 1 ? GrMipmapStatus::kDirty
313 mipLevelCount, mipmapStatus);
358 int mipLevelCount = 1;
360 mipLevelCount = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1;
362 GrMipmapStatus mipmapStatus = mipLevelCount > 1 ? GrMipmapStatus::kValid
367 mipLevelCount, mipmapStatus);
376 SkASSERT(1 == mipLevelCount || mipLevelCount == (int)desc.MipLevels);
378 SkAutoTMalloc<D3D12_PLACED_SUBRESOURCE_FOOTPRINT> placedFootprints(mipLevelCount);
379 SkAutoTMalloc<UINT> numRows(mipLevelCount);
380 SkAutoTMalloc<UINT64> rowSizeInBytes(mipLevelCount);
386 fDevice->GetCopyableFootprints(&desc, 0, mipLevelCount, 0, placedFootprints.get(),
399 rowSizeInBytes.get(), data, mipLevelCount);
402 for (int i = 0; i < mipLevelCount; ++i) {
407 fCurrentDirectCommandList->copyBufferToTexture(d3dBuffer, d3dTex.get(), mipLevelCount,
669 int mipLevelCount,
677 if (!mipLevelCount || !texels[0].fPixels) {
687 SkASSERT(mipLevelCount <= d3dTex->maxMipmapLevel() + 1);
688 success = this->uploadToTexture(d3dTex, rect, srcColorType, texels, mipLevelCount);
701 int mipLevelCount) {
704 SkASSERT(mipLevelCount == 1 || rect == SkIRect::MakeSize(tex->dimensions()));
708 SkASSERT(mipLevelCount == 1 || mipLevelCount == (tex->maxMipmapLevel() + 1));
721 SkASSERT(1 == mipLevelCount || mipLevelCount == (int)desc.MipLevels);
723 if (1 == mipLevelCount && !texels[0].fPixels) {
727 for (int i = 0; i < mipLevelCount; ++i) {
734 SkAutoTMalloc<D3D12_PLACED_SUBRESOURCE_FOOTPRINT> placedFootprints(mipLevelCount);
740 fDevice->GetCopyableFootprints(&desc, 0, mipLevelCount, 0, placedFootprints.get(),
755 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) {
773 for (int i = 0; i < mipLevelCount; ++i) {
780 mipLevelCount,
785 if (mipLevelCount < (int)desc.MipLevels) {
1427 unsigned int mipLevelCount = 1;
1429 mipLevelCount = SkMipmap::ComputeLevelCount(backendTexture.dimensions()) + 1;
1431 SkASSERT(mipLevelCount == info.fLevelCount);
1432 SkAutoSTMalloc<15, D3D12_PLACED_SUBRESOURCE_FOOTPRINT> placedFootprints(mipLevelCount);
1468 for (unsigned int i = 1; i < mipLevelCount; ++i) {
1482 mipLevelCount,
1530 unsigned int mipLevelCount = 1;
1532 mipLevelCount = SkMipmap::ComputeLevelCount(backendTexture.dimensions().width(),
1535 SkASSERT(mipLevelCount == info.fLevelCount);
1536 SkAutoTMalloc<D3D12_PLACED_SUBRESOURCE_FOOTPRINT> placedFootprints(mipLevelCount);
1538 SkAutoTMalloc<UINT> numRows(mipLevelCount);
1539 SkAutoTMalloc<UINT64> rowSizeInBytes(mipLevelCount);
1542 mipLevelCount,
1568 for (unsigned int i = 0; i < mipLevelCount; ++i) {
1575 mipLevelCount,