Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DGlopBuilder.cpp276 SkScalar srcColorMatrix[20]; in setFill() local
281 } else if (colorFilter->asColorMatrix(srcColorMatrix)) { in setFill()
285 memcpy(colorMatrix, srcColorMatrix, 4 * sizeof(float)); in setFill()
286 memcpy(&colorMatrix[4], &srcColorMatrix[5], 4 * sizeof(float)); in setFill()
287 memcpy(&colorMatrix[8], &srcColorMatrix[10], 4 * sizeof(float)); in setFill()
288 memcpy(&colorMatrix[12], &srcColorMatrix[15], 4 * sizeof(float)); in setFill()
293 colorVector[0] = EOCF(srcColorMatrix[4] / 255.0f); in setFill()
294 colorVector[1] = EOCF(srcColorMatrix[9] / 255.0f); in setFill()
295 colorVector[2] = EOCF(srcColorMatrix[14] / 255.0f); in setFill()
296 colorVector[3] = srcColorMatrix[19] / 255.0f; // alpha is linear in setFill()