Lines Matching refs:gold
80 const sk_sp<GrRenderTargetContext>&, const SkBitmap& gold,
95 SkBitmap gold; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
101 gold.allocN32Pixels(kImageWidth, kImageHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
103 SkCanvas goldCanvas(gold); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
140 run_test(context, "setNonIndexedNonInstanced", reporter, rtc, gold, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
160 run_test(context, "setIndexed", reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
184 run_test(context, "setIndexedPatterned", reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
206 reporter, rtc, gold, [&](DrawMeshHelper* helper) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
390 const sk_sp<GrRenderTargetContext>& rtc, const SkBitmap& gold, in run_test() argument
392 const int w = gold.width(), h = gold.height(), rowBytes = gold.rowBytes(); in run_test()
393 const uint32_t* goldPx = reinterpret_cast<const uint32_t*>(gold.getPixels()); in run_test()
398 if (sizeof(uint32_t) * kImageWidth != gold.rowBytes()) { in run_test()
407 rtc->readPixels(gold.info(), resultPx, rowBytes, {0, 0}); in run_test()