chromium/third_party/blink/renderer/core/css/cssom/paint_worklet_deferred_image.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}
}  // namespace

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&) {}

}  // namespace blink