mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-04 00:26:09 +00:00
Initial megacommit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a3be5d89ae
commit
775dc8a9c0
1920 changed files with 734652 additions and 0 deletions
30
Source/Plugins/Plugin_VideoDX9/Src/Render.h
Normal file
30
Source/Plugins/Plugin_VideoDX9/Src/Render.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#pragma once
|
||||
|
||||
#include "PluginSpecs_Video.h"
|
||||
|
||||
class Renderer
|
||||
{
|
||||
// screen offset
|
||||
static float m_x,m_y,m_width, m_height,xScale,yScale;
|
||||
|
||||
public:
|
||||
|
||||
static void Init(SVideoInitialize &_VideoInitialize);
|
||||
static void Shutdown();
|
||||
|
||||
// initialize opengl standard values (like viewport)
|
||||
static void Initialize(void);
|
||||
// must be called if the windowsize has changed
|
||||
static void ReinitView(void);
|
||||
//
|
||||
// --- Render Functions ---
|
||||
//
|
||||
static void SwapBuffers(void);
|
||||
static void Flush(void);
|
||||
static float GetXScale(){return xScale;}
|
||||
static float GetYScale(){return yScale;}
|
||||
|
||||
static void SetScissorBox(RECT &rc);
|
||||
static void SetViewport(float* _Viewport);
|
||||
static void SetProjection(float* _pProjection, int constantIndex = -1);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue