Files
dolphin/Source/Core/VideoBackends/Software/SWRenderer.h
T

30 lines
732 B
C++
Raw Normal View History

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
2010-06-09 01:37:08 +00:00
#pragma once
2010-06-09 01:37:08 +00:00
2014-02-17 05:18:15 -05:00
#include "Common/CommonTypes.h"
#include "Common/Thread.h"
#include "VideoBackends/Software/EfbInterface.h"
2010-06-09 01:37:08 +00:00
namespace SWRenderer
2014-02-16 23:51:41 -05:00
{
void Init();
void Prepare();
void Shutdown();
void SetScreenshot(const char *_szFilename);
void RenderText(const char* pstr, int left, int top, u32 color);
void DrawDebugText();
2010-06-09 01:37:08 +00:00
2014-08-10 22:01:42 -04:00
u8* GetNextColorTexture();
u8* GetCurrentColorTexture();
void SwapColorTexture();
void UpdateColorTexture(EfbInterface::yuv422_packed *xfb, u32 fbWidth, u32 fbHeight);
void DrawTexture(u8 *texture, int width, int height);
2010-06-09 01:37:08 +00:00
2013-08-20 23:51:39 +12:00
void Swap(u32 fbWidth, u32 fbHeight);
void SwapBuffer();
2010-06-09 01:37:08 +00:00
}