2013-04-18 03:29:41 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2010-06-09 01:37:08 +00:00
|
|
|
|
|
|
|
#ifndef _RENDERER_H_
|
|
|
|
#define _RENDERER_H_
|
|
|
|
|
2011-01-31 01:28:32 +00:00
|
|
|
#include "CommonTypes.h"
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2011-02-03 19:55:30 +00:00
|
|
|
namespace SWRenderer
|
2010-06-09 01:37:08 +00:00
|
|
|
{
|
2013-04-14 03:54:02 +00:00
|
|
|
void Init();
|
|
|
|
void Prepare();
|
|
|
|
void Shutdown();
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2013-04-14 03:54:02 +00:00
|
|
|
void RenderText(const char* pstr, int left, int top, u32 color);
|
|
|
|
void DrawDebugText();
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2013-04-14 03:54:02 +00:00
|
|
|
void DrawTexture(u8 *texture, int width, int height);
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2013-04-14 03:54:02 +00:00
|
|
|
void SwapBuffer();
|
2010-06-09 01:37:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|