blob: dd077b8ccdf613214526eb3eb1a7451b1c38a590 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
#include "GfxDevice.h"
static bool deviceInited = false;
GfxDevice g_GfxDevice;
GfxDevice::GfxDevice()
{
Assert(!deviceInited);
deviceInited = true;
}
GfxDevice::~GfxDevice()
{
}
void GfxDevice::Initialize(GfxDeviceSetting setting)
{
}
void GfxDevice::Enable(EDeviceEnable enabled)
{
}
void GfxDevice::Disable(EDeviceEnable enabled)
{
}
void GfxDevice::IsEnable(uint flag)
{
}
void GfxDevice::SetDepthTest(EDepthTest testing)
{
}
void GfxDevice::SetCullFace(ECullFace face)
{
}
void GfxDevice::SetStencilMask(byte stencilMask)
{
}
void GfxDevice::SetStencilOp(EStencilOp op)
{
}
void GfxDevice::SetAntiAliasing(int level /*= 0*/)
{
}
void GfxDevice::Clear(int clearFlag)
{
}
void GfxDevice::BeginFrame()
{
m_IsInsideFrame = true;
}
void GfxDevice::EndFrame()
{
//GPU::BufferPool::Instance()->OnEndFrame();
m_IsInsideFrame = false;
}
void GfxDevice::PresentFrame()
{
// swap buffers
}
bool GfxDevice::IsInsideFrame()
{
return m_IsInsideFrame;
}
|