Remove DrawWireframe option to save space in dialog, it doesn't really work right anyway

This commit is contained in:
Henrik Rydgård 2013-05-16 17:18:29 +02:00
parent 339d8ed32b
commit 367e9bcefb
6 changed files with 1 additions and 26 deletions

View File

@ -152,8 +152,6 @@ void Config::Load(const char *iniFileName)
pspConfig->Get("EncryptSave", &bEncryptSave, true);
CleanRecent();
// Ephemeral settings
bDrawWireframe = false;
}
void Config::Save()

View File

@ -56,7 +56,6 @@ public:
bool bDisplayFramebuffer;
bool bHardwareTransform;
bool bBufferedRendering;
bool bDrawWireframe;
bool bLinearFiltering;
bool bUseVBO;
#ifdef BLACKBERRY10

View File

@ -249,19 +249,6 @@ void GLES_GPU::DumpNextFrame() {
dumpNextFrame_ = true;
}
void GLES_GPU::BeginDebugDraw() {
if (g_Config.bDrawWireframe) {
#ifndef USING_GLES2
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
#endif
}
}
void GLES_GPU::EndDebugDraw() {
#ifndef USING_GLES2
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
#endif
}
void GLES_GPU::BeginFrame() {
textureCache_.StartFrame();
transformDraw_.DecimateTrackedVertexArrays();
@ -300,16 +287,12 @@ void GLES_GPU::CopyDisplayToOutput() {
transformDraw_.Flush();
EndDebugDraw();
framebufferManager_.CopyDisplayToOutput();
framebufferManager_.EndFrame();
shaderManager_->EndFrame();
gstate_c.textureChanged = true;
BeginDebugDraw();
}
// Render queue

View File

@ -75,10 +75,6 @@ private:
void CheckFlushOp(u32 op, u32 diff);
void BuildReportingInfo();
// Applies states for debugging if enabled.
void BeginDebugDraw();
void EndDebugDraw();
FramebufferManager framebufferManager_;
TextureCache textureCache_;
TransformDrawEngine transformDraw_;

View File

@ -85,7 +85,7 @@ EmuScreen::EmuScreen(const std::string &filename) : invalid_(true) {
ERROR_LOG(BOOT, "%s", errorMessage_.c_str());
return;
}
globalUIState = UISTATE_INGAME;
host->BootDone();
host->UpdateDisassembly();

View File

@ -707,7 +707,6 @@ void GraphicsScreenP1::render() {
gpu->Resized();
}
}
UICheckBox(GEN_ID, x, y += stride, gs->T("Draw Wireframe"), ALIGN_TOPLEFT, &g_Config.bDrawWireframe);
UICheckBox(GEN_ID, x, y += stride, gs->T("Display Raw Framebuffer"), ALIGN_TOPLEFT, &g_Config.bDisplayFramebuffer);
UIEnd();
}