Home
last modified time | relevance | path

Searched refs:DrawResult (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/gm/
Dgm.h42 return skiagm::DrawResult::kOk; \
51 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \
53 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG)
65 return skiagm::DrawResult::kOk; \
75 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
79 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
85 enum class DrawResult { enum
93 using DrawResult = skiagm::DrawResult;
109 DrawResult draw(SkCanvas* canvas) { in draw()
113 DrawResult draw(SkCanvas*, SkString* errorMsg);
[all …]
Dgm.cpp63 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw()
69 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent()
76 DrawResult drawResult = this->onDraw(canvas, errorMsg); in drawContent()
77 if (DrawResult::kOk != drawResult) { in drawContent()
78 if (DrawResult::kFail == drawResult) { in drawContent()
99 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
101 return DrawResult::kOk; in onDraw()
108 DrawResult SimpleGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
114 DrawResult SimpleGpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
158 DrawResult GpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
[all …]
Dwindowrectangles.cpp33 virtual DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) = 0;
37 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final;
40 DrawResult WindowRectanglesBaseGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
71 DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) final;
74 DrawResult WindowRectanglesGM::onCoverClipStack(const SkClipStack& stack, SkCanvas* canvas, in onCoverClipStack()
101 return DrawResult::kOk; in onCoverClipStack()
126 DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) final;
175 DrawResult WindowRectanglesMaskGM::onCoverClipStack(const SkClipStack& stack, SkCanvas* canvas, in onCoverClipStack()
181 return DrawResult::kSkip; in onCoverClipStack()
186 return DrawResult::kSkip; in onCoverClipStack()
[all …]
Dshapes_as_paths.cpp18 skiagm::DrawResult draw_diff(SkCanvas* canvas, SkImage* imgA, SkImage* imgB, SkString* errorMsg) { in draw_diff()
38 return skiagm::DrawResult::kFail; in draw_diff()
98 return skiagm::DrawResult::kOk; in draw_diff()
110 static skiagm::DrawResult draw_rect_geom_diff_grid(SkCanvas* canvas, ShapeDrawFunc f1, in draw_rect_geom_diff_grid()
187 skiagm::DrawResult drawResult = draw_diff(canvas, imgA.get(), imgB.get(), errorMsg); in draw_rect_geom_diff_grid()
188 if (skiagm::DrawResult::kOk != drawResult) { in draw_rect_geom_diff_grid()
197 return skiagm::DrawResult::kOk; in draw_rect_geom_diff_grid()
Dencode-platform.cpp84 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
90 return DrawResult::kFail; in onDraw()
96 return DrawResult::kFail; in onDraw()
114 return DrawResult::kOk; in onDraw()
Drepeated_bitmap.cpp13 static skiagm::DrawResult draw_rotated_image(SkCanvas* canvas, const SkImage* image, in draw_rotated_image()
19 return skiagm::DrawResult::kFail; in draw_rotated_image()
37 return skiagm::DrawResult::kOk; in draw_rotated_image()
Dsamplelocations.cpp48 DrawResult onDraw(GrContext*, GrRenderTargetContext*, SkCanvas*, SkString* errorMsg) override;
217 DrawResult SampleLocationsGM::onDraw( in onDraw()
221 return DrawResult::kSkip; in onDraw()
225 return DrawResult::kSkip; in onDraw()
229 return DrawResult::kSkip; in onDraw()
268 return skiagm::DrawResult::kOk; in onDraw()
Ddiscard.cpp36 DrawResult onDraw(GrContext* context, GrRenderTargetContext*, SkCanvas* canvas, in onDraw()
45 return DrawResult::kFail; in onDraw()
74 return DrawResult::kOk; in onDraw()
Dreadpixels.cpp187 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
190 return DrawResult::kSkip; in onDraw()
227 return DrawResult::kOk; in onDraw()
251 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
254 return DrawResult::kSkip; in onDraw()
295 return DrawResult::kOk; in onDraw()
Dyuvtorgbeffect.cpp76 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw()
86 return DrawResult::kFail; in onDraw()
126 return DrawResult::kOk; in onDraw()
195 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw()
205 return DrawResult::kFail; in onDraw()
238 return DrawResult::kOk; in onDraw()
DcopyTo4444.cpp33 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
37 return DrawResult::kFail; in onDraw()
44 return DrawResult::kOk; in onDraw()
Dbitmapimage.cpp29 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
36 return DrawResult::kFail; in onDraw()
66 return DrawResult::kOk; in onDraw()
Dfontscalerdistortable.cpp33 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
45 return DrawResult::kFail; in onDraw()
92 return DrawResult::kOk; in onDraw()
Dtexturedomaineffect.cpp85 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw()
94 return DrawResult::kFail; in onDraw()
103 return DrawResult::kFail; in onDraw()
153 return DrawResult::kOk; in onDraw()
Dcrbug_691386.cpp15 return skiagm::DrawResult::kFail;
23 return skiagm::DrawResult::kOk;
Dencode-alpha-jpeg.cpp45 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
50 return DrawResult::kFail; in onDraw()
91 return DrawResult::kOk; in onDraw()
Dsimple_magnification.cpp102 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
109 return DrawResult::kFail; in onDraw()
118 return DrawResult::kOk; in onDraw()
Dmakecolorspace.cpp51 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
61 return DrawResult::kFail; in onDraw()
80 return DrawResult::kOk; in onDraw()
Dtextblobrandomfont.cpp96 DrawResult onDraw(GrContext* context, GrRenderTargetContext*, SkCanvas* canvas, in onDraw()
110 return DrawResult::kFail; in onDraw()
143 return DrawResult::kOk; in onDraw()
Dsubsetshader.cpp20 return skiagm::DrawResult::kFail;
38 return skiagm::DrawResult::kOk;
Dcrosscontextimage.cpp19 return skiagm::DrawResult::kFail;
53 return skiagm::DrawResult::kOk;
Dblurimagevmask.cpp59 return skiagm::DrawResult::kFail;
71 return skiagm::DrawResult::kOk;
Datlastext.cpp89 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
92 return DrawResult::kFail; in onDraw()
99 return DrawResult::kOk; in onDraw()
DanimatedGif.cpp115 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
118 return DrawResult::kFail; in onDraw()
131 return DrawResult::kOk; in onDraw()
/external/skia/modules/skottie/gm/
DSkottieGM.cpp64 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
67 return DrawResult::kFail; in onDraw()
72 return DrawResult::kOk; in onDraw()
117 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
120 return DrawResult::kFail; in onDraw()
125 return DrawResult::kOk; in onDraw()
190 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
193 return DrawResult::kFail; in onDraw()
198 return DrawResult::kOk; in onDraw()

12