Lines Matching refs:maxTileSize
656 static int determine_tile_size(const SkIRect& src, int maxTileSize) { in determine_tile_size() argument
657 if (maxTileSize <= kBmpSmallTileSize) { in determine_tile_size()
658 return maxTileSize; in determine_tile_size()
661 size_t maxTileTotalTileSize = get_tile_count(src, maxTileSize); in determine_tile_size()
664 maxTileTotalTileSize *= maxTileSize * maxTileSize; in determine_tile_size()
670 return maxTileSize; in determine_tile_size()
714 int maxTileSize, in shouldTileImageID() argument
719 if (imageRect.width() > maxTileSize || imageRect.height() > maxTileSize) { in shouldTileImageID()
723 *tileSize = determine_tile_size(*clippedSubset, maxTileSize); in shouldTileImageID()
784 int maxTileSize = this->caps()->maxTileSize() - 2 * tileFilterPad; in shouldTileImage() local
791 samplerState, srcRectPtr, maxTileSize, &outTileSize, in shouldTileImage()
930 SkASSERT(bitmap.width() <= this->caps()->maxTileSize() && in drawBitmapTile()
931 bitmap.height() <= this->caps()->maxTileSize()); in drawBitmapTile()
1156 int maxTileSize = this->caps()->maxTileSize(); in drawBitmapRect() local
1161 paint.isAntiAlias() && bitmap.width() <= maxTileSize && in drawBitmapRect()
1162 bitmap.height() <= maxTileSize; in drawBitmapRect()
1187 int maxTileSizeForFilter = this->caps()->maxTileSize() - 2 * tileFilterPad; in drawBitmapRect()