From 1c7ca86940ee4fc8862067376ddaafa2c56b3a94 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Thu, 27 Jan 2011 22:20:30 +0000 Subject: [PATCH] Gah, missed still more files. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6937 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Plugin_VideoDX11/Src/VertexShaderCache.cpp | 2 -- .../Plugin_VideoDX9/Src/VertexShaderCache.cpp | 2 -- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 16 ---------------- 3 files changed, 20 deletions(-) diff --git a/Source/Plugins/Plugin_VideoDX11/Src/VertexShaderCache.cpp b/Source/Plugins/Plugin_VideoDX11/Src/VertexShaderCache.cpp index 4395d8a2e9..5640bdffb8 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/VertexShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/VertexShaderCache.cpp @@ -225,8 +225,6 @@ void VertexShaderCache::Shutdown() bool VertexShaderCache::SetShader(u32 components) { - DVSTARTPROFILE(); - VERTEXSHADERUID uid; GetVertexShaderId(&uid, components); if (uid == last_vertex_shader_uid && vshaders[uid].frameCount == frameCount) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/VertexShaderCache.cpp b/Source/Plugins/Plugin_VideoDX9/Src/VertexShaderCache.cpp index 9b7d822031..3ffecc8377 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/VertexShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/VertexShaderCache.cpp @@ -206,8 +206,6 @@ void VertexShaderCache::Shutdown() bool VertexShaderCache::SetShader(u32 components) { - DVSTARTPROFILE(); - VERTEXSHADERUID uid; GetVertexShaderId(&uid, components); if (uid == last_vertex_shader_uid && vshaders[uid].frameCount == frameCount) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 033f4e7b57..f422d5c6de 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -973,7 +973,6 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons ResetAPIState(); - DVSTARTPROFILE(); TargetRectangle dst_rect; ComputeDrawRectangle(s_backbuffer_width, s_backbuffer_height, true, &dst_rect); @@ -1308,21 +1307,6 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons glEnable(GL_BLEND); GL_REPORT_ERRORD(); -#if defined(DVPROFILE) - if (g_bWriteProfile) - { - //g_bWriteProfile = 0; - static int framenum = 0; - const int UPDATE_FRAMES = 8; - if (++framenum >= UPDATE_FRAMES) - { - DVProfWrite("prof.txt", UPDATE_FRAMES); - DVProfClear(); - framenum = 0; - } - } -#endif - // Copy the rendered frame to the real window OpenGL_SwapBuffers();