gsdx-ogl/linux: drop fba option

It is useless as DX11
This commit is contained in:
Gregory Hainaut 2015-05-11 13:57:26 +02:00
parent f0de7d6386
commit 921fa3bab8
4 changed files with 4 additions and 20 deletions

View File

@ -369,22 +369,21 @@ class GSDeviceOGL : public GSDevice
uint32 ztst:2; uint32 ztst:2;
uint32 zwe:1; uint32 zwe:1;
uint32 date:1; uint32 date:1;
uint32 fba:1;
uint32 alpha_stencil:1; uint32 alpha_stencil:1;
uint32 _free:26; uint32 _free:27;
}; };
uint32 key; uint32 key;
}; };
// FIXME is the & useful ? // FIXME is the & useful ?
operator uint32() {return key & 0x3f;} operator uint32() {return key & 0x1f;}
OMDepthStencilSelector() : key(0) {} OMDepthStencilSelector() : key(0) {}
OMDepthStencilSelector(uint32 k) : key(k) {} OMDepthStencilSelector(uint32 k) : key(k) {}
static uint32 size() { return 1 << 6; } static uint32 size() { return 1 << 5; }
}; };
struct OMColorMaskSelector struct OMColorMaskSelector

View File

@ -289,14 +289,13 @@ void populate_hw_table(GtkWidget* hw_table)
GtkWidget* af_combo_box = CreateComboBoxFromVector(theApp.m_gs_max_anisotropy, "MaxAnisotropy", 1); GtkWidget* af_combo_box = CreateComboBoxFromVector(theApp.m_gs_max_anisotropy, "MaxAnisotropy", 1);
GtkWidget* paltex_check = CreateCheckBox("Allow 8 bits textures", "paltex"); GtkWidget* paltex_check = CreateCheckBox("Allow 8 bits textures", "paltex");
GtkWidget* fba_check = CreateCheckBox("Alpha correction (FBA)", "fba", true);
GtkWidget* acc_blend_check = CreateCheckBox("Accurate Blend", "accurate_blend", false); GtkWidget* acc_blend_check = CreateCheckBox("Accurate Blend", "accurate_blend", false);
GtkWidget* acc_date_check = CreateCheckBox("Accurate Date", "accurate_date", false); GtkWidget* acc_date_check = CreateCheckBox("Accurate Date", "accurate_date", false);
s_table_line = 0; s_table_line = 0;
InsertWidgetInTable(hw_table, filter_label, filter_combo_box); InsertWidgetInTable(hw_table, filter_label, filter_combo_box);
InsertWidgetInTable(hw_table, af_label, af_combo_box); InsertWidgetInTable(hw_table, af_label, af_combo_box);
InsertWidgetInTable(hw_table, paltex_check, fba_check); InsertWidgetInTable(hw_table, paltex_check);
InsertWidgetInTable(hw_table, acc_blend_check, acc_date_check); InsertWidgetInTable(hw_table, acc_blend_check, acc_date_check);
} }

View File

@ -27,7 +27,6 @@
GSRendererOGL::GSRendererOGL() GSRendererOGL::GSRendererOGL()
: GSRendererHW(new GSTextureCacheOGL(this)) : GSRendererHW(new GSTextureCacheOGL(this))
{ {
m_fba = theApp.GetConfig("fba", 1);
m_pixelcenter = GSVector2(-0.5f, -0.5f); m_pixelcenter = GSVector2(-0.5f, -0.5f);
m_accurate_blend = theApp.GetConfig("accurate_blend", 0); m_accurate_blend = theApp.GetConfig("accurate_blend", 0);
@ -348,11 +347,6 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
om_dssel.ztst = ZTST_ALWAYS; om_dssel.ztst = ZTST_ALWAYS;
} }
if(m_fba)
{
om_dssel.fba = context->FBA.FBA;
}
// vs // vs
vs_sel.tme = PRIM->TME; vs_sel.tme = PRIM->TME;
@ -712,10 +706,5 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
dev->EndScene(); dev->EndScene();
if(om_dssel.fba) UpdateFBA(rt);
GL_POP(); GL_POP();
} }
void GSRendererOGL::UpdateFBA(GSTexture* rt)
{
}

View File

@ -31,7 +31,6 @@ class GSRendererOGL : public GSRendererHW
{ {
private: private:
GSVector2 m_pixelcenter; GSVector2 m_pixelcenter;
bool m_fba;
bool m_accurate_blend; bool m_accurate_blend;
bool m_accurate_date; bool m_accurate_date;
@ -51,8 +50,6 @@ class GSRendererOGL : public GSRendererHW
bool CreateDevice(GSDevice* dev); bool CreateDevice(GSDevice* dev);
void UpdateFBA(GSTexture* rt);
void DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Source* tex); void DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Source* tex);
bool PrimitiveOverlap(); bool PrimitiveOverlap();