Scott Mansell d52e241cdf VideoSoftware: Added Real XFB support.
Massivly increases the accuracy of VideoSoftware, if it's going to be slow, it
might as well be accurate.

 * Fixes flickering issues in games which double render to get Hardware AA, like the Peach's Castle tech demo.
 * Rouge Squadren 2's Cantina Intro doesn't flicker anymore, but it duplicates the top half of the screen onto the bottom.
 * Any games which need RealXFB support should now work in Video Software
2013-08-20 23:59:43 +12:00

28 lines
554 B
C++

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _RENDERER_H_
#define _RENDERER_H_
#include "CommonTypes.h"
#include "EfbInterface.h"
namespace SWRenderer
{
void Init();
void Prepare();
void Shutdown();
void RenderText(const char* pstr, int left, int top, u32 color);
void DrawDebugText();
void UpdateColorTexture(EfbInterface::yuv422_packed *xfb);
void DrawTexture(u8 *texture, int width, int height);
void Swap(u32 fbWidth, u32 fbHeight);
void SwapBuffer();
}
#endif