/external/skia/gm/ |
D | gm.h | 42 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 …]
|
D | gm.cpp | 63 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 …]
|
D | windowrectangles.cpp | 33 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 …]
|
D | shapes_as_paths.cpp | 18 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()
|
D | encode-platform.cpp | 84 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()
|
D | repeated_bitmap.cpp | 13 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()
|
D | samplelocations.cpp | 48 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()
|
D | discard.cpp | 36 DrawResult onDraw(GrContext* context, GrRenderTargetContext*, SkCanvas* canvas, in onDraw() 45 return DrawResult::kFail; in onDraw() 74 return DrawResult::kOk; in onDraw()
|
D | readpixels.cpp | 187 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()
|
D | yuvtorgbeffect.cpp | 76 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()
|
D | copyTo4444.cpp | 33 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) { in onDraw() 37 return DrawResult::kFail; in onDraw() 44 return DrawResult::kOk; in onDraw()
|
D | bitmapimage.cpp | 29 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 36 return DrawResult::kFail; in onDraw() 66 return DrawResult::kOk; in onDraw()
|
D | fontscalerdistortable.cpp | 33 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 45 return DrawResult::kFail; in onDraw() 92 return DrawResult::kOk; in onDraw()
|
D | texturedomaineffect.cpp | 85 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()
|
D | crbug_691386.cpp | 15 return skiagm::DrawResult::kFail; 23 return skiagm::DrawResult::kOk;
|
D | encode-alpha-jpeg.cpp | 45 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 50 return DrawResult::kFail; in onDraw() 91 return DrawResult::kOk; in onDraw()
|
D | simple_magnification.cpp | 102 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 109 return DrawResult::kFail; in onDraw() 118 return DrawResult::kOk; in onDraw()
|
D | makecolorspace.cpp | 51 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 61 return DrawResult::kFail; in onDraw() 80 return DrawResult::kOk; in onDraw()
|
D | textblobrandomfont.cpp | 96 DrawResult onDraw(GrContext* context, GrRenderTargetContext*, SkCanvas* canvas, in onDraw() 110 return DrawResult::kFail; in onDraw() 143 return DrawResult::kOk; in onDraw()
|
D | subsetshader.cpp | 20 return skiagm::DrawResult::kFail; 38 return skiagm::DrawResult::kOk;
|
D | crosscontextimage.cpp | 19 return skiagm::DrawResult::kFail; 53 return skiagm::DrawResult::kOk;
|
D | blurimagevmask.cpp | 59 return skiagm::DrawResult::kFail; 71 return skiagm::DrawResult::kOk;
|
D | atlastext.cpp | 89 DrawResult onDraw(SkCanvas* canvas, SkString* errorMsg) override { in onDraw() 92 return DrawResult::kFail; in onDraw() 99 return DrawResult::kOk; in onDraw()
|
D | animatedGif.cpp | 115 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/ |
D | SkottieGM.cpp | 64 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()
|