Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkPatchUtils.cpp205 SkPMColor colorsPM[kNumCorners]; in getVertexData() local
209 colorsPM[i] = SkPreMultiplyColor(colors[i]); in getVertexData()
261 SkScalar(SkColorGetA(colorsPM[kTopLeft_Corner])), in getVertexData()
262 SkScalar(SkColorGetA(colorsPM[kTopRight_Corner])), in getVertexData()
263 SkScalar(SkColorGetA(colorsPM[kBottomLeft_Corner])), in getVertexData()
264 SkScalar(SkColorGetA(colorsPM[kBottomRight_Corner])))); in getVertexData()
266 SkScalar(SkColorGetR(colorsPM[kTopLeft_Corner])), in getVertexData()
267 SkScalar(SkColorGetR(colorsPM[kTopRight_Corner])), in getVertexData()
268 SkScalar(SkColorGetR(colorsPM[kBottomLeft_Corner])), in getVertexData()
269 SkScalar(SkColorGetR(colorsPM[kBottomRight_Corner])))); in getVertexData()
[all …]
/external/skia/gm/
Dbitmapfilters.cpp16 SkPMColor colorsPM[4]; in make_bm() local
18 colorsPM[i] = SkPreMultiplyColor(colors[i]); in make_bm()
20 SkColorTable* ctable = new SkColorTable(colorsPM, 4); in make_bm()