Searched refs:kColor2 (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | ClearTest.cpp | 96 static const GrColor kColor2 = ~kColor1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 127 drawContext->clear(&fullRect, kColor2, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 128 if (!check_rect(drawContext, fullRect, kColor2, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 129 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 163 drawContext->clear(&mid1Rect, kColor2, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 164 if (!check_rect(drawContext, mid1Rect, kColor2, &actualValue, &failX, &failY)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 165 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 181 drawContext->clear(&mid1Rect, kColor2, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 195 drawContext->clear(&mid1Rect, kColor2, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 201 if (!check_rect(drawContext, innerLeftEdge, kColor2, &actualValue, &failX, &failY) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/external/skia/gm/ |
D | lumafilter.cpp | 16 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0); variable 63 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene() 69 paint.setColor(kColor2); in draw_scene() 82 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in LumaFilterGM()
|