chromium/third_party/skia/src/image/SkImage_Base.h

/*
 * Copyright 2012 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkImage_Base_DEFINED
#define SkImage_Base_DEFINED

#include "include/core/SkData.h"
#include "include/core/SkImage.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "src/core/SkMipmap.h"

#include <atomic>
#include <cstddef>
#include <cstdint>

class GrDirectContext;
class GrImageContext;
class SkBitmap;
class SkColorSpace;
class SkPixmap;
class SkSurface;
enum SkColorType : int;
enum SkYUVColorSpace : int;
struct SkIRect;
struct SkISize;
struct SkImageInfo;

enum {};

namespace skgpu::graphite {
class Recorder;
}

class SkImage_Base : public SkImage {};

static inline SkImage_Base* as_IB(SkImage* image) {}

static inline SkImage_Base* as_IB(const sk_sp<SkImage>& image) {}

static inline const SkImage_Base* as_IB(const SkImage* image) {}

static inline const SkImage_Base* as_IB(const sk_sp<const SkImage>& image) {}

#endif