Searched refs:srcColor (Results 1 – 2 of 2) sorted by relevance
119 IComposerClient::Color srcColor = desiredPixelColors[pixel]; in fillBuffer() local123 pixelColor[0] = srcColor.r; in fillBuffer()124 pixelColor[1] = srcColor.g; in fillBuffer()125 pixelColor[2] = srcColor.b; in fillBuffer()128 pixelColor[3] = srcColor.a; in fillBuffer()
127 Color srcColor = desiredPixelColors[static_cast<size_t>(pixel)]; in fillBuffer() local131 pixelColor[0] = static_cast<uint8_t>(std::round(255.0f * srcColor.r)); in fillBuffer()132 pixelColor[1] = static_cast<uint8_t>(std::round(255.0f * srcColor.g)); in fillBuffer()133 pixelColor[2] = static_cast<uint8_t>(std::round(255.0f * srcColor.b)); in fillBuffer()136 pixelColor[3] = static_cast<uint8_t>(std::round(255.0f * srcColor.a)); in fillBuffer()