Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkPatchGrid.cpp55 int vrtPos = (y*2) * (fCols + 1) + x; in setPatch() local
56 fVrtCtrlPts[vrtPos] = cubics[SkPatchUtils::kLeftP1_CubicCtrlPts]; in setPatch()
57 fVrtCtrlPts[vrtPos + 1] = cubics[SkPatchUtils::kRightP1_CubicCtrlPts]; in setPatch()
58 fVrtCtrlPts[vrtPos + (fCols + 1)] = cubics[SkPatchUtils::kLeftP2_CubicCtrlPts]; in setPatch()
59 fVrtCtrlPts[vrtPos + (fCols + 1) + 1] = cubics[SkPatchUtils::kRightP2_CubicCtrlPts]; in setPatch()
99 int vrtPos = (y*2) * (fCols + 1) + x; in getPatch() local
100 cubics[SkPatchUtils::kLeftP1_CubicCtrlPts] = fVrtCtrlPts[vrtPos]; in getPatch()
101 cubics[SkPatchUtils::kRightP1_CubicCtrlPts] = fVrtCtrlPts[vrtPos + 1]; in getPatch()
102 cubics[SkPatchUtils::kLeftP2_CubicCtrlPts] = fVrtCtrlPts[vrtPos + (fCols + 1)]; in getPatch()
103 cubics[SkPatchUtils::kRightP2_CubicCtrlPts] = fVrtCtrlPts[vrtPos + (fCols + 1) + 1]; in getPatch()