Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleLitAtlas.cpp239 SkPoint bigCenter = SkPoint::Make(kDiffXOff + kBigSize/2.0f, kBigYOff + kBigSize/2.0f); in MakeAtlas()
242 for (int x = kDiffXOff; x < kDiffXOff+kBigSize; ++x) { in MakeAtlas()
261 for (int x = kDiffXOff; x < kDiffXOff+kMedSize; ++x) { in MakeAtlas()
273 SkPoint smCenter = SkPoint::Make(kDiffXOff + kSmSize/2.0f, kSmYOff + kSmSize/2.0f); in MakeAtlas()
276 for (int x = kDiffXOff; x < kDiffXOff+kSmSize; ++x) { in MakeAtlas()
294 SkScalar shipMidLine = kDiffXOff + kMedSize/2.0f; in MakeAtlas()
299 for (int x = kDiffXOff; x < kDiffXOff+kMedSize; ++x) { in MakeAtlas()
303 scaledX = 1.0f - (x - kDiffXOff)/(kMedSize/2.0f); // 0..1 in MakeAtlas()
344 diffTex->setXYWH(SkIntToScalar(kDiffXOff), gYOffs[fObjType], in initAsteroid()
357 diffTex->setXYWH(SkIntToScalar(kDiffXOff), SkIntToScalar(kShipYOff), in initShip()
[all …]