mirror of https://github.com/PCSX2/pcsx2.git
GS-wx: Add tooltip for Preload Textures.
This commit is contained in:
parent
b7b65d7361
commit
8e8b9a3cff
|
@ -193,6 +193,9 @@ const char* dialog_message(int ID, bool* updateText)
|
||||||
"Off:\nDisables any dithering.\n\n"
|
"Off:\nDisables any dithering.\n\n"
|
||||||
"Unscaled:\nNative Dithering / Lowest dithering effect does not increase size of squares when upscaling.\n\n"
|
"Unscaled:\nNative Dithering / Lowest dithering effect does not increase size of squares when upscaling.\n\n"
|
||||||
"Scaled:\nUpscaling-aware / Highest dithering effect.");
|
"Scaled:\nUpscaling-aware / Highest dithering effect.");
|
||||||
|
case IDC_PRELOAD_TEXTURES:
|
||||||
|
return cvtString("Uploads entire textures at once instead of small pieces, avoiding redundant uploads when possible.\n"
|
||||||
|
"Improves performance in most games, but can make a small selection slower.");
|
||||||
default:
|
default:
|
||||||
if (updateText)
|
if (updateText)
|
||||||
*updateText = false;
|
*updateText = false;
|
||||||
|
|
|
@ -43,6 +43,7 @@ enum
|
||||||
// Renderer
|
// Renderer
|
||||||
IDC_FILTER,
|
IDC_FILTER,
|
||||||
// Hardware Renderer
|
// Hardware Renderer
|
||||||
|
IDC_PRELOAD_TEXTURES,
|
||||||
IDC_ACCURATE_DATE,
|
IDC_ACCURATE_DATE,
|
||||||
IDC_PALTEX,
|
IDC_PALTEX,
|
||||||
IDC_CONSERVATIVE_FB,
|
IDC_CONSERVATIVE_FB,
|
||||||
|
|
|
@ -285,7 +285,7 @@ RendererTab::RendererTab(wxWindow* parent)
|
||||||
|
|
||||||
auto* paltex_prereq = m_ui.addCheckBox(hw_checks_box, "GPU Palette Conversion", "paltex", IDC_PALTEX, hw_prereq);
|
auto* paltex_prereq = m_ui.addCheckBox(hw_checks_box, "GPU Palette Conversion", "paltex", IDC_PALTEX, hw_prereq);
|
||||||
auto aniso_prereq = [this, paltex_prereq]{ return m_is_hardware && paltex_prereq->GetValue() == false; };
|
auto aniso_prereq = [this, paltex_prereq]{ return m_is_hardware && paltex_prereq->GetValue() == false; };
|
||||||
m_ui.addCheckBox(hw_checks_box, "Preload Textures", "preload_texture", -1, hw_prereq);
|
m_ui.addCheckBox(hw_checks_box, "Preload Textures", "preload_texture", IDC_PRELOAD_TEXTURES, hw_prereq);
|
||||||
|
|
||||||
auto* hw_choice_grid = new wxFlexGridSizer(2, space, space);
|
auto* hw_choice_grid = new wxFlexGridSizer(2, space, space);
|
||||||
|
|
||||||
|
@ -752,8 +752,6 @@ void Dialog::Update()
|
||||||
const bool is_upscale = m_renderer_panel->m_internal_resolution->GetSelection() != 0;
|
const bool is_upscale = m_renderer_panel->m_internal_resolution->GetSelection() != 0;
|
||||||
m_hacks_panel->m_is_native_res = !is_hw || !is_upscale;
|
m_hacks_panel->m_is_native_res = !is_hw || !is_upscale;
|
||||||
m_hacks_panel->m_is_hardware = is_hw;
|
m_hacks_panel->m_is_hardware = is_hw;
|
||||||
m_hacks_panel->m_is_ogl_hw = renderer == GSRendererType::OGL;
|
|
||||||
m_hacks_panel->m_is_vk_hw = renderer == GSRendererType::VK;
|
|
||||||
m_renderer_panel->m_is_hardware = is_hw;
|
m_renderer_panel->m_is_hardware = is_hw;
|
||||||
m_renderer_panel->m_is_native_res = !is_hw || !is_upscale;
|
m_renderer_panel->m_is_native_res = !is_hw || !is_upscale;
|
||||||
m_post_panel->m_is_vk_hw = renderer == GSRendererType::VK;
|
m_post_panel->m_is_vk_hw = renderer == GSRendererType::VK;
|
||||||
|
|
|
@ -121,8 +121,6 @@ namespace GSSettingsDialog
|
||||||
wxSpinCtrl *skip_x_spin, *skip_y_spin;
|
wxSpinCtrl *skip_x_spin, *skip_y_spin;
|
||||||
bool m_is_hardware = false;
|
bool m_is_hardware = false;
|
||||||
bool m_is_native_res = false;
|
bool m_is_native_res = false;
|
||||||
bool m_is_ogl_hw = false;
|
|
||||||
bool m_is_vk_hw = false;
|
|
||||||
|
|
||||||
HacksTab(wxWindow* parent);
|
HacksTab(wxWindow* parent);
|
||||||
void Load() { m_ui.Load(); }
|
void Load() { m_ui.Load(); }
|
||||||
|
|
Loading…
Reference in New Issue