2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-18 01:08:10 +02:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 05:29:41 +02:00
|
|
|
// Refer to the license.txt file included.
|
2010-07-06 18:16:07 +02:00
|
|
|
|
2014-02-10 19:54:46 +01:00
|
|
|
#pragma once
|
2010-07-06 18:16:07 +02:00
|
|
|
|
2014-09-08 03:06:58 +02:00
|
|
|
#include "Common/CommonTypes.h"
|
2018-04-29 10:52:30 +02:00
|
|
|
#include "VideoCommon/TextureCacheBase.h"
|
2017-08-24 04:46:23 +02:00
|
|
|
#include "VideoCommon/VideoCommon.h"
|
|
|
|
|
2010-07-06 18:16:07 +02:00
|
|
|
namespace TextureEncoder
|
|
|
|
{
|
2018-11-02 15:17:00 +01:00
|
|
|
void Encode(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width,
|
|
|
|
u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride, const EFBRectangle& src_rect,
|
|
|
|
bool scale_by_half, float y_scale, float gamma);
|
2010-07-06 18:16:07 +02:00
|
|
|
}
|