mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Removed the OpenMP option from the DolphinWX project. It was causing a slowdown when the EFB to texture option was activated. This means that the OpenMP texture decoder option will not be hidden for non-OpenMP builds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7378 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8b2eddf3f3
commit
3db702fe17
@ -160,7 +160,8 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
|
|||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<OpenMPSupport>true</OpenMPSupport>
|
<OpenMPSupport>
|
||||||
|
</OpenMPSupport>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link />
|
<Link />
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
@ -189,7 +190,8 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
|
|||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<OpenMPSupport>true</OpenMPSupport>
|
<OpenMPSupport>
|
||||||
|
</OpenMPSupport>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link />
|
<Link />
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
@ -427,9 +427,7 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
|
|||||||
szr_misc->Add(opencl = new SettingCheckBox(page_advanced, _("Enable OpenCL"), opencl_tooltip, vconfig.bEnableOpenCL), 0, wxLEFT|wxBOTTOM, 5);
|
szr_misc->Add(opencl = new SettingCheckBox(page_advanced, _("Enable OpenCL"), opencl_tooltip, vconfig.bEnableOpenCL), 0, wxLEFT|wxBOTTOM, 5);
|
||||||
szr_misc->Add(dlcache = new SettingCheckBox(page_advanced, _("Enable Display List Caching"), dlc_tooltip, vconfig.bDlistCachingEnable), 0, wxBOTTOM, 5);
|
szr_misc->Add(dlcache = new SettingCheckBox(page_advanced, _("Enable Display List Caching"), dlc_tooltip, vconfig.bDlistCachingEnable), 0, wxBOTTOM, 5);
|
||||||
szr_misc->Add(hotkeys = new SettingCheckBox(page_advanced, _("Enable Hotkeys"), hotkeys_tooltip, vconfig.bOSDHotKey), 0, wxLEFT|wxBOTTOM, 5);
|
szr_misc->Add(hotkeys = new SettingCheckBox(page_advanced, _("Enable Hotkeys"), hotkeys_tooltip, vconfig.bOSDHotKey), 0, wxLEFT|wxBOTTOM, 5);
|
||||||
#ifdef _OPENMP
|
|
||||||
szr_misc->Add(ompdecoder = new SettingCheckBox(page_advanced, _("OpenMP Texture Decoder"), omp_tooltip, vconfig.bOMPDecoder), 0, wxBOTTOM, 5);
|
szr_misc->Add(ompdecoder = new SettingCheckBox(page_advanced, _("OpenMP Texture Decoder"), omp_tooltip, vconfig.bOMPDecoder), 0, wxBOTTOM, 5);
|
||||||
#endif
|
|
||||||
|
|
||||||
// postproc shader
|
// postproc shader
|
||||||
if (vconfig.backend_info.PPShaders.size())
|
if (vconfig.backend_info.PPShaders.size())
|
||||||
@ -630,9 +628,7 @@ void VideoConfigDiag::SetUIValuesFromConfig()
|
|||||||
crop->SetValue(vconfig.bCrop);
|
crop->SetValue(vconfig.bCrop);
|
||||||
opencl->SetValue(vconfig.bEnableOpenCL);
|
opencl->SetValue(vconfig.bEnableOpenCL);
|
||||||
dlcache->SetValue(vconfig.bDlistCachingEnable);
|
dlcache->SetValue(vconfig.bDlistCachingEnable);
|
||||||
#ifdef _OPENMP
|
|
||||||
ompdecoder->SetValue(vconfig.bOMPDecoder);
|
ompdecoder->SetValue(vconfig.bOMPDecoder);
|
||||||
#endif
|
|
||||||
hotkeys->SetValue(vconfig.bOSDHotKey);
|
hotkeys->SetValue(vconfig.bOSDHotKey);
|
||||||
|
|
||||||
if (choice_ppshader)
|
if (choice_ppshader)
|
||||||
|
@ -161,9 +161,7 @@ protected:
|
|||||||
SettingCheckBox* opencl;
|
SettingCheckBox* opencl;
|
||||||
SettingCheckBox* dlcache;
|
SettingCheckBox* dlcache;
|
||||||
SettingCheckBox* hotkeys;
|
SettingCheckBox* hotkeys;
|
||||||
#ifdef _OPENMP
|
|
||||||
SettingCheckBox* ompdecoder;
|
SettingCheckBox* ompdecoder;
|
||||||
#endif
|
|
||||||
wxChoice* choice_ppshader;
|
wxChoice* choice_ppshader;
|
||||||
|
|
||||||
// TODO: Add options for
|
// TODO: Add options for
|
||||||
|
@ -80,9 +80,10 @@ struct VideoConfig
|
|||||||
bool bUseRealXFB;
|
bool bUseRealXFB;
|
||||||
bool bUseNativeMips;
|
bool bUseNativeMips;
|
||||||
|
|
||||||
// OpenCL
|
// OpenCL/OpenMP
|
||||||
bool bEnableOpenCL;
|
bool bEnableOpenCL;
|
||||||
|
bool bOMPDecoder;
|
||||||
|
|
||||||
// Enhancements
|
// Enhancements
|
||||||
int iMultisampleMode;
|
int iMultisampleMode;
|
||||||
int iEFBScale;
|
int iEFBScale;
|
||||||
@ -121,9 +122,7 @@ struct VideoConfig
|
|||||||
// Hacks
|
// Hacks
|
||||||
bool bEFBAccessEnable;
|
bool bEFBAccessEnable;
|
||||||
bool bDlistCachingEnable;
|
bool bDlistCachingEnable;
|
||||||
#ifdef _OPENMP
|
|
||||||
bool bOMPDecoder;
|
|
||||||
#endif
|
|
||||||
bool bEFBCopyEnable;
|
bool bEFBCopyEnable;
|
||||||
bool bEFBCopyCacheEnable;
|
bool bEFBCopyCacheEnable;
|
||||||
bool bEFBEmulateFormatChanges;
|
bool bEFBEmulateFormatChanges;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user