Home
last modified time | relevance | path

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

/third_party/flutter/skia/gm/
Dimagesource2.cpp58 int curColor = 0; in onOnceBeforeDraw() local
64 p.setColor(gColors[curColor]); in onOnceBeforeDraw()
67 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
/third_party/skia/gm/
Dimagesource2.cpp58 int curColor = 0; in onOnceBeforeDraw() local
64 p.setColor(gColors[curColor]); in onOnceBeforeDraw()
67 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DBlendMinMaxTest.cpp35 static float getExpected(bool blendMin, float curColor, float prevColor) in getExpected() argument
37 return blendMin ? std::min(curColor, prevColor) : std::max(curColor, prevColor); in getExpected()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBlendMinMaxTest.cpp35 static float getExpected(bool blendMin, float curColor, float prevColor) in getExpected() argument
37 return blendMin ? std::min(curColor, prevColor) : std::max(curColor, prevColor); in getExpected()
/third_party/flutter/skia/src/pdf/
DSkPDFGradientShader.cpp66 static void interpolate_color_code(SkScalar range, const ColorTuple& curColor, in interpolate_color_code() argument
75 multiplier[i] = kColorScale * (curColor[i] - prevColor[i]) / range; in interpolate_color_code()
/third_party/skia/src/pdf/
DSkPDFGradientShader.cpp66 static void interpolate_color_code(SkScalar range, const ColorTuple& curColor, in interpolate_color_code() argument
75 multiplier[i] = kColorScale * (curColor[i] - prevColor[i]) / range; in interpolate_color_code()