#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) { … }
}
scoped_refptr<StaticBitmapImage> GetImageWithAlphaDisposition(
FlushReason reason,
scoped_refptr<StaticBitmapImage>&& image,
const AlphaDisposition alpha_disposition) { … }
}