Home
last modified time | relevance | path

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

123

/external/skia/gm/
Dycbcrimage.cpp45 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* context, SkString* errorMsg) override { in onGpuSetup()
74 return DrawResult::kSkip; in onGpuSetup()
79 return DrawResult::kSkip; in onGpuSetup()
82 DrawResult result = this->createYCbCrImage(context, errorMsg); in onGpuSetup()
83 if (result != DrawResult::kOk) { in onGpuSetup()
[all …]
Dgm.h47 return skiagm::DrawResult::kOk; \
56 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \
58 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG)
71 return skiagm::DrawResult::kOk; \
82 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
86 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
92 enum class DrawResult { enum
100 using DrawResult = skiagm::DrawResult;
116 DrawResult gpuSetup(GrDirectContext* context, SkCanvas* canvas) { in gpuSetup()
120 DrawResult gpuSetup(GrDirectContext*, SkCanvas*, SkString* errorMsg);
[all …]
Dasyncrescaleandread.cpp117 static skiagm::DrawResult do_rescale_grid(SkCanvas* canvas, in do_rescale_grid()
127 return skiagm::DrawResult::kSkip; in do_rescale_grid()
131 return skiagm::DrawResult::kSkip; in do_rescale_grid()
150 return skiagm::DrawResult::kSkip; in do_rescale_grid()
158 return skiagm::DrawResult::kFail; in do_rescale_grid()
168 return skiagm::DrawResult::kOk; in do_rescale_grid()
171 static skiagm::DrawResult do_rescale_image_grid(SkCanvas* canvas, in do_rescale_image_grid()
181 return skiagm::DrawResult::kFail; in do_rescale_image_grid()
185 return skiagm::DrawResult::kSkip; in do_rescale_image_grid()
191 return skiagm::DrawResult::kSkip; in do_rescale_image_grid()
[all …]
Dgm.cpp69 static void handle_gm_failure(SkCanvas* canvas, DrawResult result, const SkString& errorMsg) { in handle_gm_failure()
70 if (DrawResult::kFail == result) { in handle_gm_failure()
86 DrawResult GM::gpuSetup(GrDirectContext* context, SkCanvas* canvas, SkString* errorMsg) { in gpuSetup()
94 if (DrawResult::kOk != fGpuSetupResult) { in gpuSetup()
109 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw()
115 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent()
119 DrawResult drawResult = this->onDraw(canvas, errorMsg); in drawContent()
120 if (DrawResult::kOk != drawResult) { in drawContent()
132 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
134 return DrawResult::kOk; in onDraw()
[all …]
Dyuvtorgbsubset.cpp85 DrawResult onGpuSetup(GrDirectContext* context, SkString* errorMsg) override { in onGpuSetup()
87 return DrawResult::kSkip; in onGpuSetup()
101 return context->abandoned() ? DrawResult::kSkip : DrawResult::kFail; in onGpuSetup()
108 return DrawResult::kFail; in onGpuSetup()
110 return DrawResult::kOk; in onGpuSetup()
115 DrawResult onDraw(GrRecordingContext* context, in onDraw()
160 return DrawResult::kOk; in onDraw()
Dpreservefillrule.cpp26 return DrawResult::kFail; \
52 DrawResult onDraw(GrRecordingContext* rContext, GrSurfaceDrawContext* rtc, SkCanvas* canvas, in onDraw()
56 return DrawResult::kSkip; in onDraw()
62 return DrawResult::kSkip; in onDraw()
68 return skiagm::DrawResult::kSkip; in onDraw()
98 return DrawResult::kOk; in onDraw()
Dwindowrectangles.cpp57 virtual DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) = 0;
61 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final;
64 DrawResult WindowRectanglesBaseGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
95 DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) final;
98 DrawResult WindowRectanglesGM::onCoverClipStack(const SkClipStack& stack, SkCanvas* canvas, in onCoverClipStack()
128 return DrawResult::kOk; in onCoverClipStack()
153 DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) final;
197 DrawResult WindowRectanglesMaskGM::onCoverClipStack(const SkClipStack& stack, SkCanvas* canvas, in onCoverClipStack()
204 return DrawResult::kSkip; in onCoverClipStack()
209 return DrawResult::kSkip; in onCoverClipStack()
[all …]
Drectangletexture.cpp112 DrawResult onGpuSetup(GrDirectContext* context, SkString* errorMsg) override { in onGpuSetup()
114 return DrawResult::kSkip; in onGpuSetup()
120 return DrawResult::kSkip; in onGpuSetup()
132 return DrawResult::kFail; in onGpuSetup()
139 return DrawResult::kFail; in onGpuSetup()
142 return DrawResult::kOk; in onGpuSetup()
150 DrawResult onDraw(GrRecordingContext*, GrSurfaceDrawContext*, SkCanvas* canvas, in onDraw()
235 return DrawResult::kOk; in onDraw()
Ddiscard.cpp46 DrawResult onDraw(GrRecordingContext* context, GrSurfaceDrawContext*, SkCanvas* canvas, in onDraw()
51 return DrawResult::kSkip; in onDraw()
61 return DrawResult::kFail; in onDraw()
90 return DrawResult::kOk; in onDraw()
Dencode_color_types.cpp95 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
100 return DrawResult::kSkip; in onDraw()
109 return DrawResult::kSkip; in onDraw()
122 return DrawResult::kSkip; in onDraw()
144 return DrawResult::kOk; in onDraw()
Dyuv420_odd_dim.cpp59 return skiagm::DrawResult::kSkip;
63 return rContext->abandoned() ? skiagm::DrawResult::kOk : skiagm::DrawResult::kFail;
82 return skiagm::DrawResult::kOk;
Dwidebuttcaps.cpp116 DrawResult onDraw(GrRecordingContext* context, in onDraw()
122 return DrawResult::kSkip; in onDraw()
127 return DrawResult::kSkip; in onDraw()
133 return DrawResult::kFail; in onDraw()
138 return DrawResult::kOk; in onDraw()
Drepeated_bitmap.cpp21 static skiagm::DrawResult draw_rotated_image(SkCanvas* canvas, const SkImage* image, in draw_rotated_image()
26 return skiagm::DrawResult::kFail; in draw_rotated_image()
44 return skiagm::DrawResult::kOk; in draw_rotated_image()
Dpath_stroke_with_zero_length.cpp132 static skiagm::DrawResult draw_zero_length_capped_paths(SkCanvas* canvas, bool aa, in draw_zero_length_capped_paths()
139 return skiagm::DrawResult::kSkip; in draw_zero_length_capped_paths()
191 return skiagm::DrawResult::kOk; in draw_zero_length_capped_paths()
204 static skiagm::DrawResult draw_zero_length_capped_paths_dbl_contour(SkCanvas* canvas, bool aa, in draw_zero_length_capped_paths_dbl_contour()
211 return skiagm::DrawResult::kSkip; in draw_zero_length_capped_paths_dbl_contour()
272 return skiagm::DrawResult::kOk; in draw_zero_length_capped_paths_dbl_contour()
Dcrosscontextimage.cpp31 return skiagm::DrawResult::kFail;
37 return skiagm::DrawResult::kSkip;
70 return skiagm::DrawResult::kOk;
Dcolrv1.cpp55 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
63 return DrawResult::kSkip; in onDraw()
83 return DrawResult::kOk; in onDraw()
Dbitmapimage.cpp39 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
46 return DrawResult::kFail; in onDraw()
74 return DrawResult::kOk; in onDraw()
Dcopy_to_4444.cpp30 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
34 return DrawResult::kFail; in onDraw()
41 return DrawResult::kOk; in onDraw()
Dencode_platform.cpp110 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
116 return DrawResult::kFail; in onDraw()
122 return DrawResult::kFail; in onDraw()
141 return DrawResult::kOk; in onDraw()
Dducky_yuv_blend.cpp25 return skiagm::DrawResult::kFail;
37 return skiagm::DrawResult::kFail;
76 return skiagm::DrawResult::kOk;
Dshowmiplevels.cpp50 DrawResult onDraw(SkCanvas* canvas, SkString*) override { in onDraw()
53 return DrawResult::kSkip; in onDraw()
64 return DrawResult::kOk; in onDraw()
Dreadpixels.cpp199 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
202 return DrawResult::kSkip; in onDraw()
239 return DrawResult::kOk; in onDraw()
263 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
266 return DrawResult::kSkip; in onDraw()
307 return DrawResult::kOk; in onDraw()
Dcrbug_691386.cpp19 return skiagm::DrawResult::kFail;
27 return skiagm::DrawResult::kOk;
/external/skia/modules/skottie/gm/
DSkottieGM.cpp62 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
65 return DrawResult::kFail; in onDraw()
70 return DrawResult::kOk; in onDraw()
120 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
123 return DrawResult::kFail; in onDraw()
128 return DrawResult::kOk; in onDraw()
204 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
207 return DrawResult::kFail; in onDraw()
212 return DrawResult::kOk; in onDraw()
/external/skia/modules/skparagraph/gm/
Dsimple_gm.cpp127 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
129 return DrawResult::kSkip; in onDraw()
138 return DrawResult::kOk; in onDraw()
161 return DrawResult::kSkip; in onDraw()
163 return DrawResult::kOk; in onDraw()

123