mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-07 15:19:56 +09:00
Add vulkan video encoding option, improve translation strings
This commit is contained in:
@@ -57,6 +57,7 @@ namespace gsr {
|
||||
bool record_cursor = true;
|
||||
bool restore_portal_session = true;
|
||||
bool low_power_mode = false;
|
||||
bool enable_vulkan_video_encoding = false;
|
||||
|
||||
std::string webcam_source = "";
|
||||
bool webcam_flip_horizontally = false;
|
||||
|
||||
@@ -18,6 +18,13 @@ namespace gsr {
|
||||
bool av1_10bit = false;
|
||||
bool vp8 = false;
|
||||
bool vp9 = false;
|
||||
bool h264_vulkan = false;
|
||||
bool hevc_vulkan = false;
|
||||
bool hevc_hdr_vulkan = false;
|
||||
bool hevc_10bit_vulkan = false;
|
||||
bool av1_vulkan = false;
|
||||
bool av1_hdr_vulkan = false;
|
||||
bool av1_10bit_vulkan = false;
|
||||
};
|
||||
|
||||
struct SupportedImageFormats {
|
||||
|
||||
@@ -109,6 +109,7 @@ namespace gsr {
|
||||
std::unique_ptr<List> create_framerate_mode();
|
||||
std::unique_ptr<List> create_framerate_section();
|
||||
std::unique_ptr<Widget> create_record_cursor_section();
|
||||
std::unique_ptr<Widget> create_enable_vulkan_video_encoding_section();
|
||||
std::unique_ptr<Widget> create_video_section();
|
||||
std::unique_ptr<Widget> create_settings();
|
||||
void add_widgets();
|
||||
@@ -131,9 +132,9 @@ namespace gsr {
|
||||
std::unique_ptr<CheckBox> create_save_recording_in_game_folder();
|
||||
std::unique_ptr<Label> create_estimated_record_file_size();
|
||||
void update_estimated_record_file_size();
|
||||
std::unique_ptr<CheckBox> create_led_indicator(const char *type);
|
||||
std::unique_ptr<CheckBox> create_notifications(const char *type);
|
||||
std::unique_ptr<List> create_indicator(const char *type);
|
||||
std::unique_ptr<CheckBox> create_led_indicator();
|
||||
std::unique_ptr<CheckBox> create_notifications();
|
||||
std::unique_ptr<List> create_indicator();
|
||||
std::unique_ptr<Widget> create_low_power_mode();
|
||||
void add_replay_widgets();
|
||||
void add_record_widgets();
|
||||
@@ -232,6 +233,7 @@ namespace gsr {
|
||||
CheckBox *flip_camera_horizontally_checkbox_ptr = nullptr;
|
||||
CheckBox *low_power_mode_checkbox_ptr = nullptr;
|
||||
CheckBox *replay_power_supply_checkbox_ptr = nullptr;
|
||||
CheckBox *enable_vulkan_checkbox_ptr = nullptr;
|
||||
|
||||
PageStack *page_stack = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user