Lines Matching defs:bitmap
129 // Given a bitmap, an optional src rect, and a context with a clip and matrix determine what
130 // pixels from the bitmap are necessary.
185 // At this point we know we could do the draw by uploading the entire bitmap as a texture.
197 // assumption here is that sw bitmap size is a good proxy for its size as
209 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile.
572 const SkBitmap& bitmap,
585 int nx = bitmap.width() / tileSize;
586 int ny = bitmap.height() / tileSize;
613 // but stay within the bitmap bounds
614 iClampRect = SkIRect::MakeWH(bitmap.width(), bitmap.height());
625 // We must subset as a bitmap and then turn into an SkImage if we want caching to work.
628 if (SkBitmap subsetBmp; bitmap.extractSubset(&subsetBmp, iTileR)) {
636 // If the entire bitmap was anti-aliased, turn on AA for the outside tile edges.
651 // now offset it to make it "local" to our tmp bitmap