Searched refs:diffColor (Results 1 – 5 of 5) sorted by relevance
/external/skqp/src/shaders/ |
D | SkLightingShader.cpp | 368 SkColor diffColor = fPaintColor; in shadeSpan() local 381 diffColor = SkUnPreMultiply::PMColorToColor(diffuse[i]); in shadeSpan() 387 accum.fX += lightShader.fLights->ambientLightColor().fX * SkColorGetR(diffColor); in shadeSpan() 388 accum.fY += lightShader.fLights->ambientLightColor().fY * SkColorGetG(diffColor); in shadeSpan() 389 accum.fZ += lightShader.fLights->ambientLightColor().fZ * SkColorGetB(diffColor); in shadeSpan() 404 accum.fX += light.color().fX * SkColorGetR(diffColor) * illuminanceScalingFactor; in shadeSpan() 405 accum.fY += light.color().fY * SkColorGetG(diffColor) * illuminanceScalingFactor; in shadeSpan() 406 accum.fZ += light.color().fZ * SkColorGetB(diffColor) * illuminanceScalingFactor; in shadeSpan() 410 result[i] = convert(accum, SkColorGetA(diffColor)); in shadeSpan()
|
/external/deqp/modules/gles2/functional/ |
D | es2fPrerequisiteTests.cpp | 236 RGBA diffColor(255, 0, 0, 255); in iterate() local 246 diffImage.setPixel(i, j, isPixelOk ? matchColor : diffColor); in iterate()
|
D | es2fColorClearTest.cpp | 238 RGBA diffColor(255, 0, 0, 255); in iterate() local 260 diffImage.setPixel(x, y, isPixelOk ? matchColor : diffColor); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fPrerequisiteTests.cpp | 236 RGBA diffColor(255, 0, 0, 255); in iterate() local 246 diffImage.setPixel(i, j, isPixelOk ? matchColor : diffColor); in iterate()
|
D | es3fColorClearTest.cpp | 238 RGBA diffColor(255, 0, 0, 255); in iterate() local 260 diffImage.setPixel(x, y, isPixelOk ? matchColor : diffColor); in iterate()
|