Lines Matching defs:width
360 mipLevelCount = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1;
382 // We reset the width and height in the description to match our subrectangle size
384 desc.Width = dimensions.width();
523 srcRect.width(), srcRect.height());
535 srcRect.width(), srcRect.height());
614 size_t tightRowBytes = bpp * rect.width();
736 // We reset the width and height in the description to match our subrectangle size
738 desc.Width = rect.width();
753 int currentWidth = rect.width();
836 desc.Width = rect.width();
897 desc.Width = rect.width();
1059 int width = tex->width();
1134 SkASSERT((int)levelCount == SkMipmap::ComputeLevelCount(tex->width(), tex->height()) + 1);
1163 width = std::max(1, width / 2);
1167 if (is_odd(width) && is_odd(height)) {
1169 } else if (is_odd(width)) {
1180 } constantData = { {1.f / width, 1.f / height}, srcMip, sampleMode };
1220 this->currentCommandList()->dispatch((width+7)/8, (height+7)/8);
1305 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1;
1379 return GrBackendTexture(dimensions.width(), dimensions.height(), info);
1532 mipLevelCount = SkMipmap::ComputeLevelCount(backendTexture.dimensions().width(),
1615 if (dimensions.width() > this->caps()->maxRenderTargetSize() ||
1629 return GrBackendRenderTarget(dimensions.width(), dimensions.height(), info);