#include "third_party/blink/renderer/core/css/cssom/paint_worklet_deferred_image.h"
#include <utility>
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_canvas.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_record.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_shader.h"
#include "third_party/blink/renderer/platform/graphics/skia/skia_utils.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/skia_conversions.h"
namespace blink {
namespace {
void DrawInternal(cc::PaintCanvas* canvas,
const cc::PaintFlags& flags,
const gfx::RectF& dest_rect,
const gfx::RectF& src_rect,
const ImageDrawOptions& draw_options,
const PaintImage& image) { … }
}
void PaintWorkletDeferredImage::Draw(cc::PaintCanvas* canvas,
const cc::PaintFlags& flags,
const gfx::RectF& dest_rect,
const gfx::RectF& src_rect,
const ImageDrawOptions& draw_options) { … }
void PaintWorkletDeferredImage::DrawTile(cc::PaintCanvas* canvas,
const gfx::RectF& src_rect,
const ImageDrawOptions& draw_options) { … }
sk_sp<PaintShader> PaintWorkletDeferredImage::CreateShader(
const gfx::RectF& tile_rect,
const SkMatrix* pattern_matrix,
const gfx::RectF& src_rect,
const ImageDrawOptions&) { … }
}