Lines Matching refs:sdc
112 auto sdc = skgpu::v1::SurfaceDrawContext::Make( local
115 if (!sdc) {
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,
584 const std::unique_ptr<skgpu::v1::SurfaceDrawContext>& sdc, argument
590 if (h != sdc->height() || w != sdc->width()) {
600 sdc->clear(SkPMColor4f::FromBytes_RGBA(0xbaaaaaad));
601 sdc->addDrawOp(MeshTestOp::Make(dContext, prepareFn, executeFn));
603 sdc->readPixels(dContext, resultPM, {0, 0});