/third_party/skia/gm/ |
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 | 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 | gm.h | 29 static skiagm::GMRegistry SK_MACRO_APPEND_COUNTER(REG_)( \ 30 []() { return std::unique_ptr<skiagm::GM>([]() { CODE; }()); }); 46 return skiagm::DrawResult::kOk; \ 55 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \ 56 DEF_GM(return new skiagm::SimpleGM(BGCOLOR, NAME_STR, {W,H}, SK_MACRO_CONCAT(NAME,_GM));) \ 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)( \ 79 DEF_GM(return new skiagm::SimpleGpuGM(BGCOLOR, SkString(#NAME), {W,H}, \ 81 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \ [all …]
|
D | bitmaprect.cpp | 39 class DrawBitmapRect2 : public skiagm::GM { 96 using INHERITED = skiagm::GM; 130 class DrawBitmapRect3 : public skiagm::GM { 160 using INHERITED = skiagm::GM; 190 class DrawBitmapRect4 : public skiagm::GM { 240 using INHERITED = skiagm::GM; 243 class BitmapRectRounding : public skiagm::GM { 283 using INHERITED = skiagm::GM;
|
D | strokes.cpp | 51 class StrokesGM : public skiagm::GM { 92 using INHERITED = skiagm::GM; 99 class ZeroLenStrokesGM : public skiagm::GM { 172 using INHERITED = skiagm::GM; 175 class TeenyStrokesGM : public skiagm::GM { 207 using INHERITED = skiagm::GM; 285 class Strokes2GM : public skiagm::GM { 334 using INHERITED = skiagm::GM; 345 class Strokes3GM : public skiagm::GM { 439 using INHERITED = skiagm::GM; [all …]
|
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 | picture.cpp | 46 class PictureGM : public skiagm::GM { 87 using INHERITED = skiagm::GM; 97 class PictureCullRectGM : public skiagm::GM { 142 using INHERITED = skiagm::GM;
|
D | crosscontextimage.cpp | 28 return skiagm::DrawResult::kFail; 34 return skiagm::DrawResult::kSkip; 67 return skiagm::DrawResult::kOk;
|
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 | readpixels.cpp | 126 class ReadPixelsGM : public skiagm::GM { 182 using INHERITED = skiagm::GM; 186 class ReadPixelsCodecGM : public skiagm::GM { 246 using INHERITED = skiagm::GM; 250 class ReadPixelsPictureGM : public skiagm::GM { 312 using INHERITED = skiagm::GM;
|
D | typeface.cpp | 94 class TypefaceStylesGM : public skiagm::GM { 149 using INHERITED = skiagm::GM; 365 return skiagm::DrawResult::kSkip; 371 return skiagm::DrawResult::kOk; 380 return skiagm::DrawResult::kSkip; 383 return skiagm::DrawResult::kOk; 389 return skiagm::DrawResult::kSkip; 392 return skiagm::DrawResult::kOk;
|
D | gammatext.cpp | 41 class GammaTextGM : public skiagm::GM { 92 using INHERITED = skiagm::GM; 119 class GammaShaderTextGM : public skiagm::GM { 159 using INHERITED = skiagm::GM;
|
D | addarc.cpp | 25 class AddArcGM : public skiagm::GM { 72 using INHERITED = skiagm::GM; 115 class StrokeCircleGM : public skiagm::GM { 157 using INHERITED = skiagm::GM; 165 class FillCircleGM : public skiagm::GM { 210 using INHERITED = skiagm::GM;
|
D | ducky_yuv_blend.cpp | 25 return skiagm::DrawResult::kFail; 37 return skiagm::DrawResult::kFail; 76 return skiagm::DrawResult::kOk;
|
D | ycbcrimage.cpp | 26 namespace skiagm { namespace 50 return skiagm::DrawResult::kSkip; in createYCbCrImage() 55 return skiagm::DrawResult::kFail; in createYCbCrImage()
|
D | lcdoverlap.cpp | 24 namespace skiagm { namespace 29 class LcdOverlapGM : public skiagm::GM { 93 using INHERITED = skiagm::GM;
|
D | makecolorspace.cpp | 57 return skiagm::DrawResult::kFail; 77 return skiagm::DrawResult::kOk; 147 return skiagm::DrawResult::kFail; 178 return skiagm::DrawResult::kOk;
|
D | bitmapfilters.cpp | 75 class FilterGM : public skiagm::GM { 116 using INHERITED = skiagm::GM; 122 class TestExtractAlphaGM : public skiagm::GM { 166 using INHERITED = skiagm::GM;
|
/third_party/skia/modules/canvaskit/ |
D | gm_bindings.cpp | 44 for (skiagm::GMFactory fact : skiagm::GMRegistry::Range()) { in ListGMs() 45 std::unique_ptr<skiagm::GM> gm(fact()); in ListGMs() 52 static std::unique_ptr<skiagm::GM> getGMWithName(std::string name) { in getGMWithName() 53 for (skiagm::GMFactory fact : skiagm::GMRegistry::Range()) { in getGMWithName() 54 std::unique_ptr<skiagm::GM> gm(fact()); in getGMWithName() 141 if (gpuSetupResult == skiagm::DrawResult::kFail) { in RunGM() 144 } else if (gpuSetupResult == skiagm::DrawResult::kSkip) { in RunGM() 149 if (drawResult == skiagm::DrawResult::kFail) { in RunGM() 152 } else if (drawResult == skiagm::DrawResult::kSkip) { in RunGM()
|
/third_party/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 43 class SkottieWebFontGM : public skiagm::GM { 88 using INHERITED = skiagm::GM; 93 class SkottieColorizeGM : public skiagm::GM { 178 using INHERITED = skiagm::GM; 184 class SkottieMultiFrameGM : public skiagm::GM { 239 using INHERITED = skiagm::GM;
|
/third_party/skia/tools/fm/ |
D | fm.cpp | 146 static void init(Source* source, std::shared_ptr<skiagm::GM> gm) { in init() 154 case skiagm::DrawResult::kOk : break; in init() 155 case skiagm::DrawResult::kSkip: return skip; in init() 156 case skiagm::DrawResult::kFail: return fail(err.c_str()); in init() 160 case skiagm::DrawResult::kOk: break; in init() 161 case skiagm::DrawResult::kSkip: return skip; in init() 162 case skiagm::DrawResult::kFail: return fail(err.c_str()); in init() 408 SkTHashMap<SkString, skiagm::GMFactory> gm_factories; in main() 409 for (skiagm::GMFactory factory : skiagm::GMRegistry::Range()) { in main() 410 std::unique_ptr<skiagm::GM> gm{factory()}; in main() [all …]
|
/third_party/skia/tools/ |
D | list_gms.cpp | 17 for (skiagm::GMFactory factory : skiagm::GMRegistry::Range()) { in main() 18 std::unique_ptr<skiagm::GM> gm(factory()); in main()
|
/third_party/skia/tools/skqp/ |
D | jitter_gms.cpp | 46 static void do_gm(SkBitmap* bm, skiagm::GM* gm, SkPoint jitter) { in do_gm() 59 static bool test_jitter(skiagm::GM* gm) { in test_jitter() 122 for (skiagm::GMFactory factory : skiagm::GMRegistry::Range()) { in main() 126 std::unique_ptr<skiagm::GM> gm(factory()); in main()
|
/third_party/skia/tools/viewer/ |
D | GMSlide.cpp | 19 GMSlide::GMSlide(std::unique_ptr<skiagm::GM> gm) : fGM(std::move(gm)) { in GMSlide() 20 fGM->setMode(skiagm::GM::kSample_Mode); in GMSlide() 36 if (result != skiagm::GM::DrawResult::kOk) { in draw()
|
/third_party/skia/bench/ |
D | GMBench.cpp | 13 GMBench::GMBench(std::unique_ptr<skiagm::GM> gm) : fGM(std::move(gm)) { in GMBench() 14 fGM->setMode(skiagm::GM::kBench_Mode); in GMBench() 30 if (fGM->gpuSetup(direct, canvas) != skiagm::DrawResult::kOk) { in onPerCanvasPreDraw()
|