/third_party/flutter/skia/tests/ |
D | ClearTest.cpp | 97 static const GrColor kColor2 = ~kColor1; in clear_op_test() local 99 static const SkPMColor4f kColor2f = SkPMColor4f::FromBytes_RGBA(kColor2); in clear_op_test() 128 if (!check_rect(rtContext.get(), fullRect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() 129 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test() 161 if (!check_rect(rtContext.get(), mid1Rect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() 162 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test() 196 if (!check_rect(rtContext.get(), innerLeftEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test() 197 !check_rect(rtContext.get(), innerTopEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test() 198 !check_rect(rtContext.get(), innerRightEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test() 199 !check_rect(rtContext.get(), innerBottomEdge, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() [all …]
|
/third_party/skia/tests/ |
D | ClearTest.cpp | 103 static const GrColor kColor2 = ~kColor1; in clear_op_test() local 105 static const SkPMColor4f kColor2f = SkPMColor4f::FromBytes_RGBA(kColor2); in clear_op_test() 134 if (!check_rect(dContext, sdc.get(), fullRect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() 135 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test() 167 if (!check_rect(dContext, sdc.get(), mid1Rect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() 168 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test() 202 if (!check_rect(dContext, sdc.get(), innerLeftEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test() 203 !check_rect(dContext, sdc.get(), innerTopEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test() 204 !check_rect(dContext, sdc.get(), innerRightEdge, kColor2, &actualValue, &failX, &failY) || in clear_op_test() 205 !check_rect(dContext, sdc.get(), innerBottomEdge, kColor2, &actualValue, &failX, &failY)) { in clear_op_test() [all …]
|
/third_party/flutter/skia/gm/ |
D | lumafilter.cpp | 35 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0); variable 82 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene() 88 paint.setColor(kColor2); in draw_scene() 101 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in LumaFilterGM()
|
D | highcontrastfilter.cpp | 36 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0); variable 110 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in HighContrastFilterGM()
|
/third_party/skia/gm/ |
D | lumafilter.cpp | 38 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0); variable 85 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene() 91 paint.setColor(kColor2); in draw_scene() 104 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in onOnceBeforeDraw()
|
D | highcontrastfilter.cpp | 36 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0); variable 110 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in onOnceBeforeDraw()
|