chromium/cc/paint/draw_looper.cc

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

#include "cc/paint/draw_looper.h"

#include <utility>

#include "third_party/skia/include/core/SkBlurTypes.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkColorFilter.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkMaskFilter.h"
#include "third_party/skia/include/core/SkPaint.h"

namespace cc {

DrawLooper::DrawLooper(std::vector<Layer> l) :{}
DrawLooper::~DrawLooper() = default;

void DrawLooper::Layer::Apply(SkCanvas* canvas, SkPaint* paint) const {}

bool DrawLooper::EqualsForTesting(const DrawLooper& other) const {}

DrawLooperBuilder::DrawLooperBuilder() = default;
DrawLooperBuilder::~DrawLooperBuilder() = default;

void DrawLooperBuilder::AddUnmodifiedContent(bool add_on_top) {}

void DrawLooperBuilder::AddShadow(SkPoint offset,
                                  float blur_sigma,
                                  SkColor4f color,
                                  uint32_t flags,
                                  bool add_on_top) {}

sk_sp<DrawLooper> DrawLooperBuilder::Detach() {}

}  // namespace cc