Lines Matching defs:levels
1129 SkTArray<GrCPixmap> levels;
1136 levels.push_back(level);
1156 GrCPixmap savedLevel = levels[1];
1159 int w = levels[1].width() + 1;
1160 int h = levels[1].height();
1161 keepAlive = GrPixmap::Allocate(levels[1].info().makeWH(w, h));
1166 levels[1] = GrCPixmap(levels[1].info(),
1170 // Going through intermediate textures is not supported for MIP levels (because
1171 // we don't support rendering to non-base levels). So it's hard to have any hard
1173 if (!sc->writePixels(direct, levels.begin(), levels.count())) {
1179 levels[1] = savedLevel;
1181 // TODO: Update this when read pixels supports reading back levels to read
1198 SkIRect::MakeSize(levels[i].dimensions()),
1201 dstSC->imageInfo().makeDimensions(levels[i].dimensions());
1214 GrCPixmap a = levels[i];