Home
last modified time | relevance | path

Searched refs:devPathBounds (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/src/gpu/ops/
H A DSmallPathRenderer.cpp372 SkIRect devPathBounds; in addDFPathToAtlas() local
373 scaledBounds.roundOut(&devPathBounds); in addDFPathToAtlas()
375 int width = devPathBounds.width() + 2 * kAntiAliasPad; in addDFPathToAtlas()
376 int height = devPathBounds.height() + 2 * kAntiAliasPad; in addDFPathToAtlas()
377 devPathBounds = SkIRect::MakeWH(width, height); in addDFPathToAtlas()
386 SkASSERT(devPathBounds.fLeft == 0); in addDFPathToAtlas()
387 SkASSERT(devPathBounds.fTop == 0); in addDFPathToAtlas()
388 SkASSERT(devPathBounds.width() > 0); in addDFPathToAtlas()
389 SkASSERT(devPathBounds.height() > 0); in addDFPathToAtlas()
392 SkIRect dfBounds = devPathBounds in addDFPathToAtlas()
468 SkIRect devPathBounds; addBMPathToAtlas() local
[all...]
H A DSoftwarePathRenderer.cpp164 const SkIRect& devPathBounds) { in DrawAroundInvPath()
171 if (devClipBounds.fTop < devPathBounds.fTop) { in DrawAroundInvPath()
173 SkIntToScalar(devClipBounds.fRight), SkIntToScalar(devPathBounds.fTop)); in DrawAroundInvPath()
177 if (devClipBounds.fLeft < devPathBounds.fLeft) { in DrawAroundInvPath()
178 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath()
179 SkIntToScalar(devPathBounds.fLeft), SkIntToScalar(devPathBounds.fBottom)); in DrawAroundInvPath()
183 if (devClipBounds.fRight > devPathBounds.fRight) { in DrawAroundInvPath()
184 rect.setLTRB(SkIntToScalar(devPathBounds.fRight), SkIntToScalar(devPathBounds in DrawAroundInvPath()
158 DrawAroundInvPath(SurfaceDrawContext* sdc, GrPaint&& paint, const GrUserStencilSettings& userStencilSettings, const GrClip* clip, const SkMatrix& viewMatrix, const SkIRect& devClipBounds, const SkIRect& devPathBounds) DrawAroundInvPath() argument
[all...]
H A DSoftwarePathRenderer.h53 const SkIRect& devPathBounds);
/third_party/skia/src/core/
H A DSkDraw.h91 static bool ComputeMaskBounds(const SkRect& devPathBounds, const SkIRect* clipBounds,
H A DSkDraw.cpp1207 bool SkDraw::ComputeMaskBounds(const SkRect& devPathBounds, const SkIRect* clipBounds, in ComputeMaskBounds() argument
1211 *bounds = devPathBounds.makeOutset(SK_ScalarHalf, SK_ScalarHalf).roundOut(); in ComputeMaskBounds()

Completed in 4 milliseconds