mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
More tidying up - share the stats print between the two plugins, etc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4184 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -24,11 +24,6 @@
|
||||
#include "pluginspecs_video.h"
|
||||
#include "D3DBase.h"
|
||||
|
||||
#include <Cg/cg.h>
|
||||
|
||||
extern CGcontext g_cgcontext;
|
||||
extern CGprofile g_cgvProf, g_cgfProf;
|
||||
|
||||
class Renderer
|
||||
{
|
||||
public:
|
||||
@ -42,19 +37,23 @@ public:
|
||||
|
||||
static void SwapBuffers();
|
||||
|
||||
static float GetXScale() { return xScale; }
|
||||
static float GetYScale() { return yScale; }
|
||||
static void SetColorMask();
|
||||
static void SetBlendMode(bool forceUpdate);
|
||||
static bool SetScissorRect();
|
||||
|
||||
static float GetTargetScaleX() { return xScale; }
|
||||
static float GetTargetScaleY() { return yScale; }
|
||||
static float GetTargetWidth() { return m_width; }
|
||||
static float GetTargetHeight() { return m_height; }
|
||||
|
||||
static void SetScissorRect();
|
||||
// static void SetProjection(float* _pProjection, int constantIndex = -1);
|
||||
static u32 AccessEFB(EFBAccessType type, int x, int y);
|
||||
|
||||
// The little status display.
|
||||
static void AddMessage(const std::string &message, unsigned int ms);
|
||||
static void ProcessMessages();
|
||||
static void RenderText(const std::string &text, int left, int top, unsigned int color);
|
||||
|
||||
static void RenderText(const char *pstr, int left, int top, unsigned int color);
|
||||
|
||||
private:
|
||||
// screen offset
|
||||
|
Reference in New Issue
Block a user