mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-05 12:26:33 +01:00
d52e241cdf
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
28 lines
554 B
C++
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
|