gsdx-ogl-wnd: Try to compile OGL backend on VS

* Update project files
* basic compilation fix: include stdafx, s/uint/uint32/
* add selection of the opengl renderer/device in gsopen

Remain to fix opengl function declaration/initialization


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5505 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2013-01-10 13:13:59 +00:00
parent cf2910f7ed
commit f9ddd639b8
14 changed files with 172 additions and 36 deletions

View File

@ -25,6 +25,8 @@
#include "GSRendererSW.h" #include "GSRendererSW.h"
#include "GSRendererNull.h" #include "GSRendererNull.h"
#include "GSDeviceNull.h" #include "GSDeviceNull.h"
#include "GSDeviceOGL.h"
#include "GSRendererOGL.h"
#ifdef _WINDOWS #ifdef _WINDOWS
@ -41,8 +43,6 @@ static HRESULT s_hr = E_FAIL;
#else #else
#include "GSDeviceOGL.h"
#include "GSRendererOGL.h"
#include "GSWndOGL.h" #include "GSWndOGL.h"
#include <gtk/gtk.h> #include <gtk/gtk.h>
@ -234,10 +234,8 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)
case 0: dev = new GSDevice9(); break; case 0: dev = new GSDevice9(); break;
case 1: dev = new GSDevice11(); break; case 1: dev = new GSDevice11(); break;
#endif #endif
#ifdef _LINUX
case 4: dev = new GSDeviceOGL(); break;
#endif
case 3: dev = new GSDeviceNull(); break; case 3: dev = new GSDeviceNull(); break;
case 4: dev = new GSDeviceOGL(); break;
} }
if(dev == NULL) if(dev == NULL)
@ -249,20 +247,22 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)
{ {
switch(renderer % 3) switch(renderer % 3)
{ {
default: default:
case 0: case 0:
#ifdef _WINDOWS switch(renderer)
s_gs = (renderer / 3) == 0 ? (GSRenderer*)new GSRendererDX9() : (GSRenderer*)new GSRendererDX11(); {
#else default:
s_gs = (GSRenderer*)new GSRendererOGL(); case 0: s_gs = (GSRenderer*)new GSRendererDX9(); break;
#endif case 3: s_gs = (GSRenderer*)new GSRendererDX11(); break;
break; case 12: s_gs = (GSRenderer*)new GSRendererOGL(); break;
case 1: }
s_gs = new GSRendererSW(threads); break;
break; case 1:
case 2: s_gs = new GSRendererSW(threads);
s_gs = new GSRendererNull(); break;
break; case 2:
s_gs = new GSRendererNull();
break;
} }
s_renderer = renderer; s_renderer = renderer;

View File

@ -19,6 +19,7 @@
* *
*/ */
#include "stdafx.h"
#include "GSDeviceOGL.h" #include "GSDeviceOGL.h"
// TODO performance cost to investigate // TODO performance cost to investigate
@ -64,19 +65,19 @@ GSDeviceOGL::~GSDeviceOGL()
delete (m_vb_sr); delete (m_vb_sr);
// Clean m_merge_obj // Clean m_merge_obj
for (uint i = 0; i < 2; i++) for (uint32 i = 0; i < 2; i++)
glDeleteProgram(m_merge_obj.ps[i]); glDeleteProgram(m_merge_obj.ps[i]);
delete (m_merge_obj.cb); delete (m_merge_obj.cb);
delete (m_merge_obj.bs); delete (m_merge_obj.bs);
// Clean m_interlace // Clean m_interlace
for (uint i = 0; i < 2; i++) for (uint32 i = 0; i < 2; i++)
glDeleteProgram(m_interlace.ps[i]); glDeleteProgram(m_interlace.ps[i]);
delete (m_interlace.cb); delete (m_interlace.cb);
// Clean m_convert // Clean m_convert
glDeleteProgram(m_convert.vs); glDeleteProgram(m_convert.vs);
for (uint i = 0; i < 2; i++) for (uint32 i = 0; i < 2; i++)
glDeleteProgram(m_convert.ps[i]); glDeleteProgram(m_convert.ps[i]);
glDeleteSamplers(1, &m_convert.ln); glDeleteSamplers(1, &m_convert.ln);
glDeleteSamplers(1, &m_convert.pt); glDeleteSamplers(1, &m_convert.pt);
@ -229,7 +230,7 @@ bool GSDeviceOGL::Create(GSWnd* wnd)
// **************************************************************** // ****************************************************************
CompileShaderFromSource("convert.glsl", "vs_main", GL_VERTEX_SHADER, &m_convert.vs); CompileShaderFromSource("convert.glsl", "vs_main", GL_VERTEX_SHADER, &m_convert.vs);
CompileShaderFromSource("convert.glsl", "gs_main", GL_GEOMETRY_SHADER, &m_convert.gs); CompileShaderFromSource("convert.glsl", "gs_main", GL_GEOMETRY_SHADER, &m_convert.gs);
for(uint i = 0; i < countof(m_convert.ps); i++) for(uint32 i = 0; i < countof(m_convert.ps); i++)
CompileShaderFromSource("convert.glsl", format("ps_main%d", i), GL_FRAGMENT_SHADER, &m_convert.ps[i]); CompileShaderFromSource("convert.glsl", format("ps_main%d", i), GL_FRAGMENT_SHADER, &m_convert.ps[i]);
// Note the following object are initialized to 0 so disabled. // Note the following object are initialized to 0 so disabled.
@ -289,7 +290,7 @@ bool GSDeviceOGL::Create(GSWnd* wnd)
// **************************************************************** // ****************************************************************
m_merge_obj.cb = new GSUniformBufferOGL(1, sizeof(MergeConstantBuffer)); m_merge_obj.cb = new GSUniformBufferOGL(1, sizeof(MergeConstantBuffer));
for(uint i = 0; i < countof(m_merge_obj.ps); i++) for(uint32 i = 0; i < countof(m_merge_obj.ps); i++)
CompileShaderFromSource("merge.glsl", format("ps_main%d", i), GL_FRAGMENT_SHADER, &m_merge_obj.ps[i]); CompileShaderFromSource("merge.glsl", format("ps_main%d", i), GL_FRAGMENT_SHADER, &m_merge_obj.ps[i]);
m_merge_obj.bs = new GSBlendStateOGL(); m_merge_obj.bs = new GSBlendStateOGL();
@ -301,7 +302,7 @@ bool GSDeviceOGL::Create(GSWnd* wnd)
// **************************************************************** // ****************************************************************
m_interlace.cb = new GSUniformBufferOGL(2, sizeof(InterlaceConstantBuffer)); m_interlace.cb = new GSUniformBufferOGL(2, sizeof(InterlaceConstantBuffer));
for(uint i = 0; i < countof(m_interlace.ps); i++) for(uint32 i = 0; i < countof(m_interlace.ps); i++)
CompileShaderFromSource("interlace.glsl", format("ps_main%d", i), GL_FRAGMENT_SHADER, &m_interlace.ps[i]); CompileShaderFromSource("interlace.glsl", format("ps_main%d", i), GL_FRAGMENT_SHADER, &m_interlace.ps[i]);
// **************************************************************** // ****************************************************************
// Shade boost // Shade boost
@ -784,8 +785,8 @@ void GSDeviceOGL::CopyRect(GSTexture* st, GSTexture* dt, const GSVector4i& r)
// FIXME: the extension was integrated in opengl 4.3 (now we need driver that support OGL4.3) // FIXME: the extension was integrated in opengl 4.3 (now we need driver that support OGL4.3)
// FIXME check those function work as expected // FIXME check those function work as expected
// void CopyImageSubDataNV( // void CopyImageSubDataNV(
// uint srcName, enum srcTarget, int srcLevel, int srcX, int srcY, int srcZ, // uint32 srcName, enum srcTarget, int srcLevel, int srcX, int srcY, int srcZ,
// uint dstName, enum dstTarget, int dstLevel, int dstX, int dstY, int dstZ, // uint32 dstName, enum dstTarget, int dstLevel, int dstX, int dstY, int dstZ,
// sizei width, sizei height, sizei depth); // sizei width, sizei height, sizei depth);
glCopyImageSubDataNV( static_cast<GSTextureOGL*>(st)->GetID(), static_cast<GSTextureOGL*>(st)->GetTarget(), glCopyImageSubDataNV( static_cast<GSTextureOGL*>(st)->GetID(), static_cast<GSTextureOGL*>(st)->GetTarget(),
0, r.x, r.y, 0, 0, r.x, r.y, 0,
@ -1148,7 +1149,7 @@ void GSDeviceOGL::PSSetShader(GLuint ps)
// 4/ set the sampler state // 4/ set the sampler state
// glBindSampler(1 , sampler); // glBindSampler(1 , sampler);
if (m_srv_changed || m_ss_changed) { if (m_srv_changed || m_ss_changed) {
for (uint i=0 ; i < 1; i++) { for (uint32 i=0 ; i < 1; i++) {
if (m_state.ps_srv[i] != NULL) { if (m_state.ps_srv[i] != NULL) {
m_state.ps_srv[i]->EnableUnit(i); m_state.ps_srv[i]->EnableUnit(i);
glBindSampler(i, m_state.ps_ss[i]); glBindSampler(i, m_state.ps_ss[i]);

View File

@ -206,7 +206,7 @@ public:
void SetupStencil(uint8 sref) void SetupStencil(uint8 sref)
{ {
uint ref = sref; uint32 ref = sref;
if (m_stencil_enable) { if (m_stencil_enable) {
glEnable(GL_STENCIL_TEST); glEnable(GL_STENCIL_TEST);
glStencilFunc(m_stencil_func, ref, m_stencil_mask); glStencilFunc(m_stencil_func, ref, m_stencil_mask);

View File

@ -19,6 +19,7 @@
* *
*/ */
#include "stdafx.h"
#include "GSRendererOGL.h" #include "GSRendererOGL.h"
#include "GSRenderer.h" #include "GSRenderer.h"

View File

@ -21,6 +21,7 @@
#pragma once #pragma once
#include "stdafx.h"
#include <limits.h> #include <limits.h>
#include "GSTextureOGL.h" #include "GSTextureOGL.h"
static int g_state_texture_unit = -1; static int g_state_texture_unit = -1;
@ -86,7 +87,7 @@ GSTextureOGL::GSTextureOGL(int type, int w, int h, bool msaa, int format, GLuint
// Extra buffer to handle various pixel transfer // Extra buffer to handle various pixel transfer
glGenBuffers(1, &m_pbo_id); glGenBuffers(1, &m_pbo_id);
uint msaa_level; uint32 msaa_level;
if (m_msaa) { if (m_msaa) {
// FIXME which level of MSAA // FIXME which level of MSAA
msaa_level = 1; msaa_level = 1;
@ -208,7 +209,7 @@ bool GSTextureOGL::Update(const GSVector4i& r, const void* data, int pitch)
#endif #endif
} }
void GSTextureOGL::EnableUnit(uint unit) void GSTextureOGL::EnableUnit(uint32 unit)
{ {
if (!IsBackbuffer()) { if (!IsBackbuffer()) {
// FIXME // FIXME

View File

@ -28,7 +28,7 @@ class GSTextureOGL : public GSTexture
private: private:
GLenum m_texture_target; // texture target: 2D, rectangle etc... GLenum m_texture_target; // texture target: 2D, rectangle etc...
GLuint m_texture_id; // the texture id GLuint m_texture_id; // the texture id
uint m_pbo_id; uint32 m_pbo_id;
int m_pbo_size; int m_pbo_size;
GLuint m_fbo_read; GLuint m_fbo_read;
@ -42,7 +42,7 @@ class GSTextureOGL : public GSTexture
bool Save(const string& fn, bool dds = false); bool Save(const string& fn, bool dds = false);
void Save(const string& fn, const void* image, uint32 pitch); void Save(const string& fn, const void* image, uint32 pitch);
void EnableUnit(uint unit); void EnableUnit(uint32 unit);
void Attach(GLenum attachment); void Attach(GLenum attachment);
bool IsBackbuffer() { return (m_type == GSTexture::Backbuffer); } bool IsBackbuffer() { return (m_type == GSTexture::Backbuffer); }

View File

@ -24,11 +24,11 @@
class GSUniformBufferOGL { class GSUniformBufferOGL {
GLuint buffer; // data object GLuint buffer; // data object
GLuint index; // GLSL slot GLuint index; // GLSL slot
uint size; // size of the data uint32 size; // size of the data
const GLenum target; const GLenum target;
public: public:
GSUniformBufferOGL(GLuint index, uint size) : index(index) GSUniformBufferOGL(GLuint index, uint32 size) : index(index)
, size(size) , size(size)
,target(GL_UNIFORM_BUFFER) ,target(GL_UNIFORM_BUFFER)
{ {

View File

@ -187,7 +187,7 @@ public:
void set_internal_format(GSInputLayoutOGL* layout, uint32 layout_nbr) void set_internal_format(GSInputLayoutOGL* layout, uint32 layout_nbr)
{ {
for (uint i = 0; i < layout_nbr; i++) { for (uint32 i = 0; i < layout_nbr; i++) {
// Note this function need both a vertex array object and a GL_ARRAY_BUFFER buffer // Note this function need both a vertex array object and a GL_ARRAY_BUFFER buffer
glEnableVertexAttribArray(layout[i].index); glEnableVertexAttribArray(layout[i].index);
switch (layout[i].type) { switch (layout[i].type) {

View File

@ -19,6 +19,7 @@
* *
*/ */
#include "stdafx.h"
#include "GSWndOGL.h" #include "GSWndOGL.h"
#ifdef _LINUX #ifdef _LINUX

View File

@ -460,6 +460,7 @@
<ClCompile Include="GSDevice9.cpp" /> <ClCompile Include="GSDevice9.cpp" />
<ClCompile Include="GSDeviceDX.cpp" /> <ClCompile Include="GSDeviceDX.cpp" />
<ClCompile Include="GSDeviceNull.cpp" /> <ClCompile Include="GSDeviceNull.cpp" />
<ClCompile Include="GSDeviceOGL.cpp" />
<ClCompile Include="GSDeviceSW.cpp" /> <ClCompile Include="GSDeviceSW.cpp" />
<ClCompile Include="GSDialog.cpp" /> <ClCompile Include="GSDialog.cpp" />
<ClCompile Include="GSDirtyRect.cpp" /> <ClCompile Include="GSDirtyRect.cpp" />
@ -536,6 +537,7 @@
<ClCompile Include="GSRendererDX9.cpp" /> <ClCompile Include="GSRendererDX9.cpp" />
<ClCompile Include="GSRendererHW.cpp" /> <ClCompile Include="GSRendererHW.cpp" />
<ClCompile Include="GSRendererNull.cpp" /> <ClCompile Include="GSRendererNull.cpp" />
<ClCompile Include="GSRendererOGL.cpp" />
<ClCompile Include="GSRendererSW.cpp" /> <ClCompile Include="GSRendererSW.cpp" />
<ClCompile Include="GSSetting.cpp" /> <ClCompile Include="GSSetting.cpp" />
<ClCompile Include="GSSettingsDlg.cpp" /> <ClCompile Include="GSSettingsDlg.cpp" />
@ -601,12 +603,15 @@
<ClCompile Include="GSTexture.cpp" /> <ClCompile Include="GSTexture.cpp" />
<ClCompile Include="GSTexture11.cpp" /> <ClCompile Include="GSTexture11.cpp" />
<ClCompile Include="GSTexture9.cpp" /> <ClCompile Include="GSTexture9.cpp" />
<ClCompile Include="GSTextureOGL.cpp" />
<ClCompile Include="GSTextureCache.cpp" /> <ClCompile Include="GSTextureCache.cpp" />
<ClCompile Include="GSTextureCache11.cpp" /> <ClCompile Include="GSTextureCache11.cpp" />
<ClCompile Include="GSTextureCache9.cpp" /> <ClCompile Include="GSTextureCache9.cpp" />
<ClCompile Include="GSTextureCacheOGL.cpp" />
<ClCompile Include="GSTextureCacheSW.cpp" /> <ClCompile Include="GSTextureCacheSW.cpp" />
<ClCompile Include="GSTextureFX11.cpp" /> <ClCompile Include="GSTextureFX11.cpp" />
<ClCompile Include="GSTextureFX9.cpp" /> <ClCompile Include="GSTextureFX9.cpp" />
<ClCompile Include="GSTextureFXOGL.cpp" />
<ClCompile Include="GSTextureNull.cpp" /> <ClCompile Include="GSTextureNull.cpp" />
<ClCompile Include="GSTextureSW.cpp" /> <ClCompile Include="GSTextureSW.cpp" />
<ClCompile Include="GSThread.cpp" /> <ClCompile Include="GSThread.cpp" />
@ -1589,6 +1594,7 @@
<ClInclude Include="GSDevice9.h" /> <ClInclude Include="GSDevice9.h" />
<ClInclude Include="GSDeviceDX.h" /> <ClInclude Include="GSDeviceDX.h" />
<ClInclude Include="GSDeviceNull.h" /> <ClInclude Include="GSDeviceNull.h" />
<ClInclude Include="GSDeviceOGL.h" />
<ClInclude Include="GSDeviceSW.h" /> <ClInclude Include="GSDeviceSW.h" />
<ClInclude Include="GSDialog.h" /> <ClInclude Include="GSDialog.h" />
<ClInclude Include="GSDirtyRect.h" /> <ClInclude Include="GSDirtyRect.h" />
@ -1609,6 +1615,7 @@
<ClInclude Include="GSRendererDX9.h" /> <ClInclude Include="GSRendererDX9.h" />
<ClInclude Include="GSRendererHW.h" /> <ClInclude Include="GSRendererHW.h" />
<ClInclude Include="GSRendererNull.h" /> <ClInclude Include="GSRendererNull.h" />
<ClInclude Include="GSRendererOGL.h" />
<ClInclude Include="GSRendererSW.h" /> <ClInclude Include="GSRendererSW.h" />
<ClInclude Include="GSScanlineEnvironment.h" /> <ClInclude Include="GSScanlineEnvironment.h" />
<ClInclude Include="GSSetting.h" /> <ClInclude Include="GSSetting.h" />
@ -1619,16 +1626,20 @@
<ClInclude Include="GSTexture.h" /> <ClInclude Include="GSTexture.h" />
<ClInclude Include="GSTexture11.h" /> <ClInclude Include="GSTexture11.h" />
<ClInclude Include="GSTexture9.h" /> <ClInclude Include="GSTexture9.h" />
<ClInclude Include="GSTextureOGL.h" />
<ClInclude Include="GSTextureCache.h" /> <ClInclude Include="GSTextureCache.h" />
<ClInclude Include="GSTextureCache11.h" /> <ClInclude Include="GSTextureCache11.h" />
<ClInclude Include="GSTextureCache9.h" /> <ClInclude Include="GSTextureCache9.h" />
<ClInclude Include="GSTextureCacheOGL.h" />
<ClInclude Include="GSTextureCacheSW.h" /> <ClInclude Include="GSTextureCacheSW.h" />
<ClInclude Include="GSTextureNull.h" /> <ClInclude Include="GSTextureNull.h" />
<ClInclude Include="GSTextureSW.h" /> <ClInclude Include="GSTextureSW.h" />
<ClInclude Include="GSThread.h" /> <ClInclude Include="GSThread.h" />
<ClInclude Include="GSUniformBufferOGL.h" />
<ClInclude Include="GSUtil.h" /> <ClInclude Include="GSUtil.h" />
<ClInclude Include="GSVector.h" /> <ClInclude Include="GSVector.h" />
<ClInclude Include="GSVertex.h" /> <ClInclude Include="GSVertex.h" />
<ClInclude Include="GSVertexArrayOGL.h" />
<ClInclude Include="GSVertexHW.h" /> <ClInclude Include="GSVertexHW.h" />
<ClInclude Include="GSVertexList.h" /> <ClInclude Include="GSVertexList.h" />
<ClInclude Include="GSVertexSW.h" /> <ClInclude Include="GSVertexSW.h" />

View File

@ -60,6 +60,9 @@
<ClCompile Include="GSDeviceNull.cpp"> <ClCompile Include="GSDeviceNull.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSDeviceOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSDialog.cpp"> <ClCompile Include="GSDialog.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -108,6 +111,9 @@
<ClCompile Include="GSRendererNull.cpp"> <ClCompile Include="GSRendererNull.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSRendererOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSRendererSW.cpp"> <ClCompile Include="GSRendererSW.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -135,6 +141,9 @@
<ClCompile Include="GSTexture9.cpp"> <ClCompile Include="GSTexture9.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSTextureOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSTextureCache.cpp"> <ClCompile Include="GSTextureCache.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -144,6 +153,9 @@
<ClCompile Include="GSTextureCache9.cpp"> <ClCompile Include="GSTextureCache9.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSTextureCacheOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSTextureCacheSW.cpp"> <ClCompile Include="GSTextureCacheSW.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -153,6 +165,9 @@
<ClCompile Include="GSTextureFX9.cpp"> <ClCompile Include="GSTextureFX9.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSTextureFXOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSTextureNull.cpp"> <ClCompile Include="GSTextureNull.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -359,6 +374,9 @@
<ClInclude Include="GSDeviceNull.h"> <ClInclude Include="GSDeviceNull.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSDeviceOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSDialog.h"> <ClInclude Include="GSDialog.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -413,6 +431,9 @@
<ClInclude Include="GSRendererNull.h"> <ClInclude Include="GSRendererNull.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSRendererOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSRendererSW.h"> <ClInclude Include="GSRendererSW.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -443,6 +464,9 @@
<ClInclude Include="GSTexture9.h"> <ClInclude Include="GSTexture9.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSTextureOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSTextureCache.h"> <ClInclude Include="GSTextureCache.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -452,6 +476,9 @@
<ClInclude Include="GSTextureCache9.h"> <ClInclude Include="GSTextureCache9.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSTextureCacheOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSTextureCacheSW.h"> <ClInclude Include="GSTextureCacheSW.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -461,6 +488,9 @@
<ClInclude Include="GSThread.h"> <ClInclude Include="GSThread.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSUniformBufferOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSUtil.h"> <ClInclude Include="GSUtil.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -470,6 +500,9 @@
<ClInclude Include="GSVertex.h"> <ClInclude Include="GSVertex.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSVertexArrayOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSVertexHW.h"> <ClInclude Include="GSVertexHW.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>

View File

@ -476,6 +476,7 @@
<ClCompile Include="GSDevice9.cpp" /> <ClCompile Include="GSDevice9.cpp" />
<ClCompile Include="GSDeviceDX.cpp" /> <ClCompile Include="GSDeviceDX.cpp" />
<ClCompile Include="GSDeviceNull.cpp" /> <ClCompile Include="GSDeviceNull.cpp" />
<ClCompile Include="GSDeviceOGL.cpp" />
<ClCompile Include="GSDeviceSW.cpp" /> <ClCompile Include="GSDeviceSW.cpp" />
<ClCompile Include="GSDialog.cpp" /> <ClCompile Include="GSDialog.cpp" />
<ClCompile Include="GSDirtyRect.cpp" /> <ClCompile Include="GSDirtyRect.cpp" />
@ -552,6 +553,7 @@
<ClCompile Include="GSRendererDX9.cpp" /> <ClCompile Include="GSRendererDX9.cpp" />
<ClCompile Include="GSRendererHW.cpp" /> <ClCompile Include="GSRendererHW.cpp" />
<ClCompile Include="GSRendererNull.cpp" /> <ClCompile Include="GSRendererNull.cpp" />
<ClCompile Include="GSRendererOGL.cpp" />
<ClCompile Include="GSRendererSW.cpp" /> <ClCompile Include="GSRendererSW.cpp" />
<ClCompile Include="GSSetting.cpp" /> <ClCompile Include="GSSetting.cpp" />
<ClCompile Include="GSSettingsDlg.cpp" /> <ClCompile Include="GSSettingsDlg.cpp" />
@ -617,12 +619,15 @@
<ClCompile Include="GSTexture.cpp" /> <ClCompile Include="GSTexture.cpp" />
<ClCompile Include="GSTexture11.cpp" /> <ClCompile Include="GSTexture11.cpp" />
<ClCompile Include="GSTexture9.cpp" /> <ClCompile Include="GSTexture9.cpp" />
<ClCompile Include="GSTextureOGL.cpp" />
<ClCompile Include="GSTextureCache.cpp" /> <ClCompile Include="GSTextureCache.cpp" />
<ClCompile Include="GSTextureCache11.cpp" /> <ClCompile Include="GSTextureCache11.cpp" />
<ClCompile Include="GSTextureCache9.cpp" /> <ClCompile Include="GSTextureCache9.cpp" />
<ClCompile Include="GSTextureCacheOGL.cpp" />
<ClCompile Include="GSTextureCacheSW.cpp" /> <ClCompile Include="GSTextureCacheSW.cpp" />
<ClCompile Include="GSTextureFX11.cpp" /> <ClCompile Include="GSTextureFX11.cpp" />
<ClCompile Include="GSTextureFX9.cpp" /> <ClCompile Include="GSTextureFX9.cpp" />
<ClCompile Include="GSTextureFXOGL.cpp" />
<ClCompile Include="GSTextureNull.cpp" /> <ClCompile Include="GSTextureNull.cpp" />
<ClCompile Include="GSTextureSW.cpp" /> <ClCompile Include="GSTextureSW.cpp" />
<ClCompile Include="GSThread.cpp" /> <ClCompile Include="GSThread.cpp" />
@ -1605,6 +1610,7 @@
<ClInclude Include="GSDevice9.h" /> <ClInclude Include="GSDevice9.h" />
<ClInclude Include="GSDeviceDX.h" /> <ClInclude Include="GSDeviceDX.h" />
<ClInclude Include="GSDeviceNull.h" /> <ClInclude Include="GSDeviceNull.h" />
<ClInclude Include="GSDeviceOGL.h" />
<ClInclude Include="GSDeviceSW.h" /> <ClInclude Include="GSDeviceSW.h" />
<ClInclude Include="GSDialog.h" /> <ClInclude Include="GSDialog.h" />
<ClInclude Include="GSDirtyRect.h" /> <ClInclude Include="GSDirtyRect.h" />
@ -1625,6 +1631,7 @@
<ClInclude Include="GSRendererDX9.h" /> <ClInclude Include="GSRendererDX9.h" />
<ClInclude Include="GSRendererHW.h" /> <ClInclude Include="GSRendererHW.h" />
<ClInclude Include="GSRendererNull.h" /> <ClInclude Include="GSRendererNull.h" />
<ClInclude Include="GSRendererOGL.h" />
<ClInclude Include="GSRendererSW.h" /> <ClInclude Include="GSRendererSW.h" />
<ClInclude Include="GSScanlineEnvironment.h" /> <ClInclude Include="GSScanlineEnvironment.h" />
<ClInclude Include="GSSetting.h" /> <ClInclude Include="GSSetting.h" />
@ -1635,16 +1642,20 @@
<ClInclude Include="GSTexture.h" /> <ClInclude Include="GSTexture.h" />
<ClInclude Include="GSTexture11.h" /> <ClInclude Include="GSTexture11.h" />
<ClInclude Include="GSTexture9.h" /> <ClInclude Include="GSTexture9.h" />
<ClInclude Include="GSTextureOGL.h" />
<ClInclude Include="GSTextureCache.h" /> <ClInclude Include="GSTextureCache.h" />
<ClInclude Include="GSTextureCache11.h" /> <ClInclude Include="GSTextureCache11.h" />
<ClInclude Include="GSTextureCache9.h" /> <ClInclude Include="GSTextureCache9.h" />
<ClInclude Include="GSTextureCacheOGL.h" />
<ClInclude Include="GSTextureCacheSW.h" /> <ClInclude Include="GSTextureCacheSW.h" />
<ClInclude Include="GSTextureNull.h" /> <ClInclude Include="GSTextureNull.h" />
<ClInclude Include="GSTextureSW.h" /> <ClInclude Include="GSTextureSW.h" />
<ClInclude Include="GSThread.h" /> <ClInclude Include="GSThread.h" />
<ClInclude Include="GSUniformBufferOGL.h" />
<ClInclude Include="GSUtil.h" /> <ClInclude Include="GSUtil.h" />
<ClInclude Include="GSVector.h" /> <ClInclude Include="GSVector.h" />
<ClInclude Include="GSVertex.h" /> <ClInclude Include="GSVertex.h" />
<ClInclude Include="GSVertexArrayOGL.h" />
<ClInclude Include="GSVertexHW.h" /> <ClInclude Include="GSVertexHW.h" />
<ClInclude Include="GSVertexList.h" /> <ClInclude Include="GSVertexList.h" />
<ClInclude Include="GSVertexSW.h" /> <ClInclude Include="GSVertexSW.h" />

View File

@ -60,6 +60,9 @@
<ClCompile Include="GSDeviceNull.cpp"> <ClCompile Include="GSDeviceNull.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSDeviceOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSDialog.cpp"> <ClCompile Include="GSDialog.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -108,6 +111,9 @@
<ClCompile Include="GSRendererNull.cpp"> <ClCompile Include="GSRendererNull.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSRendererOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSRendererSW.cpp"> <ClCompile Include="GSRendererSW.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -135,6 +141,9 @@
<ClCompile Include="GSTexture9.cpp"> <ClCompile Include="GSTexture9.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSTextureOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSTextureCache.cpp"> <ClCompile Include="GSTextureCache.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -144,6 +153,9 @@
<ClCompile Include="GSTextureCache9.cpp"> <ClCompile Include="GSTextureCache9.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSTextureCacheOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSTextureCacheSW.cpp"> <ClCompile Include="GSTextureCacheSW.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -153,6 +165,9 @@
<ClCompile Include="GSTextureFX9.cpp"> <ClCompile Include="GSTextureFX9.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="GSTextureFXOGL.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSTextureNull.cpp"> <ClCompile Include="GSTextureNull.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -359,6 +374,9 @@
<ClInclude Include="GSDeviceNull.h"> <ClInclude Include="GSDeviceNull.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSDeviceOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSDialog.h"> <ClInclude Include="GSDialog.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -413,6 +431,9 @@
<ClInclude Include="GSRendererNull.h"> <ClInclude Include="GSRendererNull.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSRendererOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSRendererSW.h"> <ClInclude Include="GSRendererSW.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -443,6 +464,9 @@
<ClInclude Include="GSTexture9.h"> <ClInclude Include="GSTexture9.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSTextureOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSTextureCache.h"> <ClInclude Include="GSTextureCache.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -452,6 +476,9 @@
<ClInclude Include="GSTextureCache9.h"> <ClInclude Include="GSTextureCache9.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSTextureCacheOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSTextureCacheSW.h"> <ClInclude Include="GSTextureCacheSW.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -461,6 +488,9 @@
<ClInclude Include="GSThread.h"> <ClInclude Include="GSThread.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSUniformBufferOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSUtil.h"> <ClInclude Include="GSUtil.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@ -470,6 +500,9 @@
<ClInclude Include="GSVertex.h"> <ClInclude Include="GSVertex.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="GSVertexArrayOGL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSVertexHW.h"> <ClInclude Include="GSVertexHW.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>

View File

@ -861,6 +861,10 @@
RelativePath=".\GSDeviceNull.cpp" RelativePath=".\GSDeviceNull.cpp"
> >
</File> </File>
<File
RelativePath=".\GSDeviceOGL.cpp"
>
</File>
<File <File
RelativePath=".\GSDeviceSW.cpp" RelativePath=".\GSDeviceSW.cpp"
> >
@ -1037,6 +1041,10 @@
RelativePath=".\GSRendererNull.cpp" RelativePath=".\GSRendererNull.cpp"
> >
</File> </File>
<File
RelativePath=".\GSRendererOGL.cpp"
>
</File>
<File <File
RelativePath=".\GSRendererSW.cpp" RelativePath=".\GSRendererSW.cpp"
> >
@ -1177,6 +1185,10 @@
RelativePath=".\GSTexture9.cpp" RelativePath=".\GSTexture9.cpp"
> >
</File> </File>
<File
RelativePath=".\GSTextureOGL.cpp"
>
</File>
<File <File
RelativePath=".\GSTextureCache.cpp" RelativePath=".\GSTextureCache.cpp"
> >
@ -1189,6 +1201,10 @@
RelativePath=".\GSTextureCache9.cpp" RelativePath=".\GSTextureCache9.cpp"
> >
</File> </File>
<File
RelativePath=".\GSTextureCacheOGL.cpp"
>
</File>
<File <File
RelativePath=".\GSTextureCacheSW.cpp" RelativePath=".\GSTextureCacheSW.cpp"
> >
@ -1201,6 +1217,10 @@
RelativePath=".\GSTextureFX9.cpp" RelativePath=".\GSTextureFX9.cpp"
> >
</File> </File>
<File
RelativePath=".\GSTextureFXOGL.cpp"
>
</File>
<File <File
RelativePath=".\GSTextureNull.cpp" RelativePath=".\GSTextureNull.cpp"
> >
@ -1467,6 +1487,10 @@
RelativePath=".\GSDeviceNull.h" RelativePath=".\GSDeviceNull.h"
> >
</File> </File>
<File
RelativePath=".\GSDeviceOGL.h"
>
</File>
<File <File
RelativePath=".\GSDeviceSW.h" RelativePath=".\GSDeviceSW.h"
> >
@ -1547,6 +1571,10 @@
RelativePath=".\GSRendererNull.h" RelativePath=".\GSRendererNull.h"
> >
</File> </File>
<File
RelativePath=".\GSRendererOGL.h"
>
</File>
<File <File
RelativePath=".\GSRendererSW.h" RelativePath=".\GSRendererSW.h"
> >
@ -1587,6 +1615,10 @@
RelativePath=".\GSTexture9.h" RelativePath=".\GSTexture9.h"
> >
</File> </File>
<File
RelativePath=".\GSTextureOGL.h"
>
</File>
<File <File
RelativePath=".\GSTextureCache.h" RelativePath=".\GSTextureCache.h"
> >
@ -1599,6 +1631,10 @@
RelativePath=".\GSTextureCache9.h" RelativePath=".\GSTextureCache9.h"
> >
</File> </File>
<File
RelativePath=".\GSTextureCacheOGL.h"
>
</File>
<File <File
RelativePath=".\GSTextureCacheSW.h" RelativePath=".\GSTextureCacheSW.h"
> >
@ -1619,6 +1655,10 @@
RelativePath=".\GSThread.h" RelativePath=".\GSThread.h"
> >
</File> </File>
<File
RelativePath=".\GSUniformBufferOGL.h"
>
</File>
<File <File
RelativePath=".\GSUtil.h" RelativePath=".\GSUtil.h"
> >
@ -1631,6 +1671,10 @@
RelativePath=".\GSVertex.h" RelativePath=".\GSVertex.h"
> >
</File> </File>
<File
RelativePath=".\GSVertexArrayOGL.h"
>
</File>
<File <File
RelativePath=".\GSVertexHW.h" RelativePath=".\GSVertexHW.h"
> >