chromium/third_party/blink/renderer/core/html/canvas/canvas_image_source.cc

// Copyright 2021 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/html/canvas/canvas_image_source.h"

#include "gpu/command_buffer/client/shared_image_interface.h"
#include "third_party/blink/renderer/platform/graphics/canvas_resource_provider.h"
#include "third_party/blink/renderer/platform/graphics/skia/skia_utils.h"

namespace blink {
namespace {

std::unique_ptr<CanvasResourceProvider> CreateProvider(
    base::WeakPtr<WebGraphicsContext3DProviderWrapper> context_provider,
    const SkImageInfo& info,
    const scoped_refptr<StaticBitmapImage>& source_image,
    bool fallback_to_software) {}

}  // anonymous namespace

scoped_refptr<StaticBitmapImage> GetImageWithAlphaDisposition(
    FlushReason reason,
    scoped_refptr<StaticBitmapImage>&& image,
    const AlphaDisposition alpha_disposition) {}

}  // namespace blink