2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2021-07-04 19:22:19 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2014-02-10 11:54:46 -07:00
|
|
|
#pragma once
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2014-09-07 19:06:58 -06:00
|
|
|
#include "Common/CommonTypes.h"
|
2019-07-16 18:18:48 -06:00
|
|
|
#include "Common/MathUtil.h"
|
2018-04-29 02:52:30 -06:00
|
|
|
#include "VideoCommon/TextureCacheBase.h"
|
2017-08-23 20:46:23 -06:00
|
|
|
|
2010-07-06 10:16:07 -06:00
|
|
|
namespace TextureEncoder
|
|
|
|
{
|
2018-11-02 08:17:00 -06:00
|
|
|
void Encode(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width,
|
2019-04-15 08:47:46 -06: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 10:16:07 -06:00
|
|
|
}
|