Searched refs:preTestCallback (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/tests/ |
D | SkDSLRuntimeEffectTest.cpp | 61 PreTestFn preTestCallback = nullptr) { in test() argument 74 if (preTestCallback) { in test() 75 preTestCallback(canvas, &paint); in test() 99 void test(GrColor expected, PreTestFn preTestCallback = nullptr) { in test() argument 100 this->test(expected, expected, expected, expected, preTestCallback); in test()
|
D | SkRuntimeEffectTest.cpp | 276 void paint_canvas(SkCanvas* canvas, SkPaint* paint, const PreTestFn& preTestCallback) { in paint_canvas() argument 278 if (preTestCallback) { in paint_canvas() 279 preTestCallback(canvas, paint); in paint_canvas() 333 void test(std::array<GrColor, 4> expected, PreTestFn preTestCallback = nullptr) { in test() argument 345 paint_canvas(canvas, &paint, preTestCallback); in test() 350 void test(GrColor expected, PreTestFn preTestCallback = nullptr) { in test() argument 351 this->test({expected, expected, expected, expected}, preTestCallback); in test() 383 void test(std::array<GrColor, 4> expected, PreTestFn preTestCallback = nullptr) { in test() argument 395 paint_canvas(canvas, &paint, preTestCallback); in test() 400 void test(GrColor expected, PreTestFn preTestCallback = nullptr) { in test() argument [all …]
|