Lines Matching refs:DrawResult
45 DrawResult createYCbCrImage(GrDirectContext* dContext, SkString* errorMsg) { in createYCbCrImage()
50 return skiagm::DrawResult::kSkip; in createYCbCrImage()
55 return skiagm::DrawResult::kFail; in createYCbCrImage()
66 return DrawResult::kFail; in createYCbCrImage()
69 return DrawResult::kOk; in createYCbCrImage()
72 DrawResult onGpuSetup(GrDirectContext* dContext, SkString* errorMsg) override { in onGpuSetup()
74 return DrawResult::kSkip; in onGpuSetup()
79 return DrawResult::kSkip; in onGpuSetup()
82 DrawResult result = this->createYCbCrImage(dContext, errorMsg); in onGpuSetup()
83 if (result != DrawResult::kOk) { in onGpuSetup()
87 return DrawResult::kOk; in onGpuSetup()
94 DrawResult onDraw(SkCanvas* canvas, SkString*) override { in onDraw()
98 return DrawResult::kOk; in onDraw()