Lines Matching refs:mipLevelCount
54 const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) {
55 SkASSERT(mipLevelCount > 0);
61 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; ++currentMipLevel) {
79 if (currentMipLevel != mipLevelCount - 1) {
88 if (mipLevelCount != 1 && (w != 1 || h != 1)) {
95 return levelsWithPixelsCnt == 1 || levelsWithPixelsCnt == mipLevelCount;
105 int mipLevelCount,
112 GrMipmapped mipMapped = mipLevelCount > 1 ? GrMipmapped::kYes : GrMipmapped::kNo;
135 mipLevelCount,
160 int mipLevelCount = 1;
162 mipLevelCount =
166 this->caps()->shouldInitializeTextures() ? (1 << mipLevelCount) - 1 : 0;
174 mipLevelCount,
201 int mipLevelCount = std::max(1, texelLevelCount);
205 for (int i = 0; i < mipLevelCount; ++i) {
211 levelClearMask = static_cast<uint32_t>((1 << mipLevelCount) - 1);
241 } else if (levelClearMask && mipLevelCount > 1) {
482 int mipLevelCount,
504 if (mipLevelCount == 0) {
506 } else if (mipLevelCount == 1) {
516 if (!validate_texel_levels(rect.size(), srcColorType, texels, mipLevelCount, this->caps())) {
526 mipLevelCount,
528 this->didWriteToSurface(surface, kTopLeft_GrSurfaceOrigin, &rect, mipLevelCount);