/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 | 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 | 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 | 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 | 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 | gm.h | 28 static skiagm::GMRegistry SK_MACRO_APPEND_LINE(REG_)(\ 29 [](){return std::unique_ptr<skiagm::GM>([](){ CODE ; }());}); 45 return skiagm::DrawResult::kOk; \ 54 static skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)(SkCanvas*, SkString*); \ 55 DEF_GM(return new skiagm::SimpleGM(BGCOLOR, NAME_STR, {W,H}, SK_MACRO_CONCAT(NAME,_GM));) \ 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)( \ 80 DEF_GM(return new skiagm::SimpleGpuGM(BGCOLOR, SkString(#NAME), {W,H}, \ 82 skiagm::DrawResult SK_MACRO_CONCAT(NAME,_GM)( \ [all …]
|
D | bitmaprect.cpp | 37 class DrawBitmapRect2 : public skiagm::GM { 93 typedef skiagm::GM INHERITED; 127 class DrawBitmapRect3 : public skiagm::GM { 156 typedef skiagm::GM INHERITED; 183 class DrawBitmapRect4 : public skiagm::GM { 230 typedef skiagm::GM INHERITED; 233 class BitmapRectRounding : public skiagm::GM { 273 typedef skiagm::GM INHERITED;
|
D | strokes.cpp | 51 class StrokesGM : public skiagm::GM { 92 typedef skiagm::GM INHERITED; 99 class ZeroLenStrokesGM : public skiagm::GM { 172 typedef skiagm::GM INHERITED; 175 class TeenyStrokesGM : public skiagm::GM { 207 typedef skiagm::GM INHERITED; 285 class Strokes2GM : public skiagm::GM { 334 typedef skiagm::GM INHERITED; 345 class Strokes3GM : public skiagm::GM { 439 typedef skiagm::GM INHERITED; [all …]
|
D | picture.cpp | 49 class PictureGM : public skiagm::GM { 90 typedef skiagm::GM INHERITED; 100 class PictureCullRectGM : public skiagm::GM { 145 typedef skiagm::GM INHERITED;
|
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()
|
/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/flutter/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 44 class SkottieWebFontGM : public skiagm::GM { 89 using INHERITED = skiagm::GM; 96 class SkottieColorizeGM : public skiagm::GM { 165 using INHERITED = skiagm::GM; 170 class SkottieMultiFrameGM : public skiagm::GM { 223 using INHERITED = skiagm::GM;
|
/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/ |
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/flutter/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/flutter/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/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/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/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()
|