Lines Matching refs:dContext
47 static void fillrectop_creation_test(skiatest::Reporter* reporter, GrDirectContext* dContext, in fillrectop_creation_test() argument
57 std::unique_ptr<GrSurfaceDrawContext> rtc = new_RTC(dContext); in fillrectop_creation_test()
71 GrFillRectOp::AddFillRectOps(rtc.get(), nullptr, dContext, std::move(paint), overallAA, in fillrectop_creation_test()
89 dContext->flushAndSubmit(); in fillrectop_creation_test()
95 static void textureop_creation_test(skiatest::Reporter* reporter, GrDirectContext* dContext, in textureop_creation_test() argument
101 std::unique_ptr<GrSurfaceDrawContext> rtc = new_RTC(dContext); in textureop_creation_test()
106 sk_sp<GrSurfaceProxy> proxyA = create_proxy(dContext); in textureop_creation_test()
107 sk_sp<GrSurfaceProxy> proxyB = create_proxy(dContext); in textureop_creation_test()
125 sk_sp<GrSurfaceProxy> proxyA = create_proxy(dContext); in textureop_creation_test()
148 GrOp::Owner op = GrTextureOp::Make(dContext, in textureop_creation_test()
165 dContext, in textureop_creation_test()
185 !dContext->priv().caps()->dynamicStateArrayGeometryProcessorTextureSupport()) { in textureop_creation_test()
206 dContext->flushAndSubmit(); in textureop_creation_test()
212 static void run_test(GrDirectContext* dContext, skiatest::Reporter* reporter, BulkRectTest test) { in run_test() argument
222 test(reporter, dContext, noAA, GrAAType::kNone, SkBlendMode::kSrcOver, in run_test()
235 test(reporter, dContext, noAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
249 test(reporter, dContext, alternateAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
264 test(reporter, dContext, runOfNonAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
279 test(reporter, dContext, fixedAA, GrAAType::kCoverage, SkBlendMode::kSrcATop, in run_test()
293 test(reporter, dContext, onlyOneAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
306 test(reporter, dContext, onlyOneAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()