Lines Matching refs:gold
98 const std::unique_ptr<skgpu::v1::SurfaceDrawContext>&, const SkBitmap& gold,
122 SkBitmap gold; local
128 gold.allocN32Pixels(kImageWidth, kImageHeight);
130 SkCanvas goldCanvas(gold);
167 run_test(dContext, "draw", reporter, sdc, gold,
188 run_test(dContext, "drawIndexed", reporter, sdc, gold,
215 run_test(dContext, "drawIndexPattern", reporter, sdc, gold,
240 reporter, sdc, gold,
308 reporter, sdc, gold,
585 const SkBitmap& gold, argument
588 const int w = gold.width(), h = gold.height();
589 const uint32_t* goldPx = reinterpret_cast<const uint32_t*>(gold.getPixels());
594 if (sizeof(uint32_t) * kImageWidth != gold.rowBytes()) {
599 GrPixmap resultPM = GrPixmap::Allocate(gold.info());