/third_party/skia/gm/ |
D | ycbcrimage.cpp | 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() [all …]
|
D | gm.h | 46 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 …]
|
D | asyncrescaleandread.cpp | 117 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 …]
|
D | gm.cpp | 65 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 …]
|
D | yuv420_odd_dim.cpp | 60 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;
|
D | yuvtorgbsubset.cpp | 85 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()
|
D | widebuttcaps.cpp | 120 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()
|
D | rectangletexture.cpp | 109 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()
|
D | discard.cpp | 44 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()
|
D | windowrectangles.cpp | 42 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()
|
D | encode_color_types.cpp | 95 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()
|
D | preservefillrule.cpp | 27 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()
|
D | lazytiling.cpp | 190 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()
|
D | path_stroke_with_zero_length.cpp | 132 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()
|
D | repeated_bitmap.cpp | 21 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()
|
D | crosscontextimage.cpp | 28 return skiagm::DrawResult::kFail; 34 return skiagm::DrawResult::kSkip; 67 return skiagm::DrawResult::kOk;
|
/third_party/flutter/skia/gm/ |
D | gm.h | 45 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 …]
|
D | gm.cpp | 75 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 …]
|
D | asyncrescaleandread.cpp | 138 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 …]
|
D | windowrectangles.cpp | 58 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 …]
|
D | preservefillrule.cpp | 27 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()
|
D | samplelocations.cpp | 89 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()
|
D | yuvtorgbeffect.cpp | 97 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/ |
D | SkottieGM.cpp | 63 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/ |
D | SkottieGM.cpp | 62 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()
|