Go to the source code of this file.
◆ FINEGRAIN
◆ DEF_TEST()
DEF_TEST |
( |
SkRecordingAccuracyXfermode |
, |
|
|
reporter |
|
|
) |
| |
Definition at line 144 of file RecordingXfermodeTest.cpp.
144 {
145#define FINEGRAIN 0
146 const Drawer drawer;
147
148 BitmapBackedCanvasStrategy golden(drawer.imageInfo());
149 PictureStrategy
picture(drawer.imageInfo());
150
151#if !FINEGRAIN
152 unsigned numErrors = 0;
154#endif
155
159
162
165
166
167#if FINEGRAIN
170#else
172 numErrors++;
173 errors.appendf(
"For SkBlendMode %d %s: SkPictureRecorder bitmap is wrong\n",
175 }
176#endif
177 }
178
179#if !FINEGRAIN
181#endif
182}
SK_API const char * SkBlendMode_Name(SkBlendMode blendMode)
static constexpr int kSkBlendModeCount
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
#define REPORTER_ASSERT(r, cond,...)
size_t computeByteSize() const
sk_sp< const SkPicture > picture
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)