D3D12: Initial commit for D3D12 backend implementation.

This commit is contained in:
hdcmeta
2016-01-07 19:40:35 -08:00
parent a2e2e36745
commit 8cc686b360
54 changed files with 12296 additions and 7 deletions

View File

@ -0,0 +1,37 @@
// Copyright 2011 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include "VideoCommon/VideoCommon.h"
// D3D12TODO: Add DX12 path for this file.
namespace DX12
{
class Television final
{
public:
Television();
void Init();
void Shutdown();
// Submit video data to be drawn. This will change the current state of the
// TV. xfbAddr points to YUYV data stored in GameCube/Wii RAM, but the XFB
// may be virtualized when rendering so the RAM may not actually be read.
void Submit(u32 xfb_address, u32 stride, u32 width, u32 height);
// Render the current state of the TV.
void Render();
private:
};
}