/external/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* 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 …]
|
D | gm.h | 47 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 …]
|
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 | 69 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 …]
|
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* context, in onDraw() 160 return DrawResult::kOk; in onDraw()
|
D | preservefillrule.cpp | 26 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()
|
D | windowrectangles.cpp | 57 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 …]
|
D | rectangletexture.cpp | 112 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()
|
D | discard.cpp | 46 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()
|
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 | yuv420_odd_dim.cpp | 59 return skiagm::DrawResult::kSkip; 63 return rContext->abandoned() ? skiagm::DrawResult::kOk : skiagm::DrawResult::kFail; 82 return skiagm::DrawResult::kOk;
|
D | widebuttcaps.cpp | 116 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()
|
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 | 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 | crosscontextimage.cpp | 31 return skiagm::DrawResult::kFail; 37 return skiagm::DrawResult::kSkip; 70 return skiagm::DrawResult::kOk;
|
D | colrv1.cpp | 55 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 63 return DrawResult::kSkip; in onDraw() 83 return DrawResult::kOk; in onDraw()
|
D | bitmapimage.cpp | 39 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 46 return DrawResult::kFail; in onDraw() 74 return DrawResult::kOk; in onDraw()
|
D | copy_to_4444.cpp | 30 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 34 return DrawResult::kFail; in onDraw() 41 return DrawResult::kOk; in onDraw()
|
D | encode_platform.cpp | 110 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()
|
D | ducky_yuv_blend.cpp | 25 return skiagm::DrawResult::kFail; 37 return skiagm::DrawResult::kFail; 76 return skiagm::DrawResult::kOk;
|
D | showmiplevels.cpp | 50 DrawResult onDraw(SkCanvas* canvas, SkString*) override { in onDraw() 53 return DrawResult::kSkip; in onDraw() 64 return DrawResult::kOk; in onDraw()
|
D | readpixels.cpp | 199 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()
|
D | crbug_691386.cpp | 19 return skiagm::DrawResult::kFail; 27 return skiagm::DrawResult::kOk;
|
/external/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()
|
/external/skia/modules/skparagraph/gm/ |
D | simple_gm.cpp | 127 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()
|