mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
* Enable HDR for WinRT/UWP (only works on PC UWP for now, won't work on Xbox yet swapchain
issues with both D3D11/12) * Add sublabel for Expand Gamut *
This commit is contained in:
parent
536d18778b
commit
b05a0d5aed
@ -2,11 +2,9 @@
|
||||
|
||||
#include <retro_inline.h>
|
||||
|
||||
#ifndef __WINRT__
|
||||
#ifndef HAVE_DXGI_HDR
|
||||
#define HAVE_DXGI_HDR
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DXGI_HDR
|
||||
#ifndef ALIGN
|
||||
|
@ -1780,7 +1780,7 @@ MSG_HASH(
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_VIDEO_HDR_PAPER_WHITE_NITS,
|
||||
"Set the luminance at which paper white should be i.e. readable text or luminance at the top of the SDR (Standard Dynamic Range) range."
|
||||
"Set the luminance at which paper white should be i.e. readable text or luminance at the top of the SDR (Standard Dynamic Range) range. Useful for adjusting to different lighting conditions in your environment."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_VIDEO_HDR_CONTRAST,
|
||||
@ -1796,7 +1796,7 @@ MSG_HASH(
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_VIDEO_HDR_EXPAND_GAMUT,
|
||||
"Once the color space is converted to linear space, controls whether should we use an expanded colour gamut to get to HDR10."
|
||||
"Once the color space is converted to linear space, decide whether should we use an expanded colour gamut to get to HDR10."
|
||||
)
|
||||
|
||||
/* Settings > Video > Synchronization */
|
||||
|
@ -138,6 +138,7 @@ DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_enable, MENU_ENUM_SUBLABEL_
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_paper_white_nits, MENU_ENUM_SUBLABEL_VIDEO_HDR_PAPER_WHITE_NITS)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_max_nits, MENU_ENUM_SUBLABEL_VIDEO_HDR_MAX_NITS)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_contrast, MENU_ENUM_SUBLABEL_VIDEO_HDR_CONTRAST)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_expand_gamut, MENU_ENUM_SUBLABEL_VIDEO_HDR_EXPAND_GAMUT)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_crt_switchres_super, MENU_ENUM_SUBLABEL_CRT_SWITCH_RESOLUTION_SUPER)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_crt_switchres_x_axis_centering, MENU_ENUM_SUBLABEL_CRT_SWITCH_X_AXIS_CENTERING)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_crt_switchres_porch_adjust, MENU_ENUM_SUBLABEL_CRT_SWITCH_PORCH_ADJUST)
|
||||
@ -3898,6 +3899,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_VIDEO_HDR_CONTRAST:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_hdr_contrast);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_VIDEO_HDR_EXPAND_GAMUT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_hdr_expand_gamut);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_VIDEO_OUTPUT_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_output_settings_list);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user