Lines Matching defs:const

57 bool force_aa_clip(const skgpu::v1::SurfaceDrawContext* sdc) {
73 std::unique_ptr<GrFragmentProcessor> make_inverse_rrect_fp(const SkMatrix& viewMatrix,
74 const SkRRect& rrect, GrAA aa,
75 const GrShaderCaps& shaderCaps) {
88 const GrColorInfo& colorInfo,
89 const SkPaint& skPaint,
90 const SkMatrixProvider& matrixProvider,
117 const SkSurfaceProps& surfaceProps,
153 const SkImageInfo& ii,
159 const SkSurfaceProps& props,
195 bool Device::onReadPixels(const SkPixmap& pm, int x, int y) {
207 bool Device::onWritePixels(const SkPixmap& pm, int x, int y) {
229 const SurfaceDrawContext* Device::surfaceDrawContext() const {
249 void Device::onClipPath(const SkPath& path, SkClipOp op, bool aa) {
260 void Device::onClipRegion(const SkRegion& globalRgn, SkClipOp op) {
277 void Device::onAsRgnClip(SkRegion* region) const {
281 const SkRegion deviceBounds(bounds);
282 for (const ClipStack::Element& e : fClip) {
297 bool Device::onClipIsAA() const {
298 for (const ClipStack::Element& e : fClip) {
307 SkBaseDevice::ClipType Device::onGetClipType() const {
321 void Device::drawPaint(const SkPaint& paint) {
336 const SkPoint pts[],
337 const SkPaint& paint) {
384 const SkMatrixProvider* matrixProvider = this;
390 static const SkScalar kOffset = 0.063f; // Just greater than 1/16.
411 void Device::drawRect(const SkRect& rect, const SkPaint& paint) {
437 void Device::drawEdgeAAQuad(const SkRect& rect,
438 const SkPoint clip[4],
440 const SkColor4f& color,
468 void Device::drawRRect(const SkRRect& rrect, const SkPaint& paint) {
503 void Device::drawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) {
552 void Device::drawRegion(const SkRegion& region, const SkPaint& paint) {
573 void Device::drawOval(const SkRect& oval, const SkPaint& paint) {
594 void Device::drawArc(const SkRect& oval,
598 const SkPaint& paint) {
618 void Device::drawPath(const SkPath& origSrcPath, const SkPaint& paint, bool pathIsMutable) {
646 sk_sp<SkSpecialImage> Device::makeSpecial(const SkBitmap& bitmap) {
656 const SkIRect rect = SkIRect::MakeSize(view.proxy()->dimensions());
669 sk_sp<SkSpecialImage> Device::makeSpecial(const SkImage* image) {
694 sk_sp<SkSpecialImage> Device::snapSpecial(const SkIRect& subset, bool forceCopy) {
740 const SkSamplingOptions& sampling,
741 const SkPaint& paint) {
748 void Device::drawImageRect(const SkImage* image,
749 const SkRect* src,
750 const SkRect& dst,
751 const SkSamplingOptions& sampling,
752 const SkPaint& paint,
762 const GrColorInfo& info,
764 const SkRect& dst,
766 const SkPaint& origPaint) {
794 void Device::drawImageLattice(const SkImage* image,
795 const SkCanvas::Lattice& lattice,
796 const SkRect& dst,
798 const SkPaint& paint) {
812 void Device::drawVertices(const SkVertices* vertices, SkBlendMode mode, const SkPaint& paint) {
833 void Device::drawShadow(const SkPath& path, const SkDrawShadowRec& rec) {
851 void Device::drawAtlas(const SkRSXform xform[],
852 const SkRect texRect[],
853 const SkColor colors[],
856 const SkPaint& paint) {
879 void Device::onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) {
890 void Device::drawDrawable(SkDrawable* drawable, const SkMatrix* matrix, SkCanvas* canvas) {
895 const SkMatrix& ctm = this->localToDevice();
896 const SkMatrix& combinedMatrix = matrix ? SkMatrix::Concat(ctm, *matrix) : ctm;
913 const GrBackendSemaphore* waitSemaphores,
926 const SkSurfaceProps& props) {
951 void Device::asyncRescaleAndReadPixels(const SkImageInfo& info,
952 const SkIRect& srcRect,
969 const SkIRect& srcRect,
994 SkBaseDevice* Device::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) {
1022 sk_sp<SkSurface> Device::makeSurface(const SkImageInfo& info, const SkSurfaceProps& props) {
1025 static const SkBudgeted kBudgeted = SkBudgeted::kNo;
1066 bool Device::drawBlurImage(const SkImage* image, const SkBlurArg& blurArg)