Home
last modified time | relevance | path

Searched refs:devRect (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/batches/
DGrAAFillRectBatch.cpp81 const SkRect& devRect, in generate_aa_fill_rect_geometry() argument
87 SkScalar inset = SkMinScalar(devRect.width(), SK_Scalar1); in generate_aa_fill_rect_geometry()
88 inset = SK_ScalarHalf * SkMinScalar(inset, devRect.height()); in generate_aa_fill_rect_geometry()
91 set_inset_fan(fan0Pos, vertexStride, devRect, -SK_ScalarHalf, -SK_ScalarHalf); in generate_aa_fill_rect_geometry()
92 set_inset_fan(fan1Pos, vertexStride, devRect, inset, inset); in generate_aa_fill_rect_geometry()
311 const SkRect& devRect) { in append_to_batch() argument
316 geo.fDevRect = devRect; in append_to_batch()
321 const SkRect& rect, const SkRect& devRect) { in append_to_batch() argument
327 geo.fDevRect = devRect; in append_to_batch()
335 const SkRect& devRect) { in Create() argument
[all …]
DGrAAFillRectBatch.h22 const SkRect& devRect);
33 const SkRect& devRect);
44 const SkRect& devRect);
51 const SkRect& devRect);
DGrRectBatchFactory.h43 const SkRect& devRect) { in CreateAAFill() argument
44 return GrAAFillRectBatch::Create(color, viewMatrix, rect, devRect); in CreateAAFill()
51 const SkRect& devRect) { in CreateAAFill() argument
52 return GrAAFillRectBatch::Create(color, viewMatrix, localMatrix, rect, devRect); in CreateAAFill()
DGrAAStrokeRectBatch.cpp535 SkRect devRect; in compute_rects() local
536 viewMatrix.mapRect(&devRect, rect); in compute_rects()
552 *devOutside = devRect; in compute_rects()
553 *devOutsideAssist = devRect; in compute_rects()
554 *devInside = devRect; in compute_rects()
564 SkScalar w = devRect.width() - dx; in compute_rects()
565 SkScalar h = devRect.height() - dy; in compute_rects()
571 devInside->fLeft = devInside->fRight = devRect.centerX(); in compute_rects()
572 devInside->fTop = devInside->fBottom = devRect.centerY(); in compute_rects()
/external/skia/src/gpu/
DGrClipMaskManager.cpp287 static void add_rect_to_clip(const GrClip& clip, const SkRect& devRect, GrClip* out) { in add_rect_to_clip() argument
293 SkRect clipRect = devRect; in add_rect_to_clip()
304 *out = GrClip(devRect); in add_rect_to_clip()
308 devRect.roundOut(&intersect); in add_rect_to_clip()
524 SkRect devRect = element->getRect(); in drawElement() local
525 viewMatrix.mapRect(&devRect); in drawElement()
529 devRect)); in drawElement()
/external/skia/src/core/
DSkDraw.cpp264 SkIRect devRect; in drawPaint() local
265 devRect.set(0, 0, fDst.width(), fDst.height()); in drawPaint()
292 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint()
833 SkRect devRect; in drawRect() local
836 fMatrix->mapPoints(rect_points(devRect), rect_points(paintRect), 2); in drawRect()
837 devRect.sort(); in drawRect()
840 SkRect bbox = devRect; in drawRect()
862 looper.mapRect(&localDevRect, devRect); in drawRect()
DSkCanvas.cpp78 SkRect devRect; in wouldOverwriteEntireSurface() local
79 this->getTotalMatrix().mapRect(&devRect, *rect); in wouldOverwriteEntireSurface()
80 if (!devRect.contains(bounds)) { in wouldOverwriteEntireSurface()
/external/skia/include/core/
DSkClipStack.h316 bool quickContains(const SkRect& devRect) const;