Home
last modified time | relevance | path

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

12345

/third_party/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* 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()
[all …]
Dgm.h46 return skiagm::DrawResult::kOk; \
55 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \
57 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG)
69 return skiagm::DrawResult::kOk; \
77 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
81 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
86 enum class DrawResult { enum
94 using DrawResult = skiagm::DrawResult;
111 DrawResult gpuSetup(GrDirectContext* context, SkCanvas* canvas) { in gpuSetup()
115 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.cpp65 static void handle_gm_failure(SkCanvas* canvas, DrawResult result, const SkString& errorMsg) { in handle_gm_failure()
66 if (DrawResult::kFail == result) { in handle_gm_failure()
82 DrawResult GM::gpuSetup(GrDirectContext* context, SkCanvas* canvas, SkString* errorMsg) { in gpuSetup()
90 if (DrawResult::kOk != fGpuSetupResult) { in gpuSetup()
105 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw()
111 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent()
115 DrawResult drawResult = this->onDraw(canvas, errorMsg); in drawContent()
116 if (DrawResult::kOk != drawResult) { in drawContent()
128 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
130 return DrawResult::kOk; in onDraw()
[all …]
Dyuv420_odd_dim.cpp60 return skiagm::DrawResult::kSkip;
64 return rContext->abandoned() ? skiagm::DrawResult::kOk : skiagm::DrawResult::kFail;
83 return skiagm::DrawResult::kOk;
93 return skiagm::DrawResult::kSkip;
97 return rContext->abandoned() ? skiagm::DrawResult::kOk : skiagm::DrawResult::kFail;
120 return rContext->abandoned() ? skiagm::DrawResult::kSkip : skiagm::DrawResult::kFail;
144 return skiagm::DrawResult::kOk;
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* rContext, in onDraw()
121 return DrawResult::kSkip; in onDraw()
164 return DrawResult::kOk; in onDraw()
Dwidebuttcaps.cpp120 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
124 return DrawResult::kSkip; in onDraw()
130 return DrawResult::kSkip; in onDraw()
135 return DrawResult::kSkip; in onDraw()
141 return DrawResult::kFail; in onDraw()
146 return DrawResult::kOk; in onDraw()
Drectangletexture.cpp109 DrawResult onGpuSetup(GrDirectContext* context, SkString* errorMsg) override { in onGpuSetup()
111 return DrawResult::kSkip; in onGpuSetup()
117 return DrawResult::kSkip; in onGpuSetup()
129 return DrawResult::kFail; in onGpuSetup()
136 return DrawResult::kFail; in onGpuSetup()
139 return DrawResult::kOk; in onGpuSetup()
147 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
238 return DrawResult::kOk; in onDraw()
Ddiscard.cpp44 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
48 return DrawResult::kSkip; in onDraw()
58 return DrawResult::kFail; in onDraw()
87 return DrawResult::kOk; in onDraw()
Dwindowrectangles.cpp42 DrawResult coverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg);
46 DrawResult onDraw(SkCanvas*, SkString* errorMsg) override;
49 DrawResult WindowRectanglesGM::coverClipStack(const SkClipStack& stack, SkCanvas* canvas, in coverClipStack()
80 return DrawResult::kOk; in coverClipStack()
83 DrawResult WindowRectanglesGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { 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()
Dpreservefillrule.cpp27 return DrawResult::kFail; \
52 DrawResult onDraw(GrRecordingContext* rContext, SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
57 return skiagm::DrawResult::kSkip; in onDraw()
87 return DrawResult::kOk; in onDraw()
Dlazytiling.cpp190 DrawResult onGpuSetup(GrDirectContext* dContext, SkString* errorMsg) override { in onGpuSetup()
192 return DrawResult::kSkip; in onGpuSetup()
203 return DrawResult::kFail; in onGpuSetup()
206 return DrawResult::kOk; in onGpuSetup()
209 DrawResult onDraw(GrRecordingContext* rContext, SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
216 return DrawResult::kSkip; in onDraw()
246 return DrawResult::kOk; in onDraw()
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()
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()
Dcrosscontextimage.cpp28 return skiagm::DrawResult::kFail;
34 return skiagm::DrawResult::kSkip;
67 return skiagm::DrawResult::kOk;
/third_party/flutter/skia/gm/
Dgm.h45 return skiagm::DrawResult::kOk; \
54 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \
56 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas* CANVAS, SkString* ERR_MSG)
68 return skiagm::DrawResult::kOk; \
78 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
82 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \
88 enum class DrawResult { enum
96 using DrawResult = skiagm::DrawResult;
112 DrawResult draw(SkCanvas* canvas) { in draw()
116 DrawResult draw(SkCanvas*, SkString* errorMsg);
[all …]
Dgm.cpp75 DrawResult GM::draw(SkCanvas* canvas, SkString* errorMsg) { in draw()
81 DrawResult GM::drawContent(SkCanvas* canvas, SkString* errorMsg) { in drawContent()
88 DrawResult drawResult = this->onDraw(canvas, errorMsg); in drawContent()
89 if (DrawResult::kOk != drawResult) { in drawContent()
90 if (DrawResult::kFail == drawResult) { in drawContent()
111 DrawResult GM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
113 return DrawResult::kOk; in onDraw()
120 DrawResult SimpleGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
126 DrawResult SimpleGpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
166 DrawResult GpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
[all …]
Dasyncrescaleandread.cpp138 static skiagm::DrawResult do_rescale_grid(SkCanvas* canvas, SkSurface* surface, in do_rescale_grid()
144 return skiagm::DrawResult::kSkip; in do_rescale_grid()
149 return skiagm::DrawResult::kSkip; in do_rescale_grid()
165 return skiagm::DrawResult::kSkip; in do_rescale_grid()
173 return skiagm::DrawResult::kFail; in do_rescale_grid()
183 return skiagm::DrawResult::kOk; in do_rescale_grid()
186 static skiagm::DrawResult do_rescale_image_grid(SkCanvas* canvas, const char* imageFile, in do_rescale_image_grid()
192 return skiagm::DrawResult::kFail; in do_rescale_image_grid()
196 return skiagm::DrawResult::kSkip; in do_rescale_image_grid()
209 return skiagm::DrawResult::kSkip; in do_rescale_image_grid()
[all …]
Dwindowrectangles.cpp58 virtual DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) = 0;
62 DrawResult onDraw(SkCanvas*, SkString* errorMsg) final;
65 DrawResult WindowRectanglesBaseGM::onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw()
96 DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) final;
99 DrawResult WindowRectanglesGM::onCoverClipStack(const SkClipStack& stack, SkCanvas* canvas, in onCoverClipStack()
126 return DrawResult::kOk; in onCoverClipStack()
151 DrawResult onCoverClipStack(const SkClipStack&, SkCanvas*, SkString* errorMsg) final;
200 DrawResult WindowRectanglesMaskGM::onCoverClipStack(const SkClipStack& stack, SkCanvas* canvas, in onCoverClipStack()
206 return DrawResult::kSkip; in onCoverClipStack()
211 return DrawResult::kSkip; in onCoverClipStack()
[all …]
Dpreservefillrule.cpp27 return DrawResult::kFail; \
61 DrawResult onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
67 return DrawResult::kSkip; in onDraw()
73 return DrawResult::kSkip; in onDraw()
80 return DrawResult::kFail; in onDraw()
142 return DrawResult::kOk; in onDraw()
Dsamplelocations.cpp89 DrawResult onDraw(GrContext*, GrRenderTargetContext*, SkCanvas*, SkString* errorMsg) override;
253 DrawResult SampleLocationsGM::onDraw( in onDraw()
257 return DrawResult::kSkip; in onDraw()
261 return DrawResult::kSkip; in onDraw()
265 return DrawResult::kSkip; in onDraw()
273 return DrawResult::kFail; in onDraw()
278 return DrawResult::kSkip; in onDraw()
311 return skiagm::DrawResult::kOk; in onDraw()
Dyuvtorgbeffect.cpp97 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw()
107 return DrawResult::kFail; in onDraw()
147 return DrawResult::kOk; in onDraw()
216 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw()
226 return DrawResult::kFail; in onDraw()
259 return DrawResult::kOk; in onDraw()
313 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw()
323 return DrawResult::kFail; in onDraw()
371 return DrawResult::kOk; in onDraw()
/third_party/flutter/skia/modules/skottie/gm/
DSkottieGM.cpp63 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
66 return DrawResult::kFail; in onDraw()
71 return DrawResult::kOk; in onDraw()
116 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
119 return DrawResult::kFail; in onDraw()
124 return DrawResult::kOk; in onDraw()
189 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw()
192 return DrawResult::kFail; in onDraw()
197 return DrawResult::kOk; in onDraw()
/third_party/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()

12345