Definition at line 467 of file dl_rendering_unittests.cc.
◆ SkJobRenderer()
Definition at line 468 of file dl_rendering_unittests.cc.
472 : sk_setup_(sk_setup),
473 sk_render_(sk_render),
474 sk_restore_(sk_restore),
475 sk_image_(sk_image) {}
◆ MakePicture()
Definition at line 489 of file dl_rendering_unittests.cc.
489 {
495 }
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
SkCanvas * beginRecording(const SkRect &bounds, sk_sp< SkBBoxHierarchy > bbh)
sk_sp< SkPicture > finishRecordingAsPicture()
constexpr SkRect kTestBounds2
void Render(SkCanvas *canvas, const RenderJobInfo &info) override
◆ Render()
Implements flutter::testing::JobRenderer.
Definition at line 477 of file dl_rendering_unittests.cc.
477 {
480 sk_setup_({canvas,
paint, sk_image_});
481 setup_paint_ =
paint;
485 sk_render_({canvas,
paint, sk_image_});
486 sk_restore_({canvas,
paint, sk_image_});
487 }
SkMatrix getTotalMatrix() const
SkIRect getDeviceClipBounds() const
#define FML_DCHECK(condition)
SkIRect setup_clip_bounds_
◆ setup_paint()
const SkPaint & flutter::testing::SkJobRenderer::setup_paint |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: