Home
last modified time | relevance | path

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

/external/skqp/src/shaders/
DSkLightingShader.cpp368 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/
Des2fPrerequisiteTests.cpp236 RGBA diffColor(255, 0, 0, 255); in iterate() local
246 diffImage.setPixel(i, j, isPixelOk ? matchColor : diffColor); in iterate()
Des2fColorClearTest.cpp238 RGBA diffColor(255, 0, 0, 255); in iterate() local
260 diffImage.setPixel(x, y, isPixelOk ? matchColor : diffColor); in iterate()
/external/deqp/modules/gles3/functional/
Des3fPrerequisiteTests.cpp236 RGBA diffColor(255, 0, 0, 255); in iterate() local
246 diffImage.setPixel(i, j, isPixelOk ? matchColor : diffColor); in iterate()
Des3fColorClearTest.cpp238 RGBA diffColor(255, 0, 0, 255); in iterate() local
260 diffImage.setPixel(x, y, isPixelOk ? matchColor : diffColor); in iterate()