Home
last modified time | relevance | path

Searched refs:fSkyline (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DGrRectanizer_skyline.cpp22 for (int i = 0; i < fSkyline.count(); ++i) { in addRect()
26 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) { in addRect()
28 bestWidth = fSkyline[i].fWidth; in addRect()
29 bestX = fSkyline[i].fX; in addRect()
51 int x = fSkyline[skylineIndex].fX; in rectangleFits()
58 int y = fSkyline[skylineIndex].fY; in rectangleFits()
60 y = SkMax32(y, fSkyline[i].fY); in rectangleFits()
64 widthLeft -= fSkyline[i].fWidth; in rectangleFits()
66 SkASSERT(i < fSkyline.count() || widthLeft <= 0); in rectangleFits()
78 fSkyline.insert(skylineIndex, 1, &newSegment); in addSkylineLevel()
[all …]
DGrRectanizer_skyline.h26 fSkyline.reset(); in reset()
27 SkylineSegment* seg = fSkyline.append(1); in reset()
46 SkTDArray<SkylineSegment> fSkyline; variable
/external/skqp/src/gpu/
DGrRectanizer_skyline.cpp22 for (int i = 0; i < fSkyline.count(); ++i) { in addRect()
26 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) { in addRect()
28 bestWidth = fSkyline[i].fWidth; in addRect()
29 bestX = fSkyline[i].fX; in addRect()
51 int x = fSkyline[skylineIndex].fX; in rectangleFits()
58 int y = fSkyline[skylineIndex].fY; in rectangleFits()
60 y = SkMax32(y, fSkyline[i].fY); in rectangleFits()
64 widthLeft -= fSkyline[i].fWidth; in rectangleFits()
66 SkASSERT(i < fSkyline.count() || widthLeft <= 0); in rectangleFits()
78 fSkyline.insert(skylineIndex, 1, &newSegment); in addSkylineLevel()
[all …]
DGrRectanizer_skyline.h26 fSkyline.reset(); in reset()
27 SkylineSegment* seg = fSkyline.append(1); in reset()
46 SkTDArray<SkylineSegment> fSkyline; variable