Lines Matching refs:topDevice
104 const SkBaseDevice* top = this->topDevice();
528 SkBaseDevice* SkCanvas::topDevice() const {
648 this->topDevice()->save();
1049 SkBaseDevice* priorDevice = this->topDevice();
1063 this->topDevice()->clipRect(SkRect::MakeEmpty(), SkClipOp::kIntersect, /* aa */ false);
1157 SkBaseDevice* device = this->topDevice();
1214 this->topDevice()->restore(fMCRec->fMatrix);
1219 this->topDevice()->drawSpecial(backImage->fImage.get(),
1233 SkBaseDevice* dstDev = this->topDevice();
1317 if (this->topDevice()->isPixelAlignedToGlobal()) {
1318 *origin = this->topDevice()->getOrigin();
1327 return this->topDevice()->accessPixels(pmap);
1337 this->topDevice()->setGlobalCTM(fMCRec->fMatrix);
1348 this->topDevice()->setGlobalCTM(fMCRec->fMatrix);
1384 this->topDevice()->setGlobalCTM(fMCRec->fMatrix);
1396 this->topDevice()->setGlobalCTM(fMCRec->fMatrix);
1442 this->topDevice()->clipRect(rect, op, isAA);
1468 SkASSERT(this->topDevice() == this->baseDevice()); // shouldn't be in a nested layer
1482 this->topDevice()->clipRegion(SkRegion(rect), SkClipOp::kIntersect);
1492 SkIRect deviceRestriction = this->topDevice()->imageInfo().bounds();
1493 if (fClipRestrictionSaveCount >= 0 && this->topDevice() == this->baseDevice()) {
1503 this->topDevice()->replaceClip(deviceRestriction);
1520 this->topDevice()->clipRRect(rrect, op, isAA);
1552 this->topDevice()->clipPath(path, op, isAA);
1574 this->topDevice()->clipShader(sh, op);
1584 this->topDevice()->clipRegion(rgn, op);
1599 return this->topDevice()->onClipIsAA();
1604 SkBaseDevice* device = this->topDevice();
1617 return this->topDevice()->onGetClipType() == SkBaseDevice::ClipType::kEmpty;
1621 return this->topDevice()->onGetClipType() == SkBaseDevice::ClipType::kRect;
1683 const SkBaseDevice* dev = this->topDevice();
1711 return this->topDevice()->getGlobalBounds();
1726 if (auto gpuDevice = this->topDevice()->asGpuDevice()) {
1927 this->topDevice()->drawShadow(path, rec);
1972 this->topDevice()->drawPaint(layer->paint());
2000 this->topDevice()->drawPoints(mode, count, pts, layer->paint());
2012 this->topDevice()->drawRect(r, layer->paint());
2024 this->topDevice()->drawRegion(region, layer->paint());
2029 SkBaseDevice* dev = this->topDevice();
2066 this->topDevice()->drawPaint(layer->paint());
2080 this->topDevice()->drawOval(oval, layer->paint());
2094 this->topDevice()->drawArc(oval, startAngle, sweepAngle, useCenter, layer->paint());
2118 this->topDevice()->drawRRect(rrect, layer->paint());
2130 this->topDevice()->drawDRRect(outer, inner, layer->paint());
2150 this->topDevice()->drawPath(path, layer->paint());
2218 SkBaseDevice* device = this->topDevice();
2243 this->topDevice()->drawImageRect(image, nullptr, bounds, sampling,
2261 this->topDevice()->drawImageRect(image, &src, dst, sampling, layer->paint(), constraint);
2275 this->topDevice()->drawImageLattice(image, lattice, dst, filter, layer->paint());
2316 this->topDevice()->drawGlyphRunList(glyphRunList, layer->paint());
2431 this->topDevice()->drawVertices(vertices, bmode, layer->paint());
2462 this->topDevice()->drawPatch(cubics, colors, texCoords, bmode, layer->paint());
2494 this->topDevice()->drawDrawable(dr, matrix, this);
2512 this->topDevice()->drawAtlas(xform, tex, colors, count, bmode, layer->paint());
2520 this->topDevice()->drawAnnotation(rect, key, value);
2535 this->topDevice()->drawEdgeAAQuad(r, clip, edgeAA, color, mode);
2578 this->topDevice()->drawEdgeAAImageSet(imageSet, count, dstClips, preViewMatrices, sampling,
2745 const SkBaseDevice* dev = this->topDevice();
2804 return this->topDevice()->drawBlurImage(image, blurArg);