Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DGlopBuilder.cpp287 SkScalar srcColorMatrix[20]; in setFill() local
300 } else if (colorFilter->asColorMatrix(srcColorMatrix)) { in setFill()
304 memcpy(colorMatrix, srcColorMatrix, 4 * sizeof(float)); in setFill()
305 memcpy(&colorMatrix[4], &srcColorMatrix[5], 4 * sizeof(float)); in setFill()
306 memcpy(&colorMatrix[8], &srcColorMatrix[10], 4 * sizeof(float)); in setFill()
307 memcpy(&colorMatrix[12], &srcColorMatrix[15], 4 * sizeof(float)); in setFill()
312 colorVector[0] = srcColorMatrix[4] / 255.0f; in setFill()
313 colorVector[1] = srcColorMatrix[9] / 255.0f; in setFill()
314 colorVector[2] = srcColorMatrix[14] / 255.0f; in setFill()
315 colorVector[3] = srcColorMatrix[19] / 255.0f; in setFill()