2019-02-24 02:45:47 +01:00
|
|
|
// Copyright 2019 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
2019-04-06 06:14:34 +02:00
|
|
|
|
|
|
|
namespace VideoCore::Surface {
|
|
|
|
enum class PixelFormat;
|
|
|
|
}
|
2019-02-24 02:45:47 +01:00
|
|
|
|
|
|
|
namespace Tegra::Texture {
|
|
|
|
|
2019-05-13 02:33:52 +02:00
|
|
|
void ConvertFromGuestToHost(u8* in_data, u8* out_data, VideoCore::Surface::PixelFormat pixel_format,
|
|
|
|
u32 width, u32 height, u32 depth, bool convert_astc,
|
|
|
|
bool convert_s8z24);
|
2019-02-24 02:45:47 +01:00
|
|
|
|
|
|
|
void ConvertFromHostToGuest(u8* data, VideoCore::Surface::PixelFormat pixel_format, u32 width,
|
|
|
|
u32 height, u32 depth, bool convert_astc, bool convert_s8z24);
|
|
|
|
|
2019-05-13 02:33:52 +02:00
|
|
|
} // namespace Tegra::Texture
|