Searched refs:checkRec (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/tests/ |
D | GradientTest.cpp | 90 const GradRec& checkRec) { in linear_gradproc() argument 95 checkRec.gradCheck(reporter, s, &info, SkShader::kLinear_GradientType); in linear_gradproc() 96 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, checkRec.fPoint, 2 * sizeof(SkPoint))); in linear_gradproc() 100 const GradRec& checkRec) { in radial_gradproc() argument 106 checkRec.gradCheck(reporter, s, &info, SkShader::kRadial_GradientType); in radial_gradproc() 107 REPORTER_ASSERT(reporter, info.fPoint[0] == checkRec.fPoint[0]); in radial_gradproc() 108 REPORTER_ASSERT(reporter, info.fRadius[0] == checkRec.fRadius[0]); in radial_gradproc() 112 const GradRec& checkRec) { in sweep_gradproc() argument 118 checkRec.gradCheck(reporter, s, &info, SkShader::kSweep_GradientType); in sweep_gradproc() 119 REPORTER_ASSERT(reporter, info.fPoint[0] == checkRec.fPoint[0]); in sweep_gradproc() [all …]
|
/third_party/flutter/skia/tests/ |
D | GradientTest.cpp | 87 const GradRec& checkRec) { in linear_gradproc() argument 92 checkRec.gradCheck(reporter, s, &info, SkShader::kLinear_GradientType); in linear_gradproc() 93 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, checkRec.fPoint, 2 * sizeof(SkPoint))); in linear_gradproc() 97 const GradRec& checkRec) { in radial_gradproc() argument 103 checkRec.gradCheck(reporter, s, &info, SkShader::kRadial_GradientType); in radial_gradproc() 104 REPORTER_ASSERT(reporter, info.fPoint[0] == checkRec.fPoint[0]); in radial_gradproc() 105 REPORTER_ASSERT(reporter, info.fRadius[0] == checkRec.fRadius[0]); in radial_gradproc() 109 const GradRec& checkRec) { in sweep_gradproc() argument 115 checkRec.gradCheck(reporter, s, &info, SkShader::kSweep_GradientType); in sweep_gradproc() 116 REPORTER_ASSERT(reporter, info.fPoint[0] == checkRec.fPoint[0]); in sweep_gradproc() [all …]
|