Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/src/utils/
DSkPatchGrid.cpp12 : fRows(0) in SkPatchGrid()
36 if (x < 0 || y < 0 || x > fCols - 1 || y > fRows - 1 || NULL == cubics) { in setPatch()
82 if (x < 0 || y < 0 || x > fCols - 1 || y > fRows - 1 || NULL == cubics) { in getPatch()
130 fRows = rows; in reset()
134 fCornerPts = SkNEW_ARRAY(SkPoint, (fRows + 1) * (fCols + 1)); in reset()
135 fHrzCtrlPts = SkNEW_ARRAY(SkPoint, (fRows + 1) * fCols * 2); in reset()
136 fVrtCtrlPts = SkNEW_ARRAY(SkPoint, fRows * 2 * (fCols + 1)); in reset()
137 memset(fCornerPts, 0, (fRows + 1) * (fCols + 1) * sizeof(SkPoint)); in reset()
138 memset(fHrzCtrlPts, 0, (fRows + 1) * fCols * 2 * sizeof(SkPoint)); in reset()
139 memset(fVrtCtrlPts, 0, fRows * 2 * (fCols + 1) * sizeof(SkPoint)); in reset()
[all …]
DSkPatchGrid.h129 return SkISize::Make(fCols, fRows); in getDimensions()
133 int fRows, fCols;
/external/chromium_org/third_party/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp78 , fRows(SkNEW_ARRAY(AtlasRow, fNumRows)) in GrTextureStripAtlas()
87 SkDELETE_ARRAY(fRows); in ~GrTextureStripAtlas()
111 rowNumber = static_cast<int>(row - fRows); in lockRow()
152 rowNumber = static_cast<int>(row - fRows); in lockRow()
174 --fRows[row].fLocks; in unlockRow()
176 SkASSERT(fRows[row].fLocks >= 0 && fLockedRows >= 0); in unlockRow()
177 if (0 == fRows[row].fLocks) { in unlockRow()
178 this->appendLRU(fRows + row); in unlockRow()
227 fRows[i].fKey = kEmptyAtlasRowKey; in initLRU()
228 fRows[i].fNext = NULL; in initLRU()
[all …]
DGrTextureStripAtlas.h174 AtlasRow* fRows; variable
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp78 , fRows(SkNEW_ARRAY(AtlasRow, fNumRows)) in GrTextureStripAtlas()
87 SkDELETE_ARRAY(fRows); in ~GrTextureStripAtlas()
111 rowNumber = static_cast<int>(row - fRows); in lockRow()
152 rowNumber = static_cast<int>(row - fRows); in lockRow()
174 --fRows[row].fLocks; in unlockRow()
176 SkASSERT(fRows[row].fLocks >= 0 && fLockedRows >= 0); in unlockRow()
177 if (0 == fRows[row].fLocks) { in unlockRow()
178 this->appendLRU(fRows + row); in unlockRow()
227 fRows[i].fKey = kEmptyAtlasRowKey; in initLRU()
228 fRows[i].fNext = NULL; in initLRU()
[all …]
DGrTextureStripAtlas.h173 AtlasRow* fRows; variable
/external/chromium_org/third_party/skia/src/gpu/
DGrRectanizer_pow2.h30 sk_bzero(fRows, sizeof(fRows)); in reset()
54 Row fRows[kMaxExponent]; // 0-th entry will be unused variable
DGrRectanizer_pow2.cpp24 Row* row = &fRows[HeightToRowIndex(height)]; in addRect()
/external/skia/src/gpu/
DGrRectanizer_pow2.h30 sk_bzero(fRows, sizeof(fRows)); in reset()
54 Row fRows[kMaxExponent]; // 0-th entry will be unused variable
DGrRectanizer_pow2.cpp24 Row* row = &fRows[HeightToRowIndex(height)]; in addRect()
/external/skia/samplecode/
DSampleWarp.cpp221 int rows() const { return fRows; } in rows()
224 return fPts[row * (fRows + 1) + col]; in pt()
232 int fRows, fCols; member in Mesh
252 fRows = src.fRows; in operator =()
273 fRows = rows; in init()
/external/chromium_org/third_party/skia/samplecode/
DSampleWarp.cpp221 int rows() const { return fRows; } in rows()
224 return fPts[row * (fRows + 1) + col]; in pt()
232 int fRows, fCols; member in Mesh
252 fRows = src.fRows; in operator =()
273 fRows = rows; in init()
/external/skia/src/core/
DSkAAClip.cpp885 SkTDArray<Row> fRows; member in SkAAClip::Builder
900 Row* row = fRows.begin(); in ~Builder()
901 Row* stop = fRows.end(); in ~Builder()
1006 const Row* row = fRows.begin(); in finish()
1007 const Row* stop = fRows.end(); in finish()
1024 RunHead* head = RunHead::Alloc(fRows.count(), dataSize); in finish()
1029 row = fRows.begin(); in finish()
1059 for (y = 0; y < fRows.count(); ++y) { in dump()
1060 const Row& row = fRows[y]; in dump()
1080 for (int i = 0; i < fRows.count(); ++i) { in validate()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkAAClip.cpp953 SkTDArray<Row> fRows; member in SkAAClip::Builder
968 Row* row = fRows.begin(); in ~Builder()
969 Row* stop = fRows.end(); in ~Builder()
1074 const Row* row = fRows.begin(); in finish()
1075 const Row* stop = fRows.end(); in finish()
1092 RunHead* head = RunHead::Alloc(fRows.count(), dataSize); in finish()
1097 row = fRows.begin(); in finish()
1127 for (y = 0; y < fRows.count(); ++y) { in dump()
1128 const Row& row = fRows[y]; in dump()
1148 for (int i = 0; i < fRows.count(); ++i) { in validate()
[all …]