Home
last modified time | relevance | path

Searched refs:octoBounds (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPathProcessor.h103 const GrOctoBounds& octoBounds, const SkIVector& devToAtlasOffset, uint64_t color, in set() argument
108 fDevBounds = octoBounds.bounds(); in set()
109 fDevBounds45 = octoBounds.bounds45(); in set()
114 octoBounds.right(), octoBounds.top(), octoBounds.left(), octoBounds.bottom()); in set()
116 octoBounds.bottom45(), octoBounds.right45(), octoBounds.top45(), in set()
117 octoBounds.left45()); in set()
DGrOctoBounds.h73 void setOffset(const GrOctoBounds& octoBounds, float dx, float dy) { in setOffset() argument
74 fBounds = octoBounds.fBounds.makeOffset(dx, dy); in setOffset()
75 fBounds45 = octoBounds.fBounds45.makeOffset(dx - dy, dx + dy); in setOffset()
DGrCCPerFlushResources.cpp313 GrOctoBounds* octoBounds) { in transform_path_pts() argument
366 octoBounds->set(devBounds, devBounds45); in transform_path_pts()
372 GrOctoBounds* octoBounds, SkIRect* devIBounds, SkIVector* devToAtlasOffset) { in renderShapeInAtlas() argument
383 if (!transform_path_pts(m, path, fLocalDevPtsBuffer, octoBounds)) { in renderShapeInAtlas()
394 octoBounds->outset(r); in renderShapeInAtlas()
398 if (clipIBounds.contains(octoBounds->bounds())) { in renderShapeInAtlas()
400 } else if (octoBounds->clip(clipIBounds)) { in renderShapeInAtlas()
408 octoBounds->roundOut(devIBounds); in renderShapeInAtlas()
DGrCCDrawPathsOp.cpp382 GrOctoBounds octoBounds; in setupResources() local
386 fMaskDevIBounds, fMatrix, fShape, fStrokeDevWidth, &octoBounds, &devIBounds, in setupResources()
392 octoBounds, devToAtlasOffset, SkPMColor4f_toFP16(fColor), fillRule); in setupResources()
399 onFlushRP, atlas, devToAtlasOffset, octoBounds, devIBounds, fCachedMaskShift); in setupResources()
DGrCCPathCache.cpp358 const GrOctoBounds& octoBounds, const SkIRect& devIBounds, const SkIVector& maskShift) { in setCoverageCountAtlas() argument
374 fOctoBounds.setOffset(octoBounds, -maskShift.fX, -maskShift.fY); in setCoverageCountAtlas()
DGrCCPathCache.h234 const GrOctoBounds& octoBounds, const SkIRect& devIBounds, const SkIVector& maskShift);
/third_party/flutter/skia/tests/
DOctoBoundsTest.cpp22 Reporter* reporter, const SkIRect& clipRect, const GrOctoBounds& octoBounds) { in validate_octo_bounds() argument
24 REPORTER_ASSERT(reporter, octoBounds.left() >= (float)clipRect.left() - kEpsilon); in validate_octo_bounds()
25 REPORTER_ASSERT(reporter, octoBounds.top() >= (float)clipRect.top() - kEpsilon); in validate_octo_bounds()
26 REPORTER_ASSERT(reporter, octoBounds.right() <= (float)clipRect.right() + kEpsilon); in validate_octo_bounds()
27 REPORTER_ASSERT(reporter, octoBounds.bottom() <= (float)clipRect.bottom() + kEpsilon); in validate_octo_bounds()
29 octoBounds.validateBoundsAreTight([reporter]( in validate_octo_bounds()
138 GrOctoBounds octoBounds(SkRect::MakeLTRB(l,t,r,b), SkRect::MakeLTRB(l45,t45,r45,b45)); in test_octagon() local
141 octoBounds.roundOut(&devIBounds); in test_octagon()
144 bool clipSuccess = octoBounds.clip(devIBounds); in test_octagon()
147 REPORTER_ASSERT(reporter, octoBounds == GrOctoBounds({l,t,r,b}, {l45,t45,r45,b45})); in test_octagon()
[all …]