Searched refs:colorsPM (Results 1 – 2 of 2) sorted by relevance
225 SkPMColor colorsPM[kNumCorners]; in getVertexData() local229 colorsPM[i] = SkPreMultiplyColor(colors[i]); in getVertexData()281 SkScalar(SkColorGetA(colorsPM[kTopLeft_Corner])), in getVertexData()282 SkScalar(SkColorGetA(colorsPM[kTopRight_Corner])), in getVertexData()283 SkScalar(SkColorGetA(colorsPM[kBottomLeft_Corner])), in getVertexData()284 SkScalar(SkColorGetA(colorsPM[kBottomRight_Corner])))); in getVertexData()286 SkScalar(SkColorGetR(colorsPM[kTopLeft_Corner])), in getVertexData()287 SkScalar(SkColorGetR(colorsPM[kTopRight_Corner])), in getVertexData()288 SkScalar(SkColorGetR(colorsPM[kBottomLeft_Corner])), in getVertexData()289 SkScalar(SkColorGetR(colorsPM[kBottomRight_Corner])))); in getVertexData()[all …]
18 SkPMColor colorsPM[4]; in make_bm() local20 colorsPM[i] = SkPreMultiplyColor(colors[i]); in make_bm()22 SkColorTable* ctable = new SkColorTable(colorsPM, 4); in make_bm()