2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2010-07-06 16:16:07 +00:00
|
|
|
|
2014-02-10 18:54:46 +00:00
|
|
|
#pragma once
|
2010-07-06 16:16:07 +00:00
|
|
|
|
2014-09-08 01:06:58 +00:00
|
|
|
#include "Common/CommonTypes.h"
|
2019-07-17 00:18:48 +00:00
|
|
|
#include "Common/MathUtil.h"
|
2018-04-29 08:52:30 +00:00
|
|
|
#include "VideoCommon/TextureCacheBase.h"
|
2017-08-24 02:46:23 +00:00
|
|
|
|
2010-07-06 16:16:07 +00:00
|
|
|
namespace TextureEncoder
|
|
|
|
{
|
2018-11-02 14:17:00 +00:00
|
|
|
void Encode(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width,
|
2019-04-15 14:47:46 +00:00
|
|
|
u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride,
|
|
|
|
const MathUtil::Rectangle<int>& src_rect, bool scale_by_half, float y_scale,
|
|
|
|
float gamma);
|
2010-07-06 16:16:07 +00:00
|
|
|
}
|