#ifndef SKIA_EXT_DRAW_GAINMAP_IMAGE_H_
#define SKIA_EXT_DRAW_GAINMAP_IMAGE_H_
#include "skia/config/SkUserConfig.h"
#include "third_party/skia/include/core/SkImage.h"
struct SkGainmapInfo;
class SkCanvas;
class SkImage;
class SkPaint;
namespace skia {
SK_API void DrawGainmapImageRect(SkCanvas* canvas,
sk_sp<SkImage> base_image,
sk_sp<SkImage> gainmap_image,
const SkGainmapInfo& gainmap_info,
float hdr_headroom,
const SkRect& source_rect,
const SkRect& dest_rect,
const SkSamplingOptions& sampling,
const SkPaint& paint);
SK_API void DrawGainmapImage(SkCanvas* canvas,
sk_sp<SkImage> base_image,
sk_sp<SkImage> gainmap_image,
const SkGainmapInfo& gainmap_info,
float hdr_headroom,
SkScalar left,
SkScalar top,
const SkSamplingOptions& sampling,
const SkPaint& paint);
}
#endif