mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
29 lines
401 B
C++
29 lines
401 B
C++
// Copyright 2011 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "VideoCommon/VideoCommon.h"
|
|
|
|
namespace DX12
|
|
{
|
|
|
|
class XFBEncoder
|
|
{
|
|
|
|
public:
|
|
XFBEncoder();
|
|
|
|
void Init();
|
|
void Shutdown();
|
|
|
|
void Encode(u8* dst, u32 width, u32 height, const EFBRectangle& src_rect, float gamma);
|
|
|
|
private:
|
|
// D3D12TODO: Implement this class
|
|
|
|
};
|
|
|
|
}
|